Repository navigation
feat(native): complete TR-MARKDOWN & TR-CITE parity - #367
Merged
Merged
Conversation
Port remaining Web markdown blocks/links/mermaid/math/table/fence metadata and assistant selection/sent-citation parity into apps/native, and mark TR-MARKDOWN and TR-CITE done in parity/LEDGER.md. Model: Gemini 2.5 / Antigravity
# Conflicts: # apps/native/parity/LEDGER.md
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.
Ref #244
Closes #92
Problem
TR-MARKDOWNandTR-CITEinapps/native/parity/LEDGER.mdstill had partial parity with Web (ChatMarkdown,Markdown/*,markdown-clipboard,AssistantSelectionToolbar,AssistantCitationChip, andassistantCitationNavigation):<details>, TeX unicode math, SVG Mermaid diagrams, horizontally scrollable GFM tables with Markdown/CSV copy, code fence titles/language aliases/normalized copy, shell fenceRun, file/thread link resolution, and nested view selections) were unported or partial.Fix
TR-MARKDOWN(crates/core/src/markdown.rs,crates/core/src/markdown/,crates/core/src/client_settings.rs,crates/app/src/transcript/markdown.rs,crates/app/src/transcript/markdown/):<details>/<picture>/<code>file links, TeX math (mathRenderingEnabledsetting defaulting tofalse), SVG Mermaid rendering (flowchart,sequence,state,pie,class/er, delimiter-aware&splitting, and UTF-8 char-boundary-safestrip_keyword_ci), tables, fence metadata, and clipboard normalization.TextViewblock extensions, interactive link routing (t3-thread://,t3-citation://,file:///workspace paths, external/PR links) respecting side-chatMarkdownActionContext(thread_id,cwd),Runshell block execution, andSelectableText+ nested markdown selection bridging.TR-CITE(crates/core/src/assistant_citations.rs,crates/core/src/composer/{menu,queue}.rs,crates/app/src/selectable_text.rs,crates/app/src/thread_view/citations.rs,crates/app/src/composer/citations.rs,crates/app/src/transcript/context.rs,crates/app/src/transcript/messages.rs,crates/app/src/app_state.rs):SelectionHintduplicate-quote disambiguation, compact<details>text projection,to_plain_textstripping oft3-citation://v1/...links for queued previews and thread title seeds,present_user_citationschip extraction + inline link cleanup, interactiveSentCitationPopover+Cmd/Ctrl+Clicknavigation, automatic cross-environment scoped citation opening,SelectableTextactive-selection fallback for math/Mermaid blocks, queued-edit citation controls, and stale-quote toast feedback.parity/LEDGER.md: MarkedTR-MARKDOWNandTR-CITEasdone(#8,#244,#92resolved) and updated Web paths toMarkdown*.tsx.Visual Evidence (
--snapshot, 1440×900,mathRenderingEnabled: falsedefault)Dark theme
Light theme
Verification
cargo clippy --manifest-path apps/native/Cargo.toml --workspace --all-targets -- -D warnings: passed (0 warnings/errors)cargo test --manifest-path apps/native/Cargo.toml -p t3-core -p t3-client:t3-client108/108 passed,t3-core1360/1360 unit + 8/8 conformance passedt3-native --features snapshot --test-threads=1GPUI subsets (out of 201 total):transcript::markdown::7/7,thread_view::citations::2/2,transcript::33/33,thread_view::17/17,composer::7/7,selectable_text::8/8,app_state::5/5 passedvp fmt --check apps/native/parity/LEDGER.md: passednode --test apps/native/parity/sync.test.ts: 42/42 passedModel: Gemini 2.5 / Antigravity