Repository navigation
fix(browser): match official Settings > Browser layout and copy - #327
Merged
Merged
Conversation
|
PR test build retired — merged into |
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.
Settings > Browser now matches official (
anomalyco/opencodeb9a60d9d078d87bfb90f039e431090508f88ac02,packages/gui-plugins/src/browser/settings.tsx) in layout and copy, for everything this build already supports. This is ledger rowUP-120(upstream #65174). No new capability: sign-in import, "Choose sites", "Share sign-ins with remote servers", "Import cookie file", and the cookie count follow in separate PRs on top of WS-1's #286.What changes
settings.tsx:88-129): The section is titled and lists every detected browser profile inline: globe glyph, browser name, the profile name as a muted aside when the browser has several, and a per-row "Import…" button. When nothing is found it shows "No other browser found on this computer". The single history card and its profile-picker modal are gone.site-chooser.tsx:328-347): "Import…" opens "Import from " (choiceLabel: "Google Chrome · Work") with Cancel and Import. A clean import closes the dialog and the row says "Imported history from ". If nothing was imported or the read failed, the dialog stays open and says why (official'ssignins.imported.none.fromandsignins.failed.read).i18n/en.ts:197-260): "Hold Shift and click a link to use your default browser". Trailing periods dropped where official has none. The Advanced summary reads "Site permissions, browsing data" until the remote-server and cookie-file rows exist, then official's full summary. The hard-coded English parts of the summary are gone.settings.tsx:171-197): No fill and no inset. Uses official's chevron at 40% of the heading ink, with 16/8 spacing.settings.tsx:297-369): Each row has a leading globe. The setting is an inline Select (112 wide, value + chevron, a menu with a check on Allowed or Blocked) instead of a cycling button. The note sits 16 below the card in the faint ink.SettingsLayout).features/settingsno longer draws an empty description line under a plugin page's title, so the page starts where official's does.settings.advanced.summary.local,signins.import,signins.action,signins.imported.history.only.from,signins.imported.none.from,signins.failed.read. 6 now-unused history keys are removed (they existed only inen.json).Captures (1x dark,
harness/reference/browser-parity.ts, synthetic Chrome Work/Personal + Edge profiles)Official:


Before:
After:
Site permissions, official:

Site permissions, after:
Import dialog, after (light):
Known differences (not in this PR)
Verification
scripts/guardrails.ps1: 5/5.opencode-desktopdebug build.