mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-08-10 07:11:18 +02:00
- fix page nav buttons, smaller default pages, violet bg
- Build toolbar after renderAllPages so it queries existing canvases;
query canvases fresh in the scroll handler so page tracking works
after re-render (zoom in/out).
- Default data-pdf-scale 0.85 (JS fallback 0.8) so pages are a bit
smaller by default.
- Add dark transparent violet background (accent-secondary 22%) to
.pdf-expanded, behind the pages.
- expand to fill column top-to-bottom via CSS flex
Use a flex chain (.tfe-files flex:1, .tfe-file-item:has(.pdf-expanded)
flex:1) so the expanded PDF wrapper fills the right column from under
the header to the bottom of the viewport, instead of viewport-based
clamp math that didn't account for the header height.
- fill right column, center pages, freeze column on expand
The expanded viewer now stays inside the right column instead of
growing the page: the column switches to overflow:hidden while the
PDF panel scrolls internally. Pages are centered horizontally via
flexbox align-items: center.
- fix toolbar not full-width, hide sibling file items
The toolbar was constrained by the parent's align-items:center; fixed
with align-self:stretch. Hiding sibling .tfe-file-item elements when
a PDF is expanded prevents them from rendering above the overlay.
- disable overscroll on expanded view
- use overscroll-behavior-y on container, none on toolbar
- disable body overscroll via .pdf-viewer-open class
- mobile full-viewport, iframe matches pdf height
- mobile overlay above everything via position:fixed
- opaque dark-violet bg on mobile overlay
- tfe: add 'Open in new tab' link above website iframes
- trim column padding when expanded for more vertical space
- 5% zoom increments, subtle padding on expanded column
- prevent horizontal overflow/overscroll
3.8 KiB
3.8 KiB
- Remove "Mo" option from duration — keep only minutes and pages
- Combine pages and minutes as separate fields (both can be set simultaneously)
- Fix minutes input visibility (can't see what's typed)
- Add
has_annexescheckbox to form + DB column - Display duration on admin backoffice recap page
- Update public TFE page duration display for new combined format
- Fix
handleAutosaveResponse is not defined— loadautosave-handler.json about_page edit view - Fix
handleAutosaveResponse is not definedin admin add/edit — function was scoped inside IIFE bundle, not on window - Fix search result cards: title and author always below image/gradient, remove text overlay on placeholder gradient
- Change search results to 10 per page with HTMX pagination (no-JS fallback preserved)
- Bump to 15 results/page, make results area vertically scrollable, sticky pagination at viewport bottom
- Fix HTMX targetError: move #search-results wrapper inside fragment so it survives outerHTML swaps
- Add range counter to results header (e.g. "1–15 sur 112 résultats")
- Collapsible filter controls with /
+ active filter badge on mobile
- Responsive paginator: hide first/last buttons on mobile, smaller touch targets
- Compact range counter on mobile: "1–15 / 112" instead of full "1–15 sur 112 résultats"
- Remove orientation display from search result card meta
- Add bulk select/delete to tmp cleanup dialog (like admin/index.php pattern)
- Move cleanup UI from modal to dedicated page (like add.php/edit.php)
- Replace with / in cleanup fragments (like contenus.php)
- Standardise test group recipes: lint-php, lint-css, lint-js, test + add fix recipe + make lint pass clean
- 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
- 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
- Dans le formulaire admin, le contact privé ne se sauvegarde pas.
- Remove "Rendre le contact visible publiquement sur la fiche du TFE" from admin add/edit forms
- Auto-show contact on public TFE page when contact_visible is filled (no checkbox needed)
- 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
- Fix: deleting contact groups in apropos form not persisted (no change event after DOM removal, autosave never triggered)
- Improve h1, h2, h3 size difference in base.css heading scale
- Rework TFE page desktop layout: two columns 35vw/1fr, left = author/title/meta/synopsis, right = files, media 100% width; columns scroll independently, content fits 100vw; no bottom padding on main; add &scrollbar=0 to PDF iframe URLs
- 'Promoteur·ice ULB' remplacé par 'Promoteur·ice université' (changement juste l'étiquette)
- PDF viewer: fix page navigation buttons (prev/next) — build toolbar after canvases exist & query canvases fresh in scroll handler
- PDF viewer: render pages smaller by default (0.85× scale)
- PDF viewer: add dark transparent violet background behind pages when expanded
- pdf-viewer: expand to fill right column (not whole page), center pages, freeze column on expand
- pdf-viewer: fix toolbar width (align-self:stretch), hide sibling file items when expanded