Skip to content

✨(widgets) import widgets code from Messages and setup Docker workflow#33

Merged
sylvinus merged 9 commits intomainfrom
gaufrev2
Nov 19, 2025
Merged

✨(widgets) import widgets code from Messages and setup Docker workflow#33
sylvinus merged 9 commits intomainfrom
gaufrev2

Conversation

@sylvinus
Copy link
Member

@sylvinus sylvinus commented Oct 14, 2025

sylvinus added a commit to suitenumerique/messages that referenced this pull request Oct 14, 2025
@sylvinus sylvinus marked this pull request as ready for review October 15, 2025 20:39
@sylvinus sylvinus requested a review from manuhabitela October 15, 2025 20:39
Copy link
Contributor

@manuhabitela manuhabitela left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yo ! Merci pour tout ça, beau boulot :)

J'ai review uniquement la gaufre qui m'a pris un poil de temps déjà, si tu veux une autre paire d'yeux sur les autres widgets tu me redis, je pourrai regarder aussi. Ceci étant dit je suppose que les retours sur la gaufre peuvent t'inspirer sur les zautres widgets si besoin.

@echo ""
@echo "$(GREEN)🎉 Bootstrap completed successfully!$(RESET)"
@echo ""
@echo "$(BOLD)Next steps:$(RESET)"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tous les "echo" formatés avec bold/couleurs etc ne sont pas formatés chez moi. Utiliser plutôt des @echo -e ... ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah mince "ça marche chez moi" :/ quel shell tu utilises ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

J'suis avec zsh chef

Copy link
Contributor

@manuhabitela manuhabitela left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Merci pour tous les changements !

Ça m'a refait réfléchir un poil…

});
</script>

<button type="button" onclick="toggleGaufre(this)" aria-label="Ouvrir la Gaufre" aria-expanded="false">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ici non plus je ne parlerais pas de gaufre sur le label (voir com' plus haut)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Et à relire, je mettrais pas la notion de "ouvrir/fermer" dans le label, vu que le aria-expanded l'exprime et est bien supporté.

window._lasuite_widget = window._lasuite_widget || [];
_lasuite_widget.push(['lagaufre', 'init', {
api: 'https://lasuite.numerique.gouv.fr/api/services',
label: "La Gaufre",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

j'sais pas si je loupe un truc ici mais j'ai l'impression que le label est pas passé correctement ? sur la page de démo j'ai toujours "Services" en label réellement rendu.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

J'ai pas pu reproduire, ou déjà fixé. Tu pourras retester ?

This simplifies the integrations and slightly widens the scope of
the script. + Some a11y fixes.
label: "Services de la Suite numérique",
closeLabel: "Fermer le menu",
headerLabel: "À propos",
loadingText: "Chargement…"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

les au lieu de ..., on aime 👌 👌

Copy link
Contributor

@manuhabitela manuhabitela left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Super tes modifs, merci à toi, beau boulot m'sieur !

@sylvinus sylvinus merged commit 720ee9f into main Nov 19, 2025
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants