Repository navigation
feat(native): port #444 Part B Sidebar, Thread & Transcript parity deltas - #453
Merged
Merged
Conversation
…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`).
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 #444
Ports all remaining
#444Part B Sidebar, Thread View, and Transcript parity deltas from upstream4121b30..80cf4f7, and flipsTV-LINEAGEandTR-WORKtodoneinapps/native/parity/LEDGER.md.Sidebar (
SB-ROW,SB-SECTIONS,SB-MENU,SB-UNDO,SB-SEARCH,SB-GROUPING)regenerating_titleis active (pingdotgg/t3code#29383).plan_undo_for_thread+UndoStep::{UnsettleRestore, ReorderActive}(pingdotgg/t3code#33248).resolve_row_status, withcompleted_at -> started_at -> requested_atfallback (pingdotgg/t3code#28616).Donebadge for stopped/interrupted/cancelled runs (pingdotgg/t3code#37475).div_euclid(MINUTE_MS)(pingdotgg/t3code#36785).pingdotgg/t3code#37500).fetch_family_side_chatsjoined withORCHESTRATION_GET_WORKTREE_THREAD_IDSwhenshell_thread_familiesis enabled) in worktree deletion orphan checks (pingdotgg/t3code#36800).pingdotgg/t3code#38155).pingdotgg/t3code#38545).Failedstatus pill ahead of background-workWaitingin command palette (pingdotgg/t3code#38968).Thread View & Transcript (
TV-HISTORY,TV-LINEAGE->done,TV-FOLLOW,TR-WORK->done,TR-MARKDOWN,TR-CITE,TR-MCPAPP)merge_older_subagents,pingdotgg/t3code#38724) and hide Resume whensupportsNativeResumeis false and no unsent manual continuation source exists (pingdotgg/t3code#39229).keep_endso threads finished while away open at the end (pingdotgg/t3code#38963).pingdotgg/t3code#26751,pingdotgg/t3code#26752) and unwrap Windowspwsh/powershell/cmdlaunchers incommand_display_textwith Windows-safe backslash tokenization (pingdotgg/t3code#38946).pingdotgg/t3code#38079) and restore ASCII spaces/tabs while preserving literal user-typed NBSPs on bothCmd+C(user_markdown_view) andCite(MarkdownState::selection_text), render RTL<details>and template cards (pingdotgg/t3code#36876,pingdotgg/t3code#36922), supportCiteand "Go to source" onsend_to_userrows (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 inpingdotgg/t3code#36712,pingdotgg/t3code#36830,pingdotgg/t3code#36867,pingdotgg/t3code#36915,pingdotgg/t3code#39150is browser-only; GPUITextViewcopies directly from layout text.)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)TV-LINEAGEandTR-WORKfrompartial | #444todone |.SB-*,TV-*, andTR-*rows (## Sidebar,## Thread view,## Transcript rowsonly).Verification
CARGO_INCREMENTAL=0 cargo clippy --manifest-path apps/native/Cargo.toml --workspace --all-targets -- -D warnings— 0 warnings, 0 errorsCARGO_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 failedT3_NATIVE_HOME=$(mktemp -d) CARGO_INCREMENTAL=0 cargo test --manifest-path apps/native/Cargo.toml -p t3-native -- --test-threads=1— 203 passed, 0 failedT3_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 failedCARGO_INCREMENTAL=0 cargo build --manifest-path apps/native/Cargo.toml -p t3-native— passvp fmt --check apps/native/parity/LEDGER.md— passnode apps/native/scripts/gen-theme.ts --check— passnode apps/native/conformance/generate.ts --check— passnode --test apps/native/parity/sync.test.ts— 47 passed, 0 failedAuthored by Antigravity (
g3-sidebar-thread-tr).