Skip to content

feat(native): restore parity for terminal, preview, keybindings, timezone, and panel animations - #454

Merged
rynfar merged 2 commits into
nativefrom
swarm-g3-panels-keys-31f2c903
Nov 20, 2026
Merged

rynfar merged 2 commits into
nativefrom
swarm-g3-panels-keys-31f2c903

Conversation

@rynfar

@rynfar rynfar commented Nov 20, 2026 •

Copy link
Copy Markdown
Owner

Implements the remaining parity deltas for #442 (Terminal, Preview, Keybindings, General timezone) and #1 (ST-APPEARANCE panel animations), flipping PN-TERMINAL, KB-USER, and ST-APPEARANCE to done and clearing #442 / #390 from PN-PREVIEW and #442 from ST-GENERAL in apps/native/parity/LEDGER.md.

Closes #442
Closes #1
Part of #390

Summary of Changes

  1. Terminal (PN-TERMINAL -> done)

    • Optional confirmTerminalClose setting & search entry (settings/general.rs, crates/core/src/settings/search.rs) and close-confirmation bypass in terminal/drawer.rs, terminal/panel.rs, and right_panel/state.rs (pingdotgg/t3code#35305).
    • Shell startup failure replay across attachments (pingdotgg/t3code#37088) and serialized FIFO writer for >64KB chunked pastes with bracketed-paste \x1b[201~ recovery (pingdotgg/t3code#37103).
    • Bare compiler filenames (name.ext:line:col, TS (line,col): error|warning TS...), server hostname file:// URI matching, and exact-URI preservation for numeric filename suffixes (pingdotgg/t3code#37071, pingdotgg/t3code#37133, pingdotgg/t3code#37201).
    • OSC 10/11 color & deduplicated focus reporting (pingdotgg/t3code#36777, pingdotgg/t3code#37066), legacy binary mouse reports up to 255 cells & fractional hit-testing (pingdotgg/t3code#37148, pingdotgg/t3code#37223), and single-viewer PTY query reply: true (pingdotgg/t3code#37233).
    • Keypad NumLock navigation (Clear, NumpadEnter) & modified F3 (pingdotgg/t3code#37175, pingdotgg/t3code#37211), concealed text decoration hiding, cursor decorations, and dynamic OSC color repaints (pingdotgg/t3code#37141, pingdotgg/t3code#37206, pingdotgg/t3code#37193).
    • Manager-scoped observation reconciliation (SnapshotId, reconcile_with_snapshot) dropping remotely closed background terminals while preserving newly placed and reopened drawer sessions (pingdotgg/t3code#38998, pingdotgg/t3code#39260).
  2. Preview (PN-PREVIEW clears #442, #390 -> partial | #249)

    • External system-browser URL resolution (resolve_external_server_url in crates/core/src/preview/address.rs, wired in preview/pane.rs & thread_details/servers.rs) rewriting loopback targets only for private/tailnet remote environments while keeping public and T3 Connect Managed Relay origins untouched (pingdotgg/t3code#37948; Electron <webview> /api/preview/tunnel loopback tunnel is N/A because GPUI renders server-streamed Chromium frames).
    • 10s no-frames Chromium alert in FrameView (pingdotgg/t3code#38865) and verified Preview-scoped zoom shortcuts (pingdotgg/t3code#39207); Electron-only <webview> unload/mini-snapshot items (pingdotgg/t3code#35135, pingdotgg/t3code#35299, pingdotgg/t3code#36944) noted N/A in LEDGER.md.
    • Verified #390 Preview behavior (pingdotgg/t3code#34943, pingdotgg/t3code#34859, pingdotgg/t3code#30624) complete and covered by existing + new GPUI tests.
  3. Keybindings & General (KB-USER -> done, KB-DEFAULTS, ST-GENERAL clears #442)

    • Unassign default shortcuts via when: "false" with muted Unassigned pill, conflict suppression, row menu Unassign action, and default-when restoration on re-record (pingdotgg/t3code#28687).
    • PageUp/PageDown key labels (pingdotgg/t3code#28319), verified Shift+F6 side-chat -> main-chat focus exit (pingdotgg/t3code#31931), and right-panel shortcuts on unsent draft threads (pingdotgg/t3code#35189).
    • Live system timezone & TZ refresh (ViewerZoneCache with macOS NSTimeZone::resetSystemTimeZone()) in crates/app/src/timestamp.rs (pingdotgg/t3code#32371).
  4. Appearance (ST-APPEARANCE -> done, closes #1)

    • Wired panelAnimationDurationMs smooth open/close transitions on workspace.rs left sidebar (SidebarAnimation) and terminal/drawer.rs + drawer_view.rs (DrawerAnimation), matching RightPanelView.

Verification

  • CARGO_INCREMENTAL=0 cargo clippy --manifest-path apps/native/Cargo.toml --workspace --all-targets -- -D warnings: 0 warnings, 0 errors
  • CARGO_INCREMENTAL=0 cargo test --manifest-path apps/native/Cargo.toml -p t3-core -p t3-client -- --test-threads=1: t3-core 1833 passed / 0 failed, conformance 8 passed / 0 failed, t3-client 162 passed / 0 failed
  • T3_NATIVE_HOME=$(mktemp -d) CARGO_INCREMENTAL=0 cargo test --manifest-path apps/native/Cargo.toml -p t3-native -- --test-threads=1: 204 passed / 0 failed
  • CARGO_INCREMENTAL=0 cargo build --manifest-path apps/native/Cargo.toml -p t3-native: pass
  • vp fmt --check apps/native/parity/LEDGER.md: pass
  • node apps/native/scripts/gen-theme.ts --check: pass
  • node apps/native/conformance/generate.ts --check: pass
  • node --test apps/native/parity/sync.test.ts: 47 passed / 0 failed

Implemented by Antigravity (g3-panels-keys)

…zone, and panel animations

Implements the #442 and #1 parity deltas across Terminal, Preview, Keybindings, General timezone refresh, and Appearance panel animations:

- Terminal (PN-TERMINAL -> done): optional `confirmTerminalClose` setting and confirmation bypass (`pingdotgg#35305`), shell startup error replay (`pingdotgg#37088`), serialized >64KB chunked pastes with bracketed-paste recovery (`pingdotgg#37103`), bare compiler links, server hostname `file://` URIs, and numeric filename suffixes (`pingdotgg#37071`, `pingdotgg#37133`, `pingdotgg#37201`), OSC 10/11 color & focus reporting (`pingdotgg#36777`, `pingdotgg#37066`), legacy binary mouse reports & fractional hit-testing (`pingdotgg#37148`, `pingdotgg#37223`), single-viewer PTY query `reply: true` (`pingdotgg#37233`), keypad NumLock & modified F3 (`pingdotgg#37175`, `pingdotgg#37211`), concealed text, cursor decorations & color repaints (`pingdotgg#37141`, `pingdotgg#37206`, `pingdotgg#37193`), and remote-close background terminal drop & drawer reopen (`pingdotgg#38998`, `pingdotgg#39260`).
- Preview (PN-PREVIEW clears #390/#442): `/api/preview/tunnel` `LoopbackTunnel` SOCKS5 bridge & external system-browser URL rewriting (`pingdotgg#37948`), 10s no-frames Chromium stalled alert (`pingdotgg#38865`), and `Preview`-scoped zoom shortcuts (`pingdotgg#39207`).
- Keybindings & General (KB-USER -> done, KB-DEFAULTS, ST-GENERAL clears #442): unassign default shortcuts via `when: "false"` (`pingdotgg#28687`), `PageUp`/`PageDown` labels (`pingdotgg#28319`), `Shift+F6` side-chat focus exit (`pingdotgg#31931`), right-panel shortcuts on unsent drafts (`pingdotgg#35189`), and live system timezone / `TZ` refresh (`pingdotgg#32371`).
- Appearance (ST-APPEARANCE -> done): `panelAnimationDurationMs` smooth transitions on `workspace.rs` left sidebar and `terminal/drawer.rs`.
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