chore: remove Alpine.js references
Some checks failed
GBCI / build (push) Failing after 11s

- Delete alpinejs.min.js from ui/suite/js/vendor/
- Delete alpinejs.min.js from ui/minimal/js/vendor/
- Remove script tag from default.gbui
- Remove [x-cloak] CSS rule from global.css
- Update PROMPT.md to remove Alpine.js documentation
This commit is contained in:
Rodrigo Rodriguez (Pragmatismo) 2025-12-18 18:53:11 -03:00
parent dcdc9837e0
commit f6fc423d48
5 changed files with 2 additions and 19 deletions

View file

@ -30,7 +30,7 @@
4. **Frontend Asset Updates** 4. **Frontend Asset Updates**
```bash ```bash
# Check vendor libs in ui/suite/js/vendor/ # Check vendor libs in ui/suite/js/vendor/
# Compare with latest versions of htmx, alpine, etc. # Compare with latest versions of htmx, gsap, etc.
``` ```
### Packages to Watch ### Packages to Watch
@ -39,7 +39,6 @@
|------|-------------------|---------| |------|-------------------|---------|
| HTTP Client | `reqwest` | Consolidate HTTP handling | | HTTP Client | `reqwest` | Consolidate HTTP handling |
| Templates | `askama` | Efficient HTML templates | | Templates | `askama` | Efficient HTML templates |
| State Mgmt | `alpine.js` | Minimal JS reactivity |
| Animations | `gsap` | Replace CSS animations | | Animations | `gsap` | Replace CSS animations |
--- ---
@ -198,7 +197,7 @@ botbook/ # Documentation
``` ```
- Keep it minimal - one function per concern - Keep it minimal - one function per concern
- No frameworks (React, Vue, etc.) - vanilla JS only - No frameworks (React, Vue, etc.) - vanilla JS only
- Use vendor libs sparingly (htmx, marked, gsap, alpine) - Use vendor libs sparingly (htmx, marked, gsap)
- All JS must work with HTMX lifecycle (htmx:afterSwap, etc.) - All JS must work with HTMX lifecycle (htmx:afterSwap, etc.)
- Prefer CSS for animations when possible - Prefer CSS for animations when possible
``` ```
@ -214,7 +213,6 @@ ui/suite/js/vendor/
├── htmx-json-enc.js # JSON encoding ├── htmx-json-enc.js # JSON encoding
├── marked.min.js # Markdown parser ├── marked.min.js # Markdown parser
├── gsap.min.js # Animation (minimal use) ├── gsap.min.js # Animation (minimal use)
├── alpinejs.min.js # Alpine.js (minimal use)
└── livekit-client.umd.min.js # LiveKit video └── livekit-client.umd.min.js # LiveKit video
ui/minimal/js/vendor/ ui/minimal/js/vendor/

File diff suppressed because one or more lines are too long

View file

@ -105,7 +105,3 @@ h3 {
.text-gray { .text-gray {
color: #94a3b8; color: #94a3b8;
} }
[x-cloak] {
display: none !important;
}

View file

@ -17,7 +17,6 @@
<script src="js/vendor/gsap.min.js"></script> <script src="js/vendor/gsap.min.js"></script>
<script src="js/vendor/livekit-client.umd.min.js"></script> <script src="js/vendor/livekit-client.umd.min.js"></script>
<script src="js/vendor/marked.min.js"></script> <script src="js/vendor/marked.min.js"></script>
<script defer src="js/vendor/alpinejs.min.js"></script>
</head> </head>
<body> <body>

File diff suppressed because one or more lines are too long