Afficher une bannière de maintenance ProConnect sur toutes les pages#1506
Open
Afficher une bannière de maintenance ProConnect sur toutes les pages#1506
Conversation
000b6cd to
5bfbc20
Compare
bcab01a to
f37fe36
Compare
skelz0r
added a commit
to datagouv/apistration
that referenced
this pull request
Apr 15, 2026
Add a lightweight announcement system that displays a DSFR notice banner (warning variant, dismissible) on every page of both API Entreprise and API Particulier sites. Inspired by etalab/data_pass#1506 which introduced the same mechanism on DataPass.
skelz0r
added a commit
to datagouv/apistration
that referenced
this pull request
Apr 15, 2026
skelz0r
added a commit
to datagouv/apistration
that referenced
this pull request
Apr 15, 2026
Add a lightweight announcement system that displays a DSFR notice banner (warning variant, dismissible) on every page of both API Entreprise and API Particulier sites. Inspired by etalab/data_pass#1506 which introduced the same mechanism on DataPass.
skelz0r
added a commit
to datagouv/apistration
that referenced
this pull request
Apr 15, 2026
skelz0r
added a commit
to datagouv/apistration
that referenced
this pull request
Apr 15, 2026
Add a lightweight announcement system that displays a DSFR notice banner (warning variant, dismissible) on every page of both API Entreprise and API Particulier sites. Inspired by etalab/data_pass#1506 which introduced the same mechanism on DataPass.
skelz0r
added a commit
to datagouv/apistration
that referenced
this pull request
Apr 15, 2026
Bannière configurable via config/maintenance_banner.yml (dates, titre, description). Active uniquement dans la plage horaire définie, fermable par l'utilisateur.
f37fe36 to
55661b4
Compare
SchweisguthN
approved these changes
Apr 15, 2026
| @@ -0,0 +1,9 @@ | |||
| shared: | |||
| start: "2026-04-23T11:00:00+02:00" | |||
Contributor
There was a problem hiding this comment.
J'arrive pas à récupérer la branche en local pour corriger, donc je mets juste un commentaire : ici c'est marqué 11h au lieu de 14h.
| @@ -0,0 +1,9 @@ | |||
| shared: | |||
| start: "2026-04-23T17:50:00+02:00" | |||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Contexte
ProConnect a prévenu d'une interruption de service le 23 avril à partir de 18h (durée estimée : 1h). Cette PR affiche une bannière d'information sur toutes les pages de DataPass pendant la fenêtre de maintenance.
Ce qui a été fait:
Pour modifier la bannière (dates, titre, texte)
Un seul fichier à éditer :
config/maintenance_banner.ymlFormat des dates : AAAA-MM-JJTHH:MM:SS+02:00 (heure Paris en été, +01:00 en hiver).
Pour désactiver la bannière sans deploy : mettre end à une date passée.
Pour une future maintenance : modifier les dates et le texte, ouvrir une PR.