left4me/l4d2web/static/js
mwiegand a4e9f6cd26
feat(l4d2-web): blueprint overlay picker — drag-list + add-dropdown
Replace the per-row checkbox + numeric Order table on the blueprint
detail page with a drag-to-reorder list of selected overlays plus a
native <select> for adding more. Removing uses an × button per row;
the option sorted-inserts back into the dropdown alphabetically.

Native HTML5 drag-and-drop, no library, no JS-disabled fallback.
Server contract is unchanged: each list row owns one hidden
<input name="overlay_ids">, DOM order = submission order, and the
existing fallback_position branch in ordered_overlay_ids_from_form
absorbs the now-omitted overlay_position_<id> fields.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-08 21:37:11 +02:00
..
blueprint-overlay-picker.js feat(l4d2-web): blueprint overlay picker — drag-list + add-dropdown 2026-05-08 21:37:11 +02:00
csrf.js chore(l4d2): flatten component layout 2026-05-05 23:47:06 +02:00
file-tree.js fix(l4d2-web): file tree fetches in plain JS — vendored htmx is a stub 2026-05-08 20:23:04 +02:00
modal.js feat(web): forms in modals, edit/delete on detail pages, port auto-assign 2026-05-07 01:30:33 +02:00
sse.js feat(l4d2-web): execute queued lifecycle jobs 2026-05-06 14:08:18 +02:00