Commit Graph

22 Commits

Author SHA1 Message Date
Quentin Gliech 4ebe5687cf Reformat frontend code, fix a few new linting errors 2025-07-07 15:07:57 +02:00
Quentin Gliech 3d96dc9d47 Update license headers to match the actual license 2025-06-12 10:32:16 +02:00
Quentin Gliech 2605d3a8e0 Adjust layout spacings 2025-01-13 16:58:42 +01:00
Quentin Gliech affb1bfb01 Render an earlier loading screen fallback 2025-01-13 16:58:42 +01:00
Quentin Gliech b51a6c02ab Tweak the login page to match the design 2025-01-07 11:49:01 +01:00
Quentin Gliech da9bd49be1 Full page render tests 2024-11-15 09:51:16 +01:00
Quentin Gliech 4564b6cca8 Just use plain fetch 2024-11-15 09:51:16 +01:00
Quentin Gliech 10321afeba Setup MSW 2024-11-15 09:51:16 +01:00
Quentin Gliech f848e912ef Switch to Tanstack Query 2024-11-15 09:51:16 +01:00
Quentin Gliech ed4b6c42a7 Remove (C) 2024-09-10 14:28:55 +02:00
Quentin Gliech f6bb100c0a License headers change 2024-09-05 13:25:42 +02:00
Quentin Gliech 10d7ca95ae Update copyright headers 2024-04-30 13:33:47 +02:00
Quentin Gliech 08a3b90942 Load the branding from the API instead of hardcoding in the config 2024-04-30 13:33:47 +02:00
Quentin Gliech edfcea0419 Make the layout wider on "account" pages
This also fixes a bug where a double "layout" was applied to the not
found pages.

It also sets the layout min height to use 100svh instead of 100vh, so
that it doesn't unecessarily scroll on iOS.
2024-02-19 17:56:06 +01:00
Quentin Gliech f10a1c7830 Make sure the error boundary & loading spinner don't suspend
This is done by making it possible to render the GenericError, Layout
and Footer with a `dontSuspend` prop. This then sets the `useSuspense`
to `false` in translations, and sets a default translations in case they
haven't been loaded yet.
2024-02-17 09:48:53 +01:00
Quentin Gliech e041f47dfe Replace Jotai with @tanstack/router (#2359)
* Start replacing jotai with @tanstack/router

* Remove jotai completely

* Move the common layout & reimplement the ?action parameter

This also makes sure everything is properly loaded in the route loader,
and we use fragment where it makes sense

* Change the default error component

* GraphQL API: make the sessions fetchable through node(id: ID!)
2024-02-15 17:19:05 +01:00
Quentin Gliech f0f7497d2d Finish replacing jotai-urql with bare urql
Mostly remaining was pagination related stuff & fixing tests
2024-02-15 14:17:20 +01:00
Quentin Gliech 1b75b3b185 WIP: start replacing jotai-urql with urql 2024-02-15 14:17:20 +01:00
Quentin Gliech c809cd4020 Try to fix a flakey frontend test 2023-11-14 14:37:57 +01:00
Quentin Gliech f734d9c21f Frontend cleanups
Including:

  - use a readonly field for the email list
  - use the MFA control
  - compound upgrade
  - stopped using deprecated compound exports/components
2023-10-30 15:55:15 +01:00
Quentin Gliech a404398c2c Polish all forms and add nice page headings to most screens 2023-10-30 15:55:15 +01:00
Quentin Gliech 8984cc703b Add instance privacy policy, TOS and imprint, and loads of design cleanups 2023-10-30 15:55:15 +01:00