Skip to content

Conversation

@nickygerritsen
Copy link
Member

This adds 2 features to the balloon page:

  • Checkboxes and a button to mark multiple balloons as done.
  • A table at the bottom, sorted by location (or if not set, team external ID), that shows all the balloons the team should have gotten, to be able to do a check.

Both were requested by Marius during SEERC 2025 and I think both make sense.

}

uasort($teamSummary, function ($a, $b) {
$aKey = $a['location'] ?? $a['team']->getExternalId();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For us location can be a string right? So those can be the same, maybe also append the externalId to it to make sure you can always sort?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like that idea

->setParameter('balloonIds', $balloonId)
->getQuery()
->getResult();
if (empty($balloons)) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if (empty($balloons)) {
if (count($balloons) !== count((array)$balloonId)) {

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So we drop the message if any of the balloonIds is invalid (for whatever reason)...

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants