Skip to content

fix(native): inline circular update button and gate PR footer link - #362

Merged
rynfar merged 1 commit into
nativefrom
nw/361-sidebar-footer-update
Nov 13, 2026
Merged

rynfar merged 1 commit into
nativefrom
nw/361-sidebar-footer-update

Conversation

@rynfar

@rynfar rynfar commented Nov 13, 2026

Copy link
Copy Markdown
Owner

Closes #361

Summary

  • Split UpdateControl (apps/native/crates/app/src/updates/mod.rs) into stacked notices (render_notices: managed-denial notice + provider-update-main pill) above the footer and the inline footer control (render_footer_control: 32x32 circular rounded_full() CircleArrowUp #update-everything button when updates are available and idle, or inline ml_auto flex_1 min_w_0 #update-capsule with upward #update-capsule-popover during an active run).
  • Moved the update control inline to the right end (ml_auto) of SidebarPane::render_footer's horizontal utility row (apps/native/crates/app/src/sidebar/mod.rs), observed UpdateControl changes, and notified SidebarPane unconditionally on AppEvent::Phase | AppEvent::ServerConfig.
  • Gated #sidebar-pull-requests visibility in render_footer on pull_requests_supported(state) (serverConfig !== null across active/non-disabled fleet environments, falling back to state.server_config.config.is_some() when fleet.environments is empty).
  • Updated apps/native/parity/LEDGER.md rows SB-HEADER and SB-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, including circular_update_button_mutes_during_run_and_capsule_popover_escapes)
  • cargo test -p t3-native --features snapshot sidebar:: -- --test-threads=1 (43 passed, including footer_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)

View Dark Light
Stacked provider pill + inline 32x32 circular #update-everything Dark circular update Light circular update
Active #update-capsule inline in footer + upward popover Dark active capsule —

Model: Claude Opus 4.6 (Antigravity)

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
rynfar merged commit c8ab397 into native Nov 13, 2026
@rynfar
rynfar deleted the nw/361-sidebar-footer-update branch November 13, 2026 23:00
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)
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