summary refs log tree commit diff
path: root/src/components/post_editor.rs
Commit message (Collapse)AuthorAgeFilesLines
* Deal with Clippy warningsVika2024-09-041-2/+0
| | | | | | | | | | | 1. narrow_layout is indeed unused, `AdwBreakpoint` remembers initial values and restores them on load 2. `TagPillWidgets` is not exactly dead code, I'm adding all the widgets to it to emulate how Relm4 macros do it. Perhaps it'll be used in the future. 3. We currently ignore the libsecret result on clearing the tokens because dealing with libsecret errors is annoying and requires unsafe code due to outdated dependencies.
* Gettextize and add Russian translationVika2024-09-041-10/+11
| | | | | | 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.
* Clear tags on post submitVika2024-08-261-1/+1
|
* Style changes to work better with the default themeVika2024-08-251-16/+28
| | | | Yes, I'm stupid and I'm developing under a custom theme
* PostEditor: reset internal tracker on updatesVika2024-08-251-0/+1
|
* Tags in postsVika2024-08-231-6/+50
|
* Comply with GNOME HIG by ensuring our window can scale to a small sizeVika2024-08-231-126/+148
|
* Factor out the post editor UI into a separate componentVika2024-08-221-0/+489
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).