Commit Graph

585 Commits

Author SHA1 Message Date
Kelly Cochrane
844d64ea75 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-11-30 16:54:08 +00:00
Kelly Cochrane
cfe9853751 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
Norisz Fay
d8c0cbb618 Backed out changeset d3d999e4ff71 (bug 1859788) for causing bc failures on browser_firefoxview_next.js 2023-11-28 20:31:50 +02:00
Kelly Cochrane
612c468997 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-11-28 16:56:45 +00:00
Nikki Sharpley
d1d3989b1e Bug 1836474 - added tests for the fxview-category-navigation component r=fxview-reviewers,kcochrane,sfoster
The new side component `fxview-category-navigation` required tests after being implemented in [[https://bugzilla.mozilla.org/show_bug.cgi?id=1832668 | Bug 1832668]]
- added tests to verify clicking each `fxview-category-button` navigates to the correct view/page
- added tests to verify keyboard navigation to each `fxview-category-button` navigates to the correct view/page
- added tests to verify direct navigation updates the category from the hash accordibly

Differential Revision: https://phabricator.services.mozilla.com/D193579
2023-11-24 21:11:53 +00:00
Sam Foster
05f5892ee7 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
Jonathan Sudiaman
340defa7ce Bug 1859829 - Add search to recently closed tabs r=fxview-reviewers,fluent-reviewers,bolsson,sclements
Linear search through the list of recently closed tabs, and some light refactoring for the sake of upcoming search enhancements.

Differential Revision: https://phabricator.services.mozilla.com/D193692
2023-11-21 18:01:05 +00:00
Jonathan Sudiaman
a50353e5f0 Bug 1826328 - Add search capability to view in history r=fxview-reviewers,places-reviewers,fluent-reviewers,flod,mak,sclements
Leverages `AUTOCOMPLETE_MATCH` in order to add search functionality to Fx View History.

https://treeherder.mozilla.org/jobs?repo=try&revision=a45a29326ba22252756cd9d142e9199508b6693b

Differential Revision: https://phabricator.services.mozilla.com/D190844
2023-11-08 02:17:13 +00:00
hanna alemu
358d2dcf81 Bug 1860892 - Remove Firefox View CFR message r=fxview-reviewers,omc-reviewers,aminomancer,sclements
Differential Revision: https://phabricator.services.mozilla.com/D192374
2023-11-07 18:09:39 +00:00
Mark Banner
b526b6799b Bug 1861865 - Fix ESLint valid-jsdoc issues in Firefox view code. r=sclements,fxview-reviewers,sfoster
Differential Revision: https://phabricator.services.mozilla.com/D192155
2023-11-01 17:20:38 +00:00
Kelly Cochrane
8261fe6f9c 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
Anna Yeddi
0bc70b7a8b Bug 1860643 - Disable a11y_check for two mouse-specific test cases on .brand-logo in Firefox View. r=kcochrane,Jamie,fxview-reviewers
There are 2 failing test cases for the `div`/`img` with class name `brand-logo` that appear to test not user-facing behavior: the test cases are sending clicks to brand-logo as a container. This test target appears to be to confirm the feature tour pref change after a custom FEATURE_CALLOUT messages are dismissed by these clicks on a non-actionable element, while there are other ways to dismiss/pass the tour messages that are accessible.

This is not expected or does not have to be done by a user of an assistive technology and it does not have to confirm the accessibility of this element.

Thus, we are excluding these click events from accessibility checks and removing the `fail-if` annotation from the test manifest that was added by bug 1854625 and meta bug 1858037 before the investigation in the meta bug 1854233.

Differential Revision: https://phabricator.services.mozilla.com/D191686
2023-10-24 16:30:55 +00:00
Anna Yeddi
e2a8d8ebc6 Bug 1858041 - Temporarily skip of fail-if some Tier 2 a11y_checks failing or crashing on Autoland. r=Jamie,fxview-reviewers,ochameau,devtools-reviewers,places-reviewers,mixedpuppy
There are some a11y_checks that are intermittently failing on Autoland and pass on Try and vice versa. Also, a couple of tests are crashing while performing a11y_checks, thus they are to be skipped while we continue the investigation into each of them.

Related bugs:
- Fail-if tests: meta bug 1848402
- Explore capturing click events for a11y_checks: bug 1692110

Differential Revision: https://phabricator.services.mozilla.com/D190890
2023-10-17 18:00:05 +00:00
Sam Foster
1982b4ba3b Bug 1857118 - Avoid rendering tab lists and stop the interval timer when not visible. r=jsudiaman,fxview-reviewers,kcochrane
Differential Revision: https://phabricator.services.mozilla.com/D190242
2023-10-11 17:52:03 +00:00
Sam Foster
bcc3625e2e Bug 1841797 - Port the opentabs-view tests over to a browser-chrome mochitest. r=jsudiaman,fxview-reviewers,kcochrane
Differential Revision: https://phabricator.services.mozilla.com/D190518
2023-10-11 17:52:03 +00:00
Sandor Molnar
db7c1a262a Backed out 2 changesets (bug 1857118, bug 1841797) for causing bc failures on browser/components/firefoxview/tests/browser/firefoxview-next/browser_opentabs_recency_next.js
Backed out changeset 08d1791bf44b (bug 1857118)
Backed out changeset 444f6de78b7e (bug 1841797)
2023-10-11 09:31:47 +03:00
Sam Foster
2f305008e4 Bug 1857118 - Avoid rendering tab lists and stop the interval timer when not visible. r=jsudiaman,fxview-reviewers,kcochrane
Differential Revision: https://phabricator.services.mozilla.com/D190242
2023-10-10 21:59:46 +00:00
Sam Foster
502c6dce61 Bug 1841797 - Port the opentabs-view tests over to a browser-chrome mochitest. r=jsudiaman,fxview-reviewers,kcochrane
Differential Revision: https://phabricator.services.mozilla.com/D190518
2023-10-10 21:59:45 +00:00
Jonathan Sudiaman
b28fc62832 Bug 1851197 - Add more context for telemetry when selecting options in the context menu when right clicking a tab in Firefox View r=fxview-reviewers,Gijs,sclements
Adds an additional event under the `firefoxview_next` category whenever a link is opened in a new tab, window, etc.

Not being able to access the "trigger node" is a somewhat limiting factor. I raised [[ https://bugzilla.mozilla.org/show_bug.cgi?id=1855743 | Bug 1855743 ]] to address this. Because of this, I could not exactly capture "what type of tab data you're dealing with (Recently closed tabs, Open tabs, Synced tabs, etc)". So I opted to capture the page hash instead as a workaround.

Differential Revision: https://phabricator.services.mozilla.com/D189520
2023-10-10 19:07:57 +00:00
Anna Yeddi
0db2557218 Bug 1854625 - Temporarily fail-if some Tier 2 a11y_checks for Firefox View. r=fxview-reviewers,kcochrane
We are working on [enabling Tier 2 a11y-checks to ensure our products have basic accessibility built-in (bug 1692110)](https://bugzilla.mozilla.org/show_bug.cgi?id=1692110) and before that, we need to prepare the existing code base. While we triage and investigate existent tests that would fail once the a11y-checks are enabled in the CI, we are going to fail-if the failing tests altogether and then handle each one of them individually.

This task is to add `fail-if` condition of the failing tests while we continue investigation into the reasons these tests failed and to be able to backtrack these tests once they're resolved.

Related bugs:
- Disabling tests: meta bug 1848402
- Investigation and remediation for components with disabled tests: meta bugs 1848394 and 1854227, Firefox View-specific meta bug 1854626
- Explore capturing click events for a11y_checks: bug 1692110

Depends on D188927

Differential Revision: https://phabricator.services.mozilla.com/D188990
2023-10-09 18:20:21 +00:00
Cristian Tuns
896197e59e Backed out 30 changesets (bug 1854447, bug 1855491, bug 1854646, bug 1854520, bug 1854528, bug 1854506, bug 1854502, bug 1854443, bug 1854538, bug 1854525, bug 1854660, bug 1854514, bug 1854460, bug 1854625, bug 1854228, bug 1854517, bug 1854533, bug 1692110, bug 1854636, bug 1849021, bug 1854512, bug 1854522, bug 1854509, bug 1854452, bug 1854536, bug 1854531) for causing multiple tier 2 failures on a11y-checks. CLOSED TREE
Backed out changeset 5714b7239b70 (bug 1849021)
Backed out changeset 91e5d7de3484 (bug 1849021)
Backed out changeset cc3142b909f6 (bug 1854660)
Backed out changeset 76d2a8ae9c19 (bug 1854646)
Backed out changeset 36460a147684 (bug 1854636)
Backed out changeset c7529a962a8c (bug 1854625)
Backed out changeset 791f9b03ea96 (bug 1854538)
Backed out changeset bd3f3cb434a5 (bug 1854536)
Backed out changeset 16f4f5bdcaa7 (bug 1855491)
Backed out changeset 6258bab20196 (bug 1854533)
Backed out changeset 29dca16eee2e (bug 1854531)
Backed out changeset 3a69d2c3f562 (bug 1854528)
Backed out changeset 0c63a9ea8b34 (bug 1854525)
Backed out changeset 5795bb6187a5 (bug 1854522)
Backed out changeset 7d4a123a432f (bug 1854520)
Backed out changeset ec95287bd702 (bug 1854517)
Backed out changeset 9914c1481f0d (bug 1854514)
Backed out changeset 25d85e656905 (bug 1854512)
Backed out changeset 828657f2ab73 (bug 1854509)
Backed out changeset 9d8b2e14c375 (bug 1854506)
Backed out changeset 1b3ee1e46e12 (bug 1854502)
Backed out changeset 37c2ec0851dc (bug 1854460)
Backed out changeset c2a60a8fc2d3 (bug 1854452)
Backed out changeset 744a163f2bd1 (bug 1854447)
Backed out changeset 1a9629dae7d5 (bug 1854443)
Backed out changeset c3d5c1ba2a84 (bug 1854228)
Backed out changeset dcd05518b004 (bug 1692110)
Backed out changeset 1c65a4cb618c (bug 1692110)
Backed out changeset 603b891147bd (bug 1692110)
Backed out changeset 53e2fac79d84 (bug 1692110)
2023-10-07 14:43:05 -04:00
Anna Yeddi
5c22f7b709 Bug 1854625 - Temporarily disable some Tier 2 a11y_checks for Firefox View. r=fxview-reviewers,kcochrane
We are working on [enabling Tier 2 a11y-checks to ensure our products have basic accessibility built-in (bug 1692110)](https://bugzilla.mozilla.org/show_bug.cgi?id=1692110) and before that, we need to prepare the existing code base. While we triage and investigate existent tests that would fail once the a11y-checks are enabled in the CI, we are going to skip the failing tests altogether and then handle each one of them individually.

This task is to skip with `fail-if` condition of the failing tests while we continue investigation into the reasons these tests failed and to be able to backtrack these tests once they're resolved.

Related bugs:
- Disabling tests: meta bug 1848402
- Investigation and remediation for components with disabled tests: meta bugs 1848394 and 1854227, Firefox View-specific meta bug 1854626
- Explore capturing click events for a11y_checks: bug 1692110

Differential Revision: https://phabricator.services.mozilla.com/D188990
2023-10-06 18:11:39 +00:00
Sam Foster
9dd38f735f Bug 1852622 - Track a lastSetActive property on each tab and use that when sorting open tabs for recency in firefox view. r=jsudiaman,Gijs,fxview-reviewers,tabbrowser-reviewers,mak,sclements
Differential Revision: https://phabricator.services.mozilla.com/D189444
2023-10-05 23:44:57 +00:00
Sam Foster
01194f3438 Bug 1852622 - Add a test-only firefoxview-entered notification, and modify the test helpers to use it. r=sclements,fxview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D189443
2023-10-05 23:44:56 +00:00
Mark Banner
e93675a0de Bug 1854785 - Convert AboutWelcomeChild/AboutWelcomeParent to ES modules. r=amy,fxview-reviewers,sclements
Depends on D189045

Differential Revision: https://phabricator.services.mozilla.com/D189047
2023-10-05 09:43:29 +00:00
Sylvestre Ledru
2e0e132821 Bug 1856530 - run file-whitespace on toml files r=linter-reviewers,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D189896
2023-10-03 09:22:18 +00:00
Kelly Cochrane
5c6f7639fa Bug 1852989 - Add telemetry probe for Firefox View tab clicks r=sclements,fxview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D188854
2023-09-29 18:49:12 +00:00
Kelly Cochrane
a9b6eb260a 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
Sandor Molnar
1571f9b604 Backed out changeset 3220838c5990 (bug 1852989) for causing bc failures on browser/components/firefoxview/tests/browser/browser_recently_closed_tabs.js CLOSED TREE 2023-09-28 21:11:30 +03:00
Kelly Cochrane
5da1b9a7c0 Bug 1852989 - Add telemetry probe for Firefox View tab clicks r=sclements,fxview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D188854
2023-09-28 13:36:16 +00:00
Sarah Clements
2f9156d673 Bug 1833669 - Add telemetry for open tabs r=fxview-reviewers,kcochrane
* Add events to new context menu items and open tab clicks

Differential Revision: https://phabricator.services.mozilla.com/D188962
2023-09-26 12:40:46 +00:00
Kelly Cochrane
7a56999a89 Bug 1852148 - Switch Open Tabs card layout to 2 columns on narrow viewports in Firefox View r=jsudiaman,desktop-theme-reviewers,fxview-reviewers,sfoster
Differential Revision: https://phabricator.services.mozilla.com/D188876
2023-09-23 16:36:31 +00:00
Kelly Cochrane
01a34b5aff Bug 1833674 - Add Telemetry for History in Firefox View r=jsudiaman,fxview-reviewers,sclements
Differential Revision: https://phabricator.services.mozilla.com/D188628
2023-09-22 15:26:38 +00:00
Tom Marble
ad50861ef9 Bug 1853243 - convert .ini manifests to .toml: batch 5 browser/**/browser.ini r=jmaher,mossop,webcompat-reviewers,twisniewski,search-reviewers,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D188427
2023-09-21 22:47:07 +00:00
Sarah Clements
e4711f36af Bug 1845333 - Add submenu items to open tabs more menu r=mstriemer,fxview-reviewers,fluent-reviewers,desktop-theme-reviewers,reusable-components-reviewers,sfoster,flod,tgiles
* Modify panel-list and panel-item to support submenu list items
* Add submenu items for Move Tabs and Send Tabs to Devices to open tabs
* Add test coverage for submenu items in open tabs

Differential Revision: https://phabricator.services.mozilla.com/D186471
2023-09-21 07:31:44 +00:00
Jonathan Sudiaman
4976d39f36 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
Iulian Moraru
17ad8c2f50 Backed out changeset 0769835cb15d (bug 1833674) for causing bc failures on browser_history_firefoxview_next.js. CLOSED TREE 2023-09-20 23:56:40 +03:00
Kelly Cochrane
705d2486ef Bug 1833674 - Add Telemetry for History in Firefox View r=jsudiaman,fxview-reviewers,sclements
Differential Revision: https://phabricator.services.mozilla.com/D188628
2023-09-20 18:37:48 +00:00
Iulian Moraru
3eaab803f4 Backed out changeset 424ebf6979de (bug 1845333) for causing mochitest-chrome failures on test_opentabs.html. CLOSED TREE 2023-09-20 21:49:00 +03:00
Sarah Clements
1f9f729ece Bug 1845333 - Add submenu items to open tabs more menu r=mstriemer,fxview-reviewers,fluent-reviewers,desktop-theme-reviewers,reusable-components-reviewers,sfoster,flod,tgiles
* Modify panel-list and panel-item to support submenu list items
* Add submenu items for Move Tabs and Send Tabs to Devices to open tabs
* Add test coverage for submenu items in open tabs

Differential Revision: https://phabricator.services.mozilla.com/D186471
2023-09-20 16:14:58 +00:00
Noemi Erli
0c30562171 Backed out changeset 36af6059cb2b (bug 1845333) for causing failures in browser_opentabs_firefoxview_next.js CLOSED TREE 2023-09-20 16:09:51 +03:00
Sarah Clements
5ba3c96610 Bug 1845333 - Add submenu items to open tabs more menu r=fxview-reviewers,fluent-reviewers,desktop-theme-reviewers,sfoster,flod
* Modify panel-list and panel-item to support submenu list items
* Add submenu items for Move Tabs and Send Tabs to Devices to open tabs
* Add test coverage for submenu items in open tabs

Differential Revision: https://phabricator.services.mozilla.com/D186471
2023-09-20 11:25:44 +00:00
Kelly Cochrane
d17458d685 Bug 1852036 - Add an entered probe to firefoxview next r=jsudiaman,fxview-reviewers,sfoster
Differential Revision: https://phabricator.services.mozilla.com/D188283
2023-09-15 16:44:25 +00:00
Marco Bonardo
6874dffc71 Bug 1852963 - Rename BrowserTestUtils.loadURIString() to .startLoadingURIString(). r=dao
This should make a bit clearer that it is only starting the load, not waiting
for its completion.

Differential Revision: https://phabricator.services.mozilla.com/D188213
2023-09-15 09:16:34 +00:00
Sandor Molnar
5d8dd001ad Backed out 3 changesets (bug 1852963) for causing remote failures on remote/shared/messagehandler/test/browser/browser_session_data.js CLOSED TREE
Backed out changeset 98de7bc404c3 (bug 1852963)
Backed out changeset edf1527c9a99 (bug 1852963)
Backed out changeset 34357750f69c (bug 1852963)
2023-09-14 20:29:06 +03:00
Marco Bonardo
c5fb3dbb49 Bug 1852963 - Rename BrowserTestUtils.loadURIString() to .startLoadingURIString(). r=dao
This should make a bit clearer that it is only starting the load, not waiting
for its completion.

Differential Revision: https://phabricator.services.mozilla.com/D188213
2023-09-14 16:33:13 +00:00
Tom Marble
d70780c99c Bug 1850545 - convert .ini manifests to .toml: batch 3 chrome.ini (bis) r=jmaher,geckoview-reviewers,extension-reviewers,credential-management-reviewers,devtools-reviewers,fxview-reviewers,places-reviewers,profiler-reviewers,m_kato,mak,mtigley
Differential Revision: https://phabricator.services.mozilla.com/D187597
2023-09-13 18:28:32 +00:00
Kelly Cochrane
439792e3b2 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
Sam Foster
711bc55b71 Bug 1850758 - Hide the firefoxview buttons/entrypoints when in permanent private browsing. r=sclements,desktop-theme-reviewers,fxview-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D187738
2023-09-11 16:27:13 +00:00
Sam Foster
9a29a8c3ee Bug 1833522 - Add closed tabs from closed windows to the history:recently-closed tab menus. r=dao,extension-reviewers,sessionstore-reviewers,sclements,robwu,Standard8,fxview-reviewers
* Change the signature for SessionStore.getClosedTabCount to accept either a window or options object
* Extend tests for the recently-closed-tabs menu(s)
* Add a test manifest to run the session/recently-closed tabs related extension tests with the
  legacy (false) values for the all-windows and closed tabs from closed windows prefs

Differential Revision: https://phabricator.services.mozilla.com/D186400
2023-09-08 00:36:32 +00:00