feat(TeamParticipants): Add support for disqualified/withdrawn/replacement#7577
feat(TeamParticipants): Add support for disqualified/withdrawn/replacement#7577hjpalpha wants to merge 2 commits into
Conversation
I prefer it without as well. Plus, aren't disqualified teams usually in their own subsection? If yes, then you don't need strikethrough even more |
Probably depends on the wiki. Not all wikis use sections in team participants to begin with. |
Perhaps we just store the value of the tag? So we'll get invited, qualified, withdrawn, disqualified?
Since these can still mean that the team played at least some matches, IMO it should be stored. |
| if participant.status == STATUS_DISQUALIFIED then | ||
| labelText = 'Disqualified' | ||
| elseif participant.status == STATUS_WITHDRAWN then | ||
| labelText = 'Withdrawn' | ||
| elseif participant.status == STATUS_REPLACEMENT then | ||
| labelText = 'Replacement' |
There was a problem hiding this comment.
According to Figma, it's a qualification method, not a different status
There was a problem hiding this comment.
Feels like that wouldn't make sense.
The original qualification method is probably not affected by this
There was a problem hiding this comment.
Which is why it hasn't been implemented, the specs aren't clear. And hence it's a new feature that doesn't exist in the TC, it hasn't been a prio.
There was a problem hiding this comment.
OK, thinking out loud here, because I'm not sure of the technical spcificities of the implementation:
-
Labels like
Invited,Qualifiedare the TLDR of how a team got INTO the tournament. -
These should be in relationship with the qualificaiton method, as it explains the label further (qualified by being 1st here, invited because 2nd in these rankings, etc.
-
Disqualified, withdrawn, replaced, etc. are the TLDR of how a team got OUT of the tournament
-
These shouldn't be in relationship with the qualification method. There isn't really a "withdrawing method/path", is there?
-
There isn't a Figma design for what is shown here when a team is DQ'd/withdrawn/replaced, which from what I understand needs to be spec'd
To me, the user story/journey when they look into a DQ'd team is:
- User sees a team with "DISQUALIFIED"
- They open the card to learn more
- They see how the team first got here (1st place in Nydra Cup) -- Being out doesn't affect this. You still qualified on some merit. You've earned it. Withdrawing has nothing to do with how you got here.
- They see the roster that qualified/invited/supposed to play in the tournament
- They see a note why the team was DQ'd/withdrawn/who replaced them (that's the free text added by editors)
Tell me if this makes sense :D
There was a problem hiding this comment.
personally i would think replacement can be a qual method
but dq/withdrawn can not be
There was a problem hiding this comment.
How about this:
- Instead of special
Replacementstatus/label, we just useInvited Invited+Qualification method+Notecan tell a replacing team's story well enough:- User checks Team Participants, and sees that...
- [LABEL] Team Liquid were INVITED...
- [METHOD] ...because they finished 1st in Nydra Cup...
- [NOTE] ...and they replaced TSM
User goes "Oh, interesting, why were TSM replaced?"
- User explores Team Participants further, sees that...
- [LABEL] TSM were DISQUALIFIED...
- [METHOD] They originally qualified as 1st in Grifter Cup
- [NOTE] ...but they scammed a Ferrari and now are DQd
So what I'm saying is, maybe we just do DQ/Withdrawn as new labels/statuses, use invited for replacement
There was a problem hiding this comment.
fwiw i only added replacement because it was in the figma :P
There was a problem hiding this comment.
Invited is a qualification method though @PiddyNydra (it's the method that just "there are here because TO decided they are") What you're describing is that Qualification as Qualification Method
There was a problem hiding this comment.
how about:
- add status
—> obviously open to other name suggestions, was just the first thing that came to mind
—>'disqualified'/'withdrawn'/''(or something that indicates the team is playing instead of the empty string...)
—> status doesn't touch qual method - add replacement as qual method
—> treat it similarly to invited qual method? - display
—> if status is not default status then use status for the label display (just ucFirst status for the display)
—> if status is default then display the qual method (qualifier/invited/replacement)
—> the qualifier placement stuff display remains untouched by status (because a team could have qualified and withdrawn/got dqed later on, in which case the original qualification method would still be valid data)
because we are adding storage for status, should we add storage for qual method ('qualifier'/'invited'/'replacement') too?
(invited/qualifier can currently be derived from qualifier resp qualifierpage lpdb fields but replacement could not be derived)
alternatively we ignore replacement for now and only add dq/withdrawn
assuming we keep it as status ...
alright :) |
Summary
As per discussion on discord add support for disqualified/withdrawn/replacement.
The Figma showed it with colors and an icon, but so does it for Invited/Qualifier.
This PR implements the new badges the same way as the Invited/Qualifier ones.
Open questions
.extradata.statusHow did you test this change?
dev
https://liquipedia.net/leagueoflegends/User:Hjpalpha