From 54ad3e37c6e9d2242f932c192119dd6de64966cf Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Tue, 5 May 2026 10:51:56 +0200 Subject: feat: check OLLAMA_HOST reachability before starting translation Non-blocking QThread check hits /api/tags on the resolved ollama host before launching TranslationWorker. Shows QMessageBox.warning() if unreachable; proceeds silently if reachable. Adds ollama_host field to Config with env-var fallback to http://localhost:11434. Co-Authored-By: Claude Sonnet 4.6 --- TODO.md | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) (limited to 'TODO.md') diff --git a/TODO.md b/TODO.md index 4899469..577062f 100644 --- a/TODO.md +++ b/TODO.md @@ -1,8 +1,5 @@ # TODO -## hugo server -- [ ] we should add a way to run `npm run build` before launching the hugo server. We also need to be able to run it using a button in the interface when the server is already running. - ## save on exit - [ ] if a file has been modified, ask for confirmation before exiting the application to avoid losing local edits. @@ -17,15 +14,6 @@ ## article editor - [ ] in the article editor window, add a flag to the top of the sidebar to easily recognize what language the content is in. Useful for empty drafts where no content has been written yet. -## frontmatter -### taxonomies -- [✅] when modifying the frontmatter, the square brackets around the tags or categories lists are not maintained. -### article types -- [✅] the program should respect the article type already set in the frontmatter and don't default to "Life" if the article is set to something else. -- [✅] the theme expects the article type to be lowercase. The program currently writes them as uppercase -### categories dropdown -- [✅] when adding a category to the article, offer a dropdown of the categories or autocomplete like we do for tags. - ## 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`. @@ -52,3 +40,16 @@ ## keyboard shortcuts - [✅] The app should follow some standard keyboard shortcuts like Ctrl+q should quit the app. + +## hugo server +- [✅] we should add a way to run `npm run build` before launching the hugo server. We also need to be able to run it using a button in the interface when the server is already running. + +## frontmatter +### taxonomies +- [✅] when modifying the frontmatter, the square brackets around the tags or categories lists are not maintained. +### article types +- [✅] the program should respect the article type already set in the frontmatter and don't default to "Life" if the article is set to something else. +- [✅] the theme expects the article type to be lowercase. The program currently writes them as uppercase +### categories dropdown +- [✅] when adding a category to the article, offer a dropdown of the categories or autocomplete like we do for tags. + -- cgit v1.2.3