Repository navigation
feat(updater): integrate shared update dialog - #62
Merged
Merged
Conversation
Gate the shared controller and dialog behind the default-off Studio flag while preserving the legacy updater and visible-main-window startup behavior. Add injected startup coverage and deterministic development fixtures for visual review. Refs pickforge/pickforge-platform#36
Panel round 1 on #62: release the focus listener when a visibility query fails after registration (it leaked for the webview lifetime), align the new @pickforge dependency specs to the workspace caret convention, and document that mountStudioUpdater's static eligibility deliberately leaves visible/focused deferral to scheduleStartupUpdate. Refs pickforge/pickforge-platform#36
6 of 21 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Integrates
@pickforge/[email protected]behind the newstudioUpdateDialogflag (default off).pickforge-update-dialogcontroller replaces thewindow.confirmupdater — startup check runs once per process, packaged builds only, and only after the visible main window is ready; the hidden login-autostart window and the floating dictation capsule never surface the prompt.window.confirmflow untouched (removal is a later PR per the rollout plan).src/lib/updateFixture.tsprovides injected deterministic state for tests; no production mocks.Validation:
bun run check(svelte-check, 0 errors),vitest run39/39 (incl. 165-lineupdateStartup.test.tscovering flag gating, deferral, hidden-start exclusion),bun run buildclean.node tests/install-script-smoke.mjsfails identically on unmodified main on macOS (known #57, bash 3.2) — Linux CI runs it canonically. Packaged signed-update smoke is owner-gated and deferred to the enablement PR.Refs pickforge/pickforge-platform#36
🤖 Generated with Claude Code