diff --git a/TODO.md b/TODO.md index e59f103..24b4658 100644 --- a/TODO.md +++ b/TODO.md @@ -1,18 +1,4 @@ # TODO -## CSV importer AP/orientation standardisation -- [x] Migration 014: add `Récits et expérimentation` (RE) and `PACS` AP programs; set code `NS` on `Narration Spéculative` -- [x] Importer: replace code-only AP lookup with `resolveAP()` — handles full names, aliases (`L.I.E.N.S.`, case variants), code fallback -- [x] Importer: replace `orientationMap` code-only lookup with `resolveOrientation()` — handles full names, aliases (`Installation/Performance`, `Arts numériques`, `Design numérique`), legacy 2-letter codes, case-insensitive DB fallback - -## Répertoire page fixes -- [x] Fix AP and orientation columns returning empty results when clicked -- [x] Fix multi-select being blocked (only one entry selectable at a time) -- [x] Fix all other columns becoming faded when AP/OR filter is selected -- [x] Always show all lookup-table values (ap/or/fi); only fade based on cross-dimension matched data when the column has at least one matched entry (`$colHasMatches` guard) -- [x] Make `main` the scrollable element instead of body - - [x] `common.css`: body is now `display:flex; flex-direction:column`, `main` gets `flex:1; min-height:0` - - [x] `public.css`: removed redundant `main` block, `.home-main` keeps its `overflow-y:auto` - - [x] `repertoire.css`: `.search-main` gets `min-height:0` for proper flex scroll containment - - [x] `common.css`: `.header-search-wrap` gets `flex-shrink:0` -- [x] `Database::getRepertoireFilterData`: `allAp`, `allOr`, `allFi` now sourced from actual published thesis joins (not bare lookup tables), matching the pattern used by years and keywords +- [x] Fix broken `flash-messages.php` include in admin footer +- [x] Make `.repertoire-col` columns scrollable instead of `.search-main` diff --git a/app/public/admin/toast-fragment.php b/app/public/admin/toast-fragment.php new file mode 100644 index 0000000..3862765 --- /dev/null +++ b/app/public/admin/toast-fragment.php @@ -0,0 +1,32 @@ + + + + + +

+ + +

+ diff --git a/app/public/assets/css/common.css b/app/public/assets/css/common.css index bcd6bfb..885c82f 100644 --- a/app/public/assets/css/common.css +++ b/app/public/assets/css/common.css @@ -52,11 +52,11 @@ body > header nav { display: flex; align-items: center; justify-content: space-between; + font-size: var(--step-2); } .nav-logo { font-family: var(--font-display); - font-size: var(--step-2); letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-foreground); @@ -74,6 +74,7 @@ body > header nav { .nav-left-links, .nav-right-links { + font-family: var(--font-display); display: flex; gap: var(--space-l); align-items: center; @@ -84,7 +85,7 @@ body > header nav { body > header nav > a { font-family: var(--font-display); - font-size: var(--step-0); + /*font-size: var(--step-0);*/ letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-foreground); diff --git a/app/public/assets/css/repertoire.css b/app/public/assets/css/repertoire.css index ec9b7f2..04a0d68 100644 --- a/app/public/assets/css/repertoire.css +++ b/app/public/assets/css/repertoire.css @@ -7,8 +7,7 @@ .search-main { flex: 1; min-height: 0; - overflow-y: auto; - overflow-x: hidden; + overflow: hidden; } /* ---- 6-column index layout ---- */ @@ -17,7 +16,7 @@ grid-template-columns: 0.7fr 1.2fr 1.4fr 0.9fr 1.4fr 1fr; gap: 0; padding: 0 var(--space-m); - min-height: 100%; + height: 100%; } @media (max-width: 1024px) { @@ -56,6 +55,8 @@ .repertoire-col { padding: var(--space-xs) var(--space-2xs) var(--space-l); + overflow-y: auto; + overflow-x: hidden; } .repertoire-col:last-child { diff --git a/app/public/assets/css/variables.css b/app/public/assets/css/variables.css index d140654..252266d 100644 --- a/app/public/assets/css/variables.css +++ b/app/public/assets/css/variables.css @@ -4,7 +4,7 @@ @font-face { font-family: "Ductus"; - src: url("/assets/fonts/DuctusRegular.otf") format("opentype"); + src: url("../fonts/DuctusRegular.otf") format("opentype"); font-style: normal; font-weight: 398; font-display: swap; diff --git a/app/storage/test.db b/app/storage/test.db index 6f52264..5f064a8 100644 Binary files a/app/storage/test.db and b/app/storage/test.db differ diff --git a/app/templates/admin/footer.php b/app/templates/admin/footer.php index 8343268..2bfb0d7 100644 --- a/app/templates/admin/footer.php +++ b/app/templates/admin/footer.php @@ -1,5 +1,3 @@ - -