Commit Graph

219 Commits

Author SHA1 Message Date
Rob Wu
1dda631789 Bug 1948259 - Add menu item to hide/show Extensions Button in Customize mode r=willdurand,fluent-reviewers,bolsson
Bug 1948258 added a way to hide the Extensions Button, but not a way to
show it. This patch makes the following changes:

- always show the Extensions button in Customization mode, even if the
  user wants to hide the button unconditionally.

- add menu item to toggle the visibility of the Extensions Button.

- the new menu item is not shown anywhere except on the Extensions
  Button in Customization mode.

Differential Revision: https://phabricator.services.mozilla.com/D248158
2025-05-20 09:56:21 +00:00
Greg Stoll
228d9e6901 Bug 1964993 - move "Unload Tab" tab context menu item between Pin and Duplicate r=tabbrowser-reviewers,nsharpley
This is per UX

Differential Revision: https://phabricator.services.mozilla.com/D248247
2025-05-07 15:01:54 +00:00
Nikki Sharpley
1c7e0d81c6 Bug 1919475 - Update context menu for History entries r=sidebar-reviewers,fluent-reviewers,fxview-reviewers,places-reviewers,bolsson,Standard8,kcochrane
- added "open in new tab", "open in new container tab", "bookmark page", "clear all data for website".
- updated "delete page from history"

Differential Revision: https://phabricator.services.mozilla.com/D241874
2025-04-16 18:22:15 +00:00
Norisz Fay
db5fc6c027 Backed out changeset 93c537af6ab8 (bug 1919475) for causing multiple bc failures CLOSED TREE 2025-04-12 01:10:21 +03:00
Nikki Sharpley
5b6624cacf Bug 1919475 - Update context menu for History entries r=sidebar-reviewers,fluent-reviewers,fxview-reviewers,places-reviewers,bolsson,Standard8,kcochrane
- added "open in new tab", "open in new container tab", "bookmark page", "clear all data for website".
- updated "delete page from history"

Differential Revision: https://phabricator.services.mozilla.com/D241874
2025-04-11 19:33:04 +00:00
Jonathan Sudiaman
e5d26fcea8 Bug 1924349 - Add other sorting options in History sidebar r=sidebar-reviewers,fluent-reviewers,desktop-theme-reviewers,fxview-reviewers,reusable-components-reviewers,bolsson,hjones,nsharpley
- Process history sorted by date and site, which is a nested mapping of (Date) => (Site) => Visit[], as opposed to sorting by date which is (Date) => Visit[], or site which is (Site) => Visit[].
- Also process history sorted by last visited, which is a "flat" array of Visit[], sorted by recency.
- A couple of minor <moz-card> tweaks to bring the "inner" cards closer to spec, but I think more work is still needed here.

Differential Revision: https://phabricator.services.mozilla.com/D244825
2025-04-10 15:20:30 +00:00
Goloman Adrian
834491dc87 Backed out changeset 01df955df632 (bug 1919475) for causing bc failures @browser_glean_sidebar.js. CLOSED TREE 2025-03-28 00:21:01 +02:00
Nikki Sharpley
89239b5610 Bug 1919475 - Update context menu for History entries r=sidebar-reviewers,fluent-reviewers,fxview-reviewers,places-reviewers,bolsson,Standard8,kcochrane
- added "open in new tab", "open in new container tab", "bookmark tab", "clear all data for website".
- updated "delete page from history"

Differential Revision: https://phabricator.services.mozilla.com/D241874
2025-03-27 21:08:51 +00:00
Daisuke Akatsuka
1cc96a27ab Bug 1953920: Avoid capturing event on Unified Search Button when hiding the popup by mouse r=daleharvey
Depends on D241542

Differential Revision: https://phabricator.services.mozilla.com/D241700
2025-03-18 05:13:24 +00:00
Norisz Fay
17d578c8b5 Backed out 2 changesets (bug 1953920, bug 1953927) for causing searchModeSwitcher related failures CLOSED TREE
Backed out changeset 8b74e1a3e693 (bug 1953920)
Backed out changeset 4dfd7b14198d (bug 1953927)
2025-03-18 01:38:16 +02:00
Daisuke Akatsuka
4f5fc462ff Bug 1953920: Avoid capturing event on Unified Search Button when hiding the popup by mouse r=daleharvey
Depends on D241542

Differential Revision: https://phabricator.services.mozilla.com/D241700
2025-03-17 20:11:02 +00:00
Gijs Kruitbosch
d7ea8b75a5 Bug 1952416 - fix downloads button context menu ordering to be correct again, r=nsharpley
Differential Revision: https://phabricator.services.mozilla.com/D241109
2025-03-12 13:28:17 +00:00
Nikki Sharpley
af747cf20a Bug 1948342 - Update toolbar and tabstrip context menus to include vertical tabs and sidebar r=sidebar-reviewers,jsudiaman
Differential Revision: https://phabricator.services.mozilla.com/D239813
2025-02-28 21:29:56 +00:00
Butkovits Atila
2c6df00864 Backed out changeset b1a4f0700184 (bug 1948342) for causing failures at browser_customization_context_menus.js. CLOSED TREE 2025-02-28 22:25:01 +02:00
Nikki Sharpley
743bc5201e Bug 1948342 - Update toolbar and tabstrip context menus to include vertical tabs and sidebar r=sidebar-reviewers,jsudiaman
Differential Revision: https://phabricator.services.mozilla.com/D239813
2025-02-28 19:11:24 +00:00
Nikki Sharpley
3248e2b487 Bug 1949753 - Remove sidebar options from toolbar context menu unless triggered by sidebar button r=sidebar-reviewers,sfoster
Differential Revision: https://phabricator.services.mozilla.com/D239219
2025-02-24 17:04:27 +00:00
Nikki Sharpley
70e23c057f Bug 1941625 - Add context menu items for sidebar main r=sidebar-reviewers,fluent-reviewers,bolsson,kcochrane
On right clicking the sidebar main element when vertical tabs are disabled,
show options for hiding the sidebar, customizing the sidebar and turning on
vertical tabs.

Differential Revision: https://phabricator.services.mozilla.com/D237264
2025-02-18 19:26:53 +00:00
Cosmin Sabou
f14010e66b Backed out changeset 650ff35a3ff0 (bug 1941625) for causing browser_sidebar related failures. CLOSED TREE 2025-02-14 21:22:29 +02:00
Nikki Sharpley
4d1b9a0447 Bug 1941625 - Add context menu items for sidebar main r=sidebar-reviewers,fluent-reviewers,bolsson,kcochrane
On right clicking the sidebar main element when vertical tabs are disabled,
show options for hiding the sidebar, customizing the sidebar and turning on
vertical tabs.

Differential Revision: https://phabricator.services.mozilla.com/D237264
2025-02-14 15:55:45 +00:00
Nikki Sharpley
6e4326311f Bug 1946741 - Ensure vertical tabs toggle in context menu shows correct text r=sidebar-reviewers,kcochrane
There was a case where on initial opening of the tabstrip/sidebar-button context menu,
when updating the text based on vertical tabs, two l10n ids were shown: `data-lazy-l10n-id`
and `data-l10n-id`. Changing the it to just be a `data-l10n-id` avoids the duplication of
attributes.

Differential Revision: https://phabricator.services.mozilla.com/D238053
2025-02-14 15:29:50 +00:00
Jonathan Sudiaman
ff8389ea29 Bug 1946868 - Remove "Turn on/off Vertical Tabs" in the tab context menu r=sidebar-reviewers,tabbrowser-reviewers,nsharpley,dao
Backout of Bug 1944016 - Add new strings to tab context menu for switching to/from vertical tabs.

Differential Revision: https://phabricator.services.mozilla.com/D238106
2025-02-14 00:55:12 +00:00
Daisuke Akatsuka
e78979d818 Bug 1934410: Use menupopup element for Unified Search popup instead of panel r=daleharvey,desktop-theme-reviewers,emilio,dao,fluent-reviewers,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D232573
2025-02-12 23:47:19 +00:00
Alexandru Marc
c2a0f3fcfe Backed out changeset 26dd5b76091a (bug 1934410) for causing bc failures @ browser_searchMode 2025-02-10 16:39:36 +02:00
Daisuke Akatsuka
1ced078441 Bug 1934410: Use menupopup element for Unified Search popup instead of panel r=daleharvey,desktop-theme-reviewers,emilio,dao,fluent-reviewers,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D232573
2025-02-10 12:19:14 +00:00
Alexandru Marc
3b25cc24f7 Backed out changeset c28f8599b92c (bug 1934410) for causing bc failures @ browser_searchModeSwitcher_telemetry.js CLOSED TREE 2025-02-10 10:31:38 +02:00
Daisuke Akatsuka
e91bbe7c76 Bug 1934410: Use menupopup element for Unified Search popup instead of panel r=daleharvey,desktop-theme-reviewers,emilio,dao,fluent-reviewers,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D232573
2025-02-10 07:25:32 +00:00
Dão Gottwald
e357235ec8 Bug 1942393 - Make context menu order consistent between opened/closed tab groups. r=jswinarton
Differential Revision: https://phabricator.services.mozilla.com/D236925
2025-02-05 19:56:38 +00:00
Nick Grato
8a0166b97d Bug 1945171 - text selection cannot be dismissed with a click r=Mardak
Fixing the ability to dismiss the selected text on the first click once the panel is open

Differential Revision: https://phabricator.services.mozilla.com/D236394
2025-01-31 21:32:58 +00:00
Nikki Sharpley
e88f046412 Bug 1944190 - Add new options to the tab strip context menu for sidebar revamp r=sidebar-reviewers,fluent-reviewers,bolsson,jsudiaman
Horizontal tabs mode
- Turn on Vertical Tabs

Vertical tabs mode
- Turn off Vertical Tabs
- Customize Sidebar

Differential Revision: https://phabricator.services.mozilla.com/D236013
2025-01-31 15:31:22 +00:00
Goloman Adrian
f318ff63af Backed out changeset 93bbf90232b7 (bug 1944190) for causing bc failures @browser_fullscreen_context_menu.js. CLOSED TREE 2025-01-31 03:18:31 +02:00
Nikki Sharpley
7ecca5c680 Bug 1944190 - Add new options to the tab strip context menu for sidebar revamp r=sidebar-reviewers,fluent-reviewers,bolsson,jsudiaman
Horizontal tabs mode
- Turn on Vertical Tabs

Vertical tabs mode
- Turn off Vertical Tabs
- Customize Sidebar

Differential Revision: https://phabricator.services.mozilla.com/D236013
2025-01-31 00:36:53 +00:00
Goloman Adrian
2d40cae4ae Backed out changeset 55b692ccd15f (bug 1944190) for causing bc failures @browser_fullscreen_context_menu.js. CLOSED TREE 2025-01-31 00:51:02 +02:00
Nikki Sharpley
ae210aa960 Bug 1944190 - Add new options to the tab strip context menu for sidebar revamp r=sidebar-reviewers,fluent-reviewers,bolsson,jsudiaman
Horizontal tabs mode
- Turn on Vertical Tabs

Vertical tabs mode
- Turn off Vertical Tabs
- Customize Sidebar

Differential Revision: https://phabricator.services.mozilla.com/D236013
2025-01-30 21:00:20 +00:00
Jonathan Sudiaman
70919ebe73 Bug 1944016 - Add new strings to tab context menu for switching to/from vertical tabs r=sidebar-reviewers,fluent-reviewers,tabbrowser-reviewers,dao,bolsson,nsharpley
Differential Revision: https://phabricator.services.mozilla.com/D236035
2025-01-29 23:29:40 +00:00
Nick Grato
08ae817ec1 Bug 1922623 - [UX Follow] Styling updates for the shortcut popup r=Mardak,desktop-theme-reviewers,tabbrowser-reviewers,firefox-ai-ml-reviewers,dao
These are design enhancements and fixes for the shortcut to take into account addon theme and system settings

Differential Revision: https://phabricator.services.mozilla.com/D226847
2025-01-29 18:22:14 +00:00
Stephen Thompson
86ccb78df7 Bug 1939503 - create context menus for tab groups in tab overflow menu r=dao,fluent-reviewers,tabbrowser-reviewers
Saved groups, open groups in other windows, and open groups in the current window all have `command` handlers defined in the tab overflow menu (TOM) to perform an action when clicked. However, the tab groups spec shows additional actions that should be available when right-clicking on those tab groups in the TOM. This patch adds those context menus and wires up their functionality:
- opening in current window
- opening in, or moving to, a new window
- deleting an open group
- forgetting a saved group

Differential Revision: https://phabricator.services.mozilla.com/D233129
2025-01-09 20:07:00 +00:00
Butkovits Atila
d7afe8c2aa Backed out changeset 0edde29b2e70 (bug 1939503) for causing failures at browser_tab_manager_groups.js. CLOSED TREE 2025-01-08 05:43:29 +02:00
Stephen Thompson
607c9a5cec Bug 1939503 - create context menus for tab groups in tab overflow menu r=dao,fluent-reviewers,tabbrowser-reviewers
Saved groups, open groups in other windows, and open groups in the current window all have `command` handlers defined in the tab overflow menu (TOM) to perform an action when clicked. However, the tab groups spec shows additional actions that should be available when right-clicking on those tab groups in the TOM. This patch adds those context menus and wires up their functionality:
- opening in current window
- opening in, or moving to, a new window
- deleting an open group
- forgetting a saved group

Differential Revision: https://phabricator.services.mozilla.com/D233129
2025-01-08 02:47:03 +00:00
Butkovits Atila
2164ad88b3 Backed out changeset 256c0878fcfd (bug 1922623) for causing failures at test_show_chat_entrypoint.js. CLOSED TREE 2024-12-31 09:30:24 +02:00
Nick Grato
b4fcdba37d Bug 1922623 - [UX Follow] Styling updates for the shortcut popup r=Mardak,desktop-theme-reviewers,tabbrowser-reviewers,firefox-ai-ml-reviewers,dao
These are design enhancements and fixes for the shortcut to take into account addon theme and system settings

Differential Revision: https://phabricator.services.mozilla.com/D226847
2024-12-31 06:41:06 +00:00
Simon Friedberger
022f73128d Bug 1935945. Remove inline eventhandler for tab switch warning while screen sharing. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D231503
2024-12-09 13:43:06 +00:00
Tom Schuster
790e6c028e Bug 1935378 - Rename popup-notifications.inc to .inc.xhtml. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D231229
2024-12-06 10:47:01 +00:00
Simon Friedberger
997eea8abc Bug 1932640. Remove History:UndoCloseTab event handler. r=mossop,tabbrowser-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D229920
2024-11-27 11:07:19 +00:00
Butkovits Atila
cce1ec2c4f Backed out changeset 4b65f5631ed1 (bug 1932640) for causing failures complaining about tabCount. 2024-11-26 18:17:47 +02:00
Simon Friedberger
5b85f70e4a Bug 1932640. Remove History:UndoCloseTab event handler. r=mossop,tabbrowser-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D229920
2024-11-26 13:32:49 +00:00
Daisuke Akatsuka
b33e49b01f Bug 1930190: Apply arrowpanel colors to search mode switcher popup r=desktop-theme-reviewers,daleharvey,dao
Differential Revision: https://phabricator.services.mozilla.com/D229726
2024-11-25 22:10:56 +00:00
Greg Stoll
e8e176f8e8 Bug 1926055 part 1 - add "Unload Tab" to context menu r=tabbrowser-reviewers,fluent-reviewers,dao,bolsson
Also make sure to select another tab if unloading the currently selected
tab (or Firefox View if unloading all tabs in the window) and handle
multiselect.

Differential Revision: https://phabricator.services.mozilla.com/D226346
2024-11-04 12:20:08 +00:00
Sandor Molnar
d6591f5235 Backed out 2 changesets (bug 1926055) for causing bc failures @ browser_multiselect_tabs_unload_with_beforeunload.js CLOSED TREE
Backed out changeset 85a555f31920 (bug 1926055)
Backed out changeset db41b497b1be (bug 1926055)
2024-10-22 06:14:17 +03:00
Greg Stoll
ec2f8cd479 Bug 1926055 part 1 - add "Unload Tab" to context menu r=tabbrowser-reviewers,fluent-reviewers,dao,bolsson
Also make sure to select another tab if unloading the currently selected
tab (or Firefox View if unloading all tabs in the window) and handle
multiselect.

Differential Revision: https://phabricator.services.mozilla.com/D226346
2024-10-22 01:34:34 +00:00
Jeremy Swinarton
0323d4afe9 Bug 1918712: Context menu to remove tab from group r=dao,fluent-reviewers,tabbrowser-reviewers,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D224480
2024-10-16 15:18:21 +00:00