Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internalisation de la FAQ #10137

Merged
merged 16 commits into from May 16, 2024
Merged

Internalisation de la FAQ #10137

merged 16 commits into from May 16, 2024

Conversation

colinux
Copy link
Member

@colinux colinux commented Mar 18, 2024

Contexte: la FAQ sur HS n'est pas accessible.

J'ai repris les éléments visuels vus sur plusieurs .gouv.fr (sections organisées en accordéons puis barre latérale)

Reste à faire

  • terminer l'intégration de toutes les faq
  • variabiliser APPLICATION_NAME et CONTACT_NAME, peut-être aussi DOC_URL dans les pages
  • cache pour pas taper les I/O à chaque hit
  • tests
  • changer les liens vers cette nouvelle faq

Plus tard :

  • avoir un markup pour les alertes dsfr (pertinentes pour certaines pages)
  • traduction anglaise avec canonical
  • gérer l'ordre des sous-catégories et des entrées à l'intérieur
  • système de recherche (grâce aux keywords ou autre moyen, je pensais au système de jekyll)
  • moyen pour exclure certaines pages inutiles pour les autres instances, ou certaines portions de texte (ex: une FAQ répertorie nos plus grosses démarches)

J'ai gardé la hiérarchie et nommage actuels, mais je me suis permis (à la marge) de mettre à jour certains textes et captures d'écran (ça pourra faire l'objet d'une PR spécifique plus tard pour aller plus en profondeur). J'ai remplacé la page "la carte de ne s'affiche pas à cause de très vieux navigateurs par une page "quels sont les navigateurs supportés".
J'ai extrait dans une nouvelle sous-catégorie "gestion de mon compte" les 2 pages concernées.

Index :

Capture d’écran 2024-03-18 à 13 18 31

vue d'une entrée :

Capture d’écran 2024-03-18 à 13 18 51

Copy link

codecov bot commented Apr 22, 2024

Codecov Report

Attention: Patch coverage is 98.57143% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 79.80%. Comparing base (1d2550e) to head (a41ba20).

Files Patch % Lines
app/lib/redcarpet/trusted_renderer.rb 95.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #10137      +/-   ##
==========================================
- Coverage   80.74%   79.80%   -0.95%     
==========================================
  Files        1194     1197       +3     
  Lines       25180    25310     +130     
  Branches     4540     4530      -10     
==========================================
- Hits        20331    20198     -133     
- Misses       4849     5112     +263     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@colinux colinux force-pushed the faqs branch 3 times, most recently from 0b31db9 to d84b4f8 Compare April 23, 2024 16:30
@colinux colinux marked this pull request as ready for review April 23, 2024 16:45
@colinux colinux force-pushed the faqs branch 3 times, most recently from 2d8f3fb to e003b08 Compare April 24, 2024 15:40
Copy link
Contributor

@mfo mfo left a comment

Choose a reason for hiding this comment

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

impec !

app/views/faq/_breadcrumb.html.haml Outdated Show resolved Hide resolved
Copy link
Contributor

@mfo mfo left a comment

Choose a reason for hiding this comment

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

ac une derniere traduction manquante

app/views/faq/_sidebar.html.haml Outdated Show resolved Hide resolved
@colinux colinux added this pull request to the merge queue May 16, 2024
Merged via the queue into demarches-simplifiees:main with commit b74319b May 16, 2024
18 checks passed
@colinux colinux deleted the faqs branch May 16, 2024 11:23
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.

None yet

2 participants