Commit Graph

43290 Commits

Author SHA1 Message Date
Nikki Sharpley
118273af8c Bug 1924576 - Fix "connect additional devices" link in new sidebar empty state for add a device in sync tabs r=sidebar-reviewers,fxview-reviewers,Gijs,kcochrane
Differential Revision: https://phabricator.services.mozilla.com/D237267
2025-02-26 19:57:11 +00:00
Nikki Sharpley
89eef374ea 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-26 19:56:35 +00:00
Daisuke Akatsuka
dee672b38c Bug 1936557: Remove delayUpdate parameter and #searchInitComplete flag r=search-reviewers,daleharvey,Standard8
Depends on D239701

Differential Revision: https://phabricator.services.mozilla.com/D239702
2025-02-26 19:50:51 +00:00
Daisuke Akatsuka
a25636e1a5 Bug 1936557: Wait to update placeholder/icon until user interaction on booting r=sessionstore-reviewers,daleharvey,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D239701
2025-02-26 19:50:50 +00:00
Jared Hirsch
597f16b870 Bug 1927605 - Add Glean and legacy telemetry to the profile selector dialog. r=profiles-reviewers,mossop
Differential Revision: https://phabricator.services.mozilla.com/D239043
2025-02-26 19:15:07 +00:00
Emilio Cobos Álvarez
1ed7833723 Back out bug 1950189 because I pushed it accidentally.
MANUAL PUSH: Back out CLOSED TREE
2025-02-27 01:16:22 +01:00
Shane Hughes
cbe67161c2 Bug 1950189 - Allow callouts to be dismissed by Esc even if they're not focused. r=#omc-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D239402
2025-02-27 01:00:36 +01:00
Butkovits Atila
59710fad67 Backed out changeset 77636df030aa (bug 1946432) for causing failures at browser_multiselect_tabs_using_keyboard.js. 2025-02-27 01:29:14 +02:00
Greg Stoll
54ae391135 Bug 1950615 - show "unable to connect" Content Analysis dialog in all cases r=dlp-reviewers,handyman
I verified that this fixes the problem in this bug and does not regress
bug 1928064.

The problem was that if only one request was being made with the same
user action ID, the otherEntries would always be empty, and so we would
not show the dialog. Now we handle multiple requests by removing their
info from requestTokenToRequestInfo, and thus when we get the
"dlp-request-made" notification we will exit early and not show a dialog.

Differential Revision: https://phabricator.services.mozilla.com/D239755
2025-02-26 18:57:29 +00:00
Rebecca King
e5e7699d6b Bug 1945247 - Remove de and fr from list of supported sites for shopping sidebar r=shopping-reviewers,omc-reviewers,emcminn,kpatenio,jhirsch
Differential Revision: https://phabricator.services.mozilla.com/D236400
2025-02-26 18:29:14 +00:00
Greg Stoll
b25e168174 Bug 1946432 - when unloading all tabs, don't switch to Firefox View if it's hidden r=tabbrowser-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D239778
2025-02-26 17:34:49 +00:00
Emily McMinn
de64394a0c Bug 1949599 - Remove animated onboarding callouts for Tab Groups r=omc-reviewers,jprickett
Differential Revision: https://phabricator.services.mozilla.com/D239181
2025-02-26 17:02:18 +00:00
Jeremy Swinarton
8ab002aa2c Bug 1950123: Allow forgetting history for closed tabs from closed groups r=dao,sessionstore-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D239739
2025-02-26 16:40:38 +00:00
Tom Schuster
f81d16e706 Bug 1941365 - Use a <?csp ?> processing instructions instead of a csp attribute. r=Gijs,settings-reviewers,devtools-reviewers,places-reviewers,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D238474
2025-02-26 16:13:13 +00:00
Drew Willcoxon
cb701edc4f Bug 1947355 - Prepare Suggest AMP and Wikipedia strings for localization. r=daisuke,fluent-reviewers,urlbar-reviewers,bolsson
This moves l10n strings related to AMP and Wikipedia suggestions out of
`enUS-searchFeatures.ftl` into the appropriate l10n files in preparation for AMP
and Wikipedia in non-U.S. regions. These strings include:

* The result menu item strings, Dismiss and Manage
* Relevant settings UI strings

`urlbar-result-menu-learn-more-about-firefox-suggest` isn't actually used by AMP
and Wikipedia right now, but it was in the past, and there have been recent
discussions about maybe including it again as Suggest expands outside the U.S.
So I moved it too in case we need it with short notice.

There are other Suggest strings that this patch does not move, in particular:

* `-firefox-suggest-brand-name` is already exposed to localizers
* The "Sponsored" label at the bottom of AMP urlbar rows is already exposed to
  localizers as `urlbar-result-action-sponsored`
* Strings for the online toggle switch in the settings UI ("Improve the Firefox
  Suggest experience") aren't needed right now because online Suggest (Merino)
  won't be available outside the U.S. in the near future.

I changed the ID of the Dismiss string so it doesn't include "firefox-suggest".
Several non-Suggest urlbar results use this string too, and it doesn't actually
include the phrase "Firefox Suggest" anyway.

I also made the view default to this string so that dismissable urlbar results
don't need to specify it, similar to how it defaults to strings for "Learn more"
and Manage.

Depends on D238847

Differential Revision: https://phabricator.services.mozilla.com/D239213
2025-02-26 15:49:17 +00:00
Drew Willcoxon
cf70175727 Bug 1949297 - Update the Firefox Suggest settings UI. r=settings-reviewers,reusable-components-reviewers,urlbar-reviewers,fluent-reviewers,bolsson,daisuke,mstriemer
This makes the following primary changes to the Suggest settings in the search
pane:

* Remove the infobox
* Remove the learn-more link from the dismissed-suggestions description
* Add a learn-more link to the Address Bar section's description but show it
  only when Suggest is enabled
* Add `#w_what-setting-is-opt-in` fragment to the learn-more URL for the online
  toggle so it links directly to the appropriate section

It also makes these related changes:

Remove the unnecessary `vbox` containers for the toggle switches. I had to
modify some reusable-components CSS. Note that there are two copies of the
Suggest toggle, one in the search pane and one in the privacy pane.

Rename the sponsored and nonsponsored checkbox strings so they're consistent
with the other checkbox strings: `addressbar-locbar-foo-option`

Remove test tasks that click checkboxes and make sure the appropriate prefs are
updated and vice versa. Now that the infobox is gone, there's no need for
Suggest-specific tests to worry about that.

Similarly, remove test tasks that click the learn-more links and make sure the
right page is opened. No need for Suggest-specific tests to do that either.

Differential Revision: https://phabricator.services.mozilla.com/D238847
2025-02-26 15:49:16 +00:00
Sandor Molnar
bc9b3e4b97 Backed out 2 changesets (bug 1941365) for causing CSP related dt failures. CLOSED TREE
Backed out changeset b022efa3b9e7 (bug 1941365)
Backed out changeset 90c5b60c6163 (bug 1941365)
2025-02-26 17:28:48 +02:00
Tom Schuster
07c8930ba5 Bug 1941365 - Use a <?csp ?> processing instructions instead of a csp attribute. r=Gijs,settings-reviewers,devtools-reviewers,places-reviewers,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D238474
2025-02-26 14:36:42 +00:00
Dão Gottwald
84d373b75c Bug 1950622 - Correctly decide whether or not multiple selected tabs need to be moved together. r=jswinarton,tabbrowser-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D239738
2025-02-26 14:06:55 +00:00
Sandor Molnar
06e45f7e1d Backed out 2 changesets (bug 1948124, bug 1945646) for causing bc failures @ browser_reviewchecker_new_position_notification_card.js CLOSED TREE
Backed out changeset f07865e10f31 (bug 1948124)
Backed out changeset 2320815849b3 (bug 1945646)
2025-02-26 13:32:38 +02:00
Dão Gottwald
4dd29317da Bug 1950298 - Mark group as seen when adding tabs. r=jswinarton,tabbrowser-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D239517
2025-02-26 09:05:52 +00:00
kpatenio
23adc445a5 Bug 1948124 - Implement glean probes for integrated RC's new position notification card after auto-open. r=shopping-reviewers,jhirsch
Differential Revision: https://phabricator.services.mozilla.com/D239238
2025-02-26 09:01:57 +00:00
kpatenio
abc3d2c04b Bug 1945646 - implement notification card for migrated Review Checker for existing opted-in users. r=desktop-theme-reviewers,firefox-desktop-core-reviewers ,fluent-reviewers,shopping-reviewers,bolsson,jhirsch
**Summary**
Adds a card for migrated Review Checker notifying users can move the sidebar to the left or the right side. Visibility is controlled by two factors:
- browser.shopping.experience2023.newPositionCard.hasSeen - if true, the user already saw the card and we don't have to show it again. If false (default), make sure to show the card once we're able to.
- browser.shopping.experience2023.integratedSidebar - must be true, since this enables Review Checker in the sidebar and allows us to use ReviewChecker actors

There's also three actors in play:

**ReviewCheckerManager**
- Responsible for the sidebar's visibility and auto-open behaviour. We only show the notification card on auto-open and a PDP, so we check if we can render the notification card in this file.
- It also handles behaviour for moving the sidebar position, or showing the sidebar settings panel.
- However, because ReviewCheckerManager is instantiated before the ReviewChecker parent and child pair actors, we have to wait for RC parent to be created before RC manager can communicate with it.

**ReviewCheckerParent**
- Once created, it communicates with ReviewCheckerManager, so that we know if we should render the notification card or not.
- If it receives a response back from RC manager, it will send a message to its RC child counterpart.
- Otherwise, if it receives a message from RC child to move the sidebar position or show the sidebar settings panel, communicate with RC manager again to do the appropriate action.

**ReviewCheckerChild**
- It receives a message from ReviewCheckerParent to know if we should show the notification card. If yes, then send an event to the content (shopping-container)
- It also listens for and handles events from content (shopping-container), like if a user presses the move position buttons, or wants to see the sidebar settings panel. Once an event is detected for either action from content, send a message to ReviewCheckerParent, and then RC manager by extension, to make the appropriate action.

**Follow-up work**
There's another patch https://phabricator.services.mozilla.com/D239083 that updates how the notification card and keep closed message behave, ensuring they don't visually conflict with each other.

Differential Revision: https://phabricator.services.mozilla.com/D238089
2025-02-26 09:01:57 +00:00
Sandor Molnar
5e7a857d85 Backed out 3 changesets (bug 1949647, bug 1945646, bug 1948124) for causing bc failures @ browser_reviewchecker_show_keep_closed_and_notification_card CLOSED TREE
Backed out changeset 054d48fbdbf7 (bug 1948124)
Backed out changeset b99d9e5ea1d3 (bug 1949647)
Backed out changeset 46a382f3f0c6 (bug 1945646)
2025-02-26 08:59:10 +02:00
kpatenio
d3459d0494 Bug 1948124 - Implement glean probes for integrated RC's new position notification card after auto-open. r=shopping-reviewers,jhirsch
Differential Revision: https://phabricator.services.mozilla.com/D239238
2025-02-26 02:23:51 +00:00
kpatenio
039ca3e118 Bug 1949647 - Do not render keep closed message if user has not seen notification card yet. r=shopping-reviewers,jhirsch
Differential Revision: https://phabricator.services.mozilla.com/D239083
2025-02-26 02:23:51 +00:00
kpatenio
d16bb0bb4b Bug 1945646 - implement notification card for migrated Review Checker for existing opted-in users. r=desktop-theme-reviewers,firefox-desktop-core-reviewers ,fluent-reviewers,shopping-reviewers,bolsson,jhirsch
**Summary**
Adds a card for migrated Review Checker notifying users can move the sidebar to the left or the right side. Visibility is controlled by two factors:
- browser.shopping.experience2023.newPositionCard.hasSeen - if true, the user already saw the card and we don't have to show it again. If false (default), make sure to show the card once we're able to.
- browser.shopping.experience2023.integratedSidebar - must be true, since this enables Review Checker in the sidebar and allows us to use ReviewChecker actors

There's also three actors in play:

**ReviewCheckerManager**
- Responsible for the sidebar's visibility and auto-open behaviour. We only show the notification card on auto-open and a PDP, so we check if we can render the notification card in this file.
- It also handles behaviour for moving the sidebar position, or showing the sidebar settings panel.
- However, because ReviewCheckerManager is instantiated before the ReviewChecker parent and child pair actors, we have to wait for RC parent to be created before RC manager can communicate with it.

**ReviewCheckerParent**
- Once created, it communicates with ReviewCheckerManager, so that we know if we should render the notification card or not.
- If it receives a response back from RC manager, it will send a message to its RC child counterpart.
- Otherwise, if it receives a message from RC child to move the sidebar position or show the sidebar settings panel, communicate with RC manager again to do the appropriate action.

**ReviewCheckerChild**
- It receives a message from ReviewCheckerParent to know if we should show the notification card. If yes, then send an event to the content (shopping-container)
- It also listens for and handles events from content (shopping-container), like if a user presses the move position buttons, or wants to see the sidebar settings panel. Once an event is detected for either action from content, send a message to ReviewCheckerParent, and then RC manager by extension, to make the appropriate action.

**Follow-up work**
There's another patch https://phabricator.services.mozilla.com/D239083 that updates how the notification card and keep closed message behave, ensuring they don't visually conflict with each other.

Differential Revision: https://phabricator.services.mozilla.com/D238089
2025-02-26 02:23:50 +00:00
Sandor Molnar
695882bbbf Backed out changeset d6f61409b245 (bug 1899019) for causing build bustages @ AsrouterMetrics.h CLOSED TREE 2025-02-26 08:02:04 +02:00
Punam Dahiya
88d6323bef Bug 1899019 - Part 1 - Add FxMS metrics.yaml and pings.yaml files r=chutten,omc-reviewers,negin
Differential Revision: https://phabricator.services.mozilla.com/D238891
2025-02-25 23:16:59 +00:00
Cristina Horotan
4dd2dad95f Backed out changeset 85d499c8e0bf (bug 1927258) for causing multiple failures tabbrowser related. CLOSED TREE 2025-02-26 06:42:56 +02:00
Cristina Horotan
a8ccd4db54 Backed out changeset 11021e45484d (bug 1924576) for causing ESlint failure at browser_syncedtabs_sidebar.js. CLOSED TREE 2025-02-26 04:35:04 +02:00
Cristina Horotan
60fe94bdb8 Backed out changeset 5b4f48aac534 (bug 1950298) for causing bc failures at browser_tab_manager_groups.js 2025-02-26 04:20:46 +02:00
Mark Banner
4411cd4ee7 Bug 1880963 - Fix intermittent in browser_policy_app_update.js. r=mkaply
Ensure that the updates disabled for testing preference is reset before re-enabling automatic updates.

Differential Revision: https://phabricator.services.mozilla.com/D239303
2025-02-25 22:19:09 +00:00
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
Nikki Sharpley
7d95390085 Bug 1924576 - Fix "connect additional devices" link in new sidebar empty state for add a device in sync tabs r=sidebar-reviewers,fxview-reviewers,Gijs,kcochrane
Differential Revision: https://phabricator.services.mozilla.com/D237267
2025-02-25 21:57:38 +00:00
Gregory Pappas
2300895022 Bug 1750304 - Move isChinaRepack out of AppConstants r=settings-reviewers,home-newtab-reviewers,Gijs,pdahiya,omc-reviewers,mossop,mconley
AppConstants seems like the wrong place for this method

Differential Revision: https://phabricator.services.mozilla.com/D239276
2025-02-25 20:46:37 +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
Jared Hirsch
886e3a8943 Bug 1942384 - Fix missing buttons in startup-time profile selector window by importing button and button-group components. r=profiles-reviewers,niklas
Differential Revision: https://phabricator.services.mozilla.com/D239404
2025-02-25 19:13:37 +00:00
Maxx Crawford
68761c3875 Bug 1943663 - Add telemetry events for custom wallpapers and custom color backgrounds r=home-newtab-reviewers,nbarrett
Differential Revision: https://phabricator.services.mozilla.com/D238824
2025-02-25 18:41:15 +00:00
Jonathan Sudiaman
05aa3cf512 Bug 1947952 - Skip windowPrivacyMatches checks for revamped sidebar. r=sidebar-reviewers,nsharpley
Differential Revision: https://phabricator.services.mozilla.com/D239435
2025-02-25 16:19:29 +00:00
Nikki Sharpley
fdb515f9f2 Bug 1949238: Part 2 - Update strings for expand on hover message bar in sidebar customize r=sidebar-reviewers,fluent-reviewers,bolsson,mstriemer
Depends on D239026

Differential Revision: https://phabricator.services.mozilla.com/D239369
2025-02-25 16:18:50 +00:00
Mark Striemer
6aa3b1349e Bug 1949238: Part 1 - Expand on hover message bar in sidebar customize r=sidebar-reviewers,desktop-theme-reviewers,reusable-components-reviewers,nsharpley
This is an initial patch with the message bar styled as we would like,
but it is using temporary strings directly in the markup. These will
need to be extracted to fluent strings in a follow up change.

Differential Revision: https://phabricator.services.mozilla.com/D239026
2025-02-25 16:18:49 +00:00
Dão Gottwald
09883fda4a Bug 1950298 - Mark group as seen when adding tabs. r=jswinarton,tabbrowser-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D239517
2025-02-25 16:05:21 +00:00
DJ
5b2c34c50b Bug 1948078 - When restore is deferred, convert last session's open groups to saved groups. r=jswinarton,sessionstore-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D239451
2025-02-25 15:55:51 +00:00
Daisuke Akatsuka
58e665f2a9 Bug 1950233: Remove 'Privacy-first always' from the contextual opt-in message r=fluent-reviewers,adw,flod
Differential Revision: https://phabricator.services.mozilla.com/D239428
2025-02-25 08:46:40 +00:00
Greg Stoll
8d790dc2c5 Bug 1928064 part 3 - don't show multiple error dialogs for the same userActionId r=dlp-reviewers,handyman
Differential Revision: https://phabricator.services.mozilla.com/D239398
2025-02-25 01:33:01 +00:00
Greg Stoll
97c001a20c Bug 1928064 part 2 - simplify MapByTopBrowsingContext to RequestInfos r=dlp-reviewers,handyman
We are no longer using the grouping by BrowsingContext functionality,
so rename and greatly simplify this class. (not strictly needed for this
change, but simpler is better!)

Differential Revision: https://phabricator.services.mozilla.com/D239397
2025-02-25 01:33:00 +00:00
Goloman Adrian
978d364abd Bug 1898739 - disable browser_toolbar_sidebar_button.js for frequent failures. r=intermittent-reviewers,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D239249
2025-02-25 00:56:04 +00:00
Goloman Adrian
bd3501eaa8 Bug 1903937 - disable browser_customize_sidebar.js for frequent failures. r=intermittent-reviewers,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D239251
2025-02-25 00:55:11 +00:00
Dão Gottwald
ebf19a0299 Bug 1950113 - Remove null checks before isTabGroupLabel calls. r=dwalker,tabbrowser-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D239346
2025-02-24 22:10:49 +00:00