Repository navigation
feat(browser): add Settings > Browser page with capability gating, site permissions, and search reveal - #276
Merged
Merged
Conversation
…te permissions, and search reveal
Port upstream Settings > Browser (`#63002`, `UP-108` `#65095`, `UP-111` `#65101`):
- **Settings > Browser page (`plugins/browser/settings.luau`, `init.luau`):**
- Register `SettingsPage` (`id = "browser"`, globe icon, placed between Pairing and
Experimental) with `"Open links in OpenCode"`, collapsible `"Advanced"` disclosure
(`"Open browser automatically"`, `"Site permissions"`, `"Browser data"` / Clear
browsing data), and capability gates (`browser.extensions` for WS-9,
`browser.profile` for WS-1 / history import) hiding rows whose engine side is not
yet available.
- Persist preferences under `plugin.browser/preferences` (`links`, `agentPages`,
`advanced`, `welcomed`) without modifying existing `history`, `rune.siteZoom`, or
`rune.sitePermissions` rows.
- **Live two-way `rune.sitePermissions` sync (`apps/desktop/src/surfaces/browser/mod.rs`):**
- Notify the plugin store when WS-1's permission bar persists a decision, and reload
`BrowserHost`'s in-memory `SitePermissions` whenever Settings > Browser toggles or
removes a saved site permission.
- Expose `App::browser_links_enabled()` and `App::browser_agent_pages_enabled()`.
- **Plugin Settings search & `target` prop wiring (`features/settings/src/search.rs`,
`apps/desktop/src/plugin_host/{bridge/contrib.rs,ui/surfaces.rs}`):**
- Index `SettingsPage.entries` in `settings_search` and forward the revealed search
target to `SettingsPage.render(view, props)` so searching for a row inside
`Advanced` auto-expands `Advanced` for that visit without mutating stored
`preferences.advanced`.
|
PR test build retired — merged into |
Hona
added a commit
that referenced
this pull request
Nov 20, 2026
…..UP-117 (#284) - Fold verified fleet PRs #259, #267, #268, #269, #270, #271, #272, #273, #275, #276, #277, #279, and #282 (Rune e6deb869: #1297, #1298, #1299, #1300) into docs/upstream-sync/ledger.{json,md} - Split UP-095 (#63002) transparently across active browser streams (WS-1, BROWSER-UI, PREVIEWS, BROWSER-TOOLS, WS-9), reassign UP-100 to BROWSER-UI and PRE-08 to BROWSER-TOOLS - Track open tab-groups packaged-default regression on UP-062 (fix PR #278 open) and record closure of Settings > Shortcuts hidden-command regression on UP-064 (#279) - Audit upstream anomalyco/opencode 92d35f8e18..bfee96a859 (+11 commits: 7 skipped, 4 added: UP-114..UP-117) and update radar routing
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.
Summary
Ports upstream
Settings › Browser(#63002,UP-108#65095,UP-111#65101):plugins/browser/settings.luau,plugins/browser/init.luau):SettingsPage(id = "browser", globe icon, placed between Pairing and Experimental) with"Open links in OpenCode", collapsible"Advanced"disclosure ("Open browser automatically","Site permissions","Browser data"/"Clear browsing data"), and capability gates (browser.extensionsfor WS-9,browser.profilefor WS-1 / history import) hiding rows whose engine side does not exist yet.plugin.browser/preferences(links,agentPages,advanced,welcomed) with zero schema or format changes to existinghistory,rune.siteZoom, orrune.sitePermissionskeys.rune.sitePermissionssync (apps/desktop/src/surfaces/browser/mod.rs):BrowserHost's in-memorySitePermissionswhenever Settings › Browser toggles or removes a saved site permission.App::browser_links_enabled()andApp::browser_agent_pages_enabled()(withwasm32stubs).targetreveal (features/settings/src/search.rs,apps/desktop/src/plugin_host/{bridge/contrib.rs,ui/surfaces.rs}):SettingsPage.entriesinsettings_searchand forwards the revealed search target toSettingsPage.render(view, props), so searching for"Site permissions"auto-expandsAdvancedfor that visit without mutating storedpreferences.advanced.Verification
pwsh scripts/guardrails.ps1(5/5),pwsh scripts/web.ps1 -Check(wasm32+web-clock), andcargo check --workspace --all-targetsgreen.proof/browser-ui/prove-pr2.ts):...->Browser settings, capability-gated rows cleanly hidden.history,rune.siteZoom, andrune.sitePermissions(meet.example.comCameraallow), toggledlinks,agentPages,advanced, toggledmeet.example.com->block, clickedClear browsing data-> verified inopencode.sqlitethatpreferencespersisted,rune.siteZoomstayed byte-identical,rune.sitePermissionsupdated & survived data clear,historycleared, and all state restored identically after restart."Site permissions"auto-expandedAdvancedwithout mutating storedpreferences.advanced.proof/browser-ui/pr2/) against officiale51247f626captures.