Repository navigation
feat(browser): Sign-ins and Browsing history boxes in the import dialog - #611
Merged
Merged
Conversation
# Conflicts: # apps/desktop/src/plugin_host/native/browser.rs # apps/desktop/src/surfaces/browser/mod.rs
…em off the UI thread (READER-12 #415)
… pane, as official's SignInOffer
… the new tab page has the card
…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
…n-in offer never stalls a draw
…og, as official's
…/browser/mod.rs stays under 800 lines
…d never fails an import (official main.ts:285-296)
…t-boxes # Conflicts: # plugins/browser/init.luau
…ts close button, body 16 in, footer buttons
|
PR test build retired — merged into |
Member
Author
|
Smoke ( An earlier run during the timing-only window, with blade under load, failed |
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.
Ports official's import dialog boxes, "Sign-ins" and "Browsing history" (
packages/gui-plugins/src/browser/site-chooser.tsx:26-40,238-254,328-384atdb2d889c), to Settings > Browser. Stacked on #610 (ui.checkbox).What changes
import.signins) and "Browsing history" (import.history), both ticked each time it opens (:80-81). They cannot change while an import runs.canImport,:231-236). It shows a spinner while the import runs.ui.Dialog: the title with a close button, the body 16 in, Cancel and Import in the footer. The old "Bring browsing history into OpenCode's address bar" line is gone; official has none.Browser:ImportSignInsAsync: builtin-only, profile ids fromlist_sources, read on a worker thread, then feat(browser): import a cookie file from Settings > Browser #415's path (host validation, batches, the engine's checks). No new cookie path.main.ts:285-296). The pane's offer (feat(browser): offer sign-ins and history from another browser on the pane #550) now follows the same rule.:164-176).jobs.ts:186-276texts.welcomed,jobs.ts:114-115).Not in this PR
Proof (made-up profiles from
proof/previews/seed-browsers.ts)Launched: plugin loads (local build, scratch profile, no
plugin browser:error).