diff --git a/CHANGELOG.md b/CHANGELOG.md index b460251..1741576 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ ## Upcoming release +- Demo: the public-holiday selector now offers every French zone known to + date-holidays instead of only mainland France and La Réunion: + Alsace-Moselle, Guadeloupe, Martinique, Guyane, Mayotte, Saint-Martin, + Saint-Barthélemy, Saint-Pierre-et-Miquelon, Polynésie française, + Nouvelle-Calédonie and Wallis-et-Futuna, each with its specific holidays + (Vendredi saint, abolition-of-slavery days, territorial holidays…). + - Demo: period labels now group the per-day-of-week entries of a hint and condense consecutive weekdays into a range, days first and hint name in parentheses: « Du lundi au samedi (Vacances scolaires) + samedis » instead diff --git a/website/README.md b/website/README.md index c15e980..d5354f8 100644 --- a/website/README.md +++ b/website/README.md @@ -10,7 +10,8 @@ directement dans le navigateur : `https://gtfs-proxy.sys-dev-run.re/proxy/…` ; - des **boutons 1-clic** chargent les réseaux de référence : Car Jaune, Kar'Ouest, Citalis, Estival, CarSud, Astuce (Rouen) ; -- les hints (jours fériés France/Réunion, vacances scolaires des académies +- les hints (jours fériés de toutes les zones françaises — métropole, + Alsace-Moselle, chaque DROM/COM —, vacances scolaires des académies Réunion et Normandie via l'API `data.education.gouv.fr`, avec repli sur `data/school-calendar.json`) sont générés automatiquement, puis `findCalendarPeriods` est exécuté et les périodes affichées (synthèse, diff --git a/website/src/App.tsx b/website/src/App.tsx index e460247..2413773 100644 --- a/website/src/App.tsx +++ b/website/src/App.tsx @@ -11,7 +11,7 @@ import { import type { CalendarHintsOptions, CalendarHintsResult, SignatureMode } from '../../src/calendar-hints' import type { GtfsWorkerAPI, ProgressInfo, FeedSummary } from './gtfs.worker' import { proxyUrl } from './proxy' -import { PRESETS, type Academy, type HolidayZone, type NetworkPreset } from './presets' +import { HOLIDAY_ZONES, PRESETS, type Academy, type HolidayZone, type NetworkPreset } from './presets' import { generateHints, DEFAULT_HINT_CONFIGS, type GeneratedHints, type HintConfig } from './hints' import { loadSchoolCalendar, @@ -238,8 +238,9 @@ export default function App() { Jours fériés