fune/browser/components/asrouter
Nick Alexander 2814902b49 Bug 1868676 - Part 1: Allow snapshots of multiple contexts. r=barret,omc-reviewers,aminomancer
`ASRouterTargeting` does _not_ include the experiment details that
supply `activeExperiments`, `activeRollouts`, etc.  Those are combined
from additional contexts.  This patch makes it easy to do that
combination.

N.b.: the use of `Proxy` instances makes iteration tricky, so we avoid
it entirely.

Differential Revision: https://phabricator.services.mozilla.com/D200124
2024-02-14 21:31:19 +00:00
..
actors Bug 1878731 - Convert ASRouterDefaultConfig to an ESM. r=emcminn,omc-reviewers 2024-02-12 18:49:36 +00:00
bin Bug 1868838 - Move import-rollouts script into browser/components/asrouter. r=aminomancer 2024-01-29 18:52:28 +00:00
content Bug 1878554 - Simplify react/jsx-no-bind definition for aboutwelcome/asrouter/newtab code. r=aminomancer,omc-reviewers 2024-02-07 08:55:30 +00:00
content-src Bug 1878731 - Convert CFRPageActions to an ESM. r=emcminn,omc-reviewers 2024-02-12 18:49:35 +00:00
docs Bug 1879220 - Adjust feature callout surface to handle panel surveys. r=jprickett,omc-reviewers 2024-02-08 22:48:27 +00:00
modules Bug 1868676 - Part 1: Allow snapshots of multiple contexts. r=barret,omc-reviewers,aminomancer 2024-02-14 21:31:19 +00:00
tests Bug 1868676 - Part 1: Allow snapshots of multiple contexts. r=barret,omc-reviewers,aminomancer 2024-02-14 21:31:19 +00:00
.eslintrc.js Bug 1878554 - Remove deprecated ESLint rules from aboutwelcome/asrouter/newtab configs. r=aminomancer,omc-reviewers 2024-02-07 08:55:31 +00:00
jar.mn Bug 1868838 - Move messaging schemas into browser/components/asrouter. r=pdahiya,barret 2024-01-29 18:52:27 +00:00
karma.mc.config.js Bug 1878731 - Make it so that ResourceUriPlugin can do multiple path replacements. r=Standard8,omc-reviewers,emcminn 2024-02-12 18:49:38 +00:00
moz.build Bug 1878731 - Convert ASRouter to an ESM. r=emcminn,pip-reviewers,fxview-reviewers,omc-reviewers,sfoster,kpatenio 2024-02-12 18:49:38 +00:00
package-lock.json Bug 1868838 - Move messaging schemas into browser/components/asrouter. r=pdahiya,barret 2024-01-29 18:52:27 +00:00
package.json Bug 1868838 - Move import-rollouts script into browser/components/asrouter. r=aminomancer 2024-01-29 18:52:28 +00:00
README.md Bug 1868838 - Move ASRouter docs into browser/components/asrouter. r=pdahiya 2024-01-29 18:52:25 +00:00
webpack.asrouter-admin.config.js Bug 1877196 - Move ActorConstants.sys.mjs to browser/components/asrouter. r=pdahiya,omc-reviewers 2024-02-05 22:03:15 +00:00
yamscripts.yml Bug 1868838 - Move import-rollouts script into browser/components/asrouter. r=aminomancer 2024-01-29 18:52:28 +00:00

Activity Stream Router

Preferences browser.newtab.activity-stream.asrouter.*

Name Used for Type Example value
allowHosts Allow a host in order to fetch messages from its endpoint [String] ["gist.github.com", "gist.githubusercontent.com", "localhost:8000"]
providers.cfr Message provider options for cfr Object see below
providers.onboarding Message provider options for onboarding Object see below
useRemoteL10n Controls whether to use the remote Fluent files for l10n, default as true Boolean `[true

Message providers examples

{
  "id" : "onboarding",
  "enabled": true,
  "type" : "local",
  "localProvider" : "OnboardingMessageProvider"
}

Message format documentation