Repository navigation
feat(native): complete SB-SECTIONS sidebar sections, shelves, and #286 project filter parity - #351
Merged
Merged
Conversation
…project filter parity
- Let #settled-show-more expand vertically and wrap long retry copy cleanly without clipping. - Focus #project-filter-search on toggle, add autoHighlight on open and query change, restore focus on Escape, add key fallbacks and Shift+F10 project settings on popup_id, and close the filter before right-click ContextMenu. - Track #project-filter-list scroll on keyboard highlight moves and apply Floating shadow to #project-filter-popup. - Expand fleet_clock_and_project_filter_286_scope_and_pin_stability to cover real trigger clicks, query filtering, arrow navigation, Escape, Shift+F10, right-click menu handoff, and Shift/plain row selection.
This was referenced Nov 13, 2026
Open
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 #242
Closes #286
Problem
SB-SECTIONSremainedpartialinapps/native/parity/LEDGER.mddue to missing cachedSidebarPane/ fleet lifecycle parity (natural visible snooze wake advancingSidebarPane.nowimmediately without waiting for the minute clock, single-env project-scope tail reset, fleet clock scheduling when localmodel.rowsis empty, fleetsettled_shelf_loading()notice redraw,#303project-folder hover action alignment, and scoped empty states) alongside#286(pingdotgg/t3code#29639, commit20e92ffe02) project-filter combobox parity and reusable deterministic--sidebar-fixturesnapshot support.Summary of Changes
crates/core/src/sidebar/grouping.rs):ProjectScope::single,pickable_scoped_project_groups,project_groups_span_environments,resolve_project_environment_badge("Also on ..."/"On ..."),order_while_open(preserving open-combobox row order across live pin/unpin mutations), andfilter_project_scope_items.SidebarPaneparity (crates/app/src/sidebar/{controller,mod,project_folders}.rs):controller.rs: trackslocal_settled_scope_keysto resetsettled_visible = 10on single-env scope changes, recordsbuilt_at+last_wake_at, makesgrow_settled_shelfandwake_timerfleet-aware, and emitsAppEvent::Noticewhen fleetsettled_shelf_loading()transitions.mod.rs: advancesSidebarPane.nowimmediately on natural wake (last_wake_at) so#woke-<id>renders on the wake frame without waiting for the minute timer, keepsschedule_clock_atactive for fleet rows when localmodel.rowsis empty, syncsfleet_seenonAppEvent::SidebarSelection, gates search rendering on active/fleet project presence, renders scoped empty states +#empty-add-project, and addssb_sections_pane_testscovering cachedSidebarPanesections, collapsed selected-row retention, older-settled paging/loading/retry/collapse-unmount, natural visible wake +#woke-<id>acknowledgement, fleet clock scheduling, and#286click/Shift-click/pin stability.project_folders.rs: aligns#303folder header padding (px(8.).pb(px(1.))), scopes hover per folder key, and overlays#folder-new-{key}(SquarePen) flush left of the chevron while hiding collapsedhidden_count+FolderDotunderneath on hover.#286project filter combobox (crates/app/src/sidebar/project_filter.rs) &#settled-show-more(crates/app/src/sidebar/row.rs):ProjectComboboxRow.tsx,ProjectEnvironmentBadge.tsx,ProjectPinButton.tsx, andSidebar.tsx(pingdotgg/t3code#29639): 2-favicon14pxtrigger stack with-4pxoverlap +2pxp.sidebarring cutout,288pxfrosted glass popover withFloatingshadow,"Search projects..."input auto-focused on open,autoHighlighton open and query changes, scroll tracking (project_filter_scroll),"All projects"row with circular check badge +24pxtrailing height-matching spacer, inline environment badge,ProjectRowActions(24x24Settingsleft of far-right24x24Pin/PinOffwith24x24reserved slot when!can_pin),order_while_openpin stability, plain click single-select + close, Shift-click toggle + stay-open, Escape focus restoration,Shift+F10/Menuproject settings handoff, right-click filter dismissal beforeContextMenu, and keyboard navigation with fallback handlers onpopup_id.#settled-show-moreinrow.rs(min_h(36),py(6), flex-shrunk icon +flex_1().min_w_0()label) to wrap"Could not load older threads. Retry"cleanly without right-edge clipping.--sidebar-fixture <json>(crates/app/src/snapshot.rs) & ledger (apps/native/parity/LEDGER.md):--sidebar-fixture <json>callingstop_pump()+freeze_snapshot()for deterministic single-env and multi-env sidebar captures across Waves 2B/3/4.SB-SECTIONStodoneand addedapps/web/src/components/ProjectPinButton.tsx+#286toSB-GROUPING.Offscreen evidence
Draft release: https://github.com/rynfar/t3code/releases/tag/untagged-8c5564cc1539e4971b06 (
native-parity-evidence-351)Approval+Woke), Working (Working 1m), Snoozed, Settled +Show 25 more(Dark / Light):Working 2,Snoozed 1,Settled 19) retaining selected Working row (Dark / Light):Loadingstate (Dark / Light):Could not load older threads. Retrystate (Dark / Light):#303) — hoveredSquarePenaction & collapsedFolderDot::Attention+ count (Dark / Light):#286project filter combobox — 2-favicon ring trigger,288pxfrosted glass popover, circular check badge, machine badges,Settings+Pinactions & reserved!can_pinslot (Dark / Light):Verification (HEAD
3ef357a03b07aa3d915752118cb651ec9d94c8bb)t3-core:sidebar::grouping::tests::project_filter_scope_and_environment_badge_parityfailed RED (assertion failed: single.is_selected(&groups[1])) -> GREENt3-native:sidebar::sb_sections_pane_tests::fleet_clock_and_project_filter_286_scope_and_pin_stabilityfailed RED (schedule_clock_at must stay active for fleet rows even when single-env model.rows is empty) -> GREENcargo test -p t3-core -p t3-client:t3-client105 passed,t3-core1258 unit + 8 conformance passed, 0 failedcargo test -p t3-native --features snapshot(isolatedT3_NATIVE_HOMEper suite):sb_sections_pane_tests: 2 passed, 0 failedsnooze_grant_tests: 1 passed, 0 faileddeletion_tests: 11 passed, 0 failedomitted_rows::tests: 6 passed, 0 failedscoped_route_tests: 3 passed, 0 failedproject_filter_tests: 3 passed, 0 failedgrouping_frames: 1 passed, 0 failedcargo clippy --workspace --all-targets -- -D warnings: passed (0 warnings)cargo build -p t3-native&cargo build -p t3-native --features snapshot: passednode scripts/gen-theme.ts --check,node --test parity/sync.test.ts(42/42 passed),node conformance/generate.ts --check: passedvp fmt --check apps/native/parity/LEDGER.md&vp run check:changed fork/native: passed (format, typecheck 40/40 packages, test 1 file / 2 tests)Model: Gemini 4 Carbon (High) (Antigravity)