Skip to content

fix(web): source control update toast stays up and shows progress - #237

Merged
badcuban merged 1 commit into
mainfrom
threadlines/source-control-update-toast-progress
Sep 6, 2026
Merged

fix(web): source control update toast stays up and shows progress#237
badcuban merged 1 commit into
mainfrom
threadlines/source-control-update-toast-progress

Conversation

@badcuban

@badcuban badcuban commented Sep 6, 2026

Copy link
Copy Markdown
Collaborator

Clicking Update now on the git or GitHub CLI toast closed it immediately and waited in silence until the result toast arrived. The Settings page only showed a spinner for updates started from its own button, so an update started from the toast looked like nothing was happening.

The toast now stays open as the progress surface. It switches to a loading state, mirrors the server's job message (queued, running, checking) while the run is active, and finishes in place with the outcome (success auto-hides, anything else keeps a Settings button). Closing it mid-run still reports the outcome as its own toast. The setup poll runs only while an update toast is up.

The Windows job message now tells the user the permission prompt may land in the taskbar and to click the flashing shield, since elevation requested by the background server process never comes to the front. Result wording is shared between the toast and Settings via one module.

Verified: vp fmt, vp lint, vp run typecheck, server maintenance tests, the web unit tests for the touched modules, a new browser test that clicks Update now and checks the toast morphs and finishes in place, and the full web browser suite.

Clicking Update now on the git or GitHub CLI toast closed it immediately
and waited in silence until the result toast arrived, while the Settings
page only showed a spinner for updates started from its own button.

The toast now stays open as the progress surface: it switches to a loading
state, mirrors the server's job message (queued, running, checking) while
the run is active, and finishes in place with the outcome. Closing it
mid-run still reports the outcome as its own toast. The Windows job
message now says the permission prompt may land in the taskbar, since
elevation requested by the background server never comes to the front.
Result wording is shared between the toast and Settings.
@vercel

vercel Bot commented Sep 6, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
threadlines Skipped Skipped Sep 6, 2026 6:04am UTC

Request Review

@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:L labels Sep 6, 2026
@badcuban
badcuban enabled auto-merge September 6, 2026 06:09
@badcuban
badcuban added this pull request to the merge queue Sep 6, 2026
Merged via the queue into main with commit 2fb853a Sep 6, 2026
16 checks passed
@badcuban
badcuban deleted the threadlines/source-control-update-toast-progress branch September 6, 2026 06:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant