134fe22fde
Build / build (push) Successful in 11m22s
Replace raw <input type="checkbox"> with the ToggleSwitch component on sites/[id] (encrypt-secret), sites/new (render-markdown, enable-storage), and stacks/new (deploy-immediately). Document the convention in CLAUDE.md so future forms keep the same control instead of mixing styles.
572 B
572 B
Tinyforge
Dev Server
Start/restart with: ./scripts/dev-server.sh
- Runs on port 8090 (avoids 8080 conflict with other local services)
- Auto-generates
ENCRYPTION_KEYif not set - Default login:
admin/admin123 - Override port:
LISTEN_ADDR=:9000 ./scripts/dev-server.sh
Frontend
- Boolean inputs use
ToggleSwitch($lib/components/ToggleSwitch.svelte) — the slide-style switch is the unified control across the WebUI. Do not introduce raw<input type="checkbox">elements; place a<ToggleSwitch>next to a label/help block instead.