Skip to content

feat(nav): consolidated navigation, retire Projects sidebar mode, and Home provider tip - #254

Merged
Hona merged 2 commits into
devfrom
ws2/consolidated-nav
Nov 20, 2026
Merged

Hona merged 2 commits into
devfrom
ws2/consolidated-nav

Conversation

@Hona

@Hona Hona commented Nov 20, 2026

Copy link
Copy Markdown
Member

Summary

Ports Consolidated navigation (#64668), retires the Projects vertical sidebar mode (#64727), and adds the Home provider connect hint (#64885) on dev:

  • Consolidated navigation (#64668, full parity):
    • Adds Organize::Consolidated (local/dev builds only), Navigation::Tabs | List (appearance.navigation in settings.v3), two 120 pt radio cards (features/settings/src/navigation_mode.rs), and Tab position (Top tabs / Side tabs) under Settings > Preferences.
    • Updates features/settings/src/search.rs dynamically so Navigation and Tab position are searchable under Consolidated (replacing Interface layout).
    • Adds full pin groups (apps/desktop/src/shell/tabs/pins.rs, navigation.pins in opencode.global.dat) with accordion collapse, hidden attention/unread indicators, inline group renaming, color palette, Ungroup / Unpin group, and Pin + Add to group context menus across tabs and rows.
    • Renders PinnedArea in both side tabs and top tabs (apps/desktop/src/shell/view/sidebar/pinned_area.rs), including icon-only pinned tabs and outlined group pills in the titlebar, with nav_order() spanning visible pinned sessions and unpinned tabs for Mod+1..9 and Mod-held shortcut numbers.
    • Adds navigation-switch (apps/desktop/src/shell/tabs/navigation_switch.rs, navigation.list-snapshot) to snapshot open tabs when switching to List and restore them (closing List-opened tabs while keeping the active session) on return to Tabs.
    • Adds RecentView (apps/desktop/src/shell/view/sidebar/recent_view.rs, navigation.recent-view) with Group by (Date, Status, Project, Server, None), Sort by (Last updated, Date created, Name) + direction, Show (Metadata, Empty groups), Reset to defaults, and View all -> Sessions.
    • Updates Home and Titlebar: Home becomes Sessions with sessions-stack icon; Search buttons hide in favor of inline Home filtering (Mod+Shift+F and arriving on Home focus Home search; Flow automation folding and hover-held order preserved per ours.md §5.8); side tabs switch Home to the 768 px scoped layout with an accessible compact project picker (aria-expanded + selected project name).
  • Retire Projects vertical sidebar mode (#64727, lossless migration):
    • Removes Projects from Organize::options(), deletes sidebar_organized.rs and dead project-drag/freeze code, and resolves stored "projects" in Organize::effective() to Consolidated (local/dev) or Customize (elsewhere) without clobbering the stored value until the user explicitly changes Organize. Preserves sidebar.organize order for Home and older builds.
  • Provider connect hint on Home (#64885):
    • Adds apps/desktop/src/shell/view/home/tip.rs (StateSlots-backed PROVIDER_TIP, persisted in new-session.provider-tip only when s.persists(), waits for integrations to settle before showing so Console/Go connections never flash the hint, 30-day dismissal).

Captures

Settings > Preferences under Consolidated (Navigation + Tab position):
Settings Preferences Consolidated dark 1x
Settings Preferences Consolidated light 1.5x

Side tabs with pin groups + Mod-held shortcut numbers across pinned & unpinned tabs:
Side tabs Consolidated
Side tabs Consolidated hints

Top tabs horizontal pinned area + outlined pin group:
Top tabs Consolidated

Consolidated List grouped by Status with metadata + Consolidated Home with compact scope picker:
Consolidated List grouped
Consolidated Home

Verification

  • pwsh scripts/guardrails.ps1: 5/5 passed (arch-check 94/94 App fields, file-size, folder-shape, dialog-size, tables-check).
  • tools/cargo.ps1 check --workspace, tools/cargo.ps1 build -p opencode-desktop, and scripts/web.ps1 -Check: all green, zero warnings.
  • Driven UI + saved-state migration/downgrade proof (proof/ws2/pr2-proof.ts — all 5 suites passed):
    • Settings Experimental omits Projects, offers Consolidated; Preferences swaps to Navigation + Tab position; Settings search finds Tab position.
    • Side & top PinnedArea, pin groups, Mod-held 1..9 spanning pinned + unpinned, List grouping + RecentViewMenu triggers, Home scoped layout + inline no-results state.
    • Live 2-window migration & downgrade (old dev 021663f1 -> PR 2 -> old dev 021663f1): pragma integrity_check == ok at every step; sidebarOrganize: "projects" resolved to Consolidated on PR 2 while remaining preserved on disk after toggling sharedSidePanel; zero lost tabs (w1 3 tabs, w2 2 tabs), pins, mutes, or project order; older build reopened the profile with exit code 0 and zero corruption.

@github-actions

github-actions Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

PR test build retired — merged into dev. Install or auto-update OpenCode (Rune) from https://anoma.ly/release/opencode/desktop-rune/dev/macos-arm64-dmg.

@Hona
Hona merged commit 890d14c into dev Nov 20, 2026
7 checks passed
@Hona
Hona deleted the ws2/consolidated-nav branch November 20, 2026 08:41
Hona added a commit that referenced this pull request Nov 20, 2026
…ing (#266)

- Fold verified fleet PRs #247, #251, #252, #253, #254, #255, #256, #257,
  #258, #260, #261, #262, #263, #264, and #265 (Rune #1290 PRE-11 / #1296)
  into docs/upstream-sync/ledger.{json,md}
- Audit upstream anomalyco/opencode through 92d35f8e18 (+9 commits past
  bf683129fa), adding UP-107..UP-113 and assigning UP-106/UP-108/UP-111 to
  BROWSER-UI
- Update scripts/upstream-sync-check.ts to skip pure *.fixture.* test files
  and route browser UI/history vs extensions commits to BROWSER-UI and WS-9
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