Files
matrix-authentication-service/frontend
Quentin Gliech a1bfbb6cdd Read the entrypoint configuration from data attributes
Instead of injecting configuration through inline <script> tags setting
window globals, server-rendered templates now carry the configuration
as data attributes on the entrypoint mount node, validated client-side
with a valibot schema over element.dataset. This removes all inline
scripts from the templates, which is friendlier to CSP, and gives the
frontend runtime-validated, typed configuration.

The DOM read and the wiring now happen in the entrypoints themselves:
main.tsx parses the mount node dataset, owns the QueryClient, and
injects the basepath and GraphQL endpoint into the router and request
layer instead of those being module-scope singletons.
2026-07-30 20:51:01 +02:00
..
2026-07-16 16:06:00 +00:00
2026-07-10 11:33:47 +00:00
2024-02-09 15:57:11 +01:00
2026-07-06 10:49:27 +02:00
2026-05-12 15:08:24 -05:00
2026-05-25 16:31:36 +02:00