Closed Bug 1883155 Opened 3 months ago Closed 3 months ago

Add profiles menu and submenu to hamburger menu

Categories

(Toolkit :: Startup and Profile System, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
125 Branch
Tracking Status
firefox125 --- fixed

People

(Reporter: jhirsch, Assigned: niklas, NeedInfo)

References

(Blocks 5 open bugs)

Details

(Whiteboard: [fidefe-profile-management])

Attachments

(2 files)

Let's add the (very WIP UX) Profiles UI to the hamburger menu, and also add a gProfiles model as described in the eng doc. We want to avoid making browser.js any bigger, so I guess put it in browser-profiles.js and import that into browser.js. I think we roughly want gProfiles to contain what's in gIdentities in Dave's prototype, at least as a starting point, except don't bother iterating the list of other profiles in this bug. We'll do that in a followup bug.

We want to only show the Profiles entry in the main hamburger menu if the profiles pref is true.
Let’s assume UX will want to put the current profile’s name in the main menu item, so put the current profile’s name in there, without an avatar for now.

Also add the submenu, with the current profile in a big non-clickable menuitem at the top (I guess just show the name for now, and edit and delete buttons that just redirect to the about:profiles-new page. Don’t try too hard to style them, as the layout and styling will change.)

Skip listing out the other profiles for now, we’ll do that in another bug.

The submenu should also have a no-op "Create a new profile" menu item. We'll file a separate bug for its behavior, because we'll need to create and launch a profile with the first run homepage overridden to our about page, which will require some exploration. But, for now, I guess add something to gIdentities so we can mock it out and verify it's called when the menu item is clicked.

The submenu should also have a "Manage profiles" menu item that loads about:profiles-new when clicked.


References:

Eng doc: https://docs.google.com/document/d/1R2462LEfagLI1y37hO90zlcKnGgQbhZvLG3lGtWEN84/edit?usp=sharing

Product MVP doc: https://docs.google.com/document/d/1am6FmSPBi0zTtGQZbINEUjDsvgD2BuS8ho-ERUB624w/edit

Very WIP Figma link: https://www.figma.com/file/FXL6eQGaZ3MI50XebsCIJ8/Profiles?type=design&node-id=5203-5997&mode=design&t=CtvoRiYXfBmkZhDd-0


Assignee: nobody → nbaumgardner
Status: NEW → ASSIGNED
Pushed by nbaumgardner@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0f647bca33ff
Add profiles menu to hamburger menu. r=mossop,fluent-reviewers,desktop-theme-reviewers,cmkm,bolsson
Pushed by nbaumgardner@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8a491cb4375a
Add profiles menu to hamburger menu. r=mossop,fluent-reviewers,desktop-theme-reviewers,cmkm,bolsson
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 125 Branch
Whiteboard: [fidefe-profile-management]
Component: Profiles → Startup and Profile System
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: