Commit Graph

150 Commits

Author SHA1 Message Date
Dale Harvey
3a3707ff44 Bug 1891863 - Implement initial prototype of dedicated search button. r=dao,fluent-reviewers,desktop-theme-reviewers,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D209469
2024-06-12 13:14:14 +00:00
Dão Gottwald
83e03babf4 Bug 1900851 - Remove rule for hiding extension toolbars in popup windows. r=Gijs
This goes back to bug 258405. WebExtensions can't add toolbars, so this rule shouldn't be needed anymore.

Differential Revision: https://phabricator.services.mozilla.com/D212724
2024-06-10 15:08:00 +00:00
Dão Gottwald
a546491d4a Bug 1900842 - Consolidate #nav-bar-overflow-button styling and move it to toolbarbuttons.css. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D212720
2024-06-06 14:31:05 +00:00
acseh
b6a31e8a4d Backed out 2 changesets (bug 1900842, bug 1900851) for causing mochitest failures on test_queryCaretRect.html CLOSED TREE
Backed out changeset 2dfc1c304ec4 (bug 1900851)
Backed out changeset 6934133fea44 (bug 1900842)
2024-06-06 16:15:22 +03:00
Dão Gottwald
610eed64a4 Bug 1900842 - Consolidate #nav-bar-overflow-button styling and move it to toolbarbuttons.css. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D212720
2024-06-06 11:51:00 +00:00
Moritz Beier
0dcee9a58f Bug 1610530 - Use classes instead of ids to access urlbar elements from UrlbarInput. r=dao,webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D212095
2024-06-04 12:58:52 +00:00
Emilio Cobos Álvarez
9ebe58a02d Bug 1896330 - Remove plain class from labels. r=dao,desktop-theme-reviewers
They only reset a margin, so let's do that explicitly instead.

Differential Revision: https://phabricator.services.mozilla.com/D210149
2024-05-13 14:14:45 +00:00
Anna Yeddi
e7d7d83a46 Bug 1886807 - Ensure Text-link in the Personal Toolbar provides an interactive role. r=Jamie
Ensure the `Manage bookmarks` control is marked up as a link and is accessible to assistive technology.

Also, by adding a `role="alert"` to the grouping, we are making sure that a screen reader like NVDA would be able to hear the static text on the Personal toolbar message when navigating the browser UI and that it would be announced to a user whenever this message is added to the toolbar, i.e. when the user removes the last bookmark from the Bookmarks Toolbar.

Differential Revision: https://phabricator.services.mozilla.com/D209588
2024-05-07 17:39:59 +00:00
Sarah Clements
fb5818e268 Bug 1892965 - Rename SidebarUI and SidebarLauncher r=sidebar-reviewers,places-reviewers,nsharpley
Differential Revision: https://phabricator.services.mozilla.com/D208901
2024-05-03 15:20:15 +00:00
Norisz Fay
a2156ad63a Backed out changeset 75c44ff76360 (bug 1892965) for causing multiple failures 2024-05-01 22:58:27 +03:00
Sarah Clements
5209eded5e Bug 1892965 - Rename SidebarUI and SidebarLauncher r=sidebar-reviewers,places-reviewers,nsharpley
Differential Revision: https://phabricator.services.mozilla.com/D208901
2024-05-01 12:19:41 +00:00
Greg Stoll
8a34220acd Bug 1878700 part 2 - show DLP icon in toolbar when content analysis is active r=handyman,desktop-theme-reviewers,fluent-reviewers,emilio,bolsson,Gijs
This also opens SUMO when the icon is clicked on. (the real page will be made as a part of bug 1882595)

Differential Revision: https://phabricator.services.mozilla.com/D203686
2024-04-15 14:25:53 +00:00
Greg Stoll
3561840907 Bug 1878700 part 1 - add DLP icon to toolbar only if contentanalysisactive is true r=desktop-theme-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D203685
2024-04-15 14:25:53 +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
Emily McMinn
d4f51984fa Bug 1724300 - Remove What's New Panel, ToolbarPanelHub components & related tests & references r=desktop-theme-reviewers,omc-reviewers,aminomancer,pdahiya,emilio,devtools-reviewers,firefox-desktop-core-reviewers ,home-newtab-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D201867
2024-03-21 22:05:28 +00:00
Erik Nordin
af227411f2 Bug 1880357 - Rename TranslationsPanel to FullPageTranslationsPanel r=translations-reviewers,gregtatum
Renames the TranslationsPanel class itself to FullPageTranslationsPanel
to distinguish it from the SelectTranslationsPanel class.

Depends on D200877

Differential Revision: https://phabricator.services.mozilla.com/D201280
2024-02-23 21:30:37 +00:00
Emilio Cobos Álvarez
d5b6b3b00a Bug 1880749 - Simplify arrowpanel animation code. r=Gijs
Move it out of the UA sheet into popup.css, and share most of the code
between macOS and non-macOS.

Also, don't duplicate it for the bookmarks popup. Instead just add an
animatable-menupopup class for it.

Differential Revision: https://phabricator.services.mozilla.com/D202108
2024-02-19 13:15:40 +00:00
Anna Yeddi
b78aed55a7 Bug 1864962 - Part 2. Update AccessibilityUtils to account for the purposefully non-focusable Go button in the URL Bar. r=Jamie,adw
Since, in the bug 1875654, we have updated the `browser-toolbarKeyNav.js` to ensure the keyboard navigation handler accounts for intentionally non-focusable controls when calculating focus behavior of toolbar buttons.

We are updating the URL Bar `Go` button markup to ensure it won't be included in the keyboard focus order (since a keyboard-only user could press `Enter` to achieve the same submission of their search query), as well as associated mochitests since we do not need to separately set an environment to skip the focus check. This is because we also fine-tune the AccessibilityUtils' `isKeyboardFocusableBrowserToolbarButton()` check to ensure more through confirmation of the image button in question.

Differential Revision: https://phabricator.services.mozilla.com/D199394
2024-01-29 19:24:07 +00:00
Nikki Sharpley
fe19392699 Bug 1864517 - "See tabs from synced devices" should link to the synced tabs category in Firefox View r=fxview-reviewers,markh,kcochrane
Previously the "See tabs from synced devices" button redirected to `about:firefoxview`.

This patch updates the `openTab` function to accept a category instead of an entryPoint or event.

For previous instances where `openTab` passed an event, `openTab` has been replaced with `openToolbarMouseEvent` to handle event.

We should open an issue in FxA to update the following `entryPoint` from "preferences" to "syncedtabs".
2b2ee47c4b/packages/fxa-content-server/app/scripts/views/pair/auth_complete.js (L55-L63)

Depends on D196208

Differential Revision: https://phabricator.services.mozilla.com/D196881
2024-01-09 22:11:25 +00:00
Tarik Eshaq
0016f362cd Bug 1868849: Removes Firefox Account branding from toolbar button tooltip. r=dschomburg,fluent-reviewers,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D196486
2023-12-19 21:57:48 +00:00
Anna Yeddi
da8c38c385 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
db2dcb6c04 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
932ff54356 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
6133efe282 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
f8d7ea2ff1 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
97007df73d 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
6487a18f04 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
88a32df381 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
01d5b71c28 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
3efa9b6ff1 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
5e89f4908b 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
8c85348a92 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
519c6a54e9 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
310b17cc95 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
b9b0488b61 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
f4139c1440 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
5636a5eb5f 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
a51c5cc0a6 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
47fdb82c12 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
bfcc5c35c3 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
3aa7701c21 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
3b410a75e7 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
6be165a2c9 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
2b648df481 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
6f44c5456e 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
f7bb93f59c 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
67a233d35f 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
b6311d6f18 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
d15d55c518 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
f045e2bc2b 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