Граф коммитов

10 Коммитов

Автор SHA1 Сообщение Дата
Valerie Pomerleau 9db5491754
docs(admin-panel): Add instructions to set up stripe test key
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
2022-10-26 11:08:38 -07:00
dschom 40cc469f26
task(admin-panel): Remove unused dependencies
Because:
- Unused dependencies were detected

This Commit:
- Removes unused dependencies
2022-06-24 09:46:12 -07:00
sdespacio 947647648b
Resolving issue #6746
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.
2020-11-16 18:29:59 -05:00
Lauren Zugai 54925c4899
fix(admin-panel): Fix connection to admin server in dev, remove unneeded Apollo dependencies, update README
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
2020-10-02 10:22:51 -05:00
Danny Coates e565285b7e
refactor(tsconfig): consolidate common tsconfig options
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.
2020-05-26 12:18:51 -07:00
Lauren Zugai e82eeebf0a
refactor(shared components): Rename 'fxa-components' to 'fxa-react'
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.
2020-05-15 12:55:21 -05:00
Jody Heavener 099163e947
docs(all): update readmes across all packages to improve testing documentation 2020-05-06 12:02:21 -04:00
Jody Heavener b62a8282e4
chore(components): set up testing, tsconfig, custom components module resolving, some other housekeeping 2020-04-20 15:43:38 -07:00
Jody Heavener 8bd85f44ca
refactor(admin): add rescripts to admin panel 2020-04-20 15:43:38 -07:00
Lauren Zugai c97ac46edc
feat(admin-panel): Add base fxa-admin-panel package (client) shell
* 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
2020-03-05 08:47:17 -06:00