Commit Graph

310 Commits

Author SHA1 Message Date
Quentin Gliech edc49fef95 Tweak some error messages & remove outdated comments 2024-11-15 09:51:16 +01:00
Quentin Gliech f9de7cf469 Full-page stories 2024-11-15 09:51:16 +01:00
Quentin Gliech da9bd49be1 Full page render tests 2024-11-15 09:51:16 +01:00
Quentin Gliech fcd9a6601f Better graphql response typing 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 187a6029d6 Switch codegen document mode to string 2024-11-15 09:51:16 +01:00
Quentin Gliech 10321afeba Setup MSW 2024-11-15 09:51:16 +01:00
Quentin Gliech ff9c4c05a8 Finish removing urql and use new test render wrapper 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 ad891a0809 Run misc/update.sh 2024-10-29 13:03:33 +01:00
Quentin Gliech 26d945d161 Use enums as types in the GraphQL codegen 2024-10-23 17:53:04 +02:00
Quentin Gliech ab8694728a Update test snapshots 2024-10-23 17:36:43 +02:00
Quentin Gliech abb523cbc8 Prevent double-fetch of translations 2024-10-23 17:36:43 +02:00
Quentin Gliech 94aeeba844 Split the cross-signing reset pages & adapt the wording 2024-10-23 17:36:43 +02:00
Quentin Gliech 1fedb3c83f Reset/restore scroll when navigating through the app (#3410) 2024-10-23 09:04:48 +00:00
Quentin Gliech 7f41081544 Update usages of the <Badge> component 2024-10-22 16:30:55 +02:00
Quentin Gliech e991c79d0d Update snapshots and generated files 2024-10-22 14:55:33 +02:00
Quentin Gliech 9bde01df5b Simplify GraphQL setup
This removes the unified GraphQL cache, as invalidation is annoying.
It also fixes inconsistent codegen behaviors.
2024-10-22 14:55:33 +02:00
Quentin Gliech 0b9acfea12 Enable recommended rules and fix all linting issues 2024-10-22 14:55:33 +02:00
Quentin Gliech f3e2f4b80d Reorder imports by running biome check --fix 2024-10-22 14:55:33 +02:00
Quentin Gliech c781b9883a Run biome format --write 2024-10-22 14:55:33 +02:00
Quentin Gliech 2cd4e494f0 Bump most frontend dependencies in the lock file 2024-10-07 19:07:47 +02:00
Quentin Gliech 8c5bc600dc Update vaul, @radix-ui/* and compound-web 2024-10-02 14:33:48 +02:00
Quentin Gliech 811e1686ae Clean up how pagination parameters are handled 2024-10-01 18:27:20 +02:00
Quentin Gliech 21fb01d961 Remove contacts from the data model 2024-09-20 20:39:04 +02: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 baac6c5d97 Fix type error post Tanstack Router upgrade 2024-08-30 16:58:35 +02:00
Michael Telatynski 54d5e94bc4 Iterate cross signing reset flows (#3102)
* Handle UIA fallback authDone API for cross signing reset unlock

* Extract VisualList into a more reusable component

* Redesign cross signing reset unlock flow

* Fix block gap

* Hide reset x-signing flow on account view under a collapsible heading

* i18n

* Iterate

* Downgrade Radix react-collapsible

* Fix class names

* Update snapshots
2024-08-30 15:45:10 +02:00
Quentin Gliech c8afc48e46 frontend: remove double separator when password auth is disabled 2024-08-13 11:12:11 +02:00
Quentin Gliech 078939d64d frontend: add the TooltipProvider everywhere 2024-08-05 14:28:20 +02:00
Quentin Gliech 4197929dec frontend: Update snapshots 2024-08-04 23:17:20 +02:00
Quentin Gliech d07150db11 frontend: use RouterContextProvider instead of RouterProvider in tests 2024-08-02 10:36:37 +02:00
Quentin Gliech 3f947025e2 Host a Swagger UI both in the static documentation and by the server 2024-08-01 15:17:14 +02:00
Quentin Gliech cb8bfa466b frontend: move getNinetyDaysAgo to a shared utility 2024-08-01 14:13:22 +02:00
Quentin Gliech c3b2d163a9 frontend: don't wait before rendering
The default behaviour of Tanstack Router is to wait at least 500ms
before showing the rendered route, so that the loading spinner doesn't
flicker. We don't want that, as we don't seem to have a working loading
spinner anyway, and this just unnecessarily adds FCP latency.
2024-08-01 14:13:22 +02:00
Quentin Gliech c7cfd76cbd frontend: lazy-load all routes 2024-08-01 14:13:22 +02:00
Quentin Gliech 0161771ef4 frontend: lazy-load the password complexity calculation logic 2024-08-01 14:13:22 +02:00
Olivier 'reivilibre 8737d6f89b graphql: Expose CAPTCHA config and whether password registration is enabled 2024-07-26 13:02:58 +01:00
Olivier 'reivilibre a6d46d90ca frontend: password recovery 2024-07-26 10:20:32 +01:00
Olivier 'reivilibre 6613f4547a frontend: pull out translations of SetPasswordStatus into function 2024-07-26 10:20:32 +01:00
Quentin Gliech e937ea8fa8 Rework assets loading to fix splitting CSS chunks 2024-07-25 12:59:29 +02:00
reivilibre 98aa3a8dbc frontend: refactor password change form to extract double-input password creation inputs as new component (#2994) 2024-07-24 16:22:40 +01:00
reivilibre 8147016735 graphql: Add a SetPasswordByRecovery mutation to perform account recovery (#2986) 2024-07-24 16:19:14 +01:00
Quentin Gliech 3b83b11607 frontend: add filter for inactive sessions 2024-07-19 13:40:27 +02:00
Quentin Gliech 6f2ab4f738 graphql: allow filtering of sessions by last activity 2024-07-19 13:40:27 +02:00
Quentin Gliech 2649d66825 Code-split the password channge page 2024-07-17 17:56:04 +02:00
Quentin Gliech bd359848bf Replace all icons by the ones exported by compound-design-tokens 2024-07-17 09:04:48 +02:00
Quentin Gliech 9df3612e88 Upgrade Compound to 5.5.0 (and the design tokens) 2024-07-17 09:04:48 +02:00
Olivier 'reivilibre bf8bd85170 frontend: fetch min password complexity and enforce locally 2024-07-16 17:30:28 +01:00