frontend: htmx+alpine на модерации (candidates/selected)
- htmx 2.0.4 + alpine 3.17.4 локально в web/static/ (без CDN, zero-build) - HX-действия (approve/reject/select/translate/bulk) -> 204 + HX-Trigger refresh-list/refresh-detail; без JS — обычный POST (302) - левая панель -> _candidates_list.html/_selected_list.html (id=list-panel, hx-get+outerHTML) - правая панель кандидатов -> _detail_candidates.html (id=detail-panel, HX-Target detail-panel, refresh-detail) - фильтры hx-get с debounce; Alpine: табы (tabState/inline), bulkSel() (Set+sessionStorage), [x-cloak] - vanilla JS scripts-блоки удалены из candidates/selected; подтверждение — inline confirm - openspec change frontend-htmx-alpine (proposal/design/tasks/spec/ADR-0001), валиден - Bootstrap остаётся временно: следующий change — Tailwind+Frutjam
This commit is contained in:
Vendored
+21
File diff suppressed because one or more lines are too long
Vendored
+1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user