Skip to content
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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vinceAmstoutz
Copy link
Contributor

Solves #1186 (final part)

@vinceAmstoutz
Copy link
Contributor Author

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

@vinceAmstoutz vinceAmstoutz self-assigned this Dec 30, 2024
@vinceAmstoutz vinceAmstoutz force-pushed the feat/events-selector-comparison branch from c628ff0 to 5a568b2 Compare December 30, 2024 17:43
@vinceAmstoutz vinceAmstoutz force-pushed the feat/events-selector-comparison branch from 5a568b2 to d23550f Compare December 30, 2024 17:43
$comparedEvent = $this->eventActionHelper->getEventById($comparedEventId, false);
$comparedSerieName = $comparedEvent->getTitle();
} else {
$comparedSerieName = 'n-1';
Copy link
Member

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants