-
Notifications
You must be signed in to change notification settings - Fork 70
feat(events): add a selector for easier event comparison #1575
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(events): add a selector for easier event comparison #1575
Conversation
|
Cette PR est en draft d'où les changements incomplets. Je me suis inspiré de la liste déroulante existante car c'est du legacy. J'ai aussi quelques questions fonctionnelles. On voit cela dans la semaine si ça te va @agallou |
5a568b2 to
d23550f
Compare
| $comparedEvent = $this->eventActionHelper->getEventById($comparedEventId, false); | ||
| $comparedSerieName = $comparedEvent->getTitle(); | ||
| } else { | ||
| $comparedSerieName = 'n-1'; |
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.
ici on pourrait se passer de ce elseif, et ne jamais afficher le "n-1", ça permettrais d'être plus lisible en étant toujours explicite et affichant toujours le nom de l'événement comparé (ce qui est maintenant possible vu qu'on a remonté l'appel à $this->forum->obtenirForumPrecedent($id)
51840bd to
8bc7d89
Compare
8bc7d89 to
3df0e09
Compare
|
J'ai finalisé la PR de @vinceAmstoutz . Voici un aperçu du résultat : |

Solves #1186 (final part)