-
Notifications
You must be signed in to change notification settings - Fork 31
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
Dataset#details : ajout modal pour conversion auto NeTEx #4452
Dataset#details : ajout modal pour conversion auto NeTEx #4452
Conversation
9b1ea0d
to
09aa127
Compare
09aa127
to
a7ef77e
Compare
a7ef77e
to
c0f626a
Compare
c0f626a
to
51e2228
Compare
La modale des conversions NeTEx est utilisée à 2 endroits différents ; ça se comporte bien dans les deux cas ? |
|
||
.modal .button__group { | ||
a.button:hover { | ||
background-color: var(--theme-secondary-darken) !important; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ces deux !important
sont symptomatiques d'un problème dans notre css :/
Pas sûr qu'on veuille s'y pencher ici cela dit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oui, il y a un !important
.resource a:hover
qui fait du bazard ici…
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Quelques suggestions mais rien de dramatique.
@@ -635,3 +635,12 @@ hr { | |||
} | |||
} | |||
} | |||
|
|||
.modal .button__group { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On devrait sans doute rendre ce sélecteur plus spécifique, notamment pour éviter que ce comportement n'affecte d'autres pages.
L'élément de top-level du template de la modale n'inclut pas de bonne classe CSS pour la rendre spécifique. Peut-être quelque chose comme .netex-conversion-modal
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
C'est fait !
apps/transport/priv/gettext/fr/LC_MESSAGES/page-dataset-details.po
Outdated
Show resolved
Hide resolved
apps/transport/client/stylesheets/components/_dataset-details.scss
Outdated
Show resolved
Hide resolved
apps/transport/lib/transport_web/templates/dataset/_netex_conversion_modal.html.heex
Outdated
Show resolved
Hide resolved
|
||
.modal .button__group { | ||
a.button:hover { | ||
background-color: var(--theme-secondary-darken) !important; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oui, il y a un !important
.resource a:hover
qui fait du bazard ici…
apps/transport/test/transport_web/controllers/resource_controller_test.exs
Outdated
Show resolved
Hide resolved
apps/transport/test/transport_web/controllers/dataset_controller_test.exs
Outdated
Show resolved
Hide resolved
Co-authored-by: Frédéric Menou <[email protected]>
Oui, ça fonctionne comme attendu sur |
6bbdbec
to
9dddff2
Compare
Ajoute une modal sur la page de JDD lorsqu'une conversion automatique NeTEx est proposée en précisant lors d'une tentative de téléchargement que cette fonctionnalité ne sera plus disponible à partir de juin 2025.
Screen.Recording.2025-02-19.at.10.24.41.mov