-
Notifications
You must be signed in to change notification settings - Fork 22
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
feat(DSFR): salaire brut / net #6260
Conversation
"have.text", | ||
"Calculer le salaire brut/net" | ||
); | ||
cy.findByRole("heading", { level: 1 }).click(); |
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 ça qui fixe le test 🤷♀️
@@ -82,7 +82,7 @@ const StyledDiv = styled.div` | |||
height: 1.4rem; | |||
margin: 0 ${spacings.tiny} 0 ${spacings.small}; | |||
transition: transform ${theme.animations.transitionTiming} linear; | |||
fill: ${theme.primary}; | |||
fill: ${theme.colors.primary}; |
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.
j'ai fixé un warning qui apparaissait dans la console
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.
top
const tool = await getTool(); | ||
const relatedItems = await fetchRelatedItems( | ||
{ _id: tool._id }, | ||
"simulateur-embauche" |
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.
peut être passer cela en const
const tool = await getTool(); | ||
const relatedItems = await fetchRelatedItems( |
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 dommage qu'on fasse les deux calls en asynchrone. il faudra voir comment optimiser cette page en utilisant la logique statique de nextjs avec du cache.
car en soit, je pense pas que les info de l'outil et les related items changent tous les jours
ça pourrait drastiquement augmenter nos performances sur cette page
🎉 Deployment for commit 83bcddb : IngressesDocker images
|
Co-authored-by: @Viczei
Fix #6197 https://github.com/orgs/SocialGouv/projects/142/views/1?pane=issue&itemId=85173296