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

18 Commits

Author SHA1 Message Date
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