left4me/l4d2web/templates
mwiegand 2ab54a3800
fix(l4d2-web): file tree fetches in plain JS — vendored htmx is a stub
The vendored static/vendor/htmx.min.js turned out to be a 33-byte
placeholder, so the hx-get/hx-target/hx-trigger attributes on the
overlay file tree's folder buttons were inert: clicks rotated the
chevron (own JS) but never fetched. Switch the lazy-load to a
~30-line plain-JS handler in static/js/file-tree.js that fetches
button.dataset.filesUrl on first expand and dedupes via dataset.loaded.
Update the spec/plan to match. Route + partial contracts unchanged.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-08 20:23:04 +02:00
..
_job_table.html feat(l4d2-web): managed global map overlays with daily refresh 2026-05-08 08:05:14 +02:00
_overlay_file_node.html fix(l4d2-web): file tree fetches in plain JS — vendored htmx is a stub 2026-05-08 20:23:04 +02:00
_overlay_file_tree.html feat(l4d2-web): overlay detail Files section with HTMX file tree + downloads 2026-05-08 20:16:25 +02:00
_overlay_item_table.html feat(l4d2-web): workshop overlay UI (routes + templates) 2026-05-07 16:50:54 +02:00
admin.html chore(l4d2-web): remove orphaned 'Global map overlays' admin section 2026-05-08 17:25:15 +02:00
admin_jobs.html feat(l4d2-web): add job pages and cancellation 2026-05-06 15:05:13 +02:00
admin_users.html feat(l4d2-web): add admin landing and system pages 2026-05-06 12:09:36 +02:00
base.html feat(l4d2-web): overlay detail Files section with HTMX file tree + downloads 2026-05-08 20:16:25 +02:00
blueprint_detail.html feat(web): forms in modals, edit/delete on detail pages, port auto-assign 2026-05-07 01:30:33 +02:00
blueprints.html feat(web): blueprint-prefilled create-server flow + empty-state CTA 2026-05-07 01:47:33 +02:00
dashboard.html feat(l4d2-web): add neutral shell and theme tokens 2026-05-06 12:06:23 +02:00
job_detail.html feat(l4d2-web): managed global map overlays with daily refresh 2026-05-08 08:05:14 +02:00
login.html feat(l4d2-web): add login page and safe redirects 2026-05-06 12:52:22 +02:00
overlay_detail.html feat(l4d2-web): overlay detail Files section with HTMX file tree + downloads 2026-05-08 20:16:25 +02:00
overlay_jobs.html feat(l4d2-web): per-overlay job list + redirect to job after build-triggering edits 2026-05-08 17:44:22 +02:00
overlays.html feat(l4d2-web): script overlay UI 2026-05-08 15:50:36 +02:00
server_detail.html feat: server Reset action — wipe runtime, keep DB row 2026-05-08 18:10:32 +02:00
server_jobs.html feat(l4d2-web): add job pages and cancellation 2026-05-06 15:05:13 +02:00
servers.html feat(l4d2-web): server identity by id, name as display label 2026-05-08 19:22:09 +02:00