-
Notifications
You must be signed in to change notification settings - Fork 25
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
JS: migration à data-emplois- pour notre "setter" #5603
base: master
Are you sure you want to change the base?
Conversation
data-emplois-
pour notre "setter"
data-emplois-
pour notre "setter"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.
👍
3fb6aca
to
983714b
Compare
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.
Chouette d’avoir pensé à documenter ! 👏
migrations.md
Outdated
|
||
## Préfixer les attributs utilisé par notre JS par data-emplois | ||
|
||
`data-bs-` est le préfixe utilisé par bootstrap, `data-it-` celui utilisé par le thème itou. | ||
Notre JS devrait utiliser `data-emplois-`. |
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.
Je pense que cette doc aurait plus sa place dans docs/javascript.md
?
Quitte à garder une ligne ici pour dire de se conformer aux bonnes pratiques JS qui pointe vers docs/javascript
?
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 est d'accord que le docs/javascript.md
n'existe pas ? 😅
L'idée serait donc d'en démarrer un ? Avec juste cette règle ?
Also remove the button restriction: it will soon be used from a span (with role="button").
983714b
to
788c2cc
Compare
🤔 Pourquoi ?
Pour plus facilement identifier qui fournit le mécanisme utilisé.
🍰 Comment ?
🚨 À vérifier
🏝️ Comment tester ?
💻 Captures d'écran