Skip to content

feat(navigation): add Navigation settings, Row layout editor, migration, and Home search - #2290

Merged
Hona merged 3 commits into
devfrom
upstream-f/up-415-new-navigation-part1
Dec 3, 2026
Merged

Hona merged 3 commits into
devfrom
upstream-f/up-415-new-navigation-part1

Conversation

@Hona

@Hona Hona commented Dec 3, 2026

Copy link
Copy Markdown
Member

Part 1 of porting official anomalyco/opencode#67795 (feat(app): New navigation settings, archive, row layout and Home search, commit f2975e462c).

Summary

  • Updated crates/opencode-i18n/locales/official/en.json with updated navigation.* copy, command.session.next.attention, navigation.allSessions, navigation.setting.show.5, navigation.setting.rowDetails.edit, navigation.layout.* (28 keys), navigation.archived.hidden, and navigation.announce.* (9 keys).
  • Added features/settings/src/row_layout.rs (RowItem, Lane, FormItem, ItemForm, RowLayout with JSON persistence and pure layout ops) and updated features/settings/src/new_navigation.rs (dropped GroupBy::Manual and RowsPerGroup, added ShowCount::N5, row_layout, and unlimited RowAction ordering).
  • Added Settings::home_search() (Consolidated prototype or New navigation Sessions mode) and wired it across Home search views (home.rs, home/{list,search,projects}.rs, workspace/search/{home_search,switcher}.rs).
  • Expanded Settings > Preferences > Navigation (features/settings/src/pages/sidebar_nav.rs and search/mod.rs) with Row details (Compact/Detailed/Custom + Edit layout), Sessions to show, Row actions multi-select picker, Subagents, Archived, Running at bottom, and Auto-archive.
  • Added apps/desktop/src/shell/navigation/migrate.rs (first-enable migration from manual tab groups, pin folders, and Recent pins) and apps/desktop/src/shell/navigation/layout_editor.rs (NavigationLayoutDialog via DialogSize::XLarge overlay registration), and updated view_model.rs so manual groups always show first above GroupBy with unified ShowCount limits.

Verification

  • Local scripts/guardrails.ps1: 11/11 passed.

Copilot AI balanced review requested due to automatic review settings December 3, 2026 12:13

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@Hona
Hona merged commit 94f8070 into dev Dec 3, 2026
8 checks passed
@Hona
Hona deleted the upstream-f/up-415-new-navigation-part1 branch December 3, 2026 13:06
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.

2 participants