Commit Graph

221 Commits

Author SHA1 Message Date
Nikki Sharpley
525619dde7 Bug 1927258 - Add a fade effect when vertical pinned tabs overflow r=sidebar-reviewers,desktop-theme-reviewers,tabbrowser-reviewers,emilio,reusable-components-reviewers,dao,tgiles,sfoster
Differential Revision: https://phabricator.services.mozilla.com/D237645
2025-02-25 22:01:56 +00:00
Greg Stoll
be00c74732 Bug 1948884 - make Content Analysis icon show up with vertical tabs r=desktop-theme-reviewers,sfoster
Differential Revision: https://phabricator.services.mozilla.com/D238669
2025-02-25 20:21:52 +00:00
Emilio Cobos Álvarez
613b1f463e Bug 1941152 - Don't consider notifications toolbar draggable. r=desktop-theme-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D233986
2025-01-13 12:55:00 +00:00
Emilio Cobos Álvarez
b24d6ef3e4 Bug 1935035 - Use a <toolbar> for notifications. r=desktop-theme-reviewers,dao
I'm not sure off-hand how to test the tab-specific notifications, but
that uses no particular styling so seems it should just work?

Differential Revision: https://phabricator.services.mozilla.com/D233427
2025-01-08 15:02:34 +00:00
Daisuke Akatsuka
abd3414bd9 Bug 1937363: Show/Focus Unified Search Button when P&S icon group gets focus r=desktop-theme-reviewers,urlbar-reviewers,dao,tabbrowser-reviewers,daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D232160
2024-12-24 04:02:25 +00:00
Nikki Sharpley
2406690a12 Bug 1932478 - create a new draggable space directly to the left of the URL bar when in vertical tabs mode r=sidebar-reviewers,desktop-theme-reviewers,tabbrowser-reviewers,dao,Gijs
- and remove space next to hamburger menu

Differential Revision: https://phabricator.services.mozilla.com/D230988
2024-12-10 18:19:41 +00:00
Narcis Beleuzu
02b99b99dd Backed out changeset ce16236a08a0 (bug 1932478) for bc failure on /browser_UsageTelemetry_toolbars.js 2024-12-10 02:57:32 +02:00
Nikki Sharpley
36d391d42e Bug 1932478 - create a new draggable space directly to the left of the URL bar when in vertical tabs mode r=sidebar-reviewers,desktop-theme-reviewers,tabbrowser-reviewers,dao,Gijs
- and remove space next to hamburger menu

Differential Revision: https://phabricator.services.mozilla.com/D230988
2024-12-09 21:17:46 +00:00
Stanca Serban
da3d608a00 Backed out changeset dc6b2995a01c (bug 1932478) for causing mochitests failures in browser_vertical_tabs_customize_navbar.js. CLOSED TREE 2024-12-09 21:06:49 +02:00
Nikki Sharpley
716925c0a7 Bug 1932478 - create a new draggable space directly to the left of the URL bar when in vertical tabs mode r=sidebar-reviewers,desktop-theme-reviewers,tabbrowser-reviewers,dao,Gijs
- and remove space next to hamburger menu

Differential Revision: https://phabricator.services.mozilla.com/D230988
2024-12-09 17:23:13 +00:00
Norisz Fay
a5c008ec4d Backed out changeset 41beb5fac9ba (bug 1932478) for causing bc failures on browser_1042100_default_placements_update.js, browser_HomePage_add_button.js 2024-12-06 18:36:16 +02:00
Nikki Sharpley
d7137be793 Bug 1932478 - create a new draggable space directly to the left of the URL bar when in vertical tabs mode r=sidebar-reviewers,desktop-theme-reviewers,tabbrowser-reviewers,dao,Gijs
- and remove space next to hamburger menu

Differential Revision: https://phabricator.services.mozilla.com/D230988
2024-12-06 15:35:13 +00:00
Daisuke Akatsuka
d7e1d7ee42 Bug 1928132: Show Unified Search Button always r=desktop-theme-reviewers,daleharvey,dao
Differential Revision: https://phabricator.services.mozilla.com/D228953
2024-12-05 07:13:31 +00:00
Norisz Fay
5caeaca8fe Backed out 2 changesets (bug 1928132) for causing failures on browser_mouseout_notification_panel.js and Bug 1934387, Bug 1934388, Bug 1934389 CLOSED TREE
Backed out changeset 2ea4986f9eb8 (bug 1928132)
Backed out changeset 4a72ad308d0c (bug 1928132)
2024-11-30 15:43:28 +02:00
Daisuke Akatsuka
3f8af9f7fe Bug 1928132: Show Unified Search Button always r=desktop-theme-reviewers,daleharvey,dao
Differential Revision: https://phabricator.services.mozilla.com/D228953
2024-11-29 21:24:52 +00:00
Goloman Adrian
2cd2737f6f Backed out 2 changesets (bug 1928132) for causing bc failures browser_popupNotification_2.js. CLOSED TREE
Backed out changeset 5882194e7456 (bug 1928132)
Backed out changeset 0d13b91f55e0 (bug 1928132)
2024-11-29 15:18:36 +02:00
Daisuke Akatsuka
c48a63d430 Bug 1928132: Show Unified Search Button always r=desktop-theme-reviewers,daleharvey,dao
Differential Revision: https://phabricator.services.mozilla.com/D228953
2024-11-29 11:18:02 +00:00
Simon Friedberger
fbecda57e6 Bug 1932640. Remove View:FullScreen event handler. r=mossop
Depends on D229917

Differential Revision: https://phabricator.services.mozilla.com/D229918
2024-11-25 22:52:01 +00:00
Emilio Cobos Álvarez
883968ff6c Bug 1928151 - With vertical tabs, make the sidebar and toolbars match the toolbox. r=sidebar-reviewers,sfoster,desktop-theme-reviewers,sclements
As per discussion with UX, we might want the toolbox background to be
different in (some of) our default themes in this case, but that seems
orthogonal, and this seems somewhat straight-forward.

Differential Revision: https://phabricator.services.mozilla.com/D227494
2024-11-09 00:07:54 +00:00
Gijs Kruitbosch
ffd84b975c Bug 1923363 - stop the all tabs menu closing if in the overflow panel, r=mconley
This just mirrors markup we already have on e.g. the library button.

Differential Revision: https://phabricator.services.mozilla.com/D226771
2024-10-24 16:10:52 +00:00
Kelly Cochrane
1afcb7b78b Bug 1923052 - Show private browsing indicator icon in navbar when vertical tabs are enabled r=desktop-theme-reviewers,sidebar-reviewers,fluent-reviewers,jsudiaman,dao,sfoster
Differential Revision: https://phabricator.services.mozilla.com/D226377
2024-10-23 13:40:31 +00:00
Emilio Cobos Álvarez
4ea54f6e0f Bug 1921811 - Make URLBar a popover. r=emilio,desktop-theme-reviewers,tabbrowser-reviewers,sidebar-reviewers,urlbar-reviewers,dao,mak,dao?
* Fix various z-index/paint order issues by making the urlbar a popover - which moves the open
 urlbar to the top layer, outside the toolbox

* Adjust the urlbar position when the autohide menubar shows and hides

* Temporarily disable the browser_urlbar_keyed_search.js which needs revisiting to measure reflows under regular, non-test-specific conditions

Combines work from nsharpley and sfoster on top of emilio's original popover patch

Differential Revision: https://phabricator.services.mozilla.com/D224201
2024-10-21 23:39:16 +00:00
Tom Schuster
47c2070931 Bug 1912403 - Remove inline mouseup handlers from navigator-toolbox. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D226324
2024-10-21 15:08:14 +00:00
Tom Schuster
bb146266e9 Bug 1912403 - Remove inline mouseover handler from navigator-toolbox. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D226283
2024-10-21 15:08:13 +00:00
Norisz Fay
224773d44d Backed out changeset d4c4540a5a4a (bug 1921811) for causing bc failures on browser_urlbar_keyed_search.js CLOSED TREE 2024-10-21 15:10:55 +03:00
Emilio Cobos Álvarez
9fa478edc3 Bug 1921811 - Make URLBar a popover. r=emilio,desktop-theme-reviewers,tabbrowser-reviewers,sidebar-reviewers,urlbar-reviewers,dao,mak,dao?
* Fix various z-index/paint order issues by making the urlbar a popover - which moves the open
 urlbar to the top layer, outside the toolbox

* Adjust the urlbar position when the autohide menubar shows and hides

Combines work from nsharpley and sfoster on top of emilio's original popover patch

Differential Revision: https://phabricator.services.mozilla.com/D224201
2024-10-21 10:24:06 +00:00
Tom Schuster
168c069605 Bug 1912403 - Remove inline focus handler from navigator-toolbox. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D224731
2024-10-18 09:50:37 +00:00
Tom Schuster
05e3f046df Bug 1912403 - Remove inline keydown handler from navigator-toolbox. r=Gijs,places-reviewers,mak
Differential Revision: https://phabricator.services.mozilla.com/D224124
2024-10-18 09:50:36 +00:00
Sam Foster
33db87f9be Bug 1922898 - Correct inactive titlebar color in linux; ensure titlebar toolbars get the browser-titlebar class. r=desktop-theme-reviewers,dao,tabbrowser-reviewers
- Remove the titlebar-color class which is now redundant with browser-titlebar
- Fix the specificity in the linux stylesheet ensuring titlebar toolbars show the theme's background images not the falback colors

Differential Revision: https://phabricator.services.mozilla.com/D224862
2024-10-10 17:28:23 +00:00
Gregory Pappas
ab4cbe853e Bug 1918681 - part 1: Allow moving the list-all-tabs button again r=dao
In bug 878551, the ability to move the list-all-tabs button was	removed
for a few reasons:

> Moving this widget to the navbar gives it a tiny scaled version of Toolbar.png (like a horizontal line).

> Moving it back to the tab strip make it misbehave. It disappears, but sometimes flickers into view when opening/closing a tab.

These issues are no longer present, so we should be able to allow moving
the list-all-tabs button once again.

Differential Revision: https://phabricator.services.mozilla.com/D224623
2024-10-09 02:35:42 +00:00
Tamas Szentpeteri
0f6c394a5e Backed out changeset 04e9738d508b (bug 1918681) for causing mn failures related to test_initialize_vertical_tabs.py. CLOSED TREE 2024-10-09 03:28:27 +03:00
Gregory Pappas
c07e0ea87e Bug 1918681 - part 1: Allow moving the list-all-tabs button again r=dao
In bug 878551, the ability to move the list-all-tabs button was	removed
for a few reasons:

> Moving this widget to the navbar gives it a tiny scaled version of Toolbar.png (like a horizontal line).

> Moving it back to the tab strip make it misbehave. It disappears, but sometimes flickers into view when opening/closing a tab.

These issues are no longer present, so we should be able to allow moving
the list-all-tabs button once again.

Differential Revision: https://phabricator.services.mozilla.com/D224623
2024-10-08 20:02:20 +00:00
Tamas Szentpeteri
f344fc775f Backed out changeset 9ae14bfd6300 (bug 1918681) for causing mochitest failures on browser_UsageTelemetry_toolbars.js. CLOSED TREE 2024-10-08 21:21:38 +03:00
Gregory Pappas
49e18c5cd9 Bug 1918681 - part 1: Allow moving the list-all-tabs button again r=dao
In bug 878551, the ability to move the list-all-tabs button was	removed
for a few reasons:

> Moving this widget to the navbar gives it a tiny scaled version of Toolbar.png (like a horizontal line).

> Moving it back to the tab strip make it misbehave. It disappears, but sometimes flickers into view when opening/closing a tab.

These issues are no longer present, so we should be able to allow moving
the list-all-tabs button once again.

Differential Revision: https://phabricator.services.mozilla.com/D224623
2024-10-08 14:51:22 +00:00
Tom Schuster
202ab5bf0c Bug 1912403 - Remove inline drag-and-drop handlers from navigator-toolbox. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D220795
2024-10-07 11:50:08 +00:00
Sam Foster
58c1f20705 Bug 1899598 - Hide the horizontal tab strip when vertical tabs are enabled. r=mconley,desktop-theme-reviewers,tabbrowser-reviewers,sidebar-reviewers,emilio,willdurand,sclements
* Remove the #titlebar element, and ensure toolbars that comprise the titlebar get a .browser-titlebar class
* Ensure we call TabBarVisibility.update when initializing with verticalTab=true
* Adjust TabBarVisibility logic so we allow for the vertical tabs case
* Give #navigator-toolbar z-index: var(--browser-area-z-index-toolbox) to ensure the urlbar view doesnt get clipped behind the lower elements

Differential Revision: https://phabricator.services.mozilla.com/D222059
2024-10-02 22:14:13 +00:00
Tom Schuster
8e429f9592 Bug 1912403 - Remove the remaining inline keypress handlers from navigator-toolbox. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D219979
2024-10-02 07:58:42 +00:00
Tom Schuster
70465607e1 Bug 1912403 - Remove the remaining inline click (and associated keypress) handlers from navigator-toolbox. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D221001
2024-10-02 07:58:42 +00:00
Tom Schuster
bbae806c40 Bug 1912403 - Remove inline click handlers from navigator-toolbox that react to tab navigation. r=pip-reviewers,tabbrowser-reviewers,mconley,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D220817
2024-10-02 07:58:41 +00:00
Iulian Moraru
4a9432209c Backed out changeset 98b6ddc6deed (bug 1899598) for causing marionette failures on test_initialize_vertical_tabs.py. CLOSED TREE 2024-10-02 07:49:47 +03:00
Sam Foster
15a36fe751 Bug 1899598 - Hide the horizontal tab strip when vertical tabs are enabled. r=mconley,desktop-theme-reviewers,tabbrowser-reviewers,sidebar-reviewers,emilio,willdurand,sclements
* Remove the #titlebar element, and ensure toolbars that comprise the titlebar get a .browser-titlebar class
* Ensure we call TabBarVisibility.update when initializing with verticalTab=true
* Adjust TabBarVisibility logic so we allow for the vertical tabs case
* Give #navigator-toolbar z-index: var(--browser-area-z-index-toolbox) to ensure the urlbar view doesnt get clipped behind the lower elements

Differential Revision: https://phabricator.services.mozilla.com/D222059
2024-10-01 23:37:37 +00:00
Sarah Clements
bc1fc56f49 Bug 1921336 - Remove focus from vertical-pinned-tabs-container r=tabbrowser-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D224224
2024-10-01 13:58:09 +00:00
Tom Schuster
45ba41085f Bug 1912403 - Remove inline mousedown handlers from navigator-toolbox. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D221479
2024-10-01 10:26:38 +00:00
Tom Schuster
3fd6339b81 Bug 1912403 - Remove inline command handlers from navigator-toolbox. r=Gijs,mossop
Differential Revision: https://phabricator.services.mozilla.com/D221301
2024-10-01 10:26:37 +00:00
Tom Schuster
032187cf84 Bug 1912403 - Remove inline popshowing events handlers from navigator-toolbox. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D219428
2024-10-01 10:26:36 +00:00
Stanca Serban
24647acde4 Backed out changeset 0b970f2cd8fd (bug 1899598) for causing devtools failures in browser_aboutdebugging_devtoolstoolbox_tooltip_markupview.js. CLOSED TREE 2024-10-01 01:54:25 +03:00
Sam Foster
ef30ebaf5c Bug 1899598 - Hide the horizontal tab strip when vertical tabs are enabled. r=mconley,desktop-theme-reviewers,tabbrowser-reviewers,sidebar-reviewers,emilio,willdurand,sclements
* Remove the #titlebar element, and ensure toolbars that comprise the titlebar get a .browser-titlebar class
* Ensure we call TabBarVisibility.update when initializing with verticalTab=true
* Adjust TabBarVisibility logic so we allow for the vertical tabs case
* Give #navigator-toolbar z-index: var(--browser-area-z-index-toolbox) to ensure the urlbar view doesnt get clipped behind the lower elements

Differential Revision: https://phabricator.services.mozilla.com/D222059
2024-09-30 18:10:42 +00:00
Mark Striemer
7a4503972d Bug 1910358 - Unify tab and button sizes in sidebar r=sidebar-reviewers,desktop-theme-reviewers,tabbrowser-reviewers,dao,sclements,nsharpley
Also move sidebar padding into tabs from the container, show scrollbar
gutter with non-overlay scrollbars, prevent icon shifting when expanding
the sidebar, avoid cropping tab background shadows.

Co-authored-by: Tim Giles <tgiles@mozilla.com>

Differential Revision: https://phabricator.services.mozilla.com/D222659
2024-09-27 15:19:32 +00:00
James Teow
728cf35f79 Bug 1915273 - Allow revert button to always show until search terms change and fix keyboard focus - r=adw,desktop-theme-reviewers,urlbar-reviewers,dao
The main purpose of this patch is to make the visibility of the revert button consistent to make it more accessible. After talking with Josh, we agreed the revert icon should always show in an `invalid` pageproxystate until `userTypedValue` differs from the search string. Doing so will make the Revert button be more predictable for keyboard users instead of hiding it when the input field is focused and then showing it again when they press tab (or not making it focusable at all).

The Go button (the right arrow button) will show up again once the user has modified the search terms. I didn't think this would be much of an issue since the Go arrow is not focusable by keyboard, it's not visible when the address bar is not focused, and "Enter" is a well known shortcut to doing the same function.

This involved checking when `persistsearchterms` was changed to `false` and removing it to instead remove `persistsearchterms` when the search terms changed. This is reflected in the new expected behavior in the tests.

One issue was adding `focus` to the revert button via CSS caused focus issues. Tabbing from the left elements (reload button) to the input would skip the input altogether and go straight to the revert button and then to the Save to Pocket button. Pressing shift + tab to try and go back from the revert button to the input would get stuck in a loop between the input field and revert button. This was fixed with `<toolbartabstop/>` . I created a hideable container to ensure the tabstop only exists when the `persistsearchterms` state is active. And the new test checks that the tab behaviour is consistent.

Lastly, because keyboard users might press the Revert button, focusing the input seemed like a logical choice, or else when the focus is lost the user would need to tab all the way back to the input to do more actions. There is also an initiative to move inline Javascript out from markup.

Differential Revision: https://phabricator.services.mozilla.com/D223423
2024-09-25 22:07:11 +00:00
Sandor Molnar
66bf6a75d0 Backed out changeset e2ea6ce650da (bug 1912403) because "Items pinned to the overflow menu are broken". CLOSED TREE 2024-09-25 13:16:37 +03:00