Contract First
UI behavior is defined as explicit contracts (filters, pagination, modal steps, timeline grouping) before implementation details. Demo pages act as executable specs.
{{ define "demo_doc_start" }}
{{ index . "label" }}
{{ index . "lead" }}
{{ if index . "back_url" }} {{ end }} {{ if index . "links_html" }} {{ index . "links_html" }} {{ end }}Demo Application Shell
Reference shell for server-rendered Go web apps using shared design-code contracts.
Submodule-First Design Kit
A universal design-code workspace for Go web applications: reusable rules, demo-first UI patterns, and canonical development contracts for AI-assisted implementation.
UI behavior is defined as explicit contracts (filters, pagination, modal steps, timeline grouping) before implementation details. Demo pages act as executable specs.
Patterns target Go server-rendered apps first (net/http or Gin with templates). Interactivity is additive and must preserve deterministic URL/query contracts.
Shared patterns standardize behavior and structure while leaving visual branding, domain terminology, and business logic to each host project.
Do not filter only the currently rendered page slice. Filters must apply to the full dataset/query scope before pagination.
Do not open one modal from another modal. Use a single modal state machine with explicit stages (edit, confirm, done).
Do not export without clear scope selection when ambiguity exists (selected, filtered, all). Make the scope explicit in UI and request.
Do not implement new interaction behavior without updating the design code (Bible, pattern contract, and demo reference page).
{{ .Summary }}
{{ if .Link }} {{ end }}{{ .Summary }}
| ID | Name | Category | Status | Owner | Updated |
|---|---|---|---|---|---|
| {{ .ID }} | {{ .Name }} | {{ .Category }} | {{ .Status }} | {{ .Owner }} | {{ .Updated }} |
| No rows match current filters. | |||||