Skip to content

feat(web): add desktop update indicator and release notes - #98

Merged
nixuuu merged 1 commit into
devfrom
feat/updates-indicator-1
Nov 4, 2026
Merged

nixuuu merged 1 commit into
devfrom
feat/updates-indicator-1

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 4, 2026

Copy link
Copy Markdown
Member

Stage 1 of the updates indicator.

  • A third icon in the sidebar footer shows the desktop app's update state: up to date, checking (animated, reduced-motion aware), downloading (progress), ready to install (click restarts the app).
  • Hover or click opens a larger popover (a sheet on phones) with the details of the state and the primary action; while downloading/ready it shows the release notes of every release between the installed and the incoming version for the user's channel, newest first, sanitised markdown, scrollable. Notes come from public GitHub Releases, cached, no token.
  • When a newer version exists but has no assets for this platform yet (e.g. a nightly whose macOS build failed), the app says so instead of "Up to date" — that's what happened with nightly.33 on macOS.
  • The web (server) build shows no app item.

Checks: install, gen:check, typecheck, lint, format:check, check:tmp (1041 pass, 152 skip, 0 fail), web and desktop shell builds; every state checked with a stubbed desktop bridge in light/dark at desktop and phone widths.

Draft until the stack is done.

@nixuuu
nixuuu added this pull request to stack #100 November 4, 2026 20:53
@nixuuu
nixuuu marked this pull request as ready for review November 4, 2026 20:56
@nixuuu
nixuuu merged commit cc4ec1e into dev Nov 4, 2026
10 checks passed
@nixuuu
nixuuu deleted the feat/updates-indicator-1 branch November 4, 2026 20:56
nixuuu added a commit that referenced this pull request Nov 15, 2026
Touch fires pointerleave right after the tap, before its click, so the
hover close timer shut the Updates and Provider usage popovers as soon
as the tap opened them. Only a mouse leaving closes them now.

Fixes: #726
Related: #98

Co-Authored-By: Claude Opus 5.5 <[email protected]>
nixuuu added a commit that referenced this pull request Nov 15, 2026
## Problem
On touch screens (mobile browsers) the sidebar **Updates** and
**Provider usage** popovers close right after a tap opens them.

Touch fires `pointerleave` right after the tap, before its `click`. At
that moment the popover isn't pinned yet, so `leave()` schedules the 250
ms hover close; the click then opens the popover and the timer closes
it.

## Fix
Only a mouse leaving schedules the close, as `HoverCard` already does.
On touch, a tap toggles the popover.

## Verification
- Local: oxfmt on the two edited files (no changes). Lint, typecheck and
tests are left to CI.
- Not checked yet on a real phone or in mobile emulation.
- Copy audit: no UI text changes.

Fixes: #726
Related: #98

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 5.5 <[email protected]>
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