hanna alemu
d7c67f44bd
Bug 1828508 - Clean up Firefox View Feature Tour + Notification r=omc-reviewers,fluent-reviewers,fxview-reviewers,nsharpley,bolsson,aminomancer
...
Differential Revision: https://phabricator.services.mozilla.com/D209404
2024-06-11 18:24:35 +00:00
Sukhmeet
3ad327de7f
Bug 1893013 - Remove browser.firefox-view.search.enabled preference r=kcochrane,fxview-reviewers,jsudiaman
...
Differential Revision: https://phabricator.services.mozilla.com/D211353
2024-06-03 15:12:53 +00:00
Jonathan Sudiaman
8dec778c2c
Bug 1859774 - Add new Firefox View search component to Storybook r=kcochrane,fluent-reviewers,fxview-reviewers,reusable-components-reviewers,hjones
...
Simplified debouncing logic to avoid depending on DeferredTask. Add missing `aria-label` which is needed for the edge case of showing a search box without placeholder.
Differential Revision: https://phabricator.services.mozilla.com/D210701
2024-05-24 20:32:56 +00:00
Norisz Fay
f646873f96
Backed out changeset 223f467f78df (bug 1859774) for causing mochitest failures on test_fxview_search_textbox.html CLOSED TREE
2024-05-24 19:04:17 +03:00
Jonathan Sudiaman
dec03dc0a3
Bug 1859774 - Add new Firefox View search component to Storybook r=kcochrane,fluent-reviewers,fxview-reviewers,reusable-components-reviewers,hjones
...
Simplified debouncing logic to avoid depending on DeferredTask. Add missing `aria-label` which is needed for the edge case of showing a search box without placeholder.
Differential Revision: https://phabricator.services.mozilla.com/D210701
2024-05-24 15:16:26 +00:00
Sandor Molnar
a92ccd5e4d
Backed out changeset 56007d13fdf6 (bug 1859774) for causing mochitest failures @ browser/components/firefoxview/tests/chrome/test_fxview_search_textbox.html CLOSED TREE
2024-05-24 00:46:06 +03:00
Jonathan Sudiaman
37a0386948
Bug 1859774 - Add new Firefox View search component to Storybook r=kcochrane,fluent-reviewers,fxview-reviewers,reusable-components-reviewers,hjones
...
Simplified debouncing logic to avoid depending on DeferredTask. Add missing `aria-label` which is needed for the edge case of showing a search box without placeholder.
Differential Revision: https://phabricator.services.mozilla.com/D210701
2024-05-23 20:20:03 +00:00
Jonathan Sudiaman
bc6869de58
Bug 1883231 - Don't update search results for a stale query in Firefox View. r=nsharpley,fxview-reviewers,places-reviewers,Standard8,sidebar-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D208946
2024-05-09 13:34:37 +00:00
Jules Simplicio
0f6dcad1df
Bug 1894393 - Undo the Firefox View work that made tab attention dot color in Linux and lwt on hcm match between chrome and in-content r=desktop-theme-reviewers,fxview-reviewers,emilio,kcochrane
...
Per https://bugzilla.mozilla.org/show_bug.cgi?id=1884351 and after discussing with theme developers, and Amy Lee from UX, we decided to stick to Linux's existing theming pattern (use platform accent color for chrome accents, and design system colors for in-content), and undo the work that made Firefox's View attention dot color match between in-content and chrome.
Differential Revision: https://phabricator.services.mozilla.com/D209073
2024-05-01 03:58:09 +00:00
Jonathan Sudiaman
22ee9cc924
Bug 1887220 - Rework map computations in history r=fxview-reviewers,places-reviewers,sidebar-reviewers,nsharpley,sclements
...
- Consolidates `historyMapByDate`, `historyMapBySite`, and `searchResults` into one single `historyCache`, which represents all of the visits that should be rendered by the host and what options are currently in place.
- Converts `HistoryController` to a system level module.
- Adds preventative code to account for race conditions in cases during test verification.
Differential Revision: https://phabricator.services.mozilla.com/D207861
2024-04-30 20:03:14 +00:00
Jonathan Sudiaman
a1780ebc7d
Bug 1867614 - fxview-tab-list story is broken, shows a "ChromeUtils is not defined" error r=fxview-reviewers,reusable-components-reviewers,hjones,nsharpley
...
Remove transitive dependency on `ChromeUtils` that is causing this error.
Differential Revision: https://phabricator.services.mozilla.com/D208380
2024-04-23 21:26:09 +00:00
dschomburg
9f03a40c4f
Bug 1853818 - Remove toolkit/branding/accounts.ftl file r=flod,fluent-reviewers,settings-reviewers,credential-management-reviewers,fxview-reviewers,omc-reviewers,firefox-desktop-core-reviewers ,mconley,aminomancer,mak,sgalich,nsharpley,mkaply
...
Differential Revision: https://phabricator.services.mozilla.com/D190612
2024-04-22 16:24:30 +00:00
Nikki Sharpley
048795cc79
Bug 1887237 - Intermittent TV browser/components/firefoxview/tests/browser/browser_firefoxview_paused.js r=fxview-reviewers,kcochrane
...
- reduce number of tests in `browser_firefoxview_paused.js` to solve timeout issue
Differential Revision: https://phabricator.services.mozilla.com/D207453
2024-04-17 20:02:08 +00:00
Kelly Cochrane
d6edc29a5a
Bug 1873942 - Add test coverage for device connection and sync r=fxview-reviewers,nsharpley
...
Differential Revision: https://phabricator.services.mozilla.com/D207750
2024-04-17 20:00:35 +00:00
Anna Yeddi
48b41ed8f4
Bug 1884986 - Update tests to check for new ARIA roles. r=fxview-reviewers,sfoster.
...
Depends on D206272
Differential Revision: https://phabricator.services.mozilla.com/D207488
2024-04-16 23:57:19 +00:00
Anna Yeddi
3b2c044581
Bug 1884981 - Import history from another browser section on Firefox View History tab would not announce the context for buttons on it. r=fxview-reviewers,kcochrane
...
Adding a grouping markup on the `import-history-banner`, so the text outside of the focusable CTAs is being announced to a screen reader user.
Note: the heading remains implicit (being only styled to look as such but it is not marked up appropriately an is a generic `<span>`)
Differential Revision: https://phabricator.services.mozilla.com/D206272
2024-04-16 23:57:18 +00:00
Anna Yeddi
d93e7b17d9
Bug 1884986 - Ensure the control on an empty card on Firefox View would announce the group info. r=fxview-reviewers,Jamie
...
Since the wrapper of the `<details>` element cannot access its labeling element (included in the slot), we could move the grouping attributes to the `<card-container>` element itself. This would also allow us to remove an additional `<section>` container and reduce the number of nested groups exposed to the Accessibility API, including the case where another `<details>` element is being added for the inner card.
This patch also removes the extra `group` container for an empty card to reduce the verbocity of the announcement and the nesting complexity, while keeping the grouping programmatically indicated (just not duplicated in the case of an empty card where the additional card template is added).
Differential Revision: https://phabricator.services.mozilla.com/D206261
2024-04-16 23:57:18 +00:00
Nikki Sharpley
183b5d4b3c
Bug 1851697 - Remove Firefox View button notification dot r=fxview-reviewers,desktop-theme-reviewers,dao,jsudiaman
...
This was disabled in bug 1787980 so we needed to remove the obsolete code.
Differential Revision: https://phabricator.services.mozilla.com/D207473
2024-04-16 22:02:52 +00:00
Kelly Cochrane
7a2432fdde
Bug 1877120 - Ensure virtual-list intersection observer fires only once expected fxview-tab-list items have rendered r=fxview-reviewers,sfoster,mstriemer
...
Differential Revision: https://phabricator.services.mozilla.com/D207476
2024-04-16 18:31:20 +00:00
Sandor Molnar
417a655e3b
Backed out 2 changesets (bug 1884981, bug 1884986) for causing bc failures @ browser_firefoxview.js CLOSED TREE
...
Backed out changeset ae9729a59875 (bug 1884981)
Backed out changeset 2ad302b112b2 (bug 1884986)
2024-04-16 00:10:30 +03:00
Anna Yeddi
9de30bd59f
Bug 1884981 - Import history from another browser section on Firefox View History tab would not announce the context for buttons on it. r=fxview-reviewers,kcochrane
...
Adding a grouping markup on the `import-history-banner`, so the text outside of the focusable CTAs is being announced to a screen reader user.
Note: the heading remains implicit (being only styled to look as such but it is not marked up appropriately an is a generic `<span>`)
Differential Revision: https://phabricator.services.mozilla.com/D206272
2024-04-15 18:41:00 +00:00
Anna Yeddi
5dbcf00651
Bug 1884986 - Ensure the control on an empty card on Firefox View would announce the group info. r=fxview-reviewers,Jamie
...
Since the wrapper of the `<details>` element cannot access its labeling element (included in the slot), we could move the grouping attributes to the `<card-container>` element itself. This would also allow us to remove an additional `<section>` container and reduce the number of nested groups exposed to the Accessibility API, including the case where another `<details>` element is being added for the inner card.
This patch also removes the extra `group` container for an empty card to reduce the verbocity of the announcement and the nesting complexity, while keeping the grouping programmatically indicated (just not duplicated in the case of an empty card where the additional card template is added).
Differential Revision: https://phabricator.services.mozilla.com/D206261
2024-04-15 18:41:00 +00:00
Kelly Cochrane
bba0403101
Bug 1873957 - Add missing test coverage for error states for Synced Tabs in Firefox View r=fxview-reviewers,nsharpley,sfoster
...
Differential Revision: https://phabricator.services.mozilla.com/D206956
2024-04-11 15:45:31 +00:00
Jonathan Sudiaman
caf6e435c1
Bug 1879925 - Replace Synced Tabs component in sidebar r=sidebar-reviewers,fxview-reviewers,nsharpley,sfoster,desktop-theme-reviewers,sclements
...
https://treeherder.mozilla.org/jobs?repo=try&revision=b2e04c07c3582baefbc4cc8e219ba33626788180
Differential Revision: https://phabricator.services.mozilla.com/D205646
2024-04-11 14:35:43 +00:00
Sam Foster
3f160bb689
Bug 1888841 - Fix typo when passing sourceWindowId to SessionStore's forgetClosedTabById. r=fxview-reviewers,jsudiaman,kcochrane
...
Differential Revision: https://phabricator.services.mozilla.com/D206431
2024-04-09 22:59:27 +00:00
Nikki Sharpley
318c5b9a6d
Bug 1881107 - Remove delay opening context menu due to awaiting fetched devices r=fxview-reviewers,jsudiaman,sfoster
...
I've moved the call to fetch devices to occur in connectedCallback rather than holding up the context menu toggle function.
https://profiler.firefox.com/from-browser/calltree/?globalTrackOrder=80w7&hiddenGlobalTracks=1w6&hiddenLocalTracksByPid=56852-134~56853-0~56859-0~56860-0~56858-0~56861-0~56857-0~56856-0&thread=c&v=10
Differential Revision: https://phabricator.services.mozilla.com/D205390
2024-04-09 20:41:21 +00:00
Yi Xiong Wong
bef11a2dc2
Bug 1880914 - Move browser/tab closing functions. r=Gijs,perftest-reviewers,devtools-reviewers,fxview-reviewers,sessionstore-reviewers,sfoster,kshampur
...
Differential Revision: https://phabricator.services.mozilla.com/D206197
2024-04-08 17:21:01 +00:00
Sandor Molnar
8da6a0d86c
Backed out changeset f108b931f2d5 (bug 1881107) for causing bc failures @ browser_opentabs_pinned_tabs.js
2024-04-06 01:57:55 +03:00
Nikki Sharpley
d601acf989
Bug 1881107 - Remove delay opening context menu due to awaiting fetched devices r=fxview-reviewers,jsudiaman,sfoster
...
I've moved the call to fetch devices to occur in connectedCallback rather than holding up the context menu toggle function.
https://profiler.firefox.com/from-browser/calltree/?globalTrackOrder=80w7&hiddenGlobalTracks=1w6&hiddenLocalTracksByPid=56852-134~56853-0~56859-0~56860-0~56858-0~56861-0~56857-0~56856-0&thread=c&v=10
Differential Revision: https://phabricator.services.mozilla.com/D205390
2024-04-05 19:53:53 +00:00
Kelly Cochrane
d9739e0f77
Bug 1889769 - Fix alignment of tab rows in Firefox View r=fxview-reviewers,nsharpley
...
Differential Revision: https://phabricator.services.mozilla.com/D206705
2024-04-05 14:14:42 +00:00
Cristian Tuns
e67e7c25d4
Backed out changeset 03cfb27bc3a2 (bug 1881107) for causing bc failures in browser_opentabs_pinned_tabs.js CLOSED TREE
2024-04-04 17:38:48 -04:00
Nikki Sharpley
6a41ab03be
Bug 1881107 - Remove delay opening context menu due to awaiting fetched devices r=fxview-reviewers,jsudiaman,sfoster
...
I've moved the call to fetch devices to occur in connectedCallback rather than holding up the context menu toggle function.
https://profiler.firefox.com/from-browser/calltree/?globalTrackOrder=80w7&hiddenGlobalTracks=1w6&hiddenLocalTracksByPid=56852-134~56853-0~56859-0~56860-0~56858-0~56861-0~56857-0~56856-0&thread=c&v=10
Differential Revision: https://phabricator.services.mozilla.com/D205390
2024-04-04 19:08:19 +00:00
Sam Foster
5cd812c843
Bug 1873025 - Fix the displayed relative time for open tabs listing to match the recency sorting.r=jsudiaman,fxview-reviewers,tabbrowser-reviewers,dao
...
* Carry over lastAccessed times from tabs that haven't been seen/active this session.
* Use the lastSeenActive rather than lastAccessed timestamp for labeling open tabs in firefox view.
Differential Revision: https://phabricator.services.mozilla.com/D198892
2024-04-04 16:27:32 +00:00
Sam Foster
37f9d61967
Bug 1858460 - Include source events in OpenTabsTarget events and improve how we test the recency-sorted tab lists. r=fxview-reviewers,sclements
...
* Include a list of source events in the debounced and consolidated change events dispatched by OpenTabsTarget
* Rework browser_opentabs_recency.js to use session restore for window and tab creation
* Eliminate some of the races in the test by waiting for the correct tab list state
* Re-enable the test for windows - it remains intermittent on macos and linux
* Add sizemodechange as a tab-recency-related event
Differential Revision: https://phabricator.services.mozilla.com/D206174
2024-04-04 16:27:32 +00:00
Yi Xiong Wong
3df27d805a
Bug 1880914 - Move BrowserOpenTab. r=Gijs,webdriver-reviewers,perftest-reviewers,extension-reviewers,sessionstore-reviewers,tabbrowser-reviewers,home-newtab-reviewers,thecount,whimboo,dao,afinder,omc-reviewers,aminomancer
...
Differential Revision: https://phabricator.services.mozilla.com/D205529
2024-04-03 10:32:27 +00:00
Jonathan Sudiaman
da4a683e56
Bug 1861400 - Remove sync if disabled by policy r=fxview-reviewers,nsharpley,kcochrane
...
Brings the Firefox View behavior in line with what is done in `browser-sync.js`.
Differential Revision: https://phabricator.services.mozilla.com/D205881
2024-04-01 21:50:10 +00:00
Hanna Jones
f6c7368e07
Bug 1850037 - Part 2: Use moz-button to remove ghost button styles in fxview r=fxview-reviewers,desktop-theme-reviewers,reusable-components-reviewers,kcochrane,mstriemer,dao
...
Differential Revision: https://phabricator.services.mozilla.com/D187932
2024-04-01 16:08:41 +00:00
Nikki Sharpley
83a82393ab
Bug 1883231 - Prevent "no results" from showing if history search is still in progress r=fxview-reviewers,places-reviewers,sfoster
...
Differential Revision: https://phabricator.services.mozilla.com/D205756
2024-04-01 13:14:01 +00:00
Yi Xiong Wong
9457049851
Bug 1880914 - Move BrowserHome. r=Gijs,extension-reviewers,sessionstore-reviewers,dao
...
Differential Revision: https://phabricator.services.mozilla.com/D205528
2024-03-28 17:05:02 +00:00
Jonathan Sudiaman
e1987c2eb6
Bug 1887647 - Tabs from other devices doesn't render on first load r=fxview-reviewers,nsharpley,sfoster
...
Ensure that we always call `requestUpdate()` when needed.
Differential Revision: https://phabricator.services.mozilla.com/D205582
2024-03-28 13:42:33 +00:00
Nikki Sharpley
e86624e42b
Bug 1879926 - Add Lit history component to Sidebar r=fxview-reviewers,desktop-theme-reviewers,dao,kcochrane,fluent-reviewers,jsudiaman,kpatenio
...
Styling and templates will change as we receive UX specs.
Depends on D202726
Differential Revision: https://phabricator.services.mozilla.com/D204226
2024-03-26 20:09:37 +00:00
Kelly Cochrane
c64a9447f3
Bug 1880542 - Refactor fxview-tab-list and fxview-tab-row r=sfoster,fxview-reviewers,jsudiaman
...
Differential Revision: https://phabricator.services.mozilla.com/D205499
2024-03-26 18:01:02 +00:00
Emilio Cobos Álvarez
4728e53397
Bug 1877298 - Make tab color in firefox view match the browser UI on Linux and prefers-contrast modes. r=dao,kcochrane,desktop-theme-reviewers,fxview-reviewers,jules
...
Differential Revision: https://phabricator.services.mozilla.com/D204891
2024-03-25 20:23:33 +00:00
Anna Yeddi
205c050a0e
Bug 1883722 - Update Firefox View stylesheets to use forced-colors instead of prefers-contrast to make room for macOS specific styling. r=morgan,desktop-theme-reviewers,fxview-reviewers?,#fxview-reviewers.
...
As part of the [HCM and Increased Contrast Support in FX project](https://docs.google.com/document/d/1x37hxRrP9B2c3luy7sz748PCuVygvD3REsluQRQpfYE/edit?usp=sharing ), the Accessibility team is auditing existing `prefers-contrast` media query blocks in mozilla-central. For each block with `prefers-contrast` media we want to convert it to `forced-colors` where appropriate.
Refer to the [bug 1877780 #c0](https://bugzilla.mozilla.org/show_bug.cgi?id=1877780#c0 ) for more information about the project.
Differential Revision: https://phabricator.services.mozilla.com/D203650
2024-03-22 21:01:56 +00:00
Kelly Cochrane
d65e0d0ea0
Bug 1883876 - Update window list in Open Tabs in Fx View when moving a tab between windows r=fxview-reviewers,sclements,sfoster
...
Differential Revision: https://phabricator.services.mozilla.com/D203971
2024-03-22 17:02:53 +00:00
Kelly Cochrane
53986eb4ea
Bug 1877298 - Create reusable token for color used in the tab attention radial gradient. r=desktop-theme-reviewers,fxview-reviewers,reusable-components-reviewers,jules,dao,kcochrane
...
Differential Revision: https://phabricator.services.mozilla.com/D202736
2024-03-22 16:24:02 +00:00
Stanca Serban
766c9f922a
Backed out changeset 319a405e8b57 (bug 1883876) for causing mochitests failures in browser_blanking.js.
2024-03-22 18:22:25 +02:00
Kelly Cochrane
7cc1085907
Bug 1883876 - Update window list in Open Tabs in Fx View when moving a tab between windows r=fxview-reviewers,sclements,sfoster
...
Differential Revision: https://phabricator.services.mozilla.com/D203971
2024-03-22 14:02:18 +00:00
Sandor Molnar
ae3c7d9083
Backed out changeset 153aa2b4247f (bug 1883876) for causing multiple bc failures @ browser/components/firefoxview/<...> & browser/components/aboutwelcome/<...>
2024-03-21 21:46:22 +02:00
Kelly Cochrane
8b550e92b2
Bug 1883876 - Update window list in Open Tabs in Fx View when moving a tab between windows r=fxview-reviewers,sclements,sfoster
...
Differential Revision: https://phabricator.services.mozilla.com/D203971
2024-03-21 18:44:36 +00:00