Because:
- With the addition of subscriptions, admin-panel now requires a stripe test key to be added to admin-server, but this change is not documented in admin-panel docs.
- Running the admin-panel without a valid stripe test key results in an error when retrieving account details.
This commit:
- Add instructions in the admin-panel readme about adding a stripe test key or disabling feature flags in the admin-server
Closes #FXA-6154
Replaced all instances of 'EmailBlocks'/'email-blocks' with 'AccountSearch'/'account-search' in the admin-panel.
Removed unused variables in the AdminLogs/index.tsx file, chose to import all svg files for the Nav icons, and added a new AccountHistory folder under AccountSearch.
Deleted any empty files, since these were resulting in failed CircleCI tests.
Because:
* The admin panel can't connect to the admin server in development
* We use '@apollo/client' in fxa-settings and should be consistent, preferring one package over a lot of separated dependencies
This commit:
* Changes the gql server port to 8095
* Adds oidc-claim-id-token-email auth header in development
* Removes react-apollo, apollo-boost, apollo-client etc. in favor of @apollo/client
* Includes doc updates for admin-panel and admin-server
* Upgrades @apollo/client version in fxa-settings to be consistent
To reduce duplication and encourage consistency in our
typescript builds this extracts most of the options
into two base configs, one for node and one for browsers.
Also, in order to better utilize workspaces the require
paths to fxa-shared and fxa-react were updated throughout.
Because:
We need to begin sharing at least hooks and images alongside components. Components should live in fxa-react/components/ instead of root-level fxa-components.
* Setup React application via `create-react-app`, clear some cruft
* Add small Express server with HSTS + html-middleware/noblocking headers
* Proxy express server to the port where the webpack-dev-server runs (8092)
* Sets up Typescript for src/ and server/
* Setup package.json with initial npm commands including build
* Add prettier, eslint, Jest config for client, Docker
fixes#4201