Commit Graph

11541 Commits

Author SHA1 Message Date
Iulian Moraru
d2bc47834b Backed out changeset 1b56a9e3db55 (bug 1921562) for causing conflicts when trying to backout Bug 1914452. 2024-09-28 02:35:55 +03:00
Nikki Sharpley
28adb5f06a Bug 1921562 - Update and animate sidebar toolbar button states r=sidebar-reviewers,desktop-theme-reviewers,sfoster
- follow up to correct patch for Bug 1914452 and add animations

Differential Revision: https://phabricator.services.mozilla.com/D224025
2024-09-27 22:16:32 +00:00
Nikki Sharpley
8536a92e8d Bug 1914452 - Update revamp sidebar button to reflect sidebar states r=sidebar-reviewers,desktop-theme-reviewers,sfoster,jsudiaman
- different sidebar button icons for expanded, collapsed and hidden sidebar states
- move sidebar-button to beginning of navbar strip, to the left of back button

Differential Revision: https://phabricator.services.mozilla.com/D223406
2024-09-27 20:33:59 +00:00
Tim Giles
2b6c0fd5ca Bug 1919403 - Remove extra space from top of sidebar when there are no pinned tabs. r=sidebar-reviewers,desktop-theme-reviewers,tabbrowser-reviewers,dao,mstriemer
By only setting display: grid when there are items in the pinned tabs
container, we prevent extra space from appearing at the top of the
sidebar.

Depends on D222659

Differential Revision: https://phabricator.services.mozilla.com/D223232
2024-09-27 15:19:33 +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
Hanna Jones
53da99d2a0 Bug 1838298 - Part 2: fix color token usage in line with new Stylelint rule r=desktop-theme-reviewers,settings-reviewers,reusable-components-reviewers,home-newtab-reviewers,dao,thecount
Differential Revision: https://phabricator.services.mozilla.com/D222698
2024-09-27 14:58:41 +00:00
Daniel Holbert
ef7b76dfe4 Bug 1921128: Pixel-snap the contents of dialog boxes, to avoid arbitrary layout/clipping differences when viewport is even vs. odd pixel height. r=dao,desktop-theme-reviewers,tabbrowser-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D223797
2024-09-26 21:02:06 +00:00
Dão Gottwald
28507f6798 Bug 1921196 - Remove --buttons-destructive-* variables. r=desktop-theme-reviewers,hjones
Differential Revision: https://phabricator.services.mozilla.com/D223708
2024-09-26 19:41:21 +00:00
Dão Gottwald
9c09b76189 Bug 1920691 - Properly target selected tabs in vertical tabs close button rule. r=Gijs,sidebar-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D223310
2024-09-26 17:12:28 +00:00
Dão Gottwald
44addcb086 Bug 1920683 - Consolidate tab container font on macOS. r=desktop-theme-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D223301
2024-09-26 17:05:15 +00:00
Dão Gottwald
b6ae275e6a Bug 1921199 - Use original path from BuiltInThemeConfig.sys.mjs in BuiltInThemes.maybeInstallActiveBuiltInTheme. r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D223727
2024-09-26 14:59:45 +00:00
Ed Lee
f89496d229 Bug 1914977 - In-sidebar chatbot initial onboarding r=tarek,desktop-theme-reviewers,fluent-reviewers,bolsson,hjones
Reuse welcome bundle for sidebar onboarding. Add/reuse icons including brands and import-export. Expose onboarding strings for localization.

Differential Revision: https://phabricator.services.mozilla.com/D220155
2024-09-25 23:01:19 +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
Emilio Cobos Álvarez
ddeb6eef91 Bug 1915805 - Make sure revamped sidebar is opaque. r=desktop-theme-reviewers,sidebar-reviewers,dao,nsharpley
Differential Revision: https://phabricator.services.mozilla.com/D223620
2024-09-25 19:19:04 +00:00
Meera Murthy
159abcbab3 Bug 1907591 - [translations] Display error messages using moz-message-bar. r=nordzilla,fluent-reviewers,settings-reviewers,desktop-theme-reviewers,translations-reviewers,bolsson,dao,mossop
Differential Revision: https://phabricator.services.mozilla.com/D220870
2024-09-25 17:52:38 +00:00
Gijs Kruitbosch
f2c00e669b Bug 1915862 - update selected tab background in the dark theme to be more differentiated and update tab text colour for contrast, r=dao,extension-reviewers,desktop-theme-reviewers,rpl
Differential Revision: https://phabricator.services.mozilla.com/D223489
2024-09-25 13:29:00 +00:00
Dão Gottwald
26e76365e7 Bug 1920500 - Remove --button-primary-bgcolor, --button-primary-hover-bgcolor, --button-primary-active-bgcolor, --button-primary-color. r=desktop-theme-reviewers,reusable-components-reviewers,emilio,hjones
Differential Revision: https://phabricator.services.mozilla.com/D223137
2024-09-25 05:13:31 +00:00
Dão Gottwald
bf12c0610d Bug 1920666 - Make tab group line extend under the group label. r=jswinarton
Differential Revision: https://phabricator.services.mozilla.com/D223286
2024-09-24 12:46:45 +00:00
Dão Gottwald
3d230d7cb5 Bug 1919439 - Fix soundplaying / muted / activemedia-blocked icon border color to always be black or white. r=desktop-theme-reviewers,Gijs,emilio
Differential Revision: https://phabricator.services.mozilla.com/D223288
2024-09-24 11:25:04 +00:00
Gijs Kruitbosch
a8d13f90fa Bug 1915862 - fix hover background colour on pinned tabs in vertical tabs mode, r=desktop-theme-reviewers,tabbrowser-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D223183
2024-09-24 11:13:17 +00:00
Norisz Fay
09a2236ef6 Backed out changeset fad1cda93cc8 (bug 1908426) for causing multiple failures CLOSED TREE 2024-09-24 02:13:41 +03:00
DJ
6ca1b918f3 Bug 1908426 - add UI to edit group label / color after creation. r=jswinarton,dao,fluent-reviewers,desktop-theme-reviewers,tabbrowser-reviewers,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D222017
2024-09-23 21:17:14 +00:00
jabram
7ea581e56b Bug 1916829 - Use new icon-color-warning CSS token r=cmkm,desktop-theme-reviewers,hjones
Differential Revision: https://phabricator.services.mozilla.com/D222812
2024-09-23 19:49:42 +00:00
Dão Gottwald
baa52cc000 Bug 1920360 - Use descendant selectors for [closebuttons] rules to account for grouped tabs. r=dwalker,tabbrowser-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D223061
2024-09-23 19:34:01 +00:00
Dão Gottwald
ab2b8f342a Bug 1920359 - Move tab group line from tab group element to inside of tabs. r=dwalker,tabbrowser-reviewers
To address bug 1918686 (tabs within tab groups have incorrect width), we're exploring using display:contents on tab-group elements, and in preparation for that we need to move the tab group line to be inside tab elements instead.

Differential Revision: https://phabricator.services.mozilla.com/D223060
2024-09-23 19:34:01 +00:00
Stephen Thompson
d3b7b50268 Bug 1918684 - tab group label style fixes r=jswinarton,desktop-theme-reviewers,tabbrowser-reviewers,dao
- match tab typography
- better match tab group design spec spacing
- better match "empty label" tab group design spec

Differential Revision: https://phabricator.services.mozilla.com/D222671
2024-09-22 08:32:46 +00:00
James Teow
ac9f83cde0 Bug 1919829 - Remove urlbar inner input-box targeting for text overflow state - r=dao,desktop-theme-reviewers
I forgot to modify this file when I removed the inner input box.

Differential Revision: https://phabricator.services.mozilla.com/D222860
2024-09-20 11:53:29 +00:00
Kelly Cochrane
8cacd1c229 Bug 1906888 - Update focus order and move new tab button to the bottom for vertical tabs r=desktop-theme-reviewers,tabbrowser-reviewers,dao,sidebar-reviewers,ayeddi
Differential Revision: https://phabricator.services.mozilla.com/D221244
2024-09-20 11:40:04 +00:00
Henry Wilkes
c2fbd51ec1 Bug 1917595 - Draw separator between toolbar item and tabs in private windows. r=desktop-theme-reviewers,sfoster,kcochrane
Differential Revision: https://phabricator.services.mozilla.com/D221483
2024-09-20 07:55:45 +00:00
Fred Chasen
89e6d0b8cb Bug 1916017 - Add Review Checker as a sidebar tool. r=shopping-reviewers,fluent-reviewers,desktop-theme-reviewers,sidebar-reviewers,sclements,kpatenio
- Registers the a new review checker sidebar using `registerPrefSidebar` that will display if  `browser.shopping.experience2023.integratedSidebar` is enabled.
- Hides any open review checker sidebars if the pref changes.
- Adds `reviewchecker` to the sidebar revamp tools pref.

Note: this only adds the sidebar tool, it will not load anything as the actors aren't setup yet.

Differential Revision: https://phabricator.services.mozilla.com/D221362
2024-09-19 17:07:29 +00:00
Butkovits Atila
5a9a789f82 Backed out changeset fb2f7f9f6def (bug 1906888) for causing failures at browser_newtabButton.js. CLOSED TREE 2024-09-19 22:04:46 +03:00
Kelly Cochrane
a83714bc93 Bug 1906888 - Update focus order and move new tab button to the bottom for vertical tabs r=desktop-theme-reviewers,tabbrowser-reviewers,dao,sidebar-reviewers,ayeddi
Differential Revision: https://phabricator.services.mozilla.com/D221244
2024-09-19 15:54:02 +00:00
Gijs Kruitbosch
d4b4962785 Bug 1913704 - remove pioneer/ion now that it's been retired, r=rhelmer,chutten,firefox-desktop-core-reviewers ,extension-reviewers,desktop-theme-reviewers,emilio,mossop,robwu
Differential Revision: https://phabricator.services.mozilla.com/D220751
2024-09-19 13:32:22 +00:00
Dão Gottwald
5d7638a38d Bug 1917337 - Implement --text-color-disabled. r=desktop-theme-reviewers,reusable-components-reviewers,emilio,hjones
Differential Revision: https://phabricator.services.mozilla.com/D222503
2024-09-18 17:30:35 +00:00
Dão Gottwald
a968b39209 Bug 1919262 - Remove --button-color. r=desktop-theme-reviewers,reusable-components-reviewers,emilio,hjones
Differential Revision: https://phabricator.services.mozilla.com/D222439
2024-09-18 06:04:39 +00:00
James Teow
d5710cd89a Bug 1919193 - Simplify Persisted Search UI - r=adw,desktop-theme-reviewers,urlbar-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D222489
2024-09-18 04:44:31 +00:00
Dale Harvey
dcd4d51aaa Bug 1908922 - Update dedicated search button paddings to match UX spec. r=mak,desktop-theme-reviewers,urlbar-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D221026
2024-09-17 09:33:28 +00:00
Dão Gottwald
074f4c3d10 Bug 1918638 - [Vertical tabs] Stop clipping the tab-background shadow. r=sidebar-reviewers,tabbrowser-reviewers,sclements,kcochrane,dwalker
Differential Revision: https://phabricator.services.mozilla.com/D222209
2024-09-17 08:21:25 +00:00
Dão Gottwald
23da2b3201 Bug 1918676 - Disable tab opening / closing animations and tab size locking in vertical mode, properly set --tab-min-width rather than overriding min-width in vertical mode, and restrict some styles to horizontal mode. r=sidebar-reviewers,desktop-theme-reviewers,tabbrowser-reviewers,emilio,kcochrane,sclements,dwalker
Differential Revision: https://phabricator.services.mozilla.com/D222202
2024-09-17 08:21:24 +00:00
Jose Duarte
b71c1682fe Bug 1918921 - Paint splitter over sidebar box r=emilio,desktop-theme-reviewers,sidebar-reviewers,sfoster
Differential Revision: https://phabricator.services.mozilla.com/D222377
2024-09-16 23:15:22 +00:00
Noemi Erli
353976cead Backed out 2 changesets (bug 1918676, bug 1918638) for causing browser chrome failures
Backed out changeset c36ab1469893 (bug 1918638)
Backed out changeset f973faab6674 (bug 1918676)
2024-09-17 02:34:41 +03:00
Dão Gottwald
6b79a507e1 Bug 1918638 - [Vertical tabs] Stop clipping the tab-background shadow. r=sidebar-reviewers,tabbrowser-reviewers,sclements,kcochrane,dwalker
Differential Revision: https://phabricator.services.mozilla.com/D222209
2024-09-16 19:53:43 +00:00
Dão Gottwald
2b53d56022 Bug 1918676 - Disable tab opening / closing animations and tab size locking in vertical mode, properly set --tab-min-width rather than overriding min-width in vertical mode, and restrict some styles to horizontal mode. r=sidebar-reviewers,desktop-theme-reviewers,tabbrowser-reviewers,emilio,kcochrane,sclements,dwalker
Differential Revision: https://phabricator.services.mozilla.com/D222202
2024-09-16 19:53:42 +00:00
Emilio Cobos Álvarez
90897ae6d8 Bug 1917458 - Remove bookmarks-toolbar-overlapping-browser code. r=desktop-theme-reviewers,tabbrowser-reviewers,dao
After the previous patch, we don't jank all remote tabs when resizing
the browser, so this can go. This should also make general window
resizing faster.

Differential Revision: https://phabricator.services.mozilla.com/D221996
2024-09-16 13:21:51 +00:00
Marco Bonardo
c9cadb9fef Bug 1909189 - Don't shift URL in the Address Bar on mouse focus, delay DOM changes to the first input event. r=jteow,daleharvey,desktop-theme-reviewers,urlbar-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D221031
2024-09-16 08:30:48 +00:00
Cristian Tuns
482d5b9f87 Backed out 5 changesets (bug 1917458) for causing wpt failures in no_window_open_when_term_nesting_level_nonzero.window.html CLOSED TREE
Backed out changeset 157eb2ada2ca (bug 1917458)
Backed out changeset 3f6d758ac9c6 (bug 1917458)
Backed out changeset 65384dcd3d9a (bug 1917458)
Backed out changeset e4cca274eb5a (bug 1917458)
Backed out changeset 2b1c3c2aef15 (bug 1917458)
2024-09-14 21:04:04 -04:00
Emilio Cobos Álvarez
8d2ba7e03e Bug 1917458 - Remove bookmarks-toolbar-overlapping-browser code. r=desktop-theme-reviewers,tabbrowser-reviewers,dao
After the previous patch, we don't jank all remote tabs when resizing
the browser, so this can go. This should also make general window
resizing faster.

Differential Revision: https://phabricator.services.mozilla.com/D221996
2024-09-14 23:23:52 +00:00
Daisuke Akatsuka
68985d48ee Bug 1913205: Display url upon pressing shift/ctrl for switch to tab suggestion r=desktop-theme-reviewers,daleharvey,dao
Differential Revision: https://phabricator.services.mozilla.com/D221759
2024-09-13 22:09:33 +00:00
Dão Gottwald
547ffb5443 Bug 1918726 - Vertical pinned tabs container should take up no vertical space when empty. r=kcochrane,desktop-theme-reviewers,tabbrowser-reviewers,emilio,dwalker
Differential Revision: https://phabricator.services.mozilla.com/D222140
2024-09-13 19:09:14 +00:00
Dão Gottwald
7269305d40 Bug 1918608 - Clean up [orient=...] and [expanded] rules. r=kcochrane,desktop-theme-reviewers,sidebar-reviewers,emilio
The `orient` attribute should always be set on `#tabbrowser-tabs`, so we can use `[orient="horizontal"]` instead of `:not([orient="vertical"])`.

The `expanded` attribute should be set on `#tabbrowser-tabs` too, so we can use that directly there instead of looking at `sidebar-main`.

Differential Revision: https://phabricator.services.mozilla.com/D222086
2024-09-13 19:09:13 +00:00