Skip to content

fix(web): make the updates popover and section compact - #113

Merged
nixuuu merged 2 commits into
devfrom
fix/compact-updates-popover
Nov 4, 2026
Merged

nixuuu merged 2 commits into
devfrom
fix/compact-updates-popover

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 4, 2026

Copy link
Copy Markdown
Member

The sidebar updates popover covered most of the screen and Settings → Workers → Updates was one heavy block with an empty accordion.

Popover (352 px, content height with a max and inner scroll; a bottom sheet on phones): small header with the state and icon actions (info, check now, update all only when something is outdated); one dense row per item (icon · name · current → available · status chip · small action), thin inline progress, up-to-date items folded into one line; explanations moved into tooltips; "What's new" is a drill-in and is simply absent when there are no notes (no placeholder). Sidebar icon progress indicator fixed.

Settings → Workers → Updates uses the same rows: "All up to date · checked 1 min ago" with Check now; Gateway as one row (version · channel · "Managed externally" once, pull instructions in a tooltip); release channel saves on change; workers as compact rows with an action only when outdated or failed; the order/results disclosure exists only after a run with results. No empty accordions.

Fix: a worker stayed "Restarting" with a full progress bar after it had already reconnected healthy on the target version — the gateway waited for a final success report that could be lost; it now resolves on the healthy reconnect.

Checks: install, gen:check, typecheck, lint, format:check, web build, focused regressions; full suite 1,070 pass / 153 skip / 1 supervisor timing failure that passes on its own (CI is the gate). Before/after screenshots of every state with short and long texts, light/dark, desktop/narrow/phone.

Fixes: #99

Reconcile persisted restart progress when an authenticated, compatible WorkerLink reconnects on the commanded target version. Preserve rollback failures and wait for WorkerLink health rather than the update channel alone.

Fixes: #99
Share dense update rows between the sidebar popover and worker settings, collapse current components, and use thin theme-colored progress. Save release-channel choices immediately with confirmation for older channels. Render run results and release-note controls only when they have content.

Fixes: #98

Fixes: #99
@nixuuu
nixuuu merged commit 3c0820d into dev Nov 4, 2026
9 checks passed
@nixuuu
nixuuu deleted the fix/compact-updates-popover branch November 4, 2026 22:31
nixuuu added a commit that referenced this pull request Nov 4, 2026
The sidebar updates icon showed download progress as a bar stretched
across the button just under the icon: too big for the 16 px icon and
with no space between them.

- New kit `ProgressRing`: a thin 1.5 px ring (28 px) drawn around the
icon, accent on a faint track, determinate when the percentage is known,
a turning arc otherwise (static under reduced motion). Accessible as a
`progressbar` with the value.
- The updates indicator uses it while downloading; the bar component
stays for rows in the popover and Settings.

Checks: web typecheck, lint, format. Checked the ring at 4× against the
footer icons for proportion and spacing.

Fixes: #113
nixuuu added a commit that referenced this pull request Nov 5, 2026
When every item is up to date, the updates popover showed two lines
under the header: the header's own divider and an inset divider above
the "Up to date" group. The group now draws its top divider only when
update rows come before it.

Checked in a browser with rows above the group (divider kept) and with
no rows (single header divider).

Copy audit: no UI text changed.

Fixes: #113
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