Commit Graph

33 Commits

Author SHA1 Message Date
Quentin Gliech
c58ebd20fa WIP my account page 2023-06-14 09:24:49 +02:00
Quentin Gliech
f888be5103 WIP my account page 2023-06-14 09:24:49 +02:00
Quentin Gliech
39d9263ee7 WIP my account page 2023-06-14 09:24:49 +02:00
Quentin Gliech
bae3f2d9d0 WIP my account page 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
e5cc571a99 Have better output types on mutations 2023-04-25 16:39:15 +02:00
Quentin Gliech
42eefd4a98 Have a new viewer and viewerSession graphql query member
This deprecates `currentUser` and `currentBrowserSession`, but doesn't remove them (yet).

Also start to split the root query in multiple objects
2023-04-25 16:39:15 +02:00
Quentin Gliech
2fbcb5377e Split the mutations and make them use an input object instead of different parameters 2023-04-25 16:39:15 +02:00
Quentin Gliech
665487db40 Setup GraphQL mutations to add and verify email addresses
This refactors a bit how the connection to the repository is done in the
graphql handler, so that we can properly commit transactions.
2023-04-25 16:39:15 +02:00
Quentin Gliech
42ec761722 Bump frontend dependencies & setup better urql cache 2023-04-19 11:39:02 +02:00
Quentin Gliech
5796ba822d Bump frontend dependencies 2023-04-18 19:03:51 +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
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
9e7b6f4710 Bump frontend dependencies 2023-02-27 17:43:34 +01:00
Quentin Gliech
d3610e45f3 Bump Storybook to -beta.15 2022-12-28 12:22:10 +01:00
Quentin Gliech
9c56924a3d Adjust types in storybook 2022-12-08 16:36:34 +01:00
Quentin Gliech
28a9d54072 Serve the SPA by the server 2022-11-18 13:43:01 +01:00
Quentin Gliech
5a806bf8de Standalone pages to view an OAuth client and a browser session 2022-11-18 13:43:01 +01:00
Quentin Gliech
e37201b5c0 Allow fetching more nodes by their IDs 2022-11-18 13:43:01 +01:00
Quentin Gliech
3b3de6e86c DateTime component 2022-11-18 13:43:01 +01:00
Quentin Gliech
f04fe1da7f More components reuse 2022-11-18 13:43:01 +01:00
Quentin Gliech
6396192b40 Cleanup Storybook config and add theme switcher 2022-11-18 13:43:01 +01:00
Quentin Gliech
7cf7d0a327 Add Typography components 2022-11-18 13:43:01 +01:00
Quentin Gliech
6da3e77c3c Stories for components with Relay fragments 2022-11-18 13:43:01 +01:00
Quentin Gliech
7d642fe42a More stories 2022-11-18 13:43:01 +01:00
Quentin Gliech
619a716c31 Configure Storybook 2022-11-18 13:43:01 +01:00
Quentin Gliech
a0ae4dd4fa OAuth and browser session lists 2022-11-18 13:43:01 +01:00
Quentin Gliech
65a3011173 Simple list of compat sessions 2022-11-18 13:43:01 +01:00
Quentin Gliech
1cfeede70d Start displaying some paginated stuff 2022-11-18 13:43:01 +01:00
Quentin Gliech
d04664a681 Setup Jest 2022-11-18 13:43:01 +01:00
Quentin Gliech
3df8e3962d Basic navigation 2022-11-18 13:43:01 +01:00
Quentin Gliech
f33810ce1a Lint GraphQL schema and operations with eslint 2022-11-18 13:43:01 +01:00
Quentin Gliech
33cf799a1e Bootstrap the frontend 2022-11-18 13:43:01 +01:00