Update profiles app menu items to use Selectable Profiles
Categories
(Toolkit :: Startup and Profile System, enhancement, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox133 | --- | fixed |
People
(Reporter: jhirsch, Assigned: jhirsch)
References
(Blocks 2 open bugs)
Details
(Whiteboard: [fidefe-profile-management] )
Attachments
(2 files)
Once selectable profiles are available in the SelectableProfileService, we'll need to revise the list shown in the profiles submenu to only show profiles linked to the current profile, and to also launch new profiles as linked to the current profile.
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Assignee | ||
Updated•1 year ago
|
Comment 1•10 months ago
|
||
Assignee | ||
Updated•10 months ago
|
Assignee | ||
Updated•9 months ago
|
Assignee | ||
Comment 2•9 months ago
|
||
Longish commit here with some notes. I just noticed the delete icon should
be removed from the subview; I'll handle that before landing.
Note for reviewers - if there are 0 or 1 profiles, we show something
different in the app menu vs. 2+ profiles. See the Figma for details,
but in short:
- Case 1: Profiles disabled, the menu item shouldn't be visible
- Case 2: Profiles enabled, but either haven't created a selectable profile
yet, or only have 1 profile: show "Profiles" in menu item, limited
view in the submenu panel. - Case 3: Profiles enabled, 2+ selectable profiles. Show avatar +
profile name in the menu item, full view in the submenu panel.
I've resorted to null-checking SelectableProfileService.currentProfile
in several spots, but I thought it should never be null--am I right? If
so, we should file a bug to figure out what to do.
This patch is based on a WIP SVG commit. I'm hoping UX can give us revised
SVG avatars with the background circle included in the SVG. For now it's
helpful in testing the flows. Also updated the new profile creation code
to pick a random avatar.
Here we respond to "manage profiles" by opening the profile selector in
a tab. Waiting to hear from UX if that's OK or if a separate window is
needed.
Thoughts welcome on tests needed to land here, thanks.
Assignee | ||
Updated•9 months ago
|
Updated•9 months ago
|
Comment 5•8 months ago
|
||
Backed out for causing bc failures @ browser_sentence_case_strings.js
Backout link: https://hg.mozilla.org/integration/autoland/rev/4b8c994cd14575f41343cea0b5cbaaa71879ccb1
Comment 7•8 months ago
|
||
bugherder |
Assignee | ||
Updated•8 months ago
|
Description
•