summaryrefslogtreecommitdiffstats
path: root/TODO.md
blob: b3590dabde84a6f097ea6183d90c389b51377097 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# TODO

Known gaps from initial implementation. Functional for daily use — these are enhancements.

## UI Gaps

- [✅] **TaxonomyView: Categories tab** — Tags tab exists, Categories tab missing. Mirror the Tags tab structure (IT/EN pair table, orphan detection) for `categories` frontmatter key. Files: `ui/taxonomy_view.py`, `core/taxonomy.py`.

- [✅] **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`.

## Drafts

- [✅] Add visible hints to quickly identify articles with `draft = true` in frontmatter. The hints can be added to the list view as well as the single view as a badge, color difference, etc.

## Transart backend availability

- [ ] Using the `OLLAMA_HOST` variable in transart.py, validate if the backend is available or disable the "translate" button. Maybe add a popup message reminding to activate the runpod for the translation engine to be available.

## Interface

- [✅] The main articles list should display the type, tags, categories and date fields for each article in both languages.
- [✅] When modifying tags in the taxonomy view, they should be updated in the relevant articles. EG modified the english "regionale" tag to "regional", after saving it, the program should find all english articles with the old "regionale" tag and modify them to the new "regional".

## keyboard shortcuts
- [✅] The app should follow some standard keyboard shortcuts like Ctrl+q should quit the app.