Commit graph

766 commits

Author SHA1 Message Date
Kelly Cochrane
fd4f8e4eee Bug 1873212 - Ensure that synced tabs lists are restored when clearing search terms on Recent Browsing page of Fx View r=jsudiaman,fxview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D197814
2024-01-05 21:42:36 +00:00
Mark Banner
8ce23e4908 Bug 1864821 - Replace PromiseUtils.defer() with Promise.withResolvers() in system modules. r=Gijs,perftest-reviewers,necko-reviewers,extension-reviewers,application-update-reviewers,fxview-reviewers,sync-reviewers,sessionstore-reviewers,reusable-components-reviewers,rpl,jesup,hjones,kshampur,skhamis,nalexander,sclements
Differential Revision: https://phabricator.services.mozilla.com/D197489
2024-01-05 09:22:34 +00:00
Nikki Sharpley
cea8dc7d06 Bug 1854957 - remove Firefox View newIcon pref. r=fxview-reviewers,sclements
Since the nimbus experiment is complete, we no longer need the pref for the newIcon.

Differential Revision: https://phabricator.services.mozilla.com/D196884
2024-01-04 19:19:55 +00:00
Stanca Serban
4e1cdb227e Backed out changeset 7eda7968bffa (bug 1869833) for causing mochitests failures in browser_parsable_css.js and in browser_firefoxview_next_general_telemetry.js. CLOSED TREE 2024-01-04 21:17:36 +02:00
Nikki Sharpley
ebc4c40237 Bug 1869833 - Remove all legacy Firefox View files and assets. r=sfoster,fxview-reviewers
- removes all old View related files and assets
- removes legacy telemetry
- removes tests related to prefs that have since been removed
- remove `browser_all_files_referenced.js` exceptions added in Bug 1869833

Differential Revision: https://phabricator.services.mozilla.com/D196208
2024-01-04 17:37:01 +00:00
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
Noemi Erli
381e246d01 Backed out changeset 6aab4af4cab8 (bug 1864534) for causing failures in browser_syncedtabs_firefoxview_next.js CLOSED TREE 2024-01-03 19:30:19 +02:00
Nikki Sharpley
3d437284aa 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-03 16:17:03 +00:00
Kelly Cochrane
762f24e00a Bug 1872560 - Remove fail-if condition for Fx View history test r=jsudiaman,fxview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D197538
2024-01-02 20:37:58 +00:00
Nikki Sharpley
aedf6383fe Bug 1869605 - Remove all legacy Firefox View related tests. r=sfoster,fxview-reviewers
This patch removes all tests covering the old Firefox View whilst preserving those that cover Next.
- Removed tests that have been replaced/amended for the new incarnation of View can be found in browser/components/firefoxview/tests/browser/firefoxview-next/.
- Test coverage that still requires porting over to the new incarnation is documented in bug 1869643.
- `browser_sma_open_firefoxview.js` also removed as referenced in meta bug 1850501.
- Skip feature callout tests as tests reference legacy view elements which are removed in bug 1869833. Feature callout to be removed in bug 1870296
- Remove `browser_sma_click_element.js` as tests reference legacy view elements which are removed in bug 1869833

Ideally this patch will be landed alongside patches that:
- update the view pref
- update the about redirector
- remove all legacy Firefox View files and assets

Differential Revision: https://phabricator.services.mozilla.com/D196080
2024-01-02 18:01:22 +00:00
Kelly Cochrane
34f0384067 Bug 1872560 - Fix calculation of date one month ago when current date is in January causing perma test failures r=jsudiaman,fxview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D197516
2024-01-02 16:18:41 +00:00
Anna Yeddi
83f0502e28 Bug 1867378 - Pt.2. Update the test manifest for FXVIEW-CATEGORY-BUTTON cases that are passing a11y-checks. r=fxview-reviewers,sclements
When the D195198 would be ready to land, there are a few tests that are going to be passing all a11y-checks or some of them, thus we need to update the manifest to remove `skip-if` notations when appropriate and update the comments in the remaining tests

Depends on D195198

Differential Revision: https://phabricator.services.mozilla.com/D195745
2024-01-02 15:13:26 +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
Cristian Tuns
76b9416313 Bug 1872560 - Disable browser_history_firefoxview_next.js on all platforms.
Differential Revision: https://phabricator.services.mozilla.com/D197466
2024-01-01 00:57:12 +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
Cosmin Sabou
be99f386e4 Backed out 2 changesets (bug 1869605, bug 1864534) for bc failures on browser_all_files_referenced.js.
Backed out changeset 576e61e3970b (bug 1864534)
Backed out changeset 05b09125b90b (bug 1869605)
2023-12-22 21:08:31 +02:00
Nikki Sharpley
c94ba222c4 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)

Depends on D196080

Differential Revision: https://phabricator.services.mozilla.com/D196093
2023-12-22 17:57:50 +00:00
Nikki Sharpley
bc999c0b66 Bug 1869605 - Remove all legacy Firefox View related tests. r=sfoster,fxview-reviewers
This patch removes all tests covering the old Firefox View whilst preserving those that cover Next.
- Removed tests that have been replaced/amended for the new incarnation of View can be found in browser/components/firefoxview/tests/browser/firefoxview-next/.
- Test coverage that still requires porting over to the new incarnation is documented in bug 1869643.
- `browser_sma_open_firefoxview.js` also removed as referenced in meta bug 1850501.

Ideally this patch will be landed alongside patches that:
- update the view pref
- update the about redirector
- remove all legacy Firefox View files and assets

Differential Revision: https://phabricator.services.mozilla.com/D196080
2023-12-22 17:57:49 +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
Kelly Cochrane
64cdaa81d9 Bug 1868847 - Debounce search in Fx View r=jsudiaman,fxview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D196970
2023-12-22 16:48:56 +00: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
Cristian Tuns
d88427a135 Backed out changeset 84f22b125d8b (bug 1868847) for causing bc failures in firefoxview-next/browser_syncedtabs_firefoxview_next.js CLOSED TREE 2023-12-21 16:39:51 -05:00
Kelly Cochrane
e8ad6f11c7 Bug 1868847 - Debounce search in Fx View r=jsudiaman,fxview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D196970
2023-12-21 21:03:20 +00:00
Mark Banner
f644b5d5cc Bug 1862464 - Enable TypeScript style JSDoc definitions for jsdocs. r=mossop,webdriver-reviewers,fxview-reviewers,sclements
Differential Revision: https://phabricator.services.mozilla.com/D196539
2023-12-21 14:00:32 +00:00
Cosmin Sabou
3c71143b6d Backed out changeset 7b2ffe9a4d06 (bug 1869605) for causing bc failures on browser_notification_dot.js. CLOSED TREE 2023-12-20 18:20:50 +02:00
Nikki Sharpley
7c8ed5281c Bug 1869605 - Remove all legacy Firefox View related tests. r=sfoster,fxview-reviewers
This patch removes all tests covering the old Firefox View whilst preserving those that cover Next.
- Removed tests that have been replaced/amended for the new incarnation of View can be found in browser/components/firefoxview/tests/browser/firefoxview-next/.
- Test coverage that still requires porting over to the new incarnation is documented in bug 1869643.
- `browser_sma_open_firefoxview.js` also removed as referenced in meta bug 1850501.

Ideally this patch will be landed alongside patches that:
- update the view pref
- update the about redirector
- remove all legacy Firefox View files and assets

Differential Revision: https://phabricator.services.mozilla.com/D196080
2023-12-20 15:20:57 +00:00
Kelly Cochrane
4ecf155e97 Bug 1868853 - Flip search and virtualizer prefs to true r=fxview-reviewers,sclements
Differential Revision: https://phabricator.services.mozilla.com/D196745
2023-12-19 21:11:49 +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
bd0f803dd5 Bug 1870141 - Only recalculate maxRenderCountEstimate in virtual-list if itemHeightEstimate is greater than 0 r=sclements,fxview-reviewers,sfoster
Differential Revision: https://phabricator.services.mozilla.com/D196588
2023-12-18 16:46:55 +00:00
Kelly Cochrane
f1f2984d0e Bug 1870224 - Ensure card-container visibility is updated when recently closed items are updated in Fx View r=sclements,fxview-reviewers,sfoster
Differential Revision: https://phabricator.services.mozilla.com/D196557
2023-12-18 16:46:41 +00:00
Kelly Cochrane
113fdc8343 Bug 1869532 - Recalculate virtual-list maxRenderCountEstimate on window resize r=fxview-reviewers,sfoster
Differential Revision: https://phabricator.services.mozilla.com/D196231
2023-12-18 16:46:22 +00:00
Kelly Cochrane
9a3107e8f7 Bug 1869895 - Ensure synced tabs are reloaded after clearing a search on Recent Browsing in Fx View r=jsudiaman,fxview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D196463
2023-12-14 19:21:11 +00:00
Anna Yeddi
7109114c8c Bug 1868707 - Make Clear-icon control in the search field in Firefox View keyboard actionable. r=fxview-reviewers,kcochrane
Ensuring the `Enter` and `Space` keys are working to activate the Clear button in Firefox View and adding a few tests to prevent regressions.

Differential Revision: https://phabricator.services.mozilla.com/D196070
2023-12-12 21:55:03 +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
3de7983045 Bug 1867325 - Small UI updates to Search in Recently closed tabs and History r=fxview-reviewers,desktop-theme-reviewers,dao,sclements
Differential Revision: https://phabricator.services.mozilla.com/D195893
2023-12-11 15:49:57 +00:00
Jonathan Sudiaman
1509dc3a51 Bug 1867030 - Hardcode the value for limiting history search results r=fxview-reviewers,kcochrane
Differential Revision: https://phabricator.services.mozilla.com/D195894
2023-12-08 18:46:26 +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
Kelly Cochrane
a51e44665b Bug 1868443 - Update calculation for viewport height in Firefox View r=fxview-reviewers,sclements
Differential Revision: https://phabricator.services.mozilla.com/D195723
2023-12-07 13:54:25 +00:00
Anna Yeddi
d14b6dc4ab Bug 1868707 - Make Clear-icon control in the search field in Firefox View accessible. r=fxview-reviewers,sclements
Adding a role and including the implicit button in the logical focus order of the page.

Differential Revision: https://phabricator.services.mozilla.com/D195742
2023-12-07 11:50:08 +00:00
Sam Foster
31393cc98e Bug 1863642 - Move the open tabs context menu functionality to its own component. r=fxview-reviewers,sclements
* Create a new OpenTabsContextMenu to replace the inlined menu content in the open tabs template
* Fetch the devices list when the menu opens, rather than updating it in the background
* Add a getLogger to the helpers module to easily create named loggers

Differential Revision: https://phabricator.services.mozilla.com/D193138
2023-12-05 23:29:16 +00:00
Sarah Clements
39b4454fd8 Bug 1867773 - Set up triage rotation r=fxview-reviewers,kcochrane
Differential Revision: https://phabricator.services.mozilla.com/D195231
2023-12-05 10:46:24 +00:00
Anna Yeddi
f3b9f76104 Bug 1866598 - Temporary fail-if two Tier 2 a11y-checks for Firefox View side navigation. r=fxview-reviewers,sfoster
There are 2 tests that are related to the bug 1867170 changes to the AccessibilityUtils, and the general case of the `<fxview-category-button>` and other navigation sidebar-related focusability false-positive a11y-check fails. We are temporary add `skip-if` condition to these two failing tests while we continue working on the bug 1867378 work to fine-tune the AccessibilityUtils. The bug 1867378 patch would also include removing those temporary `skip-if`s from the Fx View manifest too.

Related Firefox View bugs:
- Disabling tests: meta bug 1854625
- Investigation and remediation for components with disabled tests: meta bugs 1854625 and 1858041
- Explore capturing click events for a11y_checks: bug 1692110

Differential Revision: https://phabricator.services.mozilla.com/D195461
2023-12-04 20:30:30 +00:00
Kelly Cochrane
4826d47124 Bug 1859788 - Implement virtualizer to improve performance of history in Firefox View r=jsudiaman,fxview-reviewers,reusable-components-reviewers,hjones,sfoster,mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D184581
2023-12-04 17:50:04 +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
Jonathan Sudiaman
92467c1a11 Bug 1831142 - Search all Open Tabs r=fxview-reviewers,fluent-reviewers,flod,sclements
Differential Revision: https://phabricator.services.mozilla.com/D194906
2023-12-01 06:26:44 +00:00
Cosmin Sabou
62b1c8b8d7 Backed out changeset e1b32d718ed1 (bug 1859788) for high frequency failures on browser_firefoxview_next_general_telemetry.js. 2023-11-30 20:33:51 +02:00