Closed Bug 1992201 Opened 2 months ago Closed 18 days ago

Add new copy profile section to settings

Categories

(Toolkit :: Startup and Profile System, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
147 Branch
Tracking Status
firefox147 --- verified

People

(Reporter: niklas, Assigned: jhirsch)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

(Whiteboard: [fidefe-profile-management] )

Attachments

(2 files, 2 obsolete files)

Attached image image.png

See figma: https://www.figma.com/design/cCmVBQQfWKd3I9rgaUqOLo/Profiles-MVP-fast-follows?node-id=9751-24122&m=dev

See attached screenshots.

Add ability to copy a profile from the Profiles section in the settings page.

Depends on: 1993302
  • Make the button on the main page just say settings.
  • get the manage profiles button working in the subpanel
  • added copy profile section
  • dynamically populating the list. now to make the copy button work.
  • get profile copy fully working. Next, switch to new-settings style.
  • set a max-width on the select element so long profiles don't break the
    subpane layout
Attachment #9521545 - Attachment description: WIP: Bug 1992201 - start converting to new settings → WIP: Bug 1992201 - converting to new settings

Note we hide the copy profile section until you have either created a
profile (app menu > profiles > new profile) or inited the database (by
clicking the 'manage profiles' button just above. Then you have to
refresh the page.

Still TODO:

  • style to match the figma
  • add tests
  • dynamically update the visibility based on the user creating profiles
    or initing the database by hitting 'manage profiles'
Assignee: nobody → jhirsch
Status: NEW → ASSIGNED
Attachment #9521543 - Attachment is obsolete: true
Attachment #9521545 - Attachment is obsolete: true
Pushed by jhirsch@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/97e64235a90f https://hg.mozilla.org/integration/autoland/rev/a500a8e470ee Add settings sub-pane for profiles, including copy feature r=profiles-reviewers,fluent-reviewers,desktop-theme-reviewers,bolsson,hjones,niklas
Pushed by agoloman@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/0c5162be2060 https://hg.mozilla.org/integration/autoland/rev/6089de002578 Revert "Bug 1992201 - Add settings sub-pane for profiles, including copy feature r=profiles-reviewers,fluent-reviewers,desktop-theme-reviewers,bolsson,hjones,niklas" for causing multiple bc leaks.

Backed out for causing multiple bc leaks.

Flags: needinfo?(jhirsch)
Attachment #9522384 - Attachment description: Bug 1992201 - Add settings sub-pane for profiles, including copy feature r?#settings-reviewers,#profiles-reviewers → Bug 1992201 - Add settings sub-pane for profiles, including copy feature r=profiles-reviewers,fluent-reviewers,desktop-theme-reviewers,bolsson,hjones,niklas
Pushed by jhirsch@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/119527231c32 https://hg.mozilla.org/integration/autoland/rev/2f1db8afe69c Add settings sub-pane for profiles, including copy feature r=profiles-reviewers,fluent-reviewers,desktop-theme-reviewers,bolsson,hjones,niklas
Status: ASSIGNED → RESOLVED
Closed: 18 days ago
Resolution: --- → FIXED
Target Milestone: --- → 147 Branch
Flags: needinfo?(jhirsch)

Verified as fixed on MacOS 13.2.1, Ubuntu 24.10 and Windows 11 using Nightly treeherder build. The Copy Profile section remains hidden until the user has created a profile from App Menu > Profiles > New Profile or from the ‘Manage Profiles’ (Profiles Settings). After that, the Profiles Settings section must be refreshed so you can select the profile you created and copy it.
@Jared, will this patch be uplifted to Beta 146 today?

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: