Design surface: starter roles, theme literals, and the view that could only inspect itself #97

Merged
bvandeusen merged 11 commits from dev into main 2026-08-04 11:02:42 -04:00
Showing only changes of commit 4852b0d3df - Show all commits
+5
View File
@@ -44,6 +44,11 @@ def test_every_endpoint_is_reachable_on_the_app():
} }
assert rules == { assert rules == {
"/api/design-systems", "/api/design-systems",
# Static segment, declared before the <int:...> rule reads it — Quart's
# int converter will not match "starter-roles", so the two cannot
# collide. Worth stating: a static-vs-dynamic sibling on the same prefix
# is exactly where a silently-shadowed route hides.
"/api/design-systems/starter-roles",
"/api/design-systems/<int:design_system_id>", "/api/design-systems/<int:design_system_id>",
"/api/design-systems/<int:design_system_id>/resolved", "/api/design-systems/<int:design_system_id>/resolved",
"/api/design-systems/<int:design_system_id>/stylesheet", "/api/design-systems/<int:design_system_id>/stylesheet",