Quentin Gliech
9f18fd9e90
frontend: remove an unused svgr config option
2023-09-26 14:53:08 +02:00
Quentin Gliech
fae6e34342
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
Kerry Archibald
a8c7c2e072
Display IP address on sessions
2023-09-21 12:47:45 +02:00
Kerry
a39d9d5e8d
fix: revert change to proxy server ( #1824 )
2023-09-20 21:59:26 +00:00
Kerry
6885c82183
DM: Last active timestamp UI ( #1793 )
2023-09-19 11:48:10 +02:00
Quentin Gliech
2bbd0d2292
Compoundify the templates
2023-09-01 15:57:13 +02:00
Quentin Gliech
07aca4b691
frontend: work around the CSS split issue
2023-08-08 21:22:27 +02:00
Quentin Gliech
687724f3b7
frontend: disable CSS code splitting
2023-08-08 18:35:32 +02:00
Quentin Gliech
7cbc2bfb55
frontend: start using CSS modules for components with design tokens
2023-08-08 18:35:32 +02:00
Quentin Gliech
1f865736a8
Bump frontend dependencies
2023-08-02 15:54:10 +02:00
Quentin Gliech
31f18a5c01
Upgrade compound-web and fix form refs
2023-08-02 13:11:33 +02:00
Quentin Gliech
82afe9471c
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
Quentin Gliech
86a280c0ea
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
Quentin Gliech
018175185d
Many frontend fixes & deps bumps
2023-06-20 16:53:53 +02:00
Germain
d723db9910
First-pass for Compound styles
2023-06-14 09:24:49 +02:00
Quentin Gliech
441e9211ef
Fix the build and the CompatSsoLoginList query
2023-06-14 09:24:49 +02:00
Quentin Gliech
cdaaad5411
Setup consistent import order and fix eslint errors
2023-06-14 09:24:49 +02:00
Quentin Gliech
e946e67b7e
WIP my account page
2023-06-14 09:24:49 +02:00
Quentin Gliech
f8ca208b46
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
Quentin Gliech
3b2b0c6ae8
Fix frontend code coverage generation
2023-03-14 12:07:09 +01:00
Quentin Gliech
d8a5089613
Bump frontend dependencies
...
Also swap Jest with Vitest, so that we can drop the Babel config.
2023-03-14 12:07:09 +01:00
Quentin Gliech
28a9d54072
Serve the SPA by the server
2022-11-18 13:43:01 +01:00
Quentin Gliech
619a716c31
Configure Storybook
2022-11-18 13:43:01 +01:00
Quentin Gliech
33cf799a1e
Bootstrap the frontend
2022-11-18 13:43:01 +01:00