Skip to content

feat(native): complete SB-ROW and SB-SELECT parity - #353

Merged
rynfar merged 7 commits into
nativefrom
nw/242-sb-row-select-done
Nov 13, 2026
Merged

rynfar merged 7 commits into
nativefrom
nw/242-sb-row-select-done

Conversation

@rynfar

@rynfar rynfar commented Nov 13, 2026 •

Copy link
Copy Markdown
Owner

Ref #242 (Wave 3A: SB-ROW and SB-SELECT whole-row done).

Problem

SB-ROW lacked Folder/FolderMultiline row layouts, provider stack icons, PR/stack badges, running terminal status indicators, unsent draft indicators & discard hover actions, Woke badge/recession alignment, remote/scratch machine labels, and explicit SVG coloring on several Lucide row icons (causing invisible icons under GPUI svg()). SB-SELECT lacked real unpin confirmation wiring, Escape priority before drag/sweep cancellation, keyboard Enter/Space/F2 row handling with tracked focus handles, and integrated SidebarPane UI proof.

Changes

  • SB-ROW:
    • Added CompactVariant::Folder / FolderMultiline, ScopedSidebarRow::Thread { in_folder, .. } (section.is_card() && !*in_folder), boringSidebarMultilineRows setting, provider history stack + receding marks (render_trailing_icons), PR & stack badges (core/src/pull_requests/thread_badge.rs), RunningTerminals indicator + click-to-open drawer, unsent thread draft SquarePen indicator + hover discard/undo cycle, Woke badge + shouldRecede / slim favicon parity (!active || section == Section::Settled), remote & cross-environment scratch machine labels, and explicit .render(size, color) on GPUI SVGs (Terminal, AlarmClock, status_icon, hover actions, shelf chevrons).
    • Extracted sidebar/hover.rs for tooltip hover cards and consolidated row parameters into RowTarget.
    • Fixed #145 review findings: scoped inner row badge/action GPUI element IDs (unpin-, pr-badge-, terminal-status-, draft-indicator-, thread-worktree-, woke-, discard-draft-thread-, snooze-, settle-, wake-, unsettle-) by ThreadKey.environment_id, gated Section::Snoozed hover Wake on extras.config_loaded (without can_snooze), and scoped Card show_snooze per Fleet environment via row_snooze_access.
  • SB-SELECT:
    • Wired confirm_thread_unpin parity for scoped & unscoped unpin actions, handle_escape overlay-before-drag/sweep priority, row focus handle tracking for Enter/Space/F2, route-widening selection/anchor clear & deletion anchor retirement, and integrated SidebarPane tests (sb_sections_pane_tests::*) + Dark/Light --snapshot --sidebar-fixture captures.
  • apps/native/parity/LEDGER.md: Promoted SB-ROW and SB-SELECT to done.

Visual Evidence (GPUI --snapshot --sidebar-fixture, draft release native-parity-evidence-353)

Surface Dark Light
Cards + Slim (Working / Snoozed / Settled, Stack 2, PR 352/412, Failed, Woke, Draft, Terminal) cards-slim-dark cards-slim-light
Folder Single-Line folder-single-dark folder-single-light
Folder Multiline + Scratch Machine Labels folder-multiline-dark folder-multiline-light

Verification (32c2570b030fe54e71f37d1dab9f887ff7921c8b)

  • cargo clean -p t3-core -p t3-client -p t3-native + cargo clippy --workspace --all-targets -- -D warnings: pass (0 warnings)
  • cargo test -p t3-core -p t3-client: 105 + 1288 + 8 passed, 0 failed
  • cargo test -p t3-client --features test-support: 113 passed, 0 failed
  • cargo test -p t3-native --features snapshot --bin t3-native sidebar:: -- --test-threads=1: 31 passed, 0 failed
  • cargo test -p t3-native --features snapshot --bin t3-native context_menu::thread_menu_tests:: -- --test-threads=1: 11 passed, 0 failed
  • cargo test -p t3-native --features snapshot --bin t3-native composer:: -- --test-threads=1: 6 passed, 0 failed
  • cargo test -p t3-native --features snapshot --bin t3-native omitted_rows::tests:: -- --test-threads=1: 6 passed, 0 failed
  • cargo test -p t3-native --features snapshot --bin t3-native scoped_route_tests:: -- --test-threads=1: 3 passed, 0 failed
  • cargo build -p t3-native & cargo build -p t3-native --features snapshot: pass
  • node apps/native/scripts/gen-theme.ts --check, node --test apps/native/parity/sync.test.ts (42/42), node apps/native/conformance/generate.ts --check, ./node_modules/.bin/vp fmt --check apps/native/parity/LEDGER.md, ./node_modules/.bin/vp run check:changed fork/native: pass

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