mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 16:02:26 +00:00
1.2 KiB
1.2 KiB
Deployment Notes
Design system rollout
- Status: The design system styling is always active. The former
FEATURE_DESIGN_SYSTEMruntime flag has been removed, so there is no rollback toggle during deployment. - Template contract: Every layout, view, and partial must keep
data-dson its root element. The entrypoint stampsdata-ds="new"during bootstrap so controllers inherit the correct primitives. - Controllers: UI controllers still receive a
designSystemcontext, butcontext.isNew()now always returnstrue. Use the context for consistency, but do not branch on legacy styling paths.
Asset freshness and cache invalidation
- Static CSS/JS asset freshness is now driven by build-time manifest rewriting (
dist/asset-manifest.json) instead of runtimeASSET_VERSIONquery-string mutation. - Keep source HTML entry points (
index.html,embed.html) pointing at logical asset paths (for example,js/index.jsandcss/tailwind.generated.css). The build pipeline rewrites those references to content-hashed filenames indist/. - App routing query parameters (such as
?v=for video pointers) are unchanged and remain part of runtime URL behavior.