Because:
* we want to add the country_iso to payment server amplitude events for setting up or upgrading a subscription
* want to override local location during development
This commit:
* conditionally fetches that information and adds it to the event, conditionally checks the schema to make sure its present
* adds location override for the payments server
Closes #FXA-6950,FXA-7207
Because:
* we do not have an easy way to debug payments server tests through vs code
This commit:
* adds a launch config for vscode to debug the payments server tests
Closes #FXA-7049
Because
* Organizing l10n strings in per-component files aligns payments-server with the setup used for auth-server and settings. Splitting the FTL files also improves maintability by more tightling coupling the strings with the components where the strings are used.
This commit
* Create a temporary branding file in fxa-payments-server/src
* Create a gruntfile with tasks for FTL concatenation and watching
* Rename the destination file from main.ftl to payments.ftl
* Switch payments-server's default locale from en-US to en and update all references of en-US to en
* Create individual FTL files per component and move messages to their respective component FTL file
* Add a l10n entry in the package readme
* Update clone-l10n.sh to copy 'payments' ftl files instead of 'main'
* Update AppLocalizationProvider to use 'payments' bundles
* Replace setupFluentLocalizationTest with getFtlBundle/getFtlFromPackage from fxa-react
* Remove setupFluentLocalizationTest function (no longer used in fxa-settings)
* Add merge-ftl:test task to package.json start and test:frontend scripts
* Remove legacy strings from FTL files
* Update currency and date formats to use 'en' as default locale
* Remove legacy paths from .gitignore files in payments-server
* Move remaining paths to global .gitignore
* Delete .gitignore files in payments-server
Closes #FXA-5996 and #FXA-6255
* fix(storybook): update storybook publish links
Because:
* Latest versions of Storybook builds are no longer published to Github
pages.
This commit:
* Update docs to indicate new location where Storybooks are published.
Closes#11468
Because:
* This UI is enabled by default for all environments, it is no longer necessary for local/dev.
This commit:
* Removes the feature flag, removes references to it, and updates the README
Closes#10531
Because:
* We would like to have up to date docs to allow devs to begin contributing as quickly as possible
This commit:
* updates the appropriate docs
Closes#10561
This is a standalone payments server with some code copied over
from the content-server. Ideally we'd be able to share some of the
code directly, perhaps via fxa-shared, though this was a quick way
of getting started.