GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(browser): offer sign-ins and history from another browser on the pane by Hona · Pull Request #550 · anomalyco/opencode-rune

Conversation

@Hona

@Hona Hona commented Nov 21, 2026

Copy link
Copy Markdown
Member

Ports official's first-run sign-in offer, SignInOffer (packages/gui-plugins/src/browser/import-prompt.tsx:16-265 at db2d889c), to the browser pane. Stacked on #415 (cookie-file import): until #415 merges, this PR also shows its commits. It reuses #415's import path (host validation, batches, off the UI thread).

Where and when (official)

  • Card on the new-tab page: above Recent / "Open a page" (panel.tsx:1474-1477).
  • Bar over pages: first among the bars above a page, never on the new-tab page and never on a suspended tab (panel.tsx:1357-1360).
  • When it shows: while welcomed is false (import-prompt.tsx:100) and another browser is installed with a profile.
  • When it goes for good: Not now (decline, :81) or an import that brought cookies (jobs.ts:114-115) sets welcomed.
  • Confirmation: after an import that brought something, the offer is replaced by a confirmation (browser icon, a check, the result text, a close button). It goes by itself after 5 s (CONFIRMATION_MS) or when closed. The pane's page reloads when cookies came in (panel.tsx:594-598).

Text and buttons (official keys)

  • Bar:
    • Text: signins.bar ("Bring your sign-ins and history from {{browser}}").
    • Import (signins.action, contrast).
    • A chevron menu (signins.other): the other browsers, then More import options (signins.more, which opens Settings > Browser).
    • Close (signins.dismiss, "Not now").
  • Card:
    • Title signins.title ("Bring your sign-ins and history").
    • One row per browser profile, each with its icon and its own Import.
    • Not now and More import options.
  • Outcome messages: jobs.ts:186-276: signins.imported.*, signins.imported.partial.named, signins.protected.named, signins.failed.{key,access,read,storage}, signins.failed.locked.named, and on macOS signins.failed.keychain.
  • What Import brings: sign-ins and browsing history together, as official's default (import-prompt.tsx:84-85).

How the import runs

  • Browser:ImportSignInsAsync(source, profile, sites?): only the built-in browser plugin can call it. Profiles are given as ids from list_sources, never as paths.
  • Reading: feat(browser): enable real OS cookie encryption, CefCookieManager, remote cookie mirror, and Rust cookie importer #286's read_source_cookies reads the other browser's cookies on a worker thread (it copies databases and may ask the OS key store).
  • Writing: the cookies then take feat(browser): import a cookie file from Settings > Browser #415's path: prepare_for_import, so only plain hostnames and IP literals pass, then batches of at most 1,000 cookies / ~2 MiB, then the engine, whose to_cef_cookie checks the host again.
  • Cookie limits: no per-site cap, as official's writeCookies (profile/import.ts:10-38); Chromium evicts past its own limits. Recorded in ours.md.

Not in this PR

  • "Choose sites": the site chooser is 2d.
  • Proof: captures of each state beside official, with made-up profiles, follow in this body before merge.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Hona added 4 commits November 21, 2026 15:39
@Hona
feat(browser): import a cookie file from Settings > Browser
c4b9143
@Hona
Merge remote-tracking branch 'origin/dev' into browser-settings/pr2b
a6d5275
# Conflicts:
#	apps/desktop/src/plugin_host/native/browser.rs
#	apps/desktop/src/surfaces/browser/mod.rs
@Hona
fix(browser): validate cookie hosts, batch file imports, and parse th…
3bc4a37
…em off the UI thread (READER-12 #415)
@Hona
feat(browser): offer sign-ins and history from another browser on the…
b8fd7be
… pane, as official's SignInOffer
@github-actions

github-actions Bot commented Nov 21, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Hona added 9 commits November 21, 2026 22:44
@Hona
Merge remote-tracking branch 'origin/dev' into browser-settings/pr2b
694ee6d
@Hona
Merge branch 'browser-settings/pr2b' into browser-settings/import-ban…
8b1ae80
…ner-2
@Hona
fix(browser): the sign-in bar shows only over a page with an address;…
4d775e6
… the new tab page has the card
@Hona
Merge remote-tracking branch 'origin/dev' into browser-settings/impor…
ea4e618
…t-banner-2

# Conflicts:
#	apps/desktop/src/plugin_host/native/browser/cookies.rs
#	apps/desktop/src/surfaces/browser/cookie_import.rs
#	crates/browser-pane/src/cookies/format.rs
#	plugins/browser/init.luau
#	plugins/browser/locales/en.json
@Hona
fix(browser): list other browsers off the UI thread so the pane's sig…
86c3ecc
…n-in offer never stalls a draw
@Hona
Merge remote-tracking branch 'origin/dev' into browser-settings/impor…
498acfd
…t-banner-2
@Hona
Merge remote-tracking branch 'origin/dev' into browser-settings/impor…
f5c1a66
…t-banner-2
@Hona
fix(browser): keep the browsers' listing beside the icons so surfaces…
6e85ed3
…/browser/mod.rs stays under 800 lines
@Hona
Merge remote-tracking branch 'origin/dev' into browser-settings/impor…
50b4d9d
…t-banner-2
@Hona
Hona merged commit 74b2ca7 into dev Nov 21, 2026
3 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@Hona
Hona deleted the browser-settings/import-banner-2 branch November 21, 2026 15:03
@Hona

Hona commented Nov 21, 2026

Copy link
Copy Markdown
Member Author

Smoke (tools/smoke.ps1, FLEET.md:156), launched: plugin loads.

PR CI build 6e85ed3 (contains #415):

first-frame: yes (336 elements)
plugins: yes (17 built-in, browser included)
launcher: yes (Review, Browser, Terminal, Open file)
browser: yes (loaded smoke-page)
terminal: yes (Terminal 1)
settings: yes (14/14 pages, browser.browser included)
session: yes (189 message elements)
prompt: yes (200)
quit: yes (7 runs exit 0, 0 crash dumps)
total: 9/9 in 79.8s

Merged head 50b4d9d (dev merged in, local build): 9/9 in 68.4s, same nine lines.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This was referenced Nov 21, 2026
feat(browser): import a cookie file from Settings > Browser #415
Merged
feat(browser): Sign-ins and Browsing history boxes in the import dialog #611
Merged
fix(browser): extension toasts get their own cap, lose bidi controls, follow Settings and the engine #596
Merged
fix(browser): the new tab page's prompt sits 80 pt below the top as official, not at the pane's bottom #712
Merged
Hona added a commit that referenced this pull request Nov 22, 2026
@Hona
fix(browser): the new tab page's prompt sits 80 pt below the top as o…
93f2096
…fficial, not at the pane's bottom (#712)

* fix(browser): the new tab page's prompt sits 80 pt below the top as official, not at the pane's bottom

Since #550 the new tab page put ui.spacer({ w = 0, h = 0 }) above the prompt when no sign-in offer shows. ui.spacer is flexible space in a stack, so it took the column's free height and pushed 'Open a page' (and the recent-visits list) to the bottom of the pane. Official (panel.tsx:1473-1491) renders the offer card only while it offers and puts the prompt pt-20 (80 px) below the top. The page now holds the offer only when there is one.

* fix(browser): key the new tab page's prompt and recent-visits columns so they keep their identity when the offer goes

READER-12b on afb04a4: without keys the column moves from child 2 to child 1 when the sign-in offer goes away (Not now, or the confirmation closes) and is rebuilt.
@Hona Hona mentioned this pull request Nov 25, 2026
feat(browser): the import dialog in two groups: what to import and which sites (opencode#66339) #1202
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@Hona
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.