Skip to content

About menu: no update status until asked; an available update is named - #1683

Merged
vmillet-dev merged 1 commit into
dev/1.2.2from
about-update-status
Nov 27, 2026
Merged

vmillet-dev merged 1 commit into
dev/1.2.2from
about-update-status

Conversation

@vmillet-dev

Copy link
Copy Markdown
Owner

Closes #1675

Reproduced on dev/1.2.2 with the FakeUpdater:

  • after the launch's silent check answering nothing, the About menu shows about-check-status (« ✓ DevNotes est à jour ») without having been asked, for the whole session;
  • with an update known (offered, then « Later »), the entry still reads « Rechercher les mises à jour », and the dot's allocation brings the layout back up: the separator is drawn across the label and « Nouveautés » against it (first capture, enlarged twice).

Change

  • The entry says nothing until it is clicked; then « Recherche… », then « ✓ DevNotes est à jour » or « ✕ Recherche impossible ». The launch check writes no status (its error stays silent, as before), and what a check found is forgotten once the menu closes: the next opening starts empty.
  • An update known: the entry reads « Une mise à jour est disponible : 0.26.0 », with its dot, and a click reopens the known offer with no new network check (Ask::Reopen).
  • The dots, on the trigger and on the entry, are painted without taking room in the layout; the trigger's keeps its accessible label (update-dot), the entry's label now says it all.
Before After

Tests

  • app/update_prompt_tests.rs: after a silent launch check finding nothing, the menu has no about-check-status; after a click it has, and once closed and opened again it has not. With an update known, the entry's label names the version, « Nouveautés » starts below the separator, and a click opens update-prompt. Both fail on dev/1.2.2.
  • services/updates.rs: a failed check writes « impossible » only when asked.
  • No e2e scenario, as the ticket says: the e2e build checks the real release feed.
  • captures.rs: the About menu with an update known.
  • Run: fmt, clippy (workspace, all targets, all features), cargo test -p ui --lib.

🤖 Generated with Claude Code

The launch check no longer writes the menu's status, which is forgotten once the menu closes. The dots are painted without taking room in the layout.
@vmillet-dev vmillet-dev added the bug Something isn't working label Nov 27, 2026
@vmillet-dev
vmillet-dev merged commit deeb9d8 into dev/1.2.2 Nov 27, 2026
11 checks passed
@vmillet-dev
vmillet-dev deleted the about-update-status branch November 27, 2026 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant