UI Consistency Checklist
Use this checklist for any PR that changes browser UI code in provider or config-service.
Standards
- Keep UI architecture aligned across projects:
- module-style vanilla JavaScript.
- namespace factory pattern (
window.<ModuleName> + create(deps)).
- split responsibilities into:
- state/bootstrap
- behavior/functions
- bindings/event wiring
- Prefer dependency injection between modules instead of hidden global coupling.
- Keep UI assets as static HTML/CSS/JS served by Quart routes.
Preferred Libraries
- Preferred: browser/platform APIs and existing in-repo helper modules.
- Preferred: no external frontend frameworks by default.
- Do not introduce React, Vue, Angular, or Svelte unless explicitly approved.
Implementation Checklist
Validation Checklist
- Canonical agent-side UI rules are documented in
agent.md under UI Consistency Rules.