Commit graph

122 commits

Author SHA1 Message Date
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
Marco Bonardo
74f9ed119f Bug 1805889 - Stop abusing the options object in the Panel View. r=Gijs
Make Places views constructors arguments more coherent, passing the root
and view elements up to the super class explicitly.
Remove the options argument, that was not strictly necessary, the same info can
be obtained directly.
Rename the "builder" attribute to "afterplacescontent" to clarify what it is
and make panel use it, instead of passing an insertionPoint option.

Additional cleanups:
Make chevron and BMB menus use coherent popupshowing observers.
Remove useless .viewElt accessor, .associatedElement can be used instead.
Avoid an access to the private _rootElt property from the controller.

Differential Revision: https://phabricator.services.mozilla.com/D164827
2022-12-19 10:18:22 +00:00
Gijs Kruitbosch
3d859095f0 Bug 1805678 - ensure bookmark menu button submenus don't reuse root/view element references, r=mak
Only the bookmarks menu button is doing this peculiar re-using of
options.

I tried various fixes: keeping the inheritance but replacing only the
rootElt/viewElt (and using Object.assign to clone the options so modifications
don't 'transmit' to the ancestor menus) but it was messy and net code increase
for a pretty crufty UI surface. I also wasn't sure if that would end up
negatively influencing (now or in the future) e.g. menus shown from the main
bookmarks toolbar view (which would show up as a 'parent' view for the menus
we open from there), and thought that reusing the options was likely to cause
further confusion in future as well, should we add more, uh, options, to them.

So in the end I stuck with Keeping It Simple - I just repeat the one-off
repeating entry class. I'm not even sure how needed this is - in particular,
I wonder why we don't need it for other submenus for 'real' bookmark folders!
But I didn't investigate this too much. If you're sure that we can get rid of
some more of it, happy to do that in a followup.

Note that the addition of _init() was not ultimmately needed to fix this bug
(I think), but it brought the initialization sequence and when we set
`_placesView` more in line with what we did before and what I already did for
`PlacesToolbar`, so that seemed like a good thing to avoid further/other issues.

Differential Revision: https://phabricator.services.mozilla.com/D164756
2022-12-16 08:06:07 +00:00
Stanca Serban
18c1b9219f Backed out 2 changesets (bug 1805678) for causing mochitests failures in browser_history_recently_closed_middleclick.js. CLOSED TREE
Backed out changeset 110abf97facf (bug 1805678)
Backed out changeset 82e2726e9aec (bug 1805678)
2022-12-15 16:23:03 +02:00
Gijs Kruitbosch
2bd18d2b90 Bug 1805678 - ensure bookmark menu button submenus don't reuse root/view element references, r=mak
Only the bookmarks menu button is doing this peculiar re-using of
options.

I tried various fixes: keeping the inheritance but replacing only the
rootElt/viewElt (and using Object.assign to clone the options so modifications
don't 'transmit' to the ancestor menus) but it was messy and net code increase
for a pretty crufty UI surface. I also wasn't sure if that would end up
negatively influencing (now or in the future) e.g. menus shown from the main
bookmarks toolbar view (which would show up as a 'parent' view for the menus
we open from there), and thought that reusing the options was likely to cause
further confusion in future as well, should we add more, uh, options, to them.

So in the end I stuck with Keeping It Simple - I just repeat the one-off
repeating entry class. I'm not even sure how needed this is - in particular,
I wonder why we don't need it for other submenus for 'real' bookmark folders!
But I didn't investigate this too much. If you're sure that we can get rid of
some more of it, happy to do that in a followup.

Note that the addition of _init() was not ultimmately needed to fix this bug
(I think), but it brought the initialization sequence and when we set
`_placesView` more in line with what we did before and what I already did for
`PlacesToolbar`, so that seemed like a good thing to avoid further/other issues.

Differential Revision: https://phabricator.services.mozilla.com/D164756
2022-12-15 13:11:18 +00:00
Mike Conley
c3261724c2 Bug 718280 - Part 5: Use named options rather than an array for showMigrationWizard. r=NeilDeakin,credential-management-reviewers,sgalich
Depends on D164142

Differential Revision: https://phabricator.services.mozilla.com/D164143
2022-12-13 17:01:25 +00:00
Karl Tomlinson
3598941e99 Bug 1712892 add Page-Info Permissions-tab item to block speaker selection r=pbz
An all-device "Allow" option is not provided because the permission grant
prompt is primarily a device selection, which will (with subsequent patches)
grant persistent permission for the selected device.

Bug 1800287 covers setting a similar block from the selectAudioOutput() prompt.

Differential Revision: https://phabricator.services.mozilla.com/D162232
2022-12-13 09:37:34 +00:00
Sandor Molnar
70c13f22bb Backed out 9 changesets (bug 1800917, bug 718280) for causing xpc failures in browser/components/migration/tests/unit/test_Edge_db_migration.js CLOSED TREE
Backed out changeset d55b95d9d14f (bug 1800917)
Backed out changeset 8427f1e65df4 (bug 1800917)
Backed out changeset 2d0f77d324f2 (bug 718280)
Backed out changeset eba58fd1ed1c (bug 718280)
Backed out changeset 33027a0f9ce9 (bug 718280)
Backed out changeset 237be1f62d01 (bug 718280)
Backed out changeset 007afe158ae5 (bug 718280)
Backed out changeset f1dea7abdfb7 (bug 718280)
Backed out changeset 47e2cccd33c7 (bug 718280)
2022-12-13 00:50:16 +02:00
Mike Conley
6e3988dc39 Bug 718280 - Part 5: Use named options rather than an array for showMigrationWizard. r=NeilDeakin,credential-management-reviewers,sgalich
Differential Revision: https://phabricator.services.mozilla.com/D164143
2022-12-12 16:04:04 +00:00