From: Danilo M. Date: Sun, 3 May 2026 09:12:49 +0000 (+0200) Subject: docs: add font size spinner to TODO X-Git-Tag: v1.0~2 X-Git-Url: https://git.danix.xyz/?a=commitdiff_plain;h=8e8d2c1409efb86bdcdd1666281c5b7cf7b0a34e;p=publisher.git docs: add font size spinner to TODO Co-Authored-By: Claude Sonnet 4.6 --- diff --git a/TODO.md b/TODO.md index 44676bf..40fdf68 100644 --- a/TODO.md +++ b/TODO.md @@ -8,6 +8,10 @@ Known gaps from initial implementation. Functional for daily use — these are e - [ ] **MissingTranslationView: Traduci button** — `translate_requested(str)` signal declared but no button wired to it. Add a per-row "Traduci" button that emits the signal with the article slug, then handle it in `main_window.py` to open the translation view for that article. +## Settings + +- [ ] **Font size spinner in UI** — `font_size` is in config but only editable via `~/.config/my-publisher/config.toml`. Add a `QSpinBox` to `SetupDialog` (or a dedicated Settings dialog) so it's changeable without editing the file. Save via `Config.save()`, re-apply with `app.setFont()`. File: `ui/setup_dialog.py`. + ## Autocomplete - [ ] **FrontmatterEditor: multi-token tag autocomplete** — `QCompleter` only completes the first token in the tags field. Need a custom completer that splits on commas, completes the current token, and re-joins. Consider subclassing `QCompleter` or intercepting `textEdited` to extract the active token. File: `ui/frontmatter_editor.py`.