Skip to content

feat: download size and speed in the progress toast; keyboard grid navigation#47

Merged
MotherSphere merged 1 commit into
mainfrom
feat/progress-and-keyboard
Jul 20, 2026
Merged

feat: download size and speed in the progress toast; keyboard grid navigation#47
MotherSphere merged 1 commit into
mainfrom
feat/progress-and-keyboard

Conversation

@MotherSphere

Copy link
Copy Markdown
Member

Contexte (audit 2026-07-20, P2 - dernier lot)

  1. Taille + vitesse de téléchargement - le canal de progression ne portait qu'une fraction : le toast affiche maintenant « 12.3 MiB / 30.1 MiB (41%) · 5.2 MiB/s » (vitesse lissée EMA), avec dégradation propre sans Content-Length. Le self-update mappe le même canal vers sa fraction.
  2. Navigation clavier dans la grille - flèches Haut/Bas déplacent un highlight sur les lignes visibles (repos store puis apps locales), Entrée active (détail ou lancement). Highlight par nom stable (pas d'index - un refresh du catalogue ne peut pas le déplacer), effacé quand recherche/section changent les lignes visibles.

Validation

104 tests verts, clippy 0, fmt OK.

…vigation

- The progress channel carried a bare fraction, so the toast could only
  say 'file - NN%'. It now carries (downloaded bytes, total when the
  server sent Content-Length): the toast shows '12.3 MiB / 30.1 MiB
  (41%) · 5.2 MiB/s' with an EMA-smoothed transfer speed, and degrades
  gracefully when the length is unknown (bytes so far + speed). The
  launcher self-update path maps the same channel back to its fraction.
- The grid is finally keyboard-reachable: Down/Up move a highlight over
  the visible rows (store repos then local apps) and Enter activates
  it - opening the repo's detail page or launching the local app. The
  highlight is keyed by stable name (not index) so a catalog refresh
  cannot silently move it, and it clears when the search or section
  changes the visible rows. Enter without a highlight keeps the old
  open-first-result behavior.
@MotherSphere
MotherSphere merged commit f2e7d8f into main Jul 20, 2026
1 of 3 checks passed
@MotherSphere
MotherSphere deleted the feat/progress-and-keyboard branch July 20, 2026 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant