Repository navigation
feat(panels,browser): browser address bar and recent pages in side panel New tab (opencode#66818) - #1416
Merged
Conversation
…nel New tab (opencode#66818)
…lots and remove old launcher
Hona
marked this pull request as ready for review
November 27, 2026 16:23
Hona
added a commit
that referenced
this pull request
Nov 27, 2026
Hona
added a commit
that referenced
this pull request
Nov 27, 2026
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.
Port official
opencode#66818(98bc686252): place the browser address bar across the top of the side panel's New tab view and show recent browser pages below the launchers, removing the separate Browser launcher row andmod+tbrowser newTab command.Changes
crates/opencode-plugin-spec,plugins/opencode.d.luau,plugins/plugin.schema.json):SlotNamevariantssession.panel.new(top of New tab view above launchers) andsession.panel.new.list(below launchers, before Recently closed).pane,width, andfocusTokenfields toSlotProps, and optionalpanefield toBrowserOpenSpec.cargo run -p opencode-plugin-spec -- --write(verified with--check).features/panels,apps/desktop/src/plugin_host,apps/desktop/src/shell/panels.rs):NewTabFocusenum (Idle | Requested { pane, token }) toSideStatematchingpackages/app/src/runtime/plugin/new-tab-machine.ts:open_side_new_taband opening the side region request focus once settled; selecting/opening a real tab or closing clears it.new_tab_view(features/panels/src/menus.rs) to rendersession.panel.newpinned above the scroll area (so omnibox suggestions paint and hit-test over scrolled rows) andsession.panel.new.listbetween launchers andside-recently-closed(packages/app/src/runtime/plugin/side-region.tsx:636-651).Browser:OpenAsyncpanetargeting (apps/desktop/src/plugin_host/native/browser.rs) and kept the browser plugin dormant on sessions where the side panel is not showing New tab (first_screen.rs,dormant.rs).plugins/browser/):address.NEW_TAB_ID,address.BLANK_EPOCH, andpage.followedevent (plugins/browser/address.luau, matchingaddress-machine.ts:309-320).panel.newTabBar(browser navigation disabled, live omnibox address field + suggestions dropdown, disabled inspect/options controls) andpanel.newTabRecent(up to 5 recent visits underRecent) inplugins/browser/panel.luau(packages/gui-plugins/src/browser/new-tab.tsx).mod+tnewTabcommand andsession.panelBrowser menu item fromplugins/browser/init.luauand registerednew-tab-bar(session.panel.new) andnew-tab-recent(session.panel.new.list), opening selected/submitted URLs in the New tab's target pane (packages/gui-plugins/src/browser/renderer.tsx:409-447).apps/desktop/src/stories/shell/side.rs):--scene side-new-tabseeding mock ready browser engine, two recent visits, and one recently closed tab on an open side-panel New tab.Verification
cargo clippy -p opencode-plugin-spec -p opencode-feature-panels -p opencode-desktop --no-depspassed (againstdev8effe4f95c/ Rune707f6d6f) with 0 errors and 0 warnings in touched files.cargo run -p opencode-plugin-spec -- --check, 9/9 local non-cargo guardrails, andscripts/web-clock.tspassed.--scene side-new-tab): rendersbrowser-bar+browser-addresspinned at the top ofside-new-tab-viewwith Back/Forward/Reload/Inspect/Options disabled, launchers below with NO Browser launcher card (side-launch-browser-openabsent),browser-new-tab-recent(Recentheading +anomalyco/runeandLocal Dashboard) below the launchers, andside-recently-closedbelowRecent.--scene side-new-tab): clickingbrowser-addressopensbrowser-address-input; typinggithubrendersbrowser-suggestionsdropdown above the launchers; submitting a URL (or clicking abrowser-new-tab-recent-*row) opens a browser tab in the side pane and replaces the New tab.