Commit Graph
463 Commits
Author SHA1 Message Date
Quentin Gliech 42b265d21b Align the page heading and inline form styles with Figma 2026-05-28 13:30:25 +02:00
Quentin Gliech 5e4bc3b7c4 Import the alert component from Compound Web 2026-05-28 13:30:25 +02:00
Quentin Gliech e23b3067b7 Migrate to Tailwind v4 (#5702) 2026-05-26 17:09:55 +02:00
Quentin Gliech 8e65bf198e frontend: migrate to Tailwind 4
Tailwind 4 ships its own Vite plugin and no longer needs PostCSS plumbing.
Drop postcss/autoprefixer/postcss-import/postcss-nesting and the .postcssrc.json,
wire @tailwindcss/vite into vite.config.ts, replace the @tailwind directives
with @import "tailwindcss", and convert the JS tailwind.config.cjs theme
into a CSS @theme block in shared.css. An @source directive points back at
the SSR templates so the Jinja-rendered HTML in templates/ still gets scanned
for utility classes.

The third-party CSS (compound design tokens, compound-web, fontsource) moves
into a new vendor.css entrypoint, loaded ahead of shared.css from main.tsx,
storybook, and base.html. Tailwind v4's @import bundler silently drops the
nested `@import url(...) layer(cpd-base) screen` statements inside the
compound-design-tokens.css barrel, so we have to keep those imports out of
any file that contains Tailwind directives and let Vite's normal CSS pipeline
resolve them instead.
2026-05-25 16:31:36 +02:00
Quentin Gliech e03c953945 Adjust the button sizes to the new t-shirt size. 2026-05-25 16:28:42 +02:00
Quentin Gliech 99395c9e64 Make sure the footer is loaded before rendering the page 2026-05-25 12:46:00 +02:00
Quentin Gliech 41e8929ba5 Stop using the unsupported 'createFileRoute' typescript magic
Support for this ware removed from TanStack Router, so we need to explicitly set a route name when calling 'createFileRoute'.
2026-05-25 12:37:01 +02:00
Quentin Gliech 4bc2bc0e77 Update use of generated GraphQL types 2026-05-25 12:37:01 +02:00
Quentin Gliech ef6ecbbea0 Regenerate GraphQL types 2026-05-25 12:37:01 +02:00
Quentin Gliech f339a10485 Run formatter 2026-05-25 12:37:01 +02:00
Quentin Gliech c7654248ab Inline the browser icons
They are very small and don't need an extra request to load. This is useful as
well for making the snapshots not dependant on where the project is installed
2026-05-25 11:16:55 +02:00
Eric Eastwood d4e33f5121 Fix lints 2026-05-20 15:48:56 -05:00
Eric Eastwood c16eebdc6a Fix potentially typo 2026-05-20 15:47:58 -05:00
Eric Eastwood 1c648edb87 Use safer num_sessions_filtered_header pluralization
See https://github.com/element-hq/matrix-authentication-service/pull/5644#discussion_r3227855225
2026-05-20 15:47:09 -05:00
Eric Eastwood 8861cdbf70 Fix lints 2026-05-12 15:08:24 -05:00
Eric Eastwood 4a9cd47e87 Add NavItemErrorIcon
See https://github.com/element-hq/matrix-authentication-service/pull/5644#discussion_r3227879875
2026-05-12 15:04:40 -05:00
Eric Eastwood 551e2f1dd9 plural hit_session_limit_warning_description/approaching_session_limit_warning_description 2026-05-12 14:47:30 -05:00
Eric Eastwood e19b2f42e9 plural session_limit_info 2026-05-12 14:26:45 -05:00
Eric Eastwood fa6f90f672 plural num_sessions_filtered_header 2026-05-12 13:52:29 -05:00
Eric Eastwood 92f76bcc1f plural num_sessions_header 2026-05-12 13:32:15 -05:00
Eric Eastwood 698ffd7864 Fix fragment masking ($fragmentRefs) problems in tests
See https://github.com/element-hq/matrix-authentication-service/pull/5644#discussion_r3134443493
2026-05-12 12:11:10 -05:00
Eric Eastwood 6d3082e9dc Automatic updates 2026-05-06 09:53:02 -05:00
Eric Eastwood 51ec638b83 Design review: Use info styles for approaching limit warning 2026-05-06 09:48:32 -05:00
Eric Eastwood 336b80173e Merge branch 'main' into madlittlemods/soft-limit-account-session-management 2026-05-05 14:53:20 -05:00
Eric Eastwood d83a3e77f5 Add test to ensure error shown on account page 2026-04-23 18:01:30 -05:00
Eric Eastwood cc7f786af3 Fix error icon in nav bar not disapparing when you remove enough devices
See https://github.com/element-hq/matrix-authentication-service/pull/5644#discussion_r3133886809
2026-04-23 16:26:24 -05:00
Eric Eastwood 041d9ad01d Fix lints and automatic updates 2026-04-22 18:31:41 -05:00
Eric Eastwood ebd0493cf5 Conditional NavBar device limit error 2026-04-22 18:27:47 -05:00
Eric Eastwood 69258452e5 Add session limit errors on account -> devices page 2026-04-22 18:19:55 -05:00
Eric Eastwood 8706b6203a Add session limit info icon 2026-04-22 17:45:03 -05:00
Eric Eastwood 6dce03e27d Pipe session_limit to frontend 2026-04-17 18:22:32 -05:00
Eric Eastwood d1edf64dda Add header showing total number of devices 2026-04-17 17:49:20 -05:00
Eric Eastwood 3de9575203 Add styles to error icon in nav bar 2026-04-17 16:29:16 -05:00
Eric Eastwood f82034ef33 Prototype error in navbar 2026-04-17 15:54:02 -05:00
Eric Eastwood cc1e26256e Improve consent screen when idenity provider has no avatar 2026-04-16 16:07:01 -05:00
Eric Eastwood 823fbe854d Add warning/note when removing devices 2026-03-24 16:31:10 -05:00
Quentin Gliech 507ae938b4 Fix dummy test router 2026-03-17 10:37:23 +01:00
Quentin Gliech c302f3e47a Regenerate route tree 2026-03-17 10:37:23 +01:00
Jean-Benoît Grimaldi 56a37fc7ae Fix wrong username regex 2026-02-07 11:44:22 +01:00
Quentin Gliech 375164b235 Fix changes in React types 2026-02-04 17:49:17 +01:00
Quentin Gliech 2defccf6f0 Update test snapshots 2026-01-20 16:34:22 +01:00
Olivier 'reivilibre 132b77c7bd Support for stable MSC4191 account management actions (#5312) 2026-01-12 12:14:16 +00:00
Quentin Gliech c5dfb4906b Add a few <Dialog.Description> in dialogs 2025-12-16 16:21:02 +01:00
Quentin Gliech 42ab0543dc Regenerate route tree 2025-12-16 15:48:50 +01:00
Quentin Gliech 866de0adc9 Update snapshots 2025-12-16 14:57:55 +01:00
Quentin Gliech ff4cc764f4 @import url(..) -> @import .. to let knip discover CSS imports correctly 2025-12-12 10:18:44 +01:00
Quentin Gliech e1de5c5860 Simplify the consent screen (#5310) 2025-12-03 14:22:14 +01:00
Hugh Nimmo-Smith fd62b80df8 Lint 2025-12-03 11:50:52 +00:00
Hugh Nimmo-Smith ca9cedcfda Stabilisation of supported MSC4191 account management actions
- Support the stable names and the unstable names
- Advertise both the stable names and the unstable names

This means that MAS supports either names. We can remove the unstable names once the is enough client adoption of the stable names.

n.b. this does not change the oauth2-types crate as not used by MAS.
2025-12-03 10:43:39 +00:00
copilot-swe-agent[bot]andsandhose e6a92bdd3e Improve comments explaining function-based mock for Intl.DateTimeFormat
Co-authored-by: sandhose <1549952+sandhose@users.noreply.github.com>
2025-12-03 09:36:14 +00:00