Integrate Alpine.js for reactive UI

- Add Alpine.js (self-hosted, embedded in static/)
- Refactor app.js to use Alpine.js stores and components
- Update templates to use x-data, x-bind, x-show, x-text directives
- Add reactive deploy button state, live logs, status badges
- Add auto-dismiss alerts with close button and transitions
- Add copy-to-clipboard component with feedback
- Add confirm dialog component for destructive actions
- Add relative time component with auto-update
- Add prettier to make fmt target for JS formatting
This commit is contained in:
2026-01-01 05:37:46 +07:00
parent ab7e917b03
commit f1cc7d65a6
7 changed files with 553 additions and 723 deletions

View File

@@ -16,6 +16,7 @@ lint:
fmt:
gofmt -s -w .
goimports -w .
npx prettier --write --tab-width 4 static/js/*.js
test:
go test -v -race -cover ./...