Repository navigation
feat(native): add sidebar provider and server update pills - #102
Merged
Merged
Conversation
This was referenced Nov 3, 2026
Open
rynfar
force-pushed
the
nw/100-update-pills
branch
from
November 3, 2026 05:12
7747da3 to
9023f14
Compare
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.
Native had no sidebar update notices or bulk update confirmation. This ports the first SB-UPDATES slice for the connected environment: provider available/updating/failed/unchanged/success notices, dismissal and Providers navigation, plus the server/provider update pill and Update everything dialog.
The planner, provider selectors, restart selection, running-thread counts/warnings and lifecycle outcome validation live in
crates/core.crates/clientruns provider updates before server updates, checks permissions at execution, commits remote desktop-host updates when required, and waits for matching lifecycle readiness before reporting success. The views use semantic tokens, static indicators and a one-shot success dismissal. The sidebar remains.cached(); the update entity only notifies when its derived presentation changes. Managed update restrictions are applied from the existing server-config summary.Refs #100, M2, SB-UPDATES remains partial.
Validation:
cargo test --workspacecargo clippy --workspace --all-targets -- -D warningscargo build -p t3-native --features snapshotnode scripts/gen-theme.ts --checknode --test parity/sync.test.tsnode ../../apps/native/conformance/generate.ts --checkupdate_probeagainst smoke server 14658: config 0.1.6, ten providers, lifecycle welcome and ready; zero mutating requests. Transcript:/tmp/native100-evidence/wire.txt.check:changedwas interrupted when its default base selected fork/main and included all 691 files from the existing native branch. Its format/lint/knip steps passed; the native checks above are the validation for this change.No update or restart was executed: smoke reports no self-update capability, and provider updates replace installed binaries. Destructive states were tested as pure logic and offscreen fixtures. Fixture confirmation cannot dispatch mutations. Offscreen clicks verified dismissal, Providers navigation and skipped-row expansion; dialog also checked at font size 20.
Local PNG evidence (intentionally not uploaded, per worker brief):
/tmp/native100-before-dark.png,/tmp/native100-before-light.png./tmp/native100-evidence/idle-dark.png,/tmp/native100-evidence/idle-light.png./tmp/native100-evidence/running-dark.png,/tmp/native100-evidence/running-light.png./tmp/native100-evidence/failed-dark.png,/tmp/native100-evidence/failed-light.png./tmp/native100-evidence/unchanged-dark.png,/tmp/native100-evidence/unchanged-light.png./tmp/native100-evidence/succeeded-dark.png,/tmp/native100-evidence/succeeded-light.png./tmp/native100-evidence/cleared-dark.png,/tmp/native100-evidence/cleared-light.png./tmp/native100-evidence/updating-dark.png,/tmp/native100-evidence/updating-light.png./tmp/native100-evidence/dialog-dark.png,/tmp/native100-evidence/dialog-light.png./tmp/native100-evidence/dismiss-dark.png,/tmp/native100-evidence/settings-dark.png,/tmp/native100-evidence/skipped-dark.png./tmp/native100-evidence/dialog-font20-light.png.Remaining gaps:
useDesktopUpdateState, the local download toast and its release-note feed do not apply to the native bundle. No native self-updater was built. Remote desktop-host preparation/commit uses the server RPC, not an Electron bridge.Review fixes:
Review keyboard evidence (local offscreen PNGs):
/tmp/native100-review-evidence/dialog-update-tab.png— Tab from Cancel reaches Update./tmp/native100-review-evidence/dialog-update-enter.png— Enter confirms the safe fixture and closes the dialog./tmp/native100-review-evidence/dialog-skipped-space.png— Shift+Tab reaches skipped rows; Space expands them./tmp/native100-review-evidence/sidebar-trigger-space.png— Escape restores the trigger; Space reopens the dialog./tmp/native100-review-evidence/sidebar-provider-enter.png— keyboard navigation and Enter open Providers settings./tmp/native100-review-evidence/sidebar-dismiss-space.png— keyboard navigation and Space dismiss the notice./tmp/native100-review-evidence/dialog-update-tab-light.png— light-theme keyboard focus.Regression transcript:
/tmp/native100-review-failing.log(four failing cases before the fix). All 1,035 workspace tests pass after the fix.Built with GPT-6.1 Sol in Codex