Skip to content

Liens visités#1342

Draft
arnaudlevy wants to merge 3 commits intomainfrom
visited-links
Draft

Liens visités#1342
arnaudlevy wants to merge 3 commits intomainfrom
visited-links

Conversation

@arnaudlevy
Copy link
Copy Markdown
Member

@arnaudlevy arnaudlevy commented Feb 15, 2026

Type

  • Nouvelle fonctionnalité
  • Bug
  • Ajustement
  • Rangement

Description

https://checklists.opquast.com/fr/qualite-numerique/le-site-napplique-pas-le-meme-style-aux-liens-visites-et-non-visites

Et les composants étaient logiques quand c'était externe, mais il faut ranger maintenant que tout est interne. Soit on remet tout dans design-system (rigoureux mais un peu trop d'objets), soit on met les objets un peu sophistiquées dans components (là, le lazy-video-player, mais peut-être aussi offcanvas, pagination, table_of_contents...)

Niveau d'incidence

  • Incidence faible 😌
  • Incidence moyenne 😲
  • Incidence forte 😱

@arnaudlevy arnaudlevy marked this pull request as draft February 15, 2026 08:10
@arnaudlevy
Copy link
Copy Markdown
Member Author

@alexisben là mon traitement des liens ne marche juste pas.
Aucune urgence, ni pour les liens visités ni pour le rangement des composants (flemme de faire 2 PR)

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 31, 2026

djLint

Linted 702 files, found 0 errors.

Hugolint

Directories are perfect ✅

Partials calls are perfect ✅

Too many lines (48)

Files should not be too long, it's a sign of mess and a difficulty for overrides.

6 ❌
42 ⚠️

Id State Lines Path
lin1 91 _partials/commons/image.html
lin2 81 _partials/head/seo.html
lin3 81 _partials/organizations/partials/layouts/map/map.html
lin4 75 _partials/posts/partials/post.html
lin5 73 _partials/papers/single/sidebar.html
lin6 72 _partials/posts/partials/layouts/highlight/highlight.html
lin7 ⚠️ 69 _partials/exhibitions/partials/exhibition.html
lin8 ⚠️ 68 _partials/commons/contact-details.html
lin9 ⚠️ 66 _partials/organizations/partials/organization.html
lin10 ⚠️ 64 _partials/projects/partials/project.html
lin11 ⚠️ 63 _partials/commons/image/helpers/get-url/Osuny.html
lin12 ⚠️ 63 _partials/pages/partials/layouts/list/list.html
lin13 ⚠️ 62 _partials/blocks/templates/testimonials.html
lin14 ⚠️ 59 _partials/commons/share/links.html
lin15 ⚠️ 55 _partials/jobs/partials/job.html
lin16 ⚠️ 54 _partials/pages/partials/layouts/grid/grid.html
lin17 ⚠️ 54 _partials/blocks/templates/video.html
lin18 ⚠️ 54 _partials/alias/multilingual/head.html
lin19 ⚠️ 53 _partials/pages/partials/layouts/alternate/alternate.html
lin20 ⚠️ 52 _partials/papers/partials/paper.html
lin21 ⚠️ 52 _partials/blocks/templates/features.html
lin22 ⚠️ 52 _partials/exhibitions/single/exhibition-infos.html
lin23 ⚠️ 51 _partials/locations/partials/map.html
lin24 ⚠️ 49 _partials/pages/partials/layouts/large/large.html
lin25 ⚠️ 49 _partials/pages/partials/layouts/cards/cards.html
lin26 ⚠️ 49 _partials/pages/partials/page.html
lin27 ⚠️ 49 _partials/commons/single/siblings-navigation.html
lin28 ⚠️ 49 _partials/blocks/templates/links.html
lin29 ⚠️ 49 _partials/programs/partials/program.html
lin30 ⚠️ 48 _partials/diplomas/partials/diplomas.html
lin31 ⚠️ 46 _partials/commons/i18n.html
lin32 ⚠️ 45 _partials/blocks/templates/locations.html
lin33 ⚠️ 44 _partials/blocks/templates/testimonials/carousel.html
lin34 ⚠️ 42 _partials/diplomas/single.html
lin35 ⚠️ 42 _partials/blocks/templates/posts.html
lin36 ⚠️ 42 _partials/blocks/templates/call_to_action.html
lin37 ⚠️ 42 _partials/jobs/single/job-infos.html
lin38 ⚠️ 42 _partials/locations/partials/location.html
lin39 ⚠️ 41 _partials/publications/partials/publication.html
lin40 ⚠️ 40 _partials/blocks/templates/key_figures.html
lin41 ⚠️ 39 _partials/schools/partials/school.html
lin42 ⚠️ 39 _partials/laboratories/partials/laboratory.html
lin43 ⚠️ 39 _partials/journals/partials/journal.html
lin44 ⚠️ 38 _partials/organizations/single.html
lin45 ⚠️ 38 _partials/papers/partials/actions.html
lin46 ⚠️ 38 _partials/blocks/templates/chapter.html
lin47 ⚠️ 37 _partials/commons/item/heading.html
lin48 ⚠️ 36 _partials/commons/image/helpers/get-url/Keycdn.html

Complexity (21)

Cyclomatic complexity should not be too high.

1 ❌
20 ⚠️

Id State Complexity File
cpx1 26 _partials/commons/image.html
cpx2 ⚠️ 17 _partials/head/seo.html
cpx3 ⚠️ 15 _partials/commons/image/helpers/get-url/Osuny.html
cpx4 ⚠️ 15 _partials/organizations/partials/organization.html
cpx5 ⚠️ 14 _partials/posts/partials/post.html
cpx6 ⚠️ 14 _partials/blocks/templates/testimonials/carousel.html
cpx7 ⚠️ 14 _partials/blocks/templates/testimonials.html
cpx8 ⚠️ 13 _partials/projects/partials/project.html
cpx9 ⚠️ 12 _partials/pages/partials/layouts/list/list.html
cpx10 ⚠️ 12 _partials/blocks/templates/call_to_action.html
cpx11 ⚠️ 12 _partials/organizations/partials/layouts/map/map.html
cpx12 ⚠️ 12 _partials/locations/partials/map.html
cpx13 ⚠️ 12 _partials/commons/contact-details.html
cpx14 ⚠️ 11 _partials/programs/single/core/presentation/administrative-information/table.html
cpx15 ⚠️ 11 _partials/commons/section/helpers/ShouldShowPageNumber.html
cpx16 ⚠️ 11 _partials/papers/single/sidebar.html
cpx17 ⚠️ 11 _partials/posts/partials/layouts/highlight/highlight.html
cpx18 ⚠️ 11 _partials/papers/partials/paper.html
cpx19 ⚠️ 11 _partials/alias/multilingual/head.html
cpx20 ⚠️ 11 _partials/exhibitions/single/exhibition-infos.html
cpx21 ⚠️ 11 _partials/header/breadcrumbs.html

@Olivia206
Copy link
Copy Markdown
Contributor

j'ai l'impression que :visited n'accepte pas les text-decoration-style ou text-decoration: dotted, les autres propriétés fonctionnent

@arnaudlevy
Copy link
Copy Markdown
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants