Skip to content

feat(native): achieve parity for transcript grouping, approvals, and user input - #369

Merged
rynfar merged 2 commits into
nativefrom
nw/244-tr-grouping-requests
Nov 14, 2026
Merged

rynfar merged 2 commits into
nativefrom
nw/244-tr-grouping-requests

Conversation

@rynfar

@rynfar rynfar commented Nov 14, 2026 •

Copy link
Copy Markdown
Owner

Brings TR-GROUPING, TR-APPROVAL, and TR-INPUT to done against Web (MessagesTimeline.logic.ts, TimelinePendingApprovalRow.tsx, ComposerPendingApprovalActions.tsx, ComposerPendingUserInputPanel.tsx, and pending-user-input.ts) and fixes #282 (c15e49a77c visibility + paging) and #223 (withoutSubagentDelegationRows, idle-resume compaction, event batching).

Summary

  • Transcript grouping & visibility (TR-GROUPING, #223, #282):
    • Added shared ItemVisibilityFilter across thread/reduce.rs and history.rs so live reduction and older-history merges preserve completed-run pending requests (approval_request / user_input_request) unless superseded/rolled back, while adding history paging test coverage (pending_question_from_completed_run_stays_actionable_and_pages_back_while_rolled_back_drops).
    • Ported withoutSubagentDelegationRows in timeline/rows.rs (filtering t3:delegate_task mcp_call rows paired with subagent rows, sharing is_t3_mcp_tool / compact_ok_task_id helpers in html_render.rs), idle-resume compaction timing + "Compacting..." active indicator + hiding answered resume-compaction question rows (timeline/compaction.rs + rows.rs), and matched Web subagent Event batching without requiring matching visibility.
  • Approvals (TR-APPROVAL):
    • Replaced composer banner approval rendering (render_approval removed from composer/{view,pending,mod,send}.rs while preserving approval decline on message send in composer/send.rs) with interactive inline transcript approval_card rows (transcript/work.rs) and unmatched pending approval cards at the top of the timeline footer (thread_view.rs, thread_view/status.rs), using §7.7 inline text actions (transcript::parts::inline_button_with / InlineTone::Default for Approve, InlineTone::Muted for Decline, "More", and "Why am I being asked this?"), fallback detail label approval.presentation().0, "Why am I being asked this?" preserved for !approval.live, Escape dismissal for approval popovers, warning icons/tooltips, inline errors, and orchestration:operate gating (can_operate_thread).
  • Pending user input (TR-INPUT):
    • Updated composer/pending.rs, composer/view.rs, and composer/mod.rs to make the pending question panel collapsible (question-toggle trigger with truncated header · question collapsed summary, chevron, and "Show/Hide the question and its options" tooltips; digit shortcuts suppressed when collapsed), render question prompts through MarkdownStore + prose, emit "Your typed text was set aside" toast on displaced custom answers, and gate option toggles / digit shortcuts / advances / dismiss on can_answer (orchestration:operate).
  • Ledger:
    • Marked TR-GROUPING, TR-APPROVAL, and TR-INPUT done with Issue: #244 in apps/native/parity/LEDGER.md.

Visual Evidence (1440x900 --snapshot offscreen captures)

Dark Light
Q5 Dark v2 Q5 Light v2

Verification

  • cargo clippy --workspace --all-targets -- -D warnings: pass (0 warnings; legacy transitive notice for block v0.1.6, proc-macro-error2 v2.0.1)
  • cargo test -p t3-core -p t3-client: t3-client 109/109 pass, t3-core 1366/1366 pass + conformance 8/8 pass
  • t3-native --features snapshot --test-threads=1 (71 passed, 141 filtered out of 212): composer:: 11/11, side_chat:: 4/4, thread_view:: 19/19, transcript:: 37/37 pass
  • vp fmt --check apps/native/parity/LEDGER.md: pass
  • node --test apps/native/parity/sync.test.ts: 42/42 pass
  • Note: gen-theme.ts --check and conformance/generate.ts --check were not runnable in this without vp i worktree due to missing node_modules (tailwindcss, effect/Schema); Rust conformance (8/8) and themes::tests::runtime_palettes_match_generated_web_css passed directly.

Ref #244
Closes #282
Closes #223

Model: Gemini 3.1 Pro (Antigravity)

…g user input with web

Hide standalone delegate_task rows when paired with subagent rows, surface idle-resume context compaction timing and hide answered resume questions after compaction, match Web subagent Event visibility batching, share ItemVisibilityFilter across live reduction and older-history merges while keeping completed-run pending requests actionable unless rolled back, move pending approvals into inline transcript cards and unmatched footer rows, and add collapsible Markdown question prompts with displaced-text toast and operate-scope gating.

Ref #244
Closes #282
Closes #223

Model: Gemini 3.1 Pro (Antigravity)
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