Commit Graph

410 Commits

Author SHA1 Message Date
Quentin Gliech
c08c028883 Fix frontend style, template syntax and regenerate translations 2025-11-19 13:07:02 +01:00
Quentin Gliech
f0d779e9b1 Interactively guide users for selecting a valid username 2025-11-18 18:25:23 +01:00
Quentin Gliech
95376dab81 Move all the frontend entrypoints to a dedicated directory
This will make it easier to add new entrypoints in the future without
having to change the vite config
2025-11-18 16:22:40 +01:00
Quentin Gliech
37aa17b105 Align the icons used in the session details page 2025-10-22 11:39:56 +02:00
Quentin Gliech
38cdc61778 Make the font slightly bolder on dangerous scopes 2025-10-22 11:37:58 +02:00
Quentin Gliech
7a9d5b0c29 Highlight dangerous scopes when consenting to them 2025-10-22 11:29:52 +02:00
Quentin Gliech
4307995fa1 Update snapshots 2025-10-08 11:25:05 +02:00
Quentin Gliech
0057d5bd33 Update generate GraphQL types 2025-09-18 15:38:39 +02:00
Hugh Nimmo-Smith
ec4e0ced6b Add references to MSC for account management account= query param
So that we know where these values have come from and when they can be removed.
2025-09-15 14:27:17 +01:00
Quentin Gliech
6824fcb9e3 Ignore a few linting errors 2025-09-12 09:46:52 +02:00
Quentin Gliech
4d83fcb25e Merge remote-tracking branch 'origin/main' into quenting/stable-api 2025-08-04 16:38:49 +02:00
Andrew Ferrazzutti
8bacf44c68 Revert GraphQL's unlock to also reactivate
Unlike the CLI and admin API, leave the behaviour of the GraphQL's
unlock handler unchanged from before, so as to not break internal
tooling that depends on it.

Also update its documentation description to make note of the fact that
it reactivates in addition to unlocks.
2025-07-16 14:17:01 -04:00
Andrew Ferrazzutti
49540693ab Decouple (un)locking from (re/de)activation
Unify the admin API, CLI, and GraphQL API in not having the unlock
command also reactivate, or the deactivate command also lock.

Still let the unlock command of the CLI and GraphQL API to also
reactivate the target user, albeit as a non-default option.
2025-07-16 14:17:01 -04:00
Quentin Gliech
ecf5cde955 Regenerate graphql.ts 2025-07-08 10:24:21 +02:00
Quentin Gliech
4cfd61c367 Reformat frontend code, fix a few new linting errors 2025-07-07 15:07:57 +02:00
Quentin Gliech
31ef6aac28 Regenerate route tree 2025-06-17 18:06:23 +02:00
Quentin Gliech
47895599bd Make the frontend parse the stable scope as well 2025-06-13 15:55:11 +02:00
Quentin Gliech
e42e4ab62f Make the dual license explicit (#3955) 2025-06-13 12:01:57 +02:00
Quentin Gliech
fc4245883e Bump most frontend dependencies 2025-06-12 14:13:22 +02:00
Quentin Gliech
52b0a9b2ba Update license headers to match the actual license 2025-06-12 10:32:16 +02:00
Quentin Gliech
d657064040 Update geenrated routes 2025-06-11 16:30:26 +02:00
Quentin Gliech
642c8ba508 Support for experimental plan management tab in UI (#4549) 2025-06-10 14:14:24 +02:00
Quentin Gliech
cbc914cfd6 Update test snapshots 2025-06-10 11:00:55 +02:00
Hugh Nimmo-Smith
211a124ee2 Schema update 2025-06-06 14:40:45 +01:00
Hugh Nimmo-Smith
60f8e40c7a Revert unnecessary change 2025-06-06 10:48:09 +01:00
Hugh Nimmo-Smith
0551b93cae Update schemas 2025-06-06 10:45:23 +01:00
Hugh Nimmo-Smith
3b66b6fd42 Lint 2025-06-06 10:07:27 +01:00
Hugh Nimmo-Smith
7b191db602 Update frontend/src/routes/_account.plan.index.tsx
Co-authored-by: Quentin Gliech <quenting@element.io>
2025-06-06 10:05:37 +01:00
Hugh Nimmo-Smith
0a121d3048 Iterate 2025-06-05 10:32:47 +00:00
Hugh Nimmo-Smith
7afc6e2fdb Get mutation observer working 2025-06-05 10:21:17 +00:00
Hugh Nimmo-Smith
69a8471363 Handle unloading 2025-06-04 17:53:25 +00:00
Hugh Nimmo-Smith
86e9aed41f Review feedback 2025-06-04 17:06:14 +00:00
Hugh Nimmo-Smith
42c63f0b8e Do fallback redirect at router level 2025-06-02 13:47:36 +00:00
Hugh Nimmo-Smith
8d95f80b9a Use <Navigate> component insert of redirect() 2025-06-02 13:16:19 +00:00
Hugh Nimmo-Smith
37d6d818f9 Merge remote-tracking branch 'refs/remotes/origin/hughns/plan-management' into hughns/plan-management 2025-05-30 16:43:54 +00:00
Hugh Nimmo-Smith
c7c579fb2d Redirect to / if no URI configured 2025-05-30 16:42:35 +00:00
Quentin Gliech
f956557340 Upgrade to Storybook 9 2025-05-30 16:06:26 +02:00
Hugh Nimmo-Smith
37b8d6d1b3 Tidy up 2025-05-09 11:07:35 +01:00
Hugh Nimmo-Smith
4c34d695ee Lint 2025-05-09 10:55:46 +01:00
Hugh Nimmo-Smith
aad2d8afb3 Merge branch 'main' into hughns/plan-management 2025-05-09 10:33:39 +01:00
Hugh Nimmo-Smith
4dca17edf4 Default height value 2025-05-09 09:26:33 +00:00
Quentin Gliech
b38b55a805 frontend: allow setting custom names to sessions 2025-04-25 16:55:30 +02:00
Quentin Gliech
cf9d4599f9 graphql: add mutation to update device name 2025-04-25 16:55:30 +02:00
Quentin Gliech
c6075f5cc0 frontend: display the custom device name on OAuth 2.0 sessions 2025-04-25 16:55:30 +02:00
Quentin Gliech
79868c3ca3 graphql: expose the humanName field on OAuth 2.0 sessions 2025-04-25 16:55:30 +02:00
Quentin Gliech
badaf35fcf frontend: expose the compat session humanName 2025-04-25 12:55:11 +02:00
Hugh Nimmo-Smith
7cb92b1fcc Set the iframe height based on content height 2025-04-22 14:13:47 +00:00
Hugh Nimmo-Smith
f4770b8e2e Format 2025-04-22 13:12:31 +00:00
Hugh Nimmo-Smith
d8381dad70 Fixes 2025-04-22 13:12:06 +00:00
Hugh Nimmo-Smith
57cc89a0c8 WIP support for experimental plan management tab in UI 2025-04-22 13:17:29 +01:00