Commit Graph

67 Commits

Author SHA1 Message Date
Duncan McIntosh
78bf65ff9b Bug 1868192 - Add packageFamilyName attribute for use with ASRouterTargeting. r=nalexander,nrishel,omc-reviewers,jprickett
Differential Revision: https://phabricator.services.mozilla.com/D249417
2025-05-21 21:08:34 +00:00
Emily McMinn
c75f64e314 Bug 1963213 - Allow messaging on only one profile in a multiprofile selectable group r=pdahiya,jhirsch,omc-reviewers,profiles-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D247459
2025-05-20 18:49:49 +00:00
Shane Hughes
a1fcf2855e Bug 1892417 - Make feature callout autofocus configurable and disabled by default. r=omc-reviewers,pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D247391
2025-05-19 18:41:25 +00:00
Beth Rennie
25f1aa8bdb Bug 1963183 - Add buildId to ASRouterTargeting and Nimbus targeting context r=omc-reviewers,nimbus-reviewers,emcminn
Differential Revision: https://phabricator.services.mozilla.com/D246994
2025-05-06 22:08:17 +00:00
Jason Prickett
8b6faaef37 Bug 1953834 - Add profile group id to asrouter targeting r=omc-reviewers,mviar
Differential Revision: https://phabricator.services.mozilla.com/D244229
2025-04-14 18:01:54 +00:00
Shane Hughes
68848bd409 Bug 1931454 - Allow feature callouts to have multiple screens without requiring a tour pref. r=omc-reviewers,mviar
This adds a new `advance_screens` pseudo-action to the `feature_callout`
messaging system template, which can be added to any action in the same
way `navigate` is used currently. This should generally be used instead
of `navigate`, which only advances the inner content but not the outer
wrapper, the anchor, the page event listeners, and other state relevant
for panel callouts.

Some callouts want to show even if the `cfr.features` pref is disabled,
such as surveys and important onboarding messages, and hard-coding that
check in FeatureCallout is heavy-handed as we already have better ways
to do it. Most callouts belong to the `cfr` group, which locks them
behind the features pref. Any that can't use groups, like the PDF
annotations callouts, can check the pref directly in their targeting.

Aside from blocking messages that don't want to be blocked by that pref,
it also results in a weird behavior where, if the pref changes while the
callout is still open (pretty unlikely), the callout will hide when you
click "next" instead of advancing to the next screen. If you clicked the
Next button, it should show you the next screen, even if you somehow
blocked the message by pref before clicking.

So it's cleaner to just let ASRouter handle that in the targeting phase.
If the pref changes while a message is showing, then we'll just leave it
open, and it won't apply until targeting is checked.

It's appropriate to make the change here, because this patch adds a new
screen advancement scheme, separate from the tour pref system. Since
we're reproducing the advancement logic, we're forced to decide whether
to reproduce the feature pref check in this new scheme. I realized 99%
of the time it's doing nothing, and in the rare cases where it does have
an effect that differs from the regular pref targeting, it's a negative
effect. And at that point, we might as well rip the bandaid off all at
once, to keep everything consistent.

Additionally, while adding documentation for this new feature, I also
corrected some existing errors in the documentation.

Differential Revision: https://phabricator.services.mozilla.com/D229084
2025-04-04 08:27:57 +00:00
Jason Prickett
9e27050c4b Bug 1955715 - update addonsInfo asrouter targeting to include if user has installed addons r=omc-reviewers,mviar
Differential Revision: https://phabricator.services.mozilla.com/D242819
2025-03-25 18:21:07 +00:00
Shane Hughes
e9c7fc6d9f Bug 1950189 - Allow callouts to be dismissed by Esc even if they're not focused. r=omc-reviewers,emcminn
Differential Revision: https://phabricator.services.mozilla.com/D239402
2025-02-27 08:31:42 +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
jprickett
aa7d7f50c8 Bug 1927504 - Update feature callout documentation r=omc-reviewers,mviar DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D231349
2025-02-18 20:30:41 +00:00
Punam Dahiya
4197a454e1 Bug 1946458 - Remove wallpaper select custom handling in aboutwelcome bundle r=amy,omc-reviewers,emcminn,fluent-reviewers,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D237130
2025-02-07 21:21:19 +00:00
Emily McMinn
8a96646dd7 Bug 1945564 - Update Create Tab Group callout && add new callout for users who have removed the all tabs button r=omc-reviewers,dao,fluent-reviewers,bolsson,mviar
Differential Revision: https://phabricator.services.mozilla.com/D236588
2025-02-06 17:28:08 +00:00
Mike Conley
829da877ed Bug 1938452 - Move newtab documentation to browser/extensions/newtab. r=omc-reviewers,firefox-desktop-core-reviewers ,home-newtab-reviewers,pdahiya,mossop,amy
Differential Revision: https://phabricator.services.mozilla.com/D233866
2025-02-03 16:45:30 +00:00
Alexandru Marc
88e7c19d5c Backed out 10 changesets (bug 1938452) for causing node failures CLOSED TREE
Backed out changeset f6a771e83261 (bug 1938452)
Backed out changeset 69f385bc90ce (bug 1938452)
Backed out changeset 9c8837fc4805 (bug 1938452)
Backed out changeset c9737e213e42 (bug 1938452)
Backed out changeset ac0a50aaf347 (bug 1938452)
Backed out changeset f1f41e902e36 (bug 1938452)
Backed out changeset aef74a3d077d (bug 1938452)
Backed out changeset 8ca1a633192a (bug 1938452)
Backed out changeset 88df910fa038 (bug 1938452)
Backed out changeset cd4fdafb2594 (bug 1938452)
2025-02-03 18:28:59 +02:00
Mike Conley
b75d1059ab Bug 1938452 - Move newtab documentation to browser/extensions/newtab. r=omc-reviewers,firefox-desktop-core-reviewers ,home-newtab-reviewers,pdahiya,mossop,amy
Differential Revision: https://phabricator.services.mozilla.com/D233866
2025-02-03 15:07:08 +00:00
negin
746f501995 Bug 1939921 - [FxMS Docs] Adds Triggers and User Actions, schema links under Messaging System source doc r=omc-reviewers,mviar
Differential Revision: https://phabricator.services.mozilla.com/D234904
2025-01-30 17:29:15 +00:00
Emily McMinn
3748e6bed5 Bug 1940476 - Add triggers for "Tab group created" and "Tab group closed" events; and targeting for counting tab groups r=dao,omc-reviewers,aminomancer,negin
Differential Revision: https://phabricator.services.mozilla.com/D233953
2025-01-20 21:31:06 +00:00
Sandor Molnar
2d18e11253 Backed out changeset 232515e209c7 (bug 1940476) for causing bc failures @ browser_asrouter_trigger_docs.js 2025-01-18 07:46:06 +02:00
Emily McMinn
f4e1bff7e4 Bug 1940476 - Add triggers for "Tab group created" and "Tab group closed" events; and targeting for counting tab groups r=dao,omc-reviewers,aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D233953
2025-01-18 00:02:55 +00:00
Norisz Fay
149fb6e550 Backed out changeset 6d26e856d73e (bug 1940476) for causing xpcshell failures on test_backgroundtask_targeting.js 2025-01-16 23:43:14 +02:00
Emily McMinn
418d1decfb Bug 1940476 - Add triggers for "Tab group created" and "Tab group closed" events; and targeting for counting tab groups r=dao,omc-reviewers,aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D233953
2025-01-16 19:28:08 +00:00
Meg Viar
9e8ae04a1b Bug 1936656 - Add ability to show multiple content tiles on a single aboutwelcome screen with option to toggle visibility r=emcminn,omc-reviewers,jprickett
**Primary Updates**
- Add ability to show multiple content tiles on a single AboutWelcome screen by supporting an array of tile objects and/or sub-arrays of tile objects to be groups together as a value for "tiles" in screen content
- Keep compatibility with messages that use a single tile object as the value of "tiles" in screen content
- Add updates to `setMultiSelectActions` to ensure we can handle actions across multiple MultiSelect tiles.
- Add optional tile headers which can be displayed in place of the tile until clicked, closing any other tile with a header that's currently open
- Send click event telemetry when a user clicks a tile header to open the tile
- Update aboutwelcome source docs related to content tiles to include this new capability

**Additional Updates to Support UX Designs**
[[ https://www.figma.com/design/F63Ac1akw2q1fN5D59rgS5/Privacy?node-id=4110-16458&t=kSzPUp4XFLq0dKg8-4 |
See Figma designs ]]
- Add ability to configure `display`, `padding`, and `width` for aboutwelcome screens (this allows us to support the proposed Spotlight modal designs, which include anchoring the modal towards the top of the screen and expanding it downward when a tile is opened, rather than centering vertically)
- Add ability to configure action buttons to show above screen content

{F11717546}

Differential Revision: https://phabricator.services.mozilla.com/D231856
2025-01-15 16:29:23 +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
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
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
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
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
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
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
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
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
Punam Dahiya
771a61c29f Bug 1927387 - Move Simple CFR Template doc under CFR UI Template in source doc r=omc-reviewers,emcminn
Differential Revision: https://phabricator.services.mozilla.com/D227302
2024-11-08 20:36:07 +00:00
Shane Hughes
c794534286 Bug 1927502 - Add multi-message doc for firefox-source-docs. r=omc-reviewers,pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D227122
2024-11-06 19:42:34 +00:00
hanna alemu
6d1493ff8d Bug 1899747 - Add option to extend feature callout page_event_listener to all windows r=omc-reviewers,mviar,aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D213239
2024-10-30 20:56:29 +00:00
hanna alemu
c8150a4dc2 Bug 1911877 - [Docs] Feature callout doc incorrectly says randomize is a property of tiles rather than MultiSelectItem r=omc-reviewers,emcminn
Differential Revision: https://phabricator.services.mozilla.com/D226400
2024-10-22 15:22:48 +00:00
negin
a5e13562b4 Bug 1917928 - make logging FxMS telemetry more discoverable r=omc-reviewers,hanna_a
Updates https://firefox-source-docs.mozilla.org/browser/components/asrouter/docs/telemetry.html to include a section on local debugging/telemetry testing with telemetry logs and glean.

Differential Revision: https://phabricator.services.mozilla.com/D223000
2024-10-21 19:01:02 +00:00
Emily McMinn
f3bbb3366b Bug 1918536 - CREATE_NEW_SELECTABLE_PROFILE Special Message Action && test message r=jhirsch,omc-reviewers,pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D222980
2024-10-17 18:18:59 +00:00
Jason Prickett
2817fb56a2 Bug 1901617 - Create onboarding checklist r=mviar,omc-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D221538
2024-09-26 17:54:01 +00:00
Eric Chen
7ccb2cc84f Bug 1896804 - adding support for architecture based experiment targeting r=nalexander,omc-reviewers,mviar
Differential Revision: https://phabricator.services.mozilla.com/D223424
2024-09-25 18:32:21 +00:00
Jason Prickett
2622d391ce Bug 1915235 - Remove camel casing from heading links in targeting-attributes.md r=omc-reviewers,mviar
Differential Revision: https://phabricator.services.mozilla.com/D220306
2024-08-28 18:28:55 +00:00
Jason Prickett
6d13ee8ae8 Bug 1912351 - Create onSearch trigger and targeting r=mviar,omc-reviewers,urlbar-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D219519
2024-08-27 16:46:02 +00:00
Meg Viar
a1e3ddb4a7 Bug 1907079 - [Docs] Refine Messaging System glossary r=omc-reviewers,negin
This patch updates the messaging system glossary in Firefox Source docs to reflect recent feedback.

[[ https://docs.google.com/document/d/11crCIpvYsiHMLtbbdfIwMJ96j01bgoSzTFo8slUAbbA/edit | Google doc with feedback for V2 ]]

Differential Revision: https://phabricator.services.mozilla.com/D217964
2024-07-30 17:18:11 +00:00
Nipun Shukla
8d8dd02d0f Bug 1901621 - Use start menu pinning as targeting for messages r=aminomancer,omc-reviewers,firefox-desktop-core-reviewers ,pdahiya,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D213158
2024-07-24 21:13:35 +00:00
Meg Viar
3a2722f608 Bug 1904345 - Ignore duplicate explicit target names r=omc-reviewers,negin
Duplicate explicit targets in the previous patches resulted in warnings. This patch updated the two remaining duplicate explicit targets to cross-referencing syntax for glossary terms [[ https://docutils.sourceforge.io/docs/user/rst/quickref.html#hyperlink-targets | See documentation here ]].

Differential Revision: https://phabricator.services.mozilla.com/D214804
2024-07-03 13:45:55 +00:00
Cristina Horotan
77f34279ed Backed out changeset 3cd5c74698b5 (bug 1899747) for causing bc failures at browser_feature_callout.js CLOSED TREE 2024-07-03 03:34:37 +03:00