Repository navigation
fix(native): inline circular update button and gate PR footer link - #362
Merged
Merged
Conversation
Splits stacked update notices from the inline footer control in UpdateControl and places the 32x32 circular update button (or active capsule with upward popover) at the right end of SidebarPane's utility row, matching web SidebarChrome/SidebarUpdatePill. Also gates the footer Pull requests utility button on serverConfig across active/fleet environments and refreshes SidebarPane on ServerConfig/Phase and UpdateControl changes. Model: Claude Opus 4.6 (Antigravity)
rynfar
added a commit
that referenced
this pull request
Nov 14, 2026
…en review findings Fix all four review findings and secondary code-fence note from #362: - Isolate inline VideoPlayer/image keys per block & view entity, retire WebViews/leases on unmount or owner switch, and notify on non-source option changes. - Preserve bracketed markdown destinations and literal comparisons in HTML headings/tables, escape '<'/'>' in rewritten anchors, and skip fenced code blocks across blank lines. - Store the opening MediaScope and window handle on MediaViewer, sync FullscreenViewer immediately on open/navigate/dismiss, and close viewer state on thread/file switches or pane unmount. - Restrict direct External Link opens and button rendering to http(s) URLs. Model: Antigravity (Gemini 2.5 Pro)
rynfar
added a commit
that referenced
this pull request
Nov 14, 2026
…e media, and gallery (#370) * feat(native): add video playback, HTML/table media, and gallery parity Brings apps/native TR-MEDIA into parity with Web: WKWebView inline/modal video player (re-sign stability latch, lease pool, fullscreen base-plane portal, GPUI fallback), HTML media/heading/table/video preprocessing and media-bearing table grid rendering, full message gallery navigation, user message videos and raw-HTML opt-out, workspace video preview, and SourceControlMedia fallback resolution. Updates TR-MEDIA to done in LEDGER.md. Model: Claude Sonnet 4.6 (Antigravity) * fix(native): address PR #370 media lifecycle, sanitizer, and fullscreen review findings Fix all four review findings and secondary code-fence note from #362: - Isolate inline VideoPlayer/image keys per block & view entity, retire WebViews/leases on unmount or owner switch, and notify on non-source option changes. - Preserve bracketed markdown destinations and literal comparisons in HTML headings/tables, escape '<'/'>' in rewritten anchors, and skip fenced code blocks across blank lines. - Store the opening MediaScope and window handle on MediaViewer, sync FullscreenViewer immediately on open/navigate/dismiss, and close viewer state on thread/file switches or pane unmount. - Restrict direct External Link opens and button rendering to http(s) URLs. Model: Antigravity (Gemini 2.5 Pro)
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.
Closes #361
Summary
UpdateControl(apps/native/crates/app/src/updates/mod.rs) into stacked notices (render_notices: managed-denial notice +provider-update-mainpill) above the footer and the inline footer control (render_footer_control:32x32circularrounded_full()CircleArrowUp#update-everythingbutton when updates are available and idle, or inlineml_auto flex_1 min_w_0#update-capsulewith upward#update-capsule-popoverduring an active run).ml_auto) ofSidebarPane::render_footer's horizontal utility row (apps/native/crates/app/src/sidebar/mod.rs), observedUpdateControlchanges, and notifiedSidebarPaneunconditionally onAppEvent::Phase | AppEvent::ServerConfig.#sidebar-pull-requestsvisibility inrender_footeronpull_requests_supported(state)(serverConfig !== nullacross active/non-disabled fleet environments, falling back tostate.server_config.config.is_some()whenfleet.environmentsis empty).apps/native/parity/LEDGER.mdrowsSB-HEADERandSB-UPDATES.Verification
cargo clippy --workspace --all-targets -- -D warnings(passed)cargo test -p t3-core(1313 passed)cargo test -p t3-native --features snapshot updates:: -- --test-threads=1(6 passed, includingcircular_update_button_mutes_during_run_and_capsule_popover_escapes)cargo test -p t3-native --features snapshot sidebar:: -- --test-threads=1(43 passed, includingfooter_tests::footer_gates_pull_requests_and_inlines_circular_update_and_capsule)node --test apps/native/parity/sync.test.ts(42 passed)vp fmt --check apps/native/parity/LEDGER.md(passed)Snapshot Evidence (1440x900)
#update-everything#update-capsuleinline in footer + upward popoverModel: Claude Opus 4.6 (Antigravity)