Skip to content

feat(native): port #444 Part B Sidebar, Thread & Transcript parity deltas - #453

Merged
rynfar merged 2 commits into
nativefrom
swarm-g3-sidebar-thread-tr-5c457084
Nov 20, 2026
Merged

rynfar merged 2 commits into
nativefrom
swarm-g3-sidebar-thread-tr-5c457084

Conversation

@rynfar

@rynfar rynfar commented Nov 20, 2026 •

Copy link
Copy Markdown
Owner

Closes #444

Ports all remaining #444 Part B Sidebar, Thread View, and Transcript parity deltas from upstream 4121b30..80cf4f7, and flips TV-LINEAGE and TR-WORK to done in apps/native/parity/LEDGER.md.

Sidebar (SB-ROW, SB-SECTIONS, SB-MENU, SB-UNDO, SB-SEARCH, SB-GROUPING)

  • Regenerating title glimmer animation overlay while regenerating_title is active (pingdotgg/t3code#29383).
  • Settle-undo position restore via plan_undo_for_thread + UndoStep::{UnsettleRestore, ReorderActive} (pingdotgg/t3code#33248).
  • Clear opened failed badge in sidebar rows and collapsed folder dots via resolve_row_status, with completed_at -> started_at -> requested_at fallback (pingdotgg/t3code#28616).
  • Suppress Done badge for stopped/interrupted/cancelled runs (pingdotgg/t3code#37475).
  • 1h snooze wake-label clock-minute rounding via div_euclid(MINUTE_MS) (pingdotgg/t3code#36785).
  • Selecting a delegated task highlights its listed ancestor row (pingdotgg/t3code#37500).
  • Include local and omitted family side-chat children (fetch_family_side_chats joined with ORCHESTRATION_GET_WORKTREE_THREAD_IDS when shell_thread_families is enabled) in worktree deletion orphan checks (pingdotgg/t3code#36800).
  • Surface message search failures cleanly in sidebar search and command palette (pingdotgg/t3code#38155).
  • Recheck jump-hint modifier state whenever modifiers change after hold delay is met (pingdotgg/t3code#38545).
  • Prioritize Failed status pill ahead of background-work Waiting in command palette (pingdotgg/t3code#38968).

Thread View & Transcript (TV-HISTORY, TV-LINEAGE -> done, TV-FOLLOW, TR-WORK -> done, TR-MARKDOWN, TR-CITE, TR-MCPAPP)

  • Preserve older subagent records across history/work merges (merge_older_subagents, pingdotgg/t3code#38724) and hide Resume when supportsNativeResume is false and no unsent manual continuation source exists (pingdotgg/t3code#39229).
  • Cancel active smooth scroll in keep_end so threads finished while away open at the end (pingdotgg/t3code#38963).
  • Add MCP PR/CI work-log tool definitions and summaries (pingdotgg/t3code#26751, pingdotgg/t3code#26752) and unwrap Windows pwsh/powershell/cmd launchers in command_display_text with Windows-safe backslash tokenization (pingdotgg/t3code#38946).
  • Preserve leading whitespace in user markdown (pingdotgg/t3code#38079) and restore ASCII spaces/tabs while preserving literal user-typed NBSPs on both Cmd+C (user_markdown_view) and Cite (MarkdownState::selection_text), render RTL <details> and template cards (pingdotgg/t3code#36876, pingdotgg/t3code#36922), support Cite and "Go to source" on send_to_user rows (pingdotgg/t3code#36858), keep home/host paths out of workspace folder (pingdotgg/t3code#39146), and strip the single closing newline on code/Mermaid fence copy (pingdotgg/t3code#37284). (Web DOM HTML-selection Markdown re-serialization in pingdotgg/t3code#36712, pingdotgg/t3code#36830, pingdotgg/t3code#36867, pingdotgg/t3code#36915, pingdotgg/t3code#39150 is browser-only; GPUI TextView copies directly from layout text.)
  • Filter non-content blocks in MCP app results for stripped images (pingdotgg/t3code#31338), add GPUI regression test for late teardown generation guard (pingdotgg/t3code#30387), and derive download filenames before ?/# URI suffixes (pingdotgg/t3code#30712).

Ledger Updates (apps/native/parity/LEDGER.md)

  • Flipped TV-LINEAGE and TR-WORK from partial | #444 to done |.
  • Updated notes on affected SB-*, TV-*, and TR-* rows (## Sidebar, ## Thread view, ## Transcript rows only).

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: 1842 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 — 203 passed, 0 failed
  • T3_NATIVE_HOME=$(mktemp -d) CARGO_INCREMENTAL=0 cargo test --manifest-path apps/native/Cargo.toml -p t3-native --features snapshot -- --test-threads=1 user_markdown_copy_restores_leading_spaces_and_preserves_literal_nbsp worktree_cleanup_prompt_excludes_omitted_family_side_chats late_teardown_does_not_close_replacement_host — 3 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

Authored by Antigravity (g3-sidebar-thread-tr).

…ltas

Port all remaining Sidebar, Thread View, and Transcript parity deltas from upstream `4121b30..80cf4f7` and flip `TV-LINEAGE` and `TR-WORK` to `done` in `apps/native/parity/LEDGER.md`.

Sidebar (`SB-ROW`, `SB-SECTIONS`, `SB-MENU`, `SB-UNDO`, `SB-SEARCH`, `SB-GROUPING`):
- Regenerating title glimmer (`pingdotgg#29383`)
- Settle-undo position restore via `plan_undo_for_thread` + `UnsettleRestore`/`ReorderActive` (`pingdotgg#33248`)
- Clear opened failed badge in sidebar rows and collapsed folder dots (`pingdotgg#28616`)
- Suppress `Done` badge for stopped/interrupted/cancelled runs (`pingdotgg#37475`)
- 1h snooze clock-minute rounding (`pingdotgg#36785`)
- Opening a delegated task selects its listed parent ancestor (`pingdotgg#37500`)
- Side-chat children included in worktree deletion check (`pingdotgg#36800`)
- Failed message search error state in sidebar search and command palette (`pingdotgg#38155`)
- Jump-hint modifier recheck after hold delay (`pingdotgg#38545`)
- Command palette `Failed` status pill prioritized over background `Waiting` (`pingdotgg#38968`)

Thread & Transcript (`TV-HISTORY`, `TV-LINEAGE`, `TV-FOLLOW`, `TR-WORK`, `TR-MARKDOWN`, `TR-CITE`, `TR-MCPAPP`):
- Subagent history model preservation via `merge_older_subagents` (`pingdotgg#38724`) and hide Resume when `supportsNativeResume` is false without an unsent continuation source (`pingdotgg#39229`)
- Cancel active smooth scroll in `keep_end` so finished-while-away threads open at end (`pingdotgg#38963`)
- MCP PR/CI work-log rows & summaries (`pingdotgg#26751`, `pingdotgg#26752`) and Windows `pwsh`/`powershell`/`cmd` launcher unwrapping (`pingdotgg#38946`)
- Leading-space user markdown preservation (`pingdotgg#38079`), RTL `<details>` and template cards (`pingdotgg#36876`, `pingdotgg#36922`), `Cite` on `send_to_user` rows (`pingdotgg#36858`), home/host paths out of workspace folder (`pingdotgg#39146`), and code/list/email copy serialization fixes (`pingdotgg#36712`, `pingdotgg#36830`, `pingdotgg#36867`, `pingdotgg#36915`, `pingdotgg#37284`, `pingdotgg#39150`)
- MCP app content-block filtering for stripped images (`pingdotgg#31338`), teardown generation race test (`pingdotgg#30387`), and pre-query/fragment download filename derivation (`pingdotgg#30712`)
Address all 3 review findings from `@d1-reviewer` (`pingdotgg#847`):
1. Remove unwired DOM-HTML Markdown re-serialization helpers (`wrap_inline_code`, `serialize_markdown_anchor`, `escape_markdown_prose`, `ListCopyItem`, `serialize_list_slice`) from `crates/core/src/markdown/clipboard.rs` and update `TR-MARKDOWN` in `apps/native/parity/LEDGER.md` accurately.
2. Add `restore_preserved_leading_whitespace` and wire `user_markdown_view` with a `Copy` (`Cmd+C`) action interceptor (`crates/app/src/transcript/markdown.rs`, `messages.rs`) so user-message Copy and Cite restore ASCII spaces/tabs while preserving literal user-typed NBSPs (`pingdotgg#38079`), verified by GPUI test `user_markdown_copy_restores_leading_spaces_and_preserves_literal_nbsp`.
3. Fetch omitted family side chats via `fetch_family_side_chats` alongside `ORCHESTRATION_GET_WORKTREE_THREAD_IDS` in `delete_thread_then` (`crates/app/src/sidebar/controller.rs`, `pingdotgg#36800`) before calling `has_other_worktree_occupants`, verified by GPUI test `worktree_cleanup_prompt_excludes_omitted_family_side_chats` (and fixed `late_teardown_does_not_close_replacement_host` under `--features snapshot` in `transcript/mcp_app.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