Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support importing tabs from legacy Brave (Muon) #998

Closed
bbondy opened this issue Sep 7, 2018 · 7 comments
Closed

Support importing tabs from legacy Brave (Muon) #998

bbondy opened this issue Sep 7, 2018 · 7 comments

Comments

@bbondy
Copy link
Member

bbondy commented Sep 7, 2018

Test plan

See brave/brave-core#981

Description

This would make migration almost completely painless.

@bbondy bbondy added this to the 2.x Backlog milestone Sep 7, 2018
@bbondy bbondy modified the milestones: 2.x Backlog, 1.x Backlog Sep 30, 2018
@garrettr garrettr self-assigned this Oct 9, 2018
@garrettr garrettr modified the milestones: 1.x Backlog, 1.0 (0.56.x) Oct 9, 2018
@rebron rebron modified the milestones: 1.0, Muon => Brave Core migration Oct 16, 2018
@bbondy bbondy modified the milestones: Muon => Brave Core migration, 1.x Backlog Oct 30, 2018
@bsclifton bsclifton modified the milestones: 1.x Backlog, 0.56.x - Release Hotfix 1 Nov 6, 2018
@garrettr
Copy link
Contributor

I'm working on importing pinned sites right now and have run into a design problem that doesn't have an obvious solution. The problem is b-l and b-c handle pinned sites differently: pinned sites are global in b-l, but they are per-window in b-c.

Options for how to handle this:

  1. During import, inject pinned sites into each imported window at the beginning of the tab strip.
    • Pros: user gets identical tab layout in transition from b-l to b-c
    • Cons: this is cosmetic at best. The tabs will all be distinct, and their state will not be maintained across windows as it is in b-l, because that is not how pinned sites work in b-c. This might annoy users who are initially expecting the old behavior, to find only a mirage.
  2. Create a new window to hold just the pinned sites.
  3. Something else I haven't thought of?

@bsclifton
Copy link
Member

How about option 3 - import the pinned tabs ONLY to the FIRST window 😄

@bsclifton bsclifton changed the title Support importing tabs from other browsers Support importing tabs from other Brave (old) Nov 30, 2018
@bsclifton bsclifton changed the title Support importing tabs from other Brave (old) Support importing tabs from legacy Brave (Muon) Nov 30, 2018
@bsclifton
Copy link
Member

Fixed with brave/brave-core#981 😄

I renamed this issue (so it reflects that import only happens for Muon Brave) and created a more general issue #2309

@LaurenWags
Copy link
Member

@garrettr @bsclifton what's the expected result if you had pages like 'about:brave' or 'about:preferences#payments' opened in muon? When those pages are imported to b-c I see the below. (note, about:history seems to have correctly migrated to brave://history)
screen shot 2018-12-03 at 1 18 25 pm

@LaurenWags
Copy link
Member

@garrettr @bsclifton if I import a muon profile with a bunch of tabs (think 4 windows approx 100 tabs in each window), I beachball for a few seconds and then the fans on my mac start to kick on. it looks like we're loading all tabs simultaneously after import. Subsequent launches of b-c seem to be ok (no fan action) and when I click on a tab that's when it loads. Is this expected? cc @kjozwiak

@bsclifton
Copy link
Member

bsclifton commented Dec 5, 2018

Per discussion, some waiting is OK- but the import should be happening async (UI should be responsive, etc)

@LaurenWags has logged #2374 to address the issue 😄 👍

@btlechowski
Copy link

btlechowski commented Dec 5, 2018

Verification Passed on

Brave 0.57.16 Chromium: 71.0.3578.80 (Official Build) (64-bit)
Revision 2ac50e7249fbd55e6f517a28131605c9fb9fe897-refs/branch-heads/3578@{#860}
OS Windows 7

Migrated from muon v0.25.201

  • normal tab was imported
  • private tab was ignored
  • private tab with tor was ignored
  • session tab was imported as normal tab
  • multi windows were imported.
  • multi tabs were imported, but slow with 20+ tabs (beachball/perf hit after importing many tabs from muon #2374). The more the tabs the worse it is as all tabs are loaded concurrently.
  • pinned tabs were imported as pinned tab

Verified passed with

Brave 0.57.16 Chromium: 71.0.3578.80 (Official Build) (64-bit)
Revision 2ac50e7249fbd55e6f517a28131605c9fb9fe897-refs/branch-heads/3578@{#860}
OS Mac OS X

Verification passed on

Brave 0.57.17 Chromium: 71.0.3578.80 (Official Build) (64-bit)
Revision 2ac50e7249fbd55e6f517a28131605c9fb9fe897-refs/branch-heads/3578@{#860}
OS Linux

All import functions on Linux is done via manual import as auto migration is not supported

  • Verified tabs are imported into a new window
  • Verified bookmarks are imported
  • Verified stats are imported
  • Verified history is imported
  • Verified saved passwords are imported
  • Verified Cookies and logged in session are imported
  • Verified session tabs are imported as normal tabs
  • Verified private/tor tabs are not imported

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment