From ede53746ba3b312a256d0d769a1ba6f185b88b2f Mon Sep 17 00:00:00 2001 From: Pontoporeia Date: Fri, 24 Apr 2026 13:11:15 +0200 Subject: [PATCH] feat: student name popover preview on /repertoire via htmx --- README.md | 2 +- TODO.md | 24 +++--- app/public/assets/css/repertoire.css | 67 +++++++++++++++++ app/src/Controllers/SearchController.php | 24 ++++++ app/src/Database.php | 18 +++++ app/src/Dispatcher.php | 11 +++ app/storage/posterg.db | Bin 270336 -> 270336 bytes app/storage/test.db | Bin 602112 -> 602112 bytes app/templates/partials/repertoire-index.php | 31 +++++--- app/templates/partials/student-preview.php | 28 +++++++ app/templates/public/repertoire.php | 56 ++++++++++++++ package.json | 17 ----- pnpm-lock.yaml | 22 ------ todo/01-css-semantic-refactor.md | 61 --------------- todo/02-php-components.md | 32 -------- todo/03-system-cache.md | 33 -------- todo/04-accessibility.md | 79 -------------------- todo/README.md | 10 --- 18 files changed, 237 insertions(+), 278 deletions(-) create mode 100644 app/templates/partials/student-preview.php delete mode 100644 package.json delete mode 100644 pnpm-lock.yaml delete mode 100644 todo/01-css-semantic-refactor.md delete mode 100644 todo/02-php-components.md delete mode 100644 todo/03-system-cache.md delete mode 100644 todo/04-accessibility.md delete mode 100644 todo/README.md diff --git a/README.md b/README.md index eecf3a5..95c24db 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # XAMXAM -(Anciennement *Posterg*) +(Anciennement *[Posterg](https://wiki.erg.be/m/#Posterg)* Répertoire des travaux de fin d'études de l'[ERG](https://erg.be) (École de Recherche Graphique). diff --git a/TODO.md b/TODO.md index 001d62a..22eac9b 100644 --- a/TODO.md +++ b/TODO.md @@ -1,15 +1,11 @@ -# TODO +# Posterg TODO -- [x] Fix broken `flash-messages.php` include in admin footer -- [x] Make `.repertoire-col` columns scrollable instead of `.search-main` -- [x] Replace JS toast system with pure HTMX toast fragment (top-right, CSS-only auto-fade) -- [x] Separate admin views from controllers: move all HTML to `templates/admin/*.php`, fragments to `templates/admin/partials/` -- [x] Add SMTP test email button in parametres.php (action + CSS) -- [x] Fix SmtpRelay::send() — replace broken mail() stub with native PHP socket SMTP client (STARTTLS/SSL, AUTH PLAIN/LOGIN) -- [x] Lock body scroll on all pages (admin + public); only `main` or inner element scrolls -- [x] Unify form CSS between admin `add.php` and student partage form: move licence/share-badge styles into `admin.css`, remove inline `