Commit graph

579 commits

Author SHA1 Message Date
Mike Kaply
aa9bfa1c41 Bug 1847242 - Show backup icon if we don't have one. r=sclements,fxview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D185447
2023-08-05 12:04:29 +00:00
Sandor Molnar
4ae21ba61a Backed out changeset ea1a5147d972 (bug 1847242) for causing failures in skin/extensions/defaultFavicon.svg CLOSED TREE 2023-08-04 21:26:34 +03:00
Mike Kaply
bbdab18f17 Bug 1847242 - Show backup icon if we don't have one. r=sclements,fxview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D185447
2023-08-04 18:00:47 +00:00
Mike Kaply
200da5a0ec Bug 1847270 - Show pointer cursor when hovering over category items. r=jsudiaman
Differential Revision: https://phabricator.services.mozilla.com/D185459
2023-08-04 18:00:32 +00:00
Kelly Cochrane
eb6d67c739 Bug 1845475 - Add title/hover text to expand/collapse buttons for cards in Firefox View r=jsudiaman,fxview-reviewers,sclements
Differential Revision: https://phabricator.services.mozilla.com/D185345
2023-08-04 13:29:32 +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
Kelly Cochrane
8c758fdfe6 Bug 1846393 - Fix for browser_history_firefoxview_next.js test failures r=fxview-reviewers,sclements
Differential Revision: https://phabricator.services.mozilla.com/D185080
2023-08-02 14:18:53 +00:00
Kelly Cochrane
015cdb39bb Bug 1843408 - Remove 'View more browsing history' link from Recently closed tabs page in Fx View r=mkaply
Differential Revision: https://phabricator.services.mozilla.com/D184949
2023-08-02 14:18:22 +00:00
Gregory Pappas
8a35d5cf5f Bug 1845311 - [Part 2] Use ChromeUtils.defineLazyGetter in more places r=arai,webcompat-reviewers,necko-reviewers,extension-reviewers,settings-reviewers,application-update-reviewers,credential-management-reviewers,devtools-reviewers,fxview-reviewers,sync-reviewers,anti-tracking-reviewers,tabbrowser-reviewers,bytesized,twisniewski,sgalich,mak,kershaw,sclements,pbz,robwu,geckoview-reviewers,amejiamarmol
Differential Revision: https://phabricator.services.mozilla.com/D184623
2023-08-01 23:01:02 +00:00
Iulian Moraru
0408b02043 Bug 1846393 - disable browser_history_firefoxview_next.js for permanent test failure which started with new month
The new month triggered a new card for July

Differential Revision: https://phabricator.services.mozilla.com/D184993
2023-08-01 15:10:54 +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
9a2cd8f311 Bug 1845485 - Update how we navigate between view pages. r=kcochrane,fxview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D184951
2023-07-31 19:44:22 +00:00
Mike Kaply
e911d9a8a7 Bug 1845218 - Pass -1 as maxTabsLength so all tabs are displayed. r=fxview-reviewers,kcochrane
Differential Revision: https://phabricator.services.mozilla.com/D184952
2023-07-31 19:38:52 +00:00
Sam Foster
6e8f34b18c Bug 1842610 - Add SessionStore.forgetClosedWindowById and forgetClosedTabById and update RecentlyClosedTabsInView to use the new forget and aggregated getClosedTabData methods. r=kcochrane,fxview-reviewers,sessionstore-reviewers,dao,sclements
* We already make use of the closedId in RecentlyClosedTabsInView to re-open the tab via SS.undoCloseById so it made sense to do the same for forgetting a closed tab
* In the test setup, one of tabs is opened and closed in a different window. This gives us coverage both for the closed tab list rendering, as well as re-opening and forgeting tabs with different source windows
* Both the forget-by-closed-id methods match undoClosedById's behavior and throw if the closedId doesnt match a closed window or tab

Differential Revision: https://phabricator.services.mozilla.com/D184192
2023-07-31 18:54:43 +00:00
Mike Kaply
83b6c564d2 Bug 1846064 - Don't use getImageURL for icons. r=kcochrane,fxview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D184854
2023-07-29 09:40:44 +00:00
Shane Hughes
77982b54f5 Bug 1845862 - Support primary buttons in Feature Callout. r=jprickett
Differential Revision: https://phabricator.services.mozilla.com/D184788
2023-07-28 20:51:17 +00:00
Shane Hughes
cd5230991d Bug 1845419 - Allow Feature Callout page_event_listeners to set timers and hook callout lifecycle events. r=jprickett
Differential Revision: https://phabricator.services.mozilla.com/D184536
2023-07-27 16:26:26 +00:00
Gregory Pappas
3eac12bbd7 Bug 1845311 - Use ChromeUtils.defineLazyGetter in more places r=arai,webdriver-reviewers,geckoview-reviewers,extension-reviewers,application-update-reviewers,credential-management-reviewers,devtools-reviewers,fxview-reviewers,anti-tracking-reviewers,sessionstore-reviewers,pbz,joschmidt,robwu,issammani,bytesized,owlish,dao
Differential Revision: https://phabricator.services.mozilla.com/D184481
2023-07-26 16:28:11 +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
Mark Banner
6fe765f7ca Bug 1845079 - Update more consumers to import ES modules directly. r=arai,settings-reviewers,credential-management-reviewers,sync-reviewers,sgalich
Differential Revision: https://phabricator.services.mozilla.com/D184371
2023-07-24 15:32:45 +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
Shane Hughes
0b55b868c1 Bug 1838295 - Feature Callout fallback anchor system. r=jprickett
Differential Revision: https://phabricator.services.mozilla.com/D184067
2023-07-23 02:57:02 +00:00
Cristian Tuns
da2a846435 Backed out changeset 6f0a2e1e42f5 (bug 1838295) for causing bc failures in browser_feature_callout_in_chrome.js CLOSED TREE 2023-07-22 01:40:06 -04:00
Shane Hughes
672ca0d15d Bug 1838295 - Feature Callout fallback anchor system. r=jprickett
Differential Revision: https://phabricator.services.mozilla.com/D184067
2023-07-22 03:47:34 +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
Kelly Cochrane
ab56102a83 Bug 1844616 - Check for allHistoryItems map size in order to display 'Show all history' link in about:firefoxview-next#history r=jsudiaman
Differential Revision: https://phabricator.services.mozilla.com/D184126
2023-07-21 19:33:16 +00:00
Kelly Cochrane
054443b221 Bug 1842903 - Correct improper use of span elements in about:firefoxview-next#history r=mkaply
Differential Revision: https://phabricator.services.mozilla.com/D184125
2023-07-21 18:35:38 +00:00
Mike Kaply
60c90ecd1e Bug 1833673 - Add menu for history items. r=sclements,fxview-reviewers,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D183899
2023-07-20 17:38:56 +00:00
Kelly Cochrane
7fcd18f892 Bug 1841795 - Add Recently Closed empty states in about:firefoxview-next r=mkaply,fluent-reviewers,fxview-reviewers,flod,sclements
Differential Revision: https://phabricator.services.mozilla.com/D184029
2023-07-20 15:46:51 +00:00
Jonathan Sudiaman
60d4538215 Bug 1836261 - Add additional options to PlacesQuery#getHistory() r=mak,kcochrane,fxview-reviewers,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D182922
2023-07-20 01:57:06 +00:00
Tooru Fujisawa
d8c21fafdb Bug 1843789 - Part 3: Rewrite testing/mochitest/BrowserTestUtils/BrowserTestUtils.sys.mjs consumers in html/xhtml to use ChromeUtils.importESModule. r=ahal,fxview-reviewers,sfoster
Differential Revision: https://phabricator.services.mozilla.com/D183659
2023-07-18 23:06:30 +00:00
Tooru Fujisawa
b4106e3f4f Bug 1843788 - Part 2: Rewrite testing/modules/TestUtils.sys.mjs consumers in html/xhtml to use ChromeUtils.importESModule. r=ahal,credential-management-reviewers,fxview-reviewers,sgalich,sfoster
Differential Revision: https://phabricator.services.mozilla.com/D183656
2023-07-18 23:06:29 +00:00
Mike Kaply
93da01a7c0 Bug 1842896 - Add ID so clicking label works. r=jsudiaman DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D183900
2023-07-18 21:10:43 +00:00
Mike Kaply
134b5be624 Bug 1826608 - Implement open tabs from other device in new Firefox View. r=sclements,kcochrane,fluent-reviewers,fxview-reviewers,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D180836
2023-07-18 19:08:04 +00:00
Kelly Cochrane
f23df33f05 Bug 1826604 - Add History empty states and banner in about:firefoxview-next r=mkaply,fxview-reviewers,sclements,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D183197
2023-07-18 13:42:11 +00:00
Sarah Clements
84ec9ebeeb Bug 1843587 - Change getClosedTabData param to default to non-private window object r=sfoster,fxview-reviewers,sessionstore-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D183739
2023-07-18 11:11:21 +00:00
Mike Kaply
28d178f05e Bug 1843603 - Update category icons for View. r=sfoster,fxview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D183602
2023-07-17 11:58:47 +00:00
Shane Hughes
9c7a1ae2e1 Bug 1821826 - Refactor FeatureCallout to support generic triggers. r=omc-reviewers,fxview-reviewers,tabbrowser-reviewers,dao,jprickett,sclements
Also disable the Firefox View feature tour to avoid any risk of
regressions. The feature tour code will be removed in a later patch.
It's still present for now for testing purposes.

Differential Revision: https://phabricator.services.mozilla.com/D180927
2023-07-11 16:00:40 +00:00
Kelly Cochrane
a407f9b1b0 Bug 1828606 - Implement Recently Closed component in next iteration of Firefox View r=sfoster,fluent-reviewers,fxview-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D182600
2023-07-10 19:46:10 +00:00
Cristina Horotan
af6dd949dd Backed out changeset 00270dd961d6 (bug 1828606) for causing leaked window related bc failures 2023-07-10 17:29:20 +03:00
Kelly Cochrane
9fa485a162 Bug 1828606 - Implement Recently Closed component in next iteration of Firefox View r=sfoster,fluent-reviewers,fxview-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D182600
2023-07-10 13:46:53 +00:00
Sam Foster
224b568ae4 Bug 1819675 - Introduce a feature pref to toggle the recently-closed tabs from all windows behavior.r=sclements,dao,extension-reviewers,fxview-reviewers,robwu,sessionstore-reviewers
* Add a default-true pref to provide an escape hatch allowing us to revert to previous behavior
* in which recently-closed tabs are per-window,
* and undoing closed tabs restores them to the window they were closed from.
* Ensure we set the pref for tests which depend on its value
* Add some spot-checks in tests with the pref off

Differential Revision: https://phabricator.services.mozilla.com/D179574
2023-07-06 22:49:52 +00:00
Sam Foster
a24c7b1d6b Bug 1819675 - Include tabs from all windows in all views of recently-closed tabs and re-open them into the current window. r=dao,sclements,fxview-reviewers,fluent-reviewers,flod,robwu,sessionstore-reviewers,tabbrowser-reviewers
* Menu Bar History menu recently-closed tab items includes closed tabs from all currently-open windows
* Toolbar/Appmenu history menu recently-closed tabs list includes closed tabs from all currently-open windows
* Firefox view recently-closed tab list includes closed tabs from all currently-open windows
* All recently-closed tab menu/items re-open in the current window
* Re-open all tabs menu item re-opens all tabs into the current window

* Ensure we filter out tabs without any useful state in firefox-view
* Add a target window argument to undoCloseTab and undoCloseById
* undoCloseTab will remove the tab data from the source window collection and re-open the tab into the target window
* Add an options argument to SessionStore.getWindows to get all private or non-private windows
* Add a getWindowForTabClosedId method on SessionStore, allowing look-up of the window associated with a closed tab
* Ensure recently-closed tab lists only include tabs from non-private windows when attached (i.e. opened from) a non-private window. And vice-versa.
* Update the sessionstore closed tab tests to assert on the new behavior

* Update the browser.sessions.restore implementation to always find and pass the source window when restoring a closed tab
* sessions.restore should always restore closed tabs to the source window as there's no implicit top or current window in the API context

Differential Revision: https://phabricator.services.mozilla.com/D174501
2023-07-06 22:49:52 +00:00
Cosmin Sabou
f16c094fd9 Backed out 2 changesets (bug 1819675) for causing a spike in wpt and browser-chrome failures.
Backed out changeset aa4368bfb81a (bug 1819675)
Backed out changeset e5be8edfd9cf (bug 1819675)
2023-07-08 13:44:40 +03:00
Sam Foster
a4876c8eb5 Bug 1819675 - Introduce a feature pref to toggle the recently-closed tabs from all windows behavior.r=sclements,dao,extension-reviewers,fxview-reviewers,robwu,sessionstore-reviewers
* Add a default-true pref to provide an escape hatch allowing us to revert to previous behavior
* in which recently-closed tabs are per-window,
* and undoing closed tabs restores them to the window they were closed from.
* Ensure we set the pref for tests which depend on its value
* Add some spot-checks in tests with the pref off

Differential Revision: https://phabricator.services.mozilla.com/D179574
2023-07-06 22:49:52 +00:00
Sam Foster
39d8ed9ddf Bug 1819675 - Include tabs from all windows in all views of recently-closed tabs and re-open them into the current window. r=dao,sclements,fxview-reviewers,fluent-reviewers,flod,robwu,sessionstore-reviewers,tabbrowser-reviewers
* Menu Bar History menu recently-closed tab items includes closed tabs from all currently-open windows
* Toolbar/Appmenu history menu recently-closed tabs list includes closed tabs from all currently-open windows
* Firefox view recently-closed tab list includes closed tabs from all currently-open windows
* All recently-closed tab menu/items re-open in the current window
* Re-open all tabs menu item re-opens all tabs into the current window

* Ensure we filter out tabs without any useful state in firefox-view
* Add a target window argument to undoCloseTab and undoCloseById
* undoCloseTab will remove the tab data from the source window collection and re-open the tab into the target window
* Add an options argument to SessionStore.getWindows to get all private or non-private windows
* Add a getWindowForTabClosedId method on SessionStore, allowing look-up of the window associated with a closed tab
* Ensure recently-closed tab lists only include tabs from non-private windows when attached (i.e. opened from) a non-private window. And vice-versa.
* Update the sessionstore closed tab tests to assert on the new behavior

* Update the browser.sessions.restore implementation to always find and pass the source window when restoring a closed tab
* sessions.restore should always restore closed tabs to the source window as there's no implicit top or current window in the API context

Differential Revision: https://phabricator.services.mozilla.com/D174501
2023-07-06 22:49:52 +00:00
Jonathan Sudiaman
4d1bc316d4 Bug 1842056 - Add a pref to limit the number of rows shown in History r=mkaply,fxview-reviewers,kcochrane
https://treeherder.mozilla.org/jobs?repo=try&revision=da5fd70d227be30325c71b2af80e98275130b26b

Differential Revision: https://phabricator.services.mozilla.com/D182923
2023-07-06 20:08:35 +00:00
Kelly Cochrane
0910cc5ba9 Bug 1841149 - Fix sorting for History in about:firefoxview-next r=mkaply,fxview-reviewers,sclements
Differential Revision: https://phabricator.services.mozilla.com/D182568
2023-07-06 13:46:41 +00:00