-
Notifications
You must be signed in to change notification settings - Fork 45
(PC-38439)[PRO] feat: add highlight requests to offers list #20033
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
base: master
Are you sure you want to change the base?
Conversation
...OffersContainer/components/IndividualOfferColumns/components/OfferNameCell/OfferNameCell.tsx
Show resolved
Hide resolved
| <Thumb url={offer.thumbUrl} /> | ||
| </div> | ||
| <div> | ||
| {offer.isShowcase && <Tag label="Offre vitrine" />} |
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.
Pourquoi a-t-on supprimé le tag
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.
parce qu'on a dédupliquer ce composantr qui servait pour les offres individuelles et collectives et que c'est une notion de collectif
| ).joinedload(models.Offer.headlineOffers) | ||
| ) | ||
| .options( | ||
| sa_orm.joinedload(models.Offer.highlight_requests).joinedload(highlights_models.HighlightRequest.highlight), |
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.
Question pour @ogeber-pass : est-ce qu'il y a un risque de détériorer les performances ici ou pas vraiment ?
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.
en effet, tu peux faire un explain analyze et vérifier que tu n'as pas introduit de seq scan
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 ajoute dans le ticket un commentaire avec l'analyse AVANT/APRES : https://passculture.atlassian.net/browse/PC-38268?focusedCommentId=71394
A regarder lundi
🎯 Related Ticket or 🔧 Changes Made
Ticket Jira
ticket front + back