93 Commits

Author SHA1 Message Date
Emmanuel Pelletier
0e7ca43028 gaufre v1: visio is out of beta, not fichiers :) 2026-01-13 15:00:31 +01:00
aleb_the_flash
129c163aac gaufre v1: remove beta tag on visio 2026-01-13 09:56:43 +01:00
Emmanuel Pelletier
a5e57a2284 gaufre v1: add fichiers, reorder things
this does not update the new gaufre widget. this adds latest LaSuite
products in the old gaufre so that services that did not update to the
new gaufre still get somewhat up to date data (not uptodate logos
though, but at least its the correct services list)
2025-12-09 14:28:57 +01:00
Nathan Panchout
f1cafd2267 🐛(widgets) fix the show more apps button label
- Fixed the logic for the "show more" button text to correctly reflect
the current state.
- Updated button color for better visibility and adjusted styles by
removing the minimum width constraint.
2025-11-26 11:06:32 +01:00
Nathan Panchout
86392eb40b (widgets) update gaufre V2 ui/ux
- Header and footer are displayed by default in mobile mode, but never
in desktop mode.
- show only the first 6 services and add view_more button
2025-11-26 10:07:56 +01:00
Sylvain Zimmer
720ee9f4f0 (widgets) import widgets code from Messages and setup Docker workflow (#33)
This adds Gaufre v2 with source, documentation, examples and built artefacts.
Also includes the feedback widget from Messages.
2025-11-19 15:18:21 +01:00
Emmanuel Pelletier
3b2f083d3f gaufre: remove the beta tag from Docs
Docs is out of beta and should be marked as such in La Gaufre
2025-09-17 10:23:35 +02:00
Emmanuel Pelletier
dfd9ee4755 gaufre: fix mobile style on websites w/ content going out of viewport
in DS, they have a footer that makes the website have a width larger
than viewport (creating horizontal scroll); this case was not handled
well by the gaufre on mobile. This rather rare case is now handled and
the gaufre doesn't care of the size of other content now.
2025-05-26 12:53:49 +02:00
Emmanuel Pelletier
970f41d14c gaufre: add url param tags to have a better idea how the gaufre is used 2025-04-30 16:49:17 +02:00
Emmanuel Pelletier
800ab42eaf website: use latest integration package 2025-04-17 17:57:42 +02:00
Emmanuel Pelletier
95e24b7207 website: fix typescript warnings when running astro check
see
https://github.com/withastro/astro/issues/10174#issuecomment-2026297879
for the why the tsconfig.json change
2025-04-17 17:27:58 +02:00
Emmanuel Pelletier
979ec77f34 new rdv logo with a red+blue color 2025-04-17 17:27:58 +02:00
Emmanuel Pelletier
b770c63e7c gaufre: slightly better mobile view close button a11y label
We already have a more explicit label with a sr-only class, announcing
"Fermer" again after it is too much
2025-04-17 17:27:58 +02:00
Emmanuel Pelletier
e47ac65e80 gaufre: follow disclosure aria pattern
- add aria attributes on load with the gaufre api script so that people
already using la gaufre don't necessarely *have* to update their code
- add the aria patterns in given code examples/react components. In some
cases, our small page load JS code isn't enough: for example on SPAs
where gaufre buttons might be loaded after page load.

thanks @inseo
2025-04-17 17:27:58 +02:00
Emmanuel Pelletier
2bd3e9b194 gaufre: update grist and resana logos to match new designs 2025-03-12 16:07:54 +01:00
Emmanuel Pelletier
fec0ff03c8 gaufre: set grist to beta 2025-03-05 15:03:06 +01:00
Emmanuel Pelletier
3f678131a8 gaufre: improve styling when gaufre is manually used in a popup
this is basically for tchap as of now, they are the only ones using this
2025-02-27 17:50:34 +01:00
Emmanuel Pelletier
ba17049528 gaufre: add an subtle active style 2025-02-27 17:25:09 +01:00
Emmanuel Pelletier
15b52ab2de gaufre: hide focus outline when opening gaufre without keyboard 2025-02-27 17:11:43 +01:00
Emmanuel Pelletier
39f1ba7fb2 rdv logo: make it the same size as others 2025-02-27 16:52:59 +01:00
Adrien Di Pasquale
cc9f1ac0b0 Mise à jour du logo de RDV Service Public 2025-02-27 16:52:59 +01:00
Emmanuel Pelletier
9a281ea645 gaufre: better looking beta badge (matches la suite website design) 2025-02-27 16:52:59 +01:00
Emmanuel Pelletier
932fccff93 gaufre: update content (+visio, -webconf, change positions, new logos) 2025-02-27 16:52:59 +01:00
Emmanuel Pelletier
799a362f89 gaufre: better handle the marianne font subsetting
this should be easier to handle if the one doing it is not… me. Still
not that great but better than nothing!
2025-02-27 16:52:59 +01:00
Emmanuel Pelletier
effa2c0ff1 update dependencies 2025-02-27 16:52:59 +01:00
Emmanuel Pelletier
b881025f82 gaufre: fix grist link 2024-11-21 12:15:29 +01:00
Emmanuel Pelletier
43e2468154 gaufre: replace 'bêta' with 'beta' 2024-11-14 15:18:29 +01:00
Emmanuel Pelletier
2d685417ca gaufre: add 'Docs' service 2024-11-14 15:18:29 +01:00
Emmanuel Pelletier
d364a25ca5 gaufre: show 'beta' services with a badge on their icon 2024-11-14 15:18:29 +01:00
Emmanuel Pelletier
bcf6120434 gaufre listed services: reorder items and remove pad 2024-11-14 15:18:29 +01:00
Emmanuel Pelletier
7d75902ae6 gaufre: temporarily use a full marianne webfont file
this is to allow a quick publish of the website later because I dont
have the tools to build the subsetted font right now…
2024-11-14 15:18:29 +01:00
Emmanuel Pelletier
16cb2c3474 website: do no rely on integration npm package for gaufre logos
while the idea is great at first, in fact it's a bit weird to publish a
new package version for something people don't actually use except the
docs website… and it makes it easier to publish website updates.
Duplicate a bit to ease up everything
2024-11-14 15:18:29 +01:00
Vincent Viers
b9c9074192 Change le nom de Grist dans la gauffre
Suite demande de Pierre P.
2024-07-11 13:58:52 +02:00
Emmanuel Pelletier
447b705127 website: update grist logo from new integration package version 2024-06-28 11:20:30 +02:00
Emmanuel Pelletier
7d9725be79 gaufre css reset: make sure to reset everything
this is made in case the gaufre is in a website doing stuff on
after/before pseudo elements by default (the dsfr on <a> for example)
2024-06-21 15:25:12 +02:00
Emmanuel Pelletier
937b8f6185 gaufre: open service links in a new window
thanks @MarcWadai for the heads up
2024-06-21 15:16:52 +02:00
Emmanuel Pelletier
a4d98f4f17 gaufre: fix modal mode sizing issue on mobile
the 100vh takes too much place sometime, making the close button being
rendered behind the browser UI. now we use the "svh" unit when
available, which is the same as vh but making sure we dont overlap with
browser UI.
2024-06-21 15:12:45 +02:00
Emmanuel Pelletier
f29325a7f4 gaufre: update font subset with new characters
command used (assuming Marianne-Regular.woff2 is in website/public/fonts
dir, taken from the dsfr):

glyphhanger \
  --subset="./Marianne-Regular.woff2" \
  --formats=woff2 \
--whitelist="DémarchessimplifiéesFranceTransfertGristNotepaddel'ÉtatRDVServicePublicResanaTchapWebConférencedel'ÉtatWebinairedel'ÉtatFermer✕
"

we had feedback where text in the popup was rendered with completely
random characters… adding the unicode range should help?
2024-06-21 15:12:45 +02:00
Emmanuel Pelletier
7eb38d93f7 gaufre: do not output everything in bold in modal mode
I actually don't know why I wrote that, surely a mistake
2024-06-21 15:12:45 +02:00
Emmanuel Pelletier
862d475f15 gaufre: fix crash on safari
the popup object was always null in this case, we have to use the given
element from the parameter
2024-06-21 15:12:45 +02:00
Emmanuel Pelletier
62b74a5445 gaufre: fix popup placement issues, simplify styling
this is done following up Tchap integration.

- the popup placement script was really dumb and assumed the gaufre
button was always placed at the top right of the page. Tchap can't do
that and uses it at the bottom left. Now the popup places itself
correctly wherever the button is on the page.
On mobile now we have a "modal" mode for the popup where it takes all
the viewport.
- Tchap uses the gaufre inside their own popup component. This was not
something we handled before. Now you can set up a
'lasuite--gaufre-borderless' class on your html or body tag so that the
gaufre doesn't render its box shadow or blue border, making it easier to
integrate in a already made popup.
2024-06-21 15:12:45 +02:00
Emmanuel Pelletier
b2b8588ac6 website: adding help page with team contact info 2024-06-21 15:07:24 +02:00
Emmanuel Pelletier
c05f155602 website: add CSP-related info for the Gaufre integration
this was missing and since most services have a Content Security Policy,
it's useful to mention
2024-06-14 15:11:37 +02:00
Emmanuel Pelletier
32b81fa2db website: remind user to install code 2024-06-14 15:10:42 +02:00
Emmanuel Pelletier
a071e30a67 website: add legal/accessibility pages 2024-06-06 14:13:34 +02:00
Emmanuel Pelletier
24304b8083 upto date gaufre screenshot 2024-05-27 12:18:29 +02:00
Emmanuel Pelletier
9de33cd347 backgrounds: force france-transfert bg for now
will remove this later when we are assured all bgs match
france-transfert layout
2024-05-24 14:33:57 +02:00
Emmanuel Pelletier
b69da40b47 backgrounds: remove a few photos we dont want to use anymore 2024-05-24 14:31:47 +02:00
Emmanuel Pelletier
d7cd6f7584 gaufre: remove messagerie service for now 2024-05-24 11:02:28 +02:00
Emmanuel Pelletier
e083128b05 website backgrounds: make it easy to force a bg for a service
rework a bit the backgrounds transformation script so that we can later
easily force a specific background for a specific service. This comes
from a request from france-transfert but they changed their mind in the
end. Felt like the logic is good to keep for later though.
2024-05-24 11:02:04 +02:00