1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-07-06 05:42:30 +03:00
Commit Graph

26 Commits

Author SHA1 Message Date
b82db7a3de frontend: use in-memory history in test environments
This removes the flakiness of location-based tests
2023-10-23 14:52:27 +02:00
43648052e2 Wire up i18n for the React frontend (#1962)
Co-authored-by: Quentin Gliech <quenting@element.io>
2023-10-19 12:41:38 +00:00
dc7dacca19 frontend: remove an unused svgr config option 2023-09-26 14:53:08 +02:00
597482d4d8 Cleanup the session details fragments & load last active IP
This also cleans up the GraphQL scalar types, by making sure we always parse dates correctly
2023-09-21 12:47:45 +02:00
127bf91b54 Display IP address on sessions 2023-09-21 12:47:45 +02:00
7db4303445 fix: revert change to proxy server (#1824) 2023-09-20 21:59:26 +00:00
680c89acb9 DM: Last active timestamp UI (#1793) 2023-09-19 11:48:10 +02:00
7a9a873271 Compoundify the templates 2023-09-01 15:57:13 +02:00
652217ec9b frontend: work around the CSS split issue 2023-08-08 21:22:27 +02:00
e7e70d8fa8 frontend: disable CSS code splitting 2023-08-08 18:35:32 +02:00
c8ba2a1fa3 frontend: start using CSS modules for components with design tokens 2023-08-08 18:35:32 +02:00
176852066f Bump frontend dependencies 2023-08-02 15:54:10 +02:00
1a318e104a Upgrade compound-web and fix form refs 2023-08-02 13:11:33 +02:00
76653f9638 Better frontend assets handling and move the react app to /account/ (#1324)
This makes the Vite assets handling better, namely:

 - make it possible to include any vite assets in the templates
 - include the right `<link rel="preload">` tags for assets
 - include Subresource Integrity hashes
 - pre-compress assets and remove on-the-fly compression by the Rust server
 - build the CSS used by templates through Vite

It also moves the React app from /app/ to /account/, and remove some of the old SSR account screens.
2023-07-06 15:30:26 +02:00
f67cc0d6d0 Frontend cleanups
Mainly:

 - better handling of GraphQL errors
 - better logout state
 - dependencies update
 - a way to end browser sessions in the GraphQL API
2023-06-20 16:53:53 +02:00
ebb87f0a5e Many frontend fixes & deps bumps 2023-06-20 16:53:53 +02:00
33da9f05fe First-pass for Compound styles 2023-06-14 09:24:49 +02:00
aa8d5b6aed Fix the build and the CompatSsoLoginList query 2023-06-14 09:24:49 +02:00
826e84904e Setup consistent import order and fix eslint errors 2023-06-14 09:24:49 +02:00
415d06f209 WIP my account page 2023-06-14 09:24:49 +02:00
b26d12f52f frontend: Migrate to jotai and urql
This cuts the bundle size by 50% and makes it easier to reason about state.
It removes the usage of react-router-dom and replaces it with a simple router atom based on jotai-location.
Since the screens will be quite simple, I don't expect that we'll need the advanced caching features of react-relay, hence the switch to urql.
2023-03-20 21:10:04 +01:00
1f56d9b2f7 Fix frontend code coverage generation 2023-03-14 12:07:09 +01:00
960f1b8cec Bump frontend dependencies
Also swap Jest with Vitest, so that we can drop the Babel config.
2023-03-14 12:07:09 +01:00
933022850b Serve the SPA by the server 2022-11-18 13:43:01 +01:00
7dec625114 Configure Storybook 2022-11-18 13:43:01 +01:00
815afb4535 Bootstrap the frontend 2022-11-18 13:43:01 +01:00