Commit graph

130 commits

Author SHA1 Message Date
Anna Yeddi
d2e8f336d6 Bug 1869389 - Provide urlbar-search-mode-indicator-close button with an accessible name. r=Jamie,fluent-reviewers,adw,bolsson
Ensure the focusable and actionable control is also labeled, so an assistive technology user would know the purpose of this control. It should not only be announced as `Close` but also provide a context by referencing the search mode title text as well, so the "History" search would be announced as `Close History mode` or just `Close History` or similar.

Also, since there were a series of test cases failing the a11y-checks because of this unlabeled control, we remove the `fail-if` notations from their test manifests to allow for the accessibility tests to run and expect to pass, as they should be.

Differential Revision: https://phabricator.services.mozilla.com/D196095
2023-12-13 02:31:15 +00:00
Vinny Diehl
5012344966 Bug 1815556 - Add a separator before Manage Bookmarks in the bookmarks menu r=mak
Some housekeeping in the interim while we figure out what to do with bug
985024.

Differential Revision: https://phabricator.services.mozilla.com/D194179
2023-11-25 09:24:08 +00:00
Anna Yeddi
bf1aed276d Bug 1864962 - Update urlbar-go-button to be a button and pass a11y_checks in Search and Address Bar. r=Jamie,adw
We provide `role=button` to the image control that can be clicked (with a mouse or with an assistive technology as speech-to-text/voice control) as an alternative way of the urlbar search query submission, where other ways are accessible (and are tested here too).

Setting an environment to `focusableRule: false` allows us to flag to the AccessibilityUtils that this specific button is purposefully not made focusable and its keyboard focusability should not be tested.

The previously failing accessibility checks should now be passing, thus we are also removing the `fail-if` notations that were added by bug 1854660 before the investigation in the meta bug 1854661.

Differential Revision: https://phabricator.services.mozilla.com/D193703
2023-11-23 02:33:10 +00:00
Gijs Kruitbosch
6c143583b8 Bug 747301 - remove about:plugins and some other unused plugin-related code, r=mossop,handyman,fluent-reviewers,extension-reviewers,desktop-theme-reviewers,bolsson,dao,geckoview-reviewers,owlish,robwu
Differential Revision: https://phabricator.services.mozilla.com/D189921
2023-10-31 09:11:30 +00:00
Katherine Patenio
f58f47386c Bug 1854261 - update strings for review checker urlBar hover tooltip r=shopping-reviewers,fluent-reviewers,flod,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D188773
2023-09-21 16:31:42 +00:00
Gijs Kruitbosch
5736aa0cd2 Bug 1846787 - let shopping code ride the train (disabled by default), r=jhirsch
Differential Revision: https://phabricator.services.mozilla.com/D187779
2023-09-08 17:04:40 +00:00
Emilio Cobos Álvarez
c645cbeaa8 Bug 1851651 - Remove navigator-toolbox-background. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D187485
2023-09-06 21:51:40 +00:00
Emilio Cobos Álvarez
726f71faf3 Bug 1850827 - Simplify how we draw window decorations. r=stransky,rmader,desktop-theme-reviewers,dao
This makes the rounded bottom corners work on X11, and makes the top
corner drawing less insane.

Differential Revision: https://phabricator.services.mozilla.com/D187345
2023-09-06 11:07:58 +00:00
Paul Zuehlcke
84a0c76d12 Bug 1851163 - Remove obsolete felt privacy (2022) prefs. r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D187275
2023-09-04 08:36:02 +00:00
Kelly Cochrane
c5ca126b8e Bug 1845356 - Update Firefox View toolbarbutton icon and label/tooltip r=fluent-reviewers,desktop-theme-reviewers,fxview-reviewers,flod,dao,sclements
Differential Revision: https://phabricator.services.mozilla.com/D184970
2023-08-29 12:40:52 +00:00
Dão Gottwald
4f4e82ce4b Bug 1849904 - Convert a bunch of psuedo-boolean tab strip attributes to be standard boolean attributes. r=mconley,tabbrowser-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D186729
2023-08-29 06:52:49 +00:00
Cristian Tuns
d0d03369a4 Backed out changeset c35a3bb94b22 (bug 1845356) for causing bc failures in browser_feature_callout_position.js CLOSED TREE 2023-08-28 17:53:19 -04:00
Kelly Cochrane
750fa918eb Bug 1845356 - Update Firefox View toolbarbutton icon and label/tooltip r=fluent-reviewers,desktop-theme-reviewers,fxview-reviewers,flod,dao,sclements
Differential Revision: https://phabricator.services.mozilla.com/D184970
2023-08-28 19:52:09 +00:00
Sandor Molnar
1d305e9817 Backed out changeset a91b29868240 (bug 1845356) for causing bc failures in browser/components/firefoxview/tests/browser/browser_feature_callout.js CLOSED TREE 2023-08-28 21:48:52 +03:00
Kelly Cochrane
3c494ef8b2 Bug 1845356 - Update Firefox View toolbarbutton icon and label/tooltip r=fluent-reviewers,desktop-theme-reviewers,fxview-reviewers,flod,dao,sclements
Differential Revision: https://phabricator.services.mozilla.com/D184970
2023-08-28 15:04:58 +00:00
Gijs Kruitbosch
dc8348b373 Bug 1847065 - ensure zoom reset and shopping url bar icons check for non-leftclicks before doing something, r=fchasen
Differential Revision: https://phabricator.services.mozilla.com/D185443
2023-08-08 17:46:13 +00:00
Fred Chasen
323ef78bd7 Bug 1846750 - Only enable shopping button on Nightly r=shopping-reviewers,jhirsch
Differential Revision: https://phabricator.services.mozilla.com/D185189
2023-08-02 18:19:19 +00:00
Fred Chasen
8cf7015e45 Bug 1840156 - Shopping urlbar button r=shopping-reviewers,fluent-reviewers,desktop-theme-reviewers,Gijs,flod,jhirsch
- Adds a urlbar button to toggle shopping sidebars and show sidebar state
- ShoppingSidebarParent.toggleAllSidebars() method to open and close sidebars
- Adds `browser.shopping.experience2023.active` pref to store the state of all sidebars
- Sidebars open and close based on state of the active pref

Differential Revision: https://phabricator.services.mozilla.com/D183394
2023-08-01 22:11:15 +00:00
Greg Tatum
10bd41f6e3 Bug 1842091 - Add a beta icon and first run message; r=nordzilla,fluent-reviewers,desktop-theme-reviewers,sfoster'
Differential Revision: https://phabricator.services.mozilla.com/D183028
2023-07-25 15:23:31 +00:00
Stanca Serban
37be355b4c Backed out 3 changesets (bug 1842091, bug 1831341) for causing mochitests failures in browser_parsable_css.js. CLOSED TREE
Backed out changeset 985bdabdd626 (bug 1831341)
Backed out changeset dfb82e14371f (bug 1831341)
Backed out changeset e739e22a9f1d (bug 1842091)
2023-07-25 00:31:40 +03:00
Greg Tatum
7bdfb4e7ac Bug 1842091 - Add a beta icon and first run message; r=nordzilla,fluent-reviewers,desktop-theme-reviewers,sfoster'
Differential Revision: https://phabricator.services.mozilla.com/D183028
2023-07-24 18:59:49 +00:00
Greg Tatum
0293de089a Bug 1835418 - Report the status of the translation to the url bar tooltip; r=nordzilla,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D181800
2023-06-23 15:55:12 +00:00
Greg Tatum
7bb9646bf4 Bug 1835361 - Pass keypress events to the translations openPopup to fix focus issue; r=nordzilla
Differential Revision: https://phabricator.services.mozilla.com/D180986
2023-06-16 16:40:22 +00:00
Dão Gottwald
e34bc91336 Bug 1835890 - Make sidebar switcher panel a normal menupopup. r=Itiel,extension-reviewers,mconley,rpl
Differential Revision: https://phabricator.services.mozilla.com/D179877
2023-06-15 14:14:43 +00:00
Greg Tatum
2ff29a9541 Bug 1820249 - Apply UX feedback to translations icon; r=nordzilla,desktop-theme-reviewers,sfoster
This creates 3 icon states:

1. The translations offering with a single icon.
2. The loading icon with the spinner.
3. The live translation document, with the "translate to" locale listed.

Note that the locale text in the icon can grow to three letters in
theory, but in practice this does not happen with our currently
supported languages. I made sure the button can grow correctly if this
ever happens.

The tests are in the next patch.

Differential Revision: https://phabricator.services.mozilla.com/D178226
2023-05-19 15:09:27 +00:00
Brice Laurencin
1c8c333cb5 Bug 1418462 - Middleclick on new tab button launch clipboard r=Gijs
Original code from bruntonross@protonmail.com,
adapted to current Firefox version.

Differential Revision: https://phabricator.services.mozilla.com/D170097
2023-05-10 10:08:24 +00:00
Stanca Serban
692d727b5e Backed out changeset 50c9a0bea4c6 (bug 1418462) for causing mochitests failures in browser_middleClick.js. CLOSED TREE 2023-05-10 02:50:36 +03:00
Brice Laurencin
3bdbccf607 Bug 1418462 - Middleclick on new tab button launch clipboard r=Gijs
Original code from bruntonross@protonmail.com,
adapted to current Firefox version.

Differential Revision: https://phabricator.services.mozilla.com/D170097
2023-05-09 20:50:04 +00:00
Marc Seibert
1c6c622a04 Bug 1736937 - Add "Search bookmarks" option in bookmarks menu. r=dao
https://treeherder.mozilla.org/jobs?repo=try&revision=f1324632dfb7201ad71fddb074ec7e008c32d153

Differential Revision: https://phabricator.services.mozilla.com/D175604
2023-04-17 10:31:35 +00:00
William Durand
913b354ef5 Bug 1827034 - Hide extensions button in popup windows. r#desktop-reviewers! r=dao
Differential Revision: https://phabricator.services.mozilla.com/D175172
2023-04-12 16:36:23 +00:00
Greg Tatum
2d5cb34041 Bug 1826437 - Implement the full page translations panel; r=nordzilla,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D174682
2023-04-12 16:13:24 +00:00
Niklas Baumgardner
3288ab0f90 Bug 1826111 - Update PiP urlbar hover text. r=pip-reviewers,fluent-reviewers,mhowell,flod
Differential Revision: https://phabricator.services.mozilla.com/D174532
2023-04-05 18:15:43 +00:00
Greg Tatum
944d80a008 Bug 1820229 - Stub out a button in the URL bar for translations; r=nordzilla,desktop-theme-reviewers,flod,Itiel
This code is untested since it's stubbing out functionality, which will
eventually use PageActions to open up a popup. The final code with the
popup will get tested, but for now rely on the existing test behavior,
without asserting new behavior.

Differential Revision: https://phabricator.services.mozilla.com/D173196
2023-03-24 18:27:30 +00:00
Butkovits Atila
137691f3bf Backed out 12 changesets (bug 1813781, bug 1815343, bug 1820229, bug 1823925, bug 1813779, bug 1823702) for causing failures at browser_full_page.js. CLOSED TREE
Backed out changeset 841d7b8b856b (bug 1823925)
Backed out changeset a62d77bfac0b (bug 1823925)
Backed out changeset 2590940e3b67 (bug 1815343)
Backed out changeset 807a38bb5ad4 (bug 1813781)
Backed out changeset b1d2cbba17a2 (bug 1813781)
Backed out changeset e83c3f386ef1 (bug 1813781)
Backed out changeset 18cf612336be (bug 1820229)
Backed out changeset d3ae326dcdf7 (bug 1820229)
Backed out changeset 793ba36c54b5 (bug 1813779)
Backed out changeset bbf9177668dc (bug 1823702)
Backed out changeset 1cc80a5cbcdb (bug 1823702)
Backed out changeset 22a87b7171d4 (bug 1823702)
2023-03-24 06:36:15 +02:00
Greg Tatum
5fbf34f20b Bug 1820229 - Stub out a button in the URL bar for translations; r=nordzilla,desktop-theme-reviewers,flod,Itiel
This code is untested since it's stubbing out functionality, which will
eventually use PageActions to open up a popup. The final code with the
popup will get tested, but for now rely on the existing test behavior,
without asserting new behavior.

Differential Revision: https://phabricator.services.mozilla.com/D173196
2023-03-23 22:00:36 +00:00
Niklas Baumgardner
39d1882677 Bug 1811318 - Urlbar entry point for PiP. r=cmkm,pip-reviewers,desktop-theme-reviewers,dao,mconley,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D170899
2023-03-22 19:22:44 +00:00
Csoregi Natalia
07dc85057a Backed out changeset 31492838d6cb (bug 1811318) for failures on browser_urlbar_toggle.js. CLOSED TREE 2023-03-22 12:26:32 +02:00
William Durand
6ebb86bc7e Bug 1820743 - Allow to move unified extensions button on the navbar. r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D171845
2023-03-21 16:55:11 +00:00
Niklas Baumgardner
afd2db475b Bug 1811318 - Urlbar entry point for PiP. r=cmkm,pip-reviewers,desktop-theme-reviewers,dao,mconley,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D170899
2023-03-21 16:26:05 +00:00
Cristina Horotan
dd2fe65d79 Backed out changeset 1eee1fa2d9dd (bug 1811318) for causing bc failures at browser_preferences_usage.js CLOSED TREE 2023-03-21 16:31:56 +02:00
Cristina Horotan
d2152bdc1b Backed out changeset 56de7c6ac457 (bug 1820743) for causing bc failures at browser_toolbarKeyNav.js CLOSED TREE 2023-03-21 16:16:47 +02:00
William Durand
2fb700c25d Bug 1820743 - Allow to move unified extensions button on the navbar. r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D171845
2023-03-21 13:10:08 +00:00
Niklas Baumgardner
d7b26c11fa Bug 1811318 - Urlbar entry point for PiP. r=cmkm,pip-reviewers,desktop-theme-reviewers,dao,mconley,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D170899
2023-03-21 12:55:18 +00:00
Emilio Cobos Álvarez
097eb3703e Bug 1820534 - Move front-end to modern flexbox. r=Gijs,dao,settings-reviewers,credential-management-reviewers,sgalich,devtools-reviewers,nchevobbe
Done mostly automatically via find/replace following the conversions
specified here:

  https://groups.google.com/a/mozilla.org/g/firefox-dev/c/9sGpF1TNbLk/m/QpU3oTUuAgAJ

For the most part I think the "flex: N N" usage could be simplified to
just "flex: N", but I wanted to preserve behavior (-moz-box-flex sets
both flex-grow and flex-shrink).

I changed legacy layout to also look at the order property rather than
-moz-box-ordinal-group because it made splitters and treecols easier (we
don't need to deal with both orders).

Differential Revision: https://phabricator.services.mozilla.com/D171715
2023-03-08 16:13:57 +00:00
Stanca Serban
923ef223cd Backed out changeset c25af897c9bc (bug 1820534) for causing reftests and mochitests failures. 2023-03-08 17:34:42 +02:00
Emilio Cobos Álvarez
57e476145f Bug 1820534 - Move front-end to modern flexbox. r=Gijs,dao,settings-reviewers,credential-management-reviewers,sgalich,devtools-reviewers,nchevobbe
Done mostly automatically via find/replace following the conversions
specified here:

  https://groups.google.com/a/mozilla.org/g/firefox-dev/c/9sGpF1TNbLk/m/QpU3oTUuAgAJ

For the most part I think the "flex: N N" usage could be simplified to
just "flex: N", but I wanted to preserve behavior (-moz-box-flex sets
both flex-grow and flex-shrink).

I changed legacy layout to also look at the order property rather than
-moz-box-ordinal-group because it made splitters and treecols easier (we
don't need to deal with both orders).

Differential Revision: https://phabricator.services.mozilla.com/D171715
2023-03-08 14:11:35 +00:00
Emilio Cobos Álvarez
0320ef9554 Bug 1817053 - Remove some dead CSS and icons from the old translations project. r=mconley,gregtatum
The Firefox Translation extension doesn't use these.

Differential Revision: https://phabricator.services.mozilla.com/D169991
2023-02-16 21:41:40 +00:00
William Durand
31f8b85393 Bug 1816725 - Remove indicator attribute on the downloads button. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D169839
2023-02-15 09:33:11 +00:00
Emilio Cobos Álvarez
d9cfbe5cab Bug 1815864 - Use a bigger flex value in the tab box than the searchbar. r=dao
This prevents the searchbar from stealing all the free space from the
tab box.

Differential Revision: https://phabricator.services.mozilla.com/D169718
2023-02-14 11:14:41 +00:00
Mike Conley
90213fc7d5 Bug 1804722 - Add probes for the All Tabs panel. data-review=jhirsch, r=mossop
This adds probes and a limited set of tests for the following types of measurements:

1. A count for each time the All Tabs panel is opened, keyed on the entrypoint.
2. A count for each usage of the Tab Context Menu, keyed on the trigger node
   as the entrypoint.
3. A count for each dragstart within the All Tabs panel.

Differential Revision: https://phabricator.services.mozilla.com/D168305
2023-02-06 15:14:48 +00:00