"See tabs from synced devices" should link to "Tabs from other devices" in Firefox View
Categories
(Firefox :: Firefox View, enhancement, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox123 | --- | verified |
People
(Reporter: amylee, Assigned: nsharpley)
References
Details
(Whiteboard: [fidefe-firefox-view])
Attachments
(2 files)
When you connect a new device, at the end of the flow there is a button that reads "See tabs from synced devices".
Current:
"See tabs from synced devices" – links to "Recent browsing" page in Firefox View.
Requested change:
"See tabs from synced devices" – Link to "Tabs from other devices" page in Firefox View.
Comment 1•11 months ago
|
||
Sam, are you able to take this? Here's what I've worked out so far:
- This form is on FxA and clicking the button invokes this server code - note how the
entryPoint
is always "preferences". - That ends up in a webchannel, which we handle in the browser FxA code here - note I expect
entryPoint
to be a string with the value "preferences" here. - That ends up calling firefox view specific code here which (a) seems to expect the param is an event instance rather than a string and (b) doesn't appear to have the ability to link to a specific part of Firefox View, just to the top-level element as shown in Amy's screenshot.
So what I think might need to happen is something like:
- That Firefox View code grows the ability to link to a specific section (or maybe I just misread it?)
- The FxA web-channel code assume "preferences" really means "the synced-tabs section" and specifies that as the argument. which specifies that section.
- We open an issue on FxA to "fix" this
entryPoint
so the server becomes capable of opening other links to other Firefox View sections without our intervention. - We end up removing the "'preferences' means synced-tabs section" and attempt to use the server-supplied section directly.
If that all sounds OK to you, can you please move this into your component and bring it to the attention of your PMs etc?
Thanks!
Comment 2•11 months ago
•
|
||
I'll move this to the firefox view component and we can take a look when we triage next week. We do have a location hash for the different "pages" in the new firefox view, so I don't think it would be too difficult to link over to the correct spot.
Updated•11 months ago
|
Updated•11 months ago
|
Updated•11 months ago
|
Assignee | ||
Updated•10 months ago
|
Assignee | ||
Comment 3•10 months ago
|
||
Previously the "See tabs from synced devices" button redirected to about:firefoxview
.
This patch updates the openTab
function to accept a category and hardcodes "syncedtabs" as the category in the openFirefoxView
function.
Ideally we should open an issue in FxA to update the following entryPoint
which appears to assume "preferences" is catergory.
https://github.com/mozilla/fxa/blob/2b2ee47c4bf20f75cf3c49e87a1e3865ab804c1f/packages/fxa-content-server/app/scripts/views/pair/auth_complete.js#L55-L63
Depends on D196208
Comment 5•9 months ago
|
||
bugherder |
Comment 6•9 months ago
|
||
Verified that by following the sync flow and selecting "See tabs from synced devices" will now forward the user to "Tabs from other devices" page in Firefox View. Tests were performed on Firefox 123.0b3 on macOS 13.6.4, Ubuntu 22.04 and Windows 11.
Description
•