Commit graph

51 commits

Author SHA1 Message Date
Nikki Sharpley
81c08a33fb Bug 1864534 - remove firefox-view-next pref and update about AboutRedirector r=fxview-reviewers,Gijs
- removes `about:firefoxview-next` route
- `about:firefoxview` now points to `firefoxview-next.html` (until we rename)
- remove pref for `browser.tabs.firefox-view-next`
- preserve pref for `browser.tabs.firefox-view-newIcon` as part of firefoxViewNext feature manifest (until experiment is over)
- whitelist unreferenced files in `browser_all_files_referenced.js` as they will be removed in child Bug 1869833

Differential Revision: https://phabricator.services.mozilla.com/D196093
2024-01-04 15:40:22 +00:00
Cosmin Sabou
3a810e4572 Backed out changeset 0a133d5fd155 (bug 1864534) for causing screenshot related failures. CLOSED TREE 2024-01-04 18:38:25 +02:00
Nikki Sharpley
cd901e4e4f Bug 1864534 - remove firefox-view-next pref and update about AboutRedirector r=fxview-reviewers,Gijs
- removes `about:firefoxview-next` route
- `about:firefoxview` now points to `firefoxview-next.html` (until we rename)
- remove pref for `browser.tabs.firefox-view-next`
- preserve pref for `browser.tabs.firefox-view-newIcon` as part of firefoxViewNext feature manifest (until experiment is over)
- whitelist unreferenced files in `browser_all_files_referenced.js` as they will be removed in child Bug 1869833

Differential Revision: https://phabricator.services.mozilla.com/D196093
2024-01-04 15:40:22 +00:00
Jonathan Sudiaman
8d5088a9fd Bug 1868776 - "Search recently closed tabs" placeholder text is cut off in the search box in Firefox View r=fxview-reviewers,kcochrane
Differential Revision: https://phabricator.services.mozilla.com/D196216
2024-01-02 14:56:54 +00:00
Anna Yeddi
8e186f1de2 Bug 1872174 - Add programmatic role to Show All controls in Firefox View. r=fxview-reviewers,kcochrane
Several `show-all-link` controls lack interactive role - this would prevent users of speech-to-text/Voice Control from being able to send a click to it by calling its label and screen reader users and users of other assistive technology would not be able to get to this control via shortcuts like a list of controls, etc. Being focusable with keyboard does not guarantee that assistive technology could guess that this programmatically static text is, in fact, interactive.

While providing an explicit ARIA `role` to the element is going [against the First Rule of ARIA](https://www.w3.org/TR/using-aria/#rule1) while semantically appropriate HTML elements exist - `<a>` anchor (for the visual appearance of this control) or `<button>` (for the actual functionality that this control performs) - this patch would at least remove the barrier for assistive technology to be able to set interactivity expectations to this control appropriately.

No test manifests are being updated, because there are other elements in the updated test files that are failing a11y-checks, besides these `show-all-link` controls.

Differential Revision: https://phabricator.services.mozilla.com/D197349
2023-12-28 14:37:24 +00:00
Natalia Csoregi
d113410d83 Backed out changeset 8e11ea7d34e4 (bug 1868776) for causing failures on browser_firefoxview_paused.js. CLOSED TREE 2023-12-22 19:10:28 +02:00
Jonathan Sudiaman
fa49da5af5 Bug 1868776 - "Search recently closed tabs" placeholder text is cut off in the search box in Firefox View r=fxview-reviewers,kcochrane
Differential Revision: https://phabricator.services.mozilla.com/D196216
2023-12-22 16:33:33 +00:00
Jonathan Sudiaman
f9ea1a2b86 Bug 1868567 - Firefox View longer searched terms will overflow the message box r=fxview-reviewers,sclements
Differential Revision: https://phabricator.services.mozilla.com/D196357
2023-12-19 14:09:54 +00:00
Kelly Cochrane
92f69f8295 Bug 1857634 - Pause updates and clear interval time in fxview-tab-list when containing cards are collapsed r=sfoster,fxview-reviewers,sclements
Differential Revision: https://phabricator.services.mozilla.com/D194421
2023-12-12 21:50:56 +00:00
Noemi Erli
92a10c2108 Backed out changeset c5f52ea7e7d0 (bug 1857634) for causing failures in test_fxview_tab_list.html 2023-12-12 22:39:33 +02:00
Kelly Cochrane
927996dd37 Bug 1857634 - Pause updates and clear interval time in fxview-tab-list when containing cards are collapsed r=sfoster,fxview-reviewers,sclements
Differential Revision: https://phabricator.services.mozilla.com/D194421
2023-12-12 18:02:04 +00:00
Jonathan Sudiaman
25237524ed Bug 1851447 - Add search for recent browsing r=fxview-reviewers,fluent-reviewers,flod,sclements,kcochrane
Slightly different from the previous search revisions. In this case, rather than having their own search boxes, the recent browsing components share a single search box located within the parent element. Thus, `fxview-search-textbox-query` event listeners are added/removed from the //parent// component rather than the components themselves.

Differential Revision: https://phabricator.services.mozilla.com/D195596
2023-12-08 15:56:08 +00:00
Nikki Sharpley
0b7ab691d4 Bug 1864505 - Move "Connect another device" button to top of the page of "Tabs from other devices" r=desktop-theme-reviewers,fxview-reviewers,kcochrane
- Moved "footer" to within sticky container above cards and renamed to "header".
- Update "Connect another device" button to use the `.small-button` styling
- Conditionally display `Recently closed tabs` `h2` on the corresponding view only (an existing bug revealed in this patch)
- Update `.sticky-container` to reflect upcoming styling with the inclusion of search and other secondary headers.

Please see link to bug for screenshot of intended appearance.

Differential Revision: https://phabricator.services.mozilla.com/D193930
2023-12-04 17:16:29 +00:00
Kelly Cochrane
9d3aa6f573 Bug 1833102 - Add search to Tabs from other devices page in Fx View r=jsudiaman,fluent-reviewers,fxview-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D195004
2023-11-30 14:46:41 +00:00
Nikki Sharpley
9678860bec Bug 1860833 - optimize number of calls to getTabClient r=fxview-reviewers,sfoster
Amending the `getRecentTabs` function eliminates one of the duplicate calls to `getTabClients`. I opted for this approach as opposed
to getting tabs from clients or vice versa because that involved a larger refactor that ended up adding unnecessary noise to the
`getRecentTabs` and `getTabClients` return values. Combined with a patch by @sfoster, we have reduced the number of calls from 9 to 1.

Differential Revision: https://phabricator.services.mozilla.com/D194656
2023-11-29 14:40:39 +00:00
Norisz Fay
36acd51f1c Backed out changeset 3128a39910aa (bug 1860833) for causing bc failures on browser_opentabs_firefoxview_next.js, browser_feature_callout_targeting.js 2023-11-29 01:05:15 +02:00
Nikki Sharpley
c84a129983 Bug 1860833 - optimize number of calls to getTabClient r=fxview-reviewers,sfoster
Amending the `getRecentTabs` function eliminates one of the duplicate calls to `getTabClients`. I opted for this approach as opposed
to getting tabs from clients or vice versa because that involved a larger refactor that ended up adding unnecessary noise to the
`getRecentTabs` and `getTabClients` return values. Combined with a patch by @sfoster, we have reduced the number of calls from 9 to 1.

Differential Revision: https://phabricator.services.mozilla.com/D194656
2023-11-28 20:47:40 +00:00
Sam Foster
2cd97ee94c Bug 1863783 - Ensure fxview page content only listens/observes and renders updates when visible. r=fxview-reviewers,sclements,jsudiaman
* Add a type=page to the top-level ViewPage instances
* Rename viewTabVisibleCallback and viewTabHiddenCallback to view*Callback and call each when selectedness or visiblity changes
* Ensure active view/pages are always properly initialized during page load and category switching
* Add a test to verify no mutations happen when tabs change while firefox view is inactive
* Fix tests to better account for loading and readiness sequence when activating firefox view

Differential Revision: https://phabricator.services.mozilla.com/D193744
2023-11-23 07:57:33 +00:00
Nikki Sharpley
8f16768aba Bug 1854605 - Remove drop shadows from empty states r=sclements,fxview-reviewers
As per bug report, added an empty state flag to the relevant card containers.

{F5609867}

Differential Revision: https://phabricator.services.mozilla.com/D193094
2023-11-13 14:55:53 +00:00
Kelly Cochrane
0823f19583 Bug 1861705 - Update Firefox View tests to ensure tab items have fully rendered before continuing r=sfoster,fxview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D192092
2023-10-27 20:35:34 +00:00
Kelly Cochrane
2e1621b77a Bug 1854997 - Record 'page' extra key for synced_tabs telemetry probe in Firefox View r=jsudiaman,fxview-reviewers,sclements
Differential Revision: https://phabricator.services.mozilla.com/D189176
2023-09-28 17:39:23 +00:00
Jules Simplicio
cf45a952a0 Bug 1854930 - Apply heading large styles to Firefox View's h2 r=sclements,fxview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D189147
2023-09-25 19:48:16 +00:00
Jonathan Sudiaman
31120cda00 Bug 1833671 - Add Telemetry for Tabs from Other Devices r=kcochrane,fxview-reviewers,sclements
Differential Revision: https://phabricator.services.mozilla.com/D188670
2023-09-20 20:59:21 +00:00
Kelly Cochrane
d3f578853d Bug 1852229 - Fix spacing between synced devices on Recent Browsing r=sclements,fxview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D188640
2023-09-20 14:32:56 +00:00
Kelly Cochrane
368a50bd94 Bug 1833658 - Add Telemetry for Recent Browsing r=fxview-reviewers,jsudiaman,sclements
Differential Revision: https://phabricator.services.mozilla.com/D187676
2023-09-13 13:06:50 +00:00
Mike Kaply
cfa3f6f04f Bug 1850705 - Add loading screen for synced tabs. r=sclements,fluent-reviewers,fxview-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D187389
2023-09-07 17:56:55 +00:00
Mike Kaply
8b1a6e539b Bug 1850385 - Handle cases where sync "worked" but we have no devices. r=sclements,fxview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D186957
2023-09-07 10:44:01 +00:00
Mike Kaply
86ede7b469 Bug 1851633 - Add connect another device button to synced tabs. r=kcochrane,fluent-reviewers,fxview-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D187491
2023-09-06 12:38:58 +00:00
Norisz Fay
8de372c468 Backed out changeset 1b06cdb33e3e (bug 1850385) for causing mochitest failures on browser_syncedtabs_errors_firefoxview_next.js CLOSED TREE 2023-09-05 04:22:30 +03:00
Mike Kaply
13bcb9bd6a Bug 1850385 - Handle cases where sync "worked" but ad have no devices. r=sclements,fxview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D186957
2023-09-04 23:52:33 +00:00
Mike Kaply
4b933c99cd Bug 1850365 - Cleanup UX for empty states. r=kcochrane,fxview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D186980
2023-08-29 21:15:53 +00:00
Kelly Cochrane
93d1e7e4c7 Bug 1842616 - Add telemetry for Recently Closed tabs r=mkaply,fxview-reviewers,sclements
Differential Revision: https://phabricator.services.mozilla.com/D186190
2023-08-18 16:06:33 +00:00
Kelly Cochrane
0e6cfc7f80 Bug 1846572 - Adding role='application' to fix keyboard navigation in Firefox View with NVDA on Windows r=mkaply,fluent-reviewers,ayeddi,flod
Differential Revision: https://phabricator.services.mozilla.com/D185339
2023-08-17 16:22:30 +00:00
Cristina Horotan
9afcad675b Backed out changeset 7d891879797e (bug 1846572) for causing bc failures at browser_firefoxview_next.js CLOSED TREE 2023-08-16 02:55:34 +03:00
Kelly Cochrane
720c51f48d Bug 1846572 - Adding role='application' to fix keyboard navigation in Firefox View with NVDA on Windows r=mkaply,fluent-reviewers,ayeddi,flod
Differential Revision: https://phabricator.services.mozilla.com/D185339
2023-08-15 21:52:20 +00:00
Sarah Clements
624c9599b0 Bug 1831141 - Add more menu to open tabs r=fxview-reviewers,fluent-reviewers,flod,kcochrane
* Add more menu with a subset of menu items, more to come
* Change fluent strings to include url on hover

Differential Revision: https://phabricator.services.mozilla.com/D184612
2023-08-14 13:50:17 +00:00
Mike Kaply
1981bb9d4c Bug 1846597 - Use proper semantic styling for headers in view. r=jsudiaman,fxview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D185612
2023-08-11 14:03:36 +00:00
Kelly Cochrane
d7740874a5 Bug 1846545 - Update card-container to use 'pageName' and 'showViewAll' properties r=mkaply,fxview-reviewers,sclements
Differential Revision: https://phabricator.services.mozilla.com/D185852
2023-08-10 17:00:16 +00:00
Kelly Cochrane
f4db08de2f Bug 1846607 - Update hover text for context menu buttons in Firefox View r=jsudiaman,fluent-reviewers,fxview-reviewers,flod,sclements
Differential Revision: https://phabricator.services.mozilla.com/D185596
2023-08-08 16:37:12 +00:00
Kelly Cochrane
6975f47aba Bug 1845709 - Add a cards-container in synced tabs to fix scrolling issues. r=kcochrane,fxview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D185590
2023-08-08 14:11:13 +00:00
Narcis Beleuzu
c3d6f0e8dc Backed out changeset 2d7623e5cb0e (bug 1845709) for bc failure on browser_syncedtabs_errors_firefoxview_next.js . CLOSED TREE 2023-08-08 00:03:10 +03:00
Mike Kaply
3465b20eca Bug 1845709 - Add a cards-container in synced tabs to fix scrolling issues. r=kcochrane,fxview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D185590
2023-08-07 20:06:53 +00:00
Mike Kaply
6fd9eee519 Bug 1845489 - Don't set errorState if there isn't one. r=jsudiaman,fxview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D185565
2023-08-07 19:49:24 +00:00
Mike Kaply
ae0fa36393 Bug 1828673 - Add support for overview page in synced tabs. r=desktop-theme-reviewers,fxview-reviewers,jsudiaman,dao,sfoster,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D184414
2023-08-03 18:46:32 +00:00
Mike Kaply
b06bfd1fb6 Bug 1845122 - Use ID for indexing devices to properly handle duplicates. r=sfoster,fxview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D184764
2023-08-01 11:49:09 +00:00
Butkovits Atila
a73ecfdb1f Backed out changeset 02777f9d9ba2 (bug 1828673) for causing failures at test_fxview_tab_list.html. CLOSED TREE 2023-08-01 01:17:16 +03:00
Mike Kaply
7c83cbccb3 Bug 1828673 - Add support for overview page in synced tabs. r=desktop-theme-reviewers,fxview-reviewers,jsudiaman,dao,sfoster
Differential Revision: https://phabricator.services.mozilla.com/D184414
2023-07-31 19:45:28 +00:00
Mike Kaply
234e2a6e70 Bug 1845138 - Use correct syntax for descriptionLink. r=kcochrane,fxview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D184438
2023-07-25 18:58:40 +00:00
Mike Kaply
98be406dc0 Bug 1844672 - No need to look for current device, it's not in the tab array. r=fxview-reviewers,sfoster
Differential Revision: https://phabricator.services.mozilla.com/D184169
2023-07-23 16:02:54 +00:00
Mike Kaply
b1542a32f9 Bug 1833664 - Add three-dot menu to tabs on other devices. r=jsudiaman
Differential Revision: https://phabricator.services.mozilla.com/D184237
2023-07-21 19:45:53 +00:00