Sync profile info and menu #37 & #72 #91
Conversation
#61 has some details on this, but the "TL;DR" is we'll need an extra method on the |
|
@lmorchard The sync folks pointed me at See also the usage of openPrefs elsewhere in that file: https://searchfox.org/mozilla-central/rev/c21d6620d384dfb13ede6054015da05a6353b899/browser/base/content/browser-sync.js#273 I think we want to change the |
|
whoops! I gotta remember to refresh before leaving comments :-P |
|
We ought to discuss/verify with @mozilla-lockbox/product ... I believe (but seem to not have recorded herein) that handing some specific calls -- like opening the Personally, I would consider making making the individual menu items truly work to be a stretch goal for this PR, and should be captured in other issues already. |
Just noticed issue #92 - I'd be fine with deferring the menu items here to other issues. I'm kind of guessing on some of the URLs, and I assume there should / will be telemetry asks for them that I haven't implemented here. |
325767a
to
2772130
In your defense, some of the expectations/details weren't as spelled out as maybe they should have been before you started the work. I'm walking through this PR to leave comments, hopefully it helps avoid some extra churn. |
|
although still a WIP this is impressive; as far as I can tell it's just missing tests -- all the expected visuals and functionality are in place! My only general comment regards the links to external assets (FAQ, Feedback): they are opening in a new window. @meandavejustice encountered this with doorhanger work, and resulted in the More comments inline, and great work. |
cab974b
to
852529a
- Logged-in profile and avatar shown when available - Profile menu items and new strings for l10n - Add listeners for sync profile data and state - Move FAQ & feedback links to open in background script - Header UI with Login / Monitor tabs (monitor content TBD) - AppPanes component for switching views with tabs Fixes #72 Fixes #37
a7a3b02
to
0e59833
|
Whew, okay - this should have unit tests now, except for some of the TODO bits. Also squashed commits and tidied up a bit, so I think this qualifies as no longer WIP (pending any further review notes) |
|
r+ very awesome! |
Working toward implementing the profile menu and info display. Running into some issues and looking for an image asset, but figured I'd get a PR started for general kibbitzing.
Only meant to tackle one of these, but the two seemed to naturally run into each other.
Fixes #37
Fixes #72
Testing and Review Notes
To Do
Figure out how to link to "Sign in to Sync" - just opening anabout:syncURL is not allowed. Maybe needs a Sync API experiment addition?Need to verify other menu items are linking to the right things