# TODO - [x] Replace HTMX+PHP file upload queues with client-side JS - [x] Fix submit button on all forms — add JS/PHP debug logging - [x] Fix file-upload-queue.js: redirect detection broken due to opaque redirect (switched from fetch to XHR for reliable responseURL) - [x] Add `console.log` tracing on JS submit interception - [x] Add `error_log` entry-point logging to all 16 PHP action files - [x] Add double-submit guard (`_xamxamActiveSubmit`) - [x] Fix spurious HTMX console warnings from checkbox-list default hx-include - [x] Fix duplicate language entries (accented vs non-accented variants) - [x] Fix checkbox click in admin index navigating to recapitulatif instead of toggling - [x] Deduplicate getPredefinedLanguages() query - [x] Accent-tolerant getOrCreateLanguage() to prevent future duplicates - [x] Delete orphan non-accented language rows from DB - [ ] Migrate file upload queues to FilePond - [x] Download filepond.min.js + filepond.min.css as local assets - [ ] Create file-upload-filepond.js (init script for FilePond instances) - [ ] Rewrite fichiers-fragment.php: replace custom picker/queue DOM with FilePond targets - [ ] Rewrite fieldset-files.php: same migration (used by admin add page) - [ ] Update head.php / admin/add.php / edit.php / partage/index.php: swap sortable+file-upload-queue for filepond - [ ] Remove file-upload-queue.js and sortable.min.js - [ ] Clean up CSS: remove .fq-*, .tfe-file-queue styles, add filepond.css ref