Skip to content

Conversation

@ElectricalBoy
Copy link
Collaborator

@ElectricalBoy ElectricalBoy commented Jan 21, 2026

Summary

Inspired from #6985

This PR adds grouping option for team participants.

How did you test this change?

sandbox in LoL

@ElectricalBoy ElectricalBoy force-pushed the team-participant-groups branch from e884fd5 to 74062a9 Compare January 21, 2026 02:56
@ElectricalBoy ElectricalBoy force-pushed the team-participant-groups branch from 432cc5b to f6c9f22 Compare January 21, 2026 03:00
participantGroup may be empty, but never nil
Copy link
Collaborator

@hjpalpha hjpalpha left a comment

Choose a reason for hiding this comment

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

i think this is perf wise better than my solution (less invokes)^^

comment is optional

local tabArgs = {}

Array.forEach(participantGroups, function (group, groupIndex)
tabArgs['name' .. groupIndex] = Logic.emptyOr(group[1].participantGroup, 'Unnamed')
Copy link
Collaborator

@hjpalpha hjpalpha Jan 21, 2026

Choose a reason for hiding this comment

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

not a fan of 'Unnamed' (Maybe 'Placeholder' or 'Missing |group='?)
maybe just throw if it is empty and we have >1 participantGroups?

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.

3 participants