mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-08-10 07:11:18 +02:00
Two fixes: 1. about_page edit was missing autosave-handler.js: the first if block (editType === 'page' || 'about_page') overrode $extraJs with only overtype.min.js, making the elseif that added autosave-handler.js unreachable for about_page. Added autosave-handler.js to the first block, removed dead 'about_page' from the elseif. 2. Deleting a contact group (Contacts 3/4/5) only removed the DOM element but never triggered htmx autosave. Dispatched a 'change' event on the form after removal+reindex so the hx-trigger fires. Also expanded autosave-handler.js URL filter to accept apropos.php so the status indicator (Enregistrement/Enregistré) works for contacts saves.
29 lines
2.9 KiB
Markdown
29 lines
2.9 KiB
Markdown
- [x] Remove "Mo" option from duration — keep only minutes and pages
|
||
- [x] Combine pages and minutes as separate fields (both can be set simultaneously)
|
||
- [x] Fix minutes input visibility (can't see what's typed)
|
||
- [x] Add `has_annexes` checkbox to form + DB column
|
||
- [x] Display duration on admin backoffice recap page
|
||
- [x] Update public TFE page duration display for new combined format
|
||
- [x] Fix `handleAutosaveResponse is not defined` — load `autosave-handler.js` on about_page edit view
|
||
- [x] Fix `handleAutosaveResponse is not defined` in admin add/edit — function was scoped inside IIFE bundle, not on window
|
||
- [x] Fix search result cards: title and author always below image/gradient, remove text overlay on placeholder gradient
|
||
- [x] Change search results to 10 per page with HTMX pagination (no-JS fallback preserved)
|
||
- [x] Bump to 15 results/page, make results area vertically scrollable, sticky pagination at viewport bottom
|
||
- [x] Fix HTMX targetError: move #search-results wrapper inside fragment so it survives outerHTML swaps
|
||
- [x] Add range counter to results header (e.g. "1–15 sur 112 résultats")
|
||
- [x] Collapsible filter controls with <details>/<summary> + active filter badge on mobile
|
||
- [x] Responsive paginator: hide first/last buttons on mobile, smaller touch targets
|
||
- [x] Compact range counter on mobile: "1–15 / 112" instead of full "1–15 sur 112 résultats"
|
||
- [x] Remove orientation display from search result card meta
|
||
- [x] Add bulk select/delete to tmp cleanup dialog (like admin/index.php pattern)
|
||
- [x] Move cleanup UI from modal to dedicated page (like add.php/edit.php)
|
||
- [x] Replace <details> with <fieldset>/<legend> in cleanup fragments (like contenus.php)
|
||
- [x] Standardise test group recipes: lint-php, lint-css, lint-js, test + add fix recipe + make lint pass clean
|
||
- [x] Remove Mot de passe column from acces.php, add key.svg icon button in Actions to copy password to clipboard, reorder actions (URL/password/edit/toggle/archive), switch URL icon to link-simple.svg
|
||
- [x] Fix CC2r: removed hidden seeds (were stale/overriding user input), render initial licence-choice from \$formData; Interne want_license unchecked clears CC2r+licence, switching from other modes preserves values; CC2r independent toggle; licence dropdown has no-licence placeholder
|
||
- [x] Dans le formulaire admin, le contact privé ne se sauvegarde pas.
|
||
- [x] Remove "Rendre le contact visible publiquement sur la fiche du TFE" from admin add/edit forms
|
||
- [x] Auto-show contact on public TFE page when contact_visible is filled (no checkbox needed)
|
||
- [x] Fix file size limits: align all layers (JS/FilepondHandler/ThesisFileHandler/validate-fragment) — video/audio 5 GB, default 500 MB, PDF 100 MB; fix JS fileValidateSizeFilter gate bug that rejected AV files >1 GB despite 8 GB per-ext cap
|
||
- [x] Fix: deleting contact groups in apropos form not persisted (no change event after DOM removal, autosave never triggered)
|