summary refs log tree commit diff
path: root/src/main.rs
Commit message (Collapse)AuthorAgeFilesLines
* Gettextize and add Russian translationVika2024-09-041-0/+7
| | | | | | This is a very shitty translation, but it can be improved later. I added it mostly as a test for translations working correctly, since I know Russian and might as well translate the app into the language.
* Set global CSS instead of adding a style context to every widgetVika2024-08-281-0/+4
|
* Proper main menu iconVika2024-08-251-0/+2
|
* Very crude mock-up for an authentication screenVika2024-08-241-14/+3
| | | | | | This saves memory by dropping unneeded components. Once the app changes state, it can simply drop the unnecessary component, such as the login screen, to save memory.
* Factor out the post editor UI into a separate componentVika2024-08-221-2/+2
| | | | | Now it's easy to use the same UI for sending a new post or editing an existing one (by loading it with `?q=source` and then comparing).
* Make the post composer asynchronousVika2024-08-201-2/+7
| | | | | This makes it able to execute unsendable futures, and unlocks ability for us to do asynchronous initialization and updates.
* Post composer UI prototypeVika2024-08-191-0/+19
Currently the UI does precisely nothing, but the ✨ Smart Summary button prints a message stating what it's supposed to do. The Post button currently just logs to the console, although ultimately it should send a message to a parent component or something. Perhaps even the composer UI itself should be a separate part that can provide an MF2-JSON document on a command.