Commit Graph

319 Commits

Author SHA1 Message Date
negin
34caedb5e0 Bug 1919598 - Land Firefox View Discoverability treatment-b in mc- r=omc-reviewers,fluent-reviewers,emcminn,accessibility-frontend-reviewers,nstroud
Differential Revision: https://phabricator.services.mozilla.com/D229198
2025-01-10 21:31:18 +00:00
Cosmin Sabou
05bc4c0400 No bug - correct some typos in manifest files. a=typo-fix
CLOSED TREE
2025-01-10 23:43:19 +02:00
Punam Dahiya
f52a594a1a Bug 1866170 - Give about:welcome and asrouter their own try-runner.js test job runner scripts r=home-newtab-reviewers,omc-reviewers,mviar,mconley,ahal
Differential Revision: https://phabricator.services.mozilla.com/D233111
2025-01-09 22:20:59 +00:00
Punam Dahiya
cf58fbd5e3 Bug 1618001 - Move React vendored libraries to the toolkit to prevent multiple instances r=sylvestre,omc-reviewers,home-newtab-reviewers,frontend-codestyle-reviewers,firefox-ai-ml-reviewers,aminomancer,mconley
Differential Revision: https://phabricator.services.mozilla.com/D232431
2025-01-08 21:08:16 +00:00
Punam Dahiya
750029ed7c Bug 1899027 - Move asrouter tests from newtab to asrouter r=home-newtab-reviewers,omc-reviewers,mconley,mviar
Differential Revision: https://phabricator.services.mozilla.com/D233024
2025-01-08 17:37:31 +00:00
Meg Viar
81a9ec1500 Bug 1937625 - Strengthen embedded browser element flags in Messaging System r=omc-reviewers,nalexander,nika,negin
Enhancements for the embedded browser component in AboutWelcome:

- Improve the speed at which the browser starts by predicting the `remoteType` the load is going to finish in
- Set `maychangeremoteness` attribute to true to allow changing remoteness if user navigates to a different URL that requires this (such as an `about:` page, though with the current set up `about:` pages won't load for security reasons).
- Set `nodefaultsrc` attribute to true to avoid loading a default URL if `src` is blank

Differential Revision: https://phabricator.services.mozilla.com/D232425
2025-01-08 00:14:40 +00:00
hanna.alemu
8670cfe616 Bug 1927369 - [FxMS Docs] Add aboutwelcome and asrouter build steps in source docs r=omc-reviewers,aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D232851
2024-12-30 14:26:02 +00:00
Meg Viar
d7704cbe37 Bug 1937599 - Address ASRouter console error on first startup due to this._storage being null r=omc-reviewers,pdahiya
- Wait for ASRouter to be initialized before recording screen impressions to ensure the impression for the first screen in `about:welcome` isn't lost because ASRouter's `_storage` variable is still null

- Local testing shows that this first screen impression is lost when an attempt is made to record it before ASRouter is initialized. It's unclear if this is an issue on production, or just when running locally. Locally the issue occurs consistently, but this can't be the case on production as telemetry includes impressions from the first screen of `about:welcome`. However, we should monitor telemetry for possible changes after this fix goes out to see if there is an increase in screen impressions for the first screen of about:welcome.

Differential Revision: https://phabricator.services.mozilla.com/D232736
2024-12-20 21:16:28 +00:00
Emily McMinn
c52497660c Bug 1923722 - Add fakespot opt-out survey strings for translation && move survey callout into code r=omc-reviewers,aminomancer,fluent-reviewers,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D232540
2024-12-20 16:10:00 +00:00
Mike Conley
4647ce1c30 Bug 1937234 - Add signed out avatar variants. r=skhamis,emilio,omc-reviewers,pdahiya
These variants are controlled via the avatarIconVariant variable of the
fxaButtonVisibility feature.

Differential Revision: https://phabricator.services.mozilla.com/D232128
2024-12-20 16:07:56 +00:00
Goloman Adrian
1683c8c8b5 Backed out 4 changesets (bug 1937234) for causing newtab failures @asrouter. CLOSED TREE
Backed out changeset 3fd6a002577a (bug 1937234)
Backed out changeset 6ab7c2107849 (bug 1937234)
Backed out changeset baa639909c0e (bug 1937234)
Backed out changeset 77e5bd035f08 (bug 1937234)
2024-12-19 19:46:38 +02:00
Mark Banner
d0718e3c69 Bug 1937739. r=frontend-codestyle-reviewers,perftest-reviewers,mossop,sparky
Differential Revision: https://phabricator.services.mozilla.com/D232598
2024-12-19 17:05:08 +00:00
Mike Conley
f391c2f6b4 Bug 1937234 - Add signed out avatar variants. r=skhamis,emilio,omc-reviewers,pdahiya
These variants are controlled via the avatarIconVariant variable of the
fxaButtonVisibility feature.

Differential Revision: https://phabricator.services.mozilla.com/D232128
2024-12-19 16:43:39 +00:00
Emilio Cobos Álvarez
becf088418 Bug 1929400 - Don't use :has() to hide BookmarksBarButton message. r=aminomancer,desktop-theme-reviewers,omc-reviewers,dao
This is faster, no point in making customize mode slower for something
that almost never shows up anyways.

Differential Revision: https://phabricator.services.mozilla.com/D228104
2024-12-19 14:32:52 +00:00
Stanca Serban
b21fd0feda Backed out 4 changesets (bug 1937234) for causing newtab failures.
Backed out changeset 9c4ec733448e (bug 1937234)
Backed out changeset 05d3d5a45230 (bug 1937234)
Backed out changeset 27877e1ab900 (bug 1937234)
Backed out changeset d56b2c3bfd0e (bug 1937234)
2024-12-19 03:55:28 +02:00
Mike Conley
2fad4563b7 Bug 1937234 - Add signed out avatar variants. r=skhamis,emilio,omc-reviewers,pdahiya
These variants are controlled via the avatarIconVariant variable of the
fxaButtonVisibility feature.

Differential Revision: https://phabricator.services.mozilla.com/D232128
2024-12-18 19:47:07 +00:00
Sarah Chung
2ae199b569 Bug 1822664 - update npm packages for asrouter and aboutwelcome r=dmose,omc-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D230561
2024-12-18 19:05:21 +00:00
Emily McMinn
1a5c041c25 Bug 1934661 - Top off FxMS placeholder buffer for 135 r=omc-reviewers,hanna_a,aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D231622
2024-12-18 16:48:47 +00:00
Sammy Khamis
6a8f7f80ad Bug 1936922: Cache response from listAttachedOAuthClients to prevent unnecessary network calls r=markh,omc-reviewers,aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D232006
2024-12-17 23:09:53 +00:00
Punam Dahiya
626a74d9fa Bug 1934668 - Move ASRouter image assets out of newtab r=desktop-theme-reviewers,home-newtab-reviewers,urlbar-reviewers,omc-reviewers,aminomancer,dao,mconley
Differential Revision: https://phabricator.services.mozilla.com/D232130
2024-12-17 01:36:16 +00:00
Meg Viar
984098dbc2 Bug 1933221 - Add ability to disable closing Spotlight via ESC keypress via message JSON configuration r=omc-reviewers,hanna_a,jprickett
To support an upcoming experiment (details linked in Jira ticket referenced in bug), we want to add the ability to disable closing Spotlight with an ESC keypress via a message JSON configuration.

Differential Revision: https://phabricator.services.mozilla.com/D230170
2024-12-13 16:34:50 +00:00
kpatenio
c8197f60d5 Bug 1920235 - add ability to access shadowDOM for callout selectors. r=omc-reviewers,aminomancer
The intent of this patch is to add support for feature callout anchors situated in the shadowDOM. For instance, for the Review Checker migration project, we want to add callout messages on the feature's sidebar icon. The actual parsing of the selector itself should be credited to @aminomancer; I'm authoring this patch to make sure we can get the change landed and tested.

I also verified the change with a few selectors via about:asrouter. For instance, if you wish to test with the actual Review Checker sidebar icon, you should have the prefs `sidebar.revamp` and `browser.shopping.experience2023.integratedSidebar` set to true. After enabling RC in the sidebar settings, add the following anchor to any callout: `"#sidebar-main > sidebar-main::%shadow% .tools-and-extensions::%shadow% moz-button[view='viewReviewCheckerSidebar']"`.

Lastly, I added a test in `browser/components/asrouter/tests/browser/browser_feature_callout_panel.js` to ensure `%shadow%` works as intended.

Differential Revision: https://phabricator.services.mozilla.com/D231337
2024-12-13 02:56:50 +00:00
Emily McMinn
b5d1cfafd6 Bug 1931659 - Add currentTabsOpen context to nthTabClosed trigger; as well as a similar nthTabOpened trigger r=omc-reviewers,pdahiya,dao
Differential Revision: https://phabricator.services.mozilla.com/D231144
2024-12-12 17:14:23 +00:00
Florian Quèze
a41844c552 Bug 1931901 - remove leftover test references to legacy scalar APIs, r=chutten,geckoview-reviewers,extension-reviewers,home-newtab-reviewers,robwu,ohall,mconley.
Differential Revision: https://phabricator.services.mozilla.com/D229929
2024-12-10 10:31:58 +00:00
Mike Conley
e06d4179af Bug 1932859 - Prevent auto-closing of the AppMenu / FxA panels when generically clicking the FxA menu message CTA. r=pdahiya,omc-reviewers
The change in CustomizableUI is required because the routine wasn't designed to handle
custom elements with shadow roots. The routine's job is to walk up the ancestry of
the click event and determine if any of the parents have certain characteristics
that would indicate that the event should not close the panel, and without this
change it would bail out as soon as it hit the shadow root if the event's original
target was inside the custom element.

In this case, the element enclosing the fxa-menu-message is the "appMenu-fxa-menu-message"
toolbaritem with `closemenu="none"`, which this modification now lets
CustomizableUI detect.

Differential Revision: https://phabricator.services.mozilla.com/D230560
2024-12-09 21:16:19 +00:00
Sarah Chung
d453dc0a43 Bug 1927522 - add Skylight documentation r=omc-reviewers,emcminn
Differential Revision: https://phabricator.services.mozilla.com/D230703
2024-12-05 17:03:11 +00:00
Tooru Fujisawa
0f29352379 Bug 1934048 - Update obsoleve comments about JSM in browser/components/asrouter/tests/unit/ASRouter.test.js. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D230566
2024-12-05 00:04:59 +00:00
Meg Viar
af44033534 Bug 1927514 - Update aboutwelcome UI template documentation in source doc r=omc-reviewers,negin DONTBUILD
Update documentation in Firefox Source Docs providing and overview of about:welcome.

Differential Revision: https://phabricator.services.mozilla.com/D229350
2024-12-04 19:55:36 +00:00
negin
82720f4c71 Bug 1929966 - [FxMS Docs] Adds documentation for frequency and frequency caps to sourcedoc r=omc-reviewers,emcminn
Differential Revision: https://phabricator.services.mozilla.com/D230464
2024-12-03 16:24:29 +00:00
Punam Dahiya
3ce35fab35 Bug 1923726 - Update NimbusRolloutMessageProvider with recent messaging rollouts r=negin,omc-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D230813
2024-12-02 23:02:59 +00:00
negin
4ad3d9f00d Bug 1927386 - [FxMS Docs] Updates Remote CFR Messages documentation in Source doc r=omc-reviewers,emcminn
Differential Revision: https://phabricator.services.mozilla.com/D230451
2024-12-02 20:09:14 +00:00
Logan Rosen
d24c9d9ff4 Bug 1857834 - auto-formatting with Prettier v3 r=linter-reviewers,webdriver-reviewers,perftest-reviewers,search-reviewers,devtools-reviewers,sync-reviewers,reusable-components-reviewers,profiler-reviewers,dom-storage-reviewers,android-reviewers,firefox-ai-ml-reviewers,hjones,mcheang,mstange,sparky,janv,nchevobbe,tarek,Standard8,markh
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D230598
2024-11-29 15:18:25 +00:00
Meg Viar
48ab3860bf Bug 1923868 - Support setting Firefox as default based on installer attribution campaign r=firefox-desktop-core-reviewers ,nalexander,omc-reviewers,pdahiya
This patch adds an startup idle task that sets the browser as default if an attribution campaign id of "set_default_browser" is present on first run. This works supports an upcoming experiment where users will have the option to "download as default" via [[ https://www.mozilla.org/en-US/firefox/new/ | the stub installer marketing page ]].

Differential Revision: https://phabricator.services.mozilla.com/D225212
2024-11-25 18:14:28 +00:00
Sebastian Hengst
4d78eba78c Bug 1922355 - adjust mochitest expectations for macOS 14.70 x86-64. r=jmaher,tabbrowser-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D229944
2024-11-25 16:28:39 +00:00
hanna.alemu
980c97658a Bug 1927373 - [FxMS Docs] Update Using ASRouter Devtools in source doc r=omc-reviewers,emcminn
Differential Revision: https://phabricator.services.mozilla.com/D229700
2024-11-25 16:07:09 +00:00
Jason Prickett
86f8c07bf1 Bug 1928467 - Add ability for bookmarks toolbar button to be removed after unenrollment r=mviar,omc-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D229380
2024-11-22 20:32:07 +00:00
Alexandru Marc
f8117504e2 Backed out changeset a2435b289727 (bug 1923868) for causing bc failures @ browser_aboutwelcome_multistage_languageSwitcher.js. CLOSED TREE 2024-11-22 19:14:57 +02:00
Meg Viar
cf5467d380 Bug 1923868 - Support setting Firefox as default based on installer attribution campaign r=firefox-desktop-core-reviewers ,nalexander,omc-reviewers,pdahiya
This patch adds an startup idle task that sets the browser as default if an attribution campaign id of "set_default_browser" is present on first run. This works supports an upcoming experiment where users will have the option to "download as default" via [[ https://www.mozilla.org/en-US/firefox/new/ | the stub installer marketing page ]].

Differential Revision: https://phabricator.services.mozilla.com/D225212
2024-11-22 14:29:15 +00:00
Adi
9d9552bf95 Backed out changeset 893b697b0ad7 (bug 1923868) for causing bc failures @nsMacDockSupport.mm. CLOSED TREE 2024-11-22 05:40:59 +02:00
Adi
1553bea548 Backed out changeset 12efd90d2c57 (bug 1928467) for causing bc failures @browser_bookmarks_bar_button.js. 2024-11-22 05:38:11 +02:00
Jason Prickett
89c974a0bc Bug 1928467 - Add ability for bookmarks toolbar button to be removed after unenrollment r=mviar,omc-reviewers
This patch adds the functionality of the fxms_bmb_button surface to be removed when a user has been unenrolled from an experiment that used said feature.

Differential Revision: https://phabricator.services.mozilla.com/D229380
2024-11-22 02:40:22 +00:00
Meg Viar
12908e2cd7 Bug 1923868 - Support setting Firefox as default based on installer attribution campaign r=firefox-desktop-core-reviewers ,nalexander,omc-reviewers,pdahiya
This patch adds an startup idle task that sets the browser as default if an attribution campaign id of "set_default_browser" is present on first run. This works supports an upcoming experiment where users will have the option to "download as default" via [[ https://www.mozilla.org/en-US/firefox/new/ | the stub installer marketing page ]].

Differential Revision: https://phabricator.services.mozilla.com/D225212
2024-11-21 20:54:40 +00:00
hanna alemu
f2b065e5bb Bug 1825381 - Create experimental set to default prompt-style spotlight and enable showing via Nimbus r=mviar,omc-reviewers,firefox-desktop-core-reviewers ,mossop,aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D225699
2024-11-20 18:04:46 +00:00
Jason Prickett
e0cf13dab7 Bug 1928465 - Add asrouter trigger listener for button click r=mviar,omc-reviewers
This patch adds an `elementClick` trigger listener that can be used like so:

```
trigger: {
        id: "elementClicked",
        params: ["element-id"],
}
```

Differential Revision: https://phabricator.services.mozilla.com/D228399
2024-11-20 02:58:51 +00:00
Beth Rennie
83f3481e28 Bug 1929116 - Update NimbusEnrollment.schema.json and store new Firefox Labs fields in saved enrolments r=chumphreys,omc-reviewers,aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D228723
2024-11-19 22:18:43 +00:00
Emilio Cobos Álvarez
ebe0ec0cbc Bug 1388910 - Remove -moz-user-modify property. r=dshin
We successfully unshipped it in bug 1920118.

Differential Revision: https://phabricator.services.mozilla.com/D229530
2024-11-19 19:35:35 +00:00
Emily McMinn
4d805df532 Bug 1931420 - Update Staff Picks callout targeting r=omc-reviewers,pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D229060
2024-11-15 19:31:09 +00:00
Emily McMinn
4165938b55 Bug 1904945 - Add Staff Picks callout to moz-central r=omc-reviewers,hanna_a
Differential Revision: https://phabricator.services.mozilla.com/D226345
2024-11-13 15:46:37 +00:00
Emily McMinn
d2925a7795 Bug 1927385 - Update Onboarding Flow section of Firefox source docs r=omc-reviewers,pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D227886
2024-11-12 22:56:27 +00:00
negin
8700809cf7 Bug 1927515 - [FxMS Docs] Updates Spotlight UI template documentation in source doc r=omc-reviewers,mviar
Differential Revision: https://phabricator.services.mozilla.com/D227745
2024-11-11 16:17:00 +00:00