Skip to content

Conversation

@FinnIckler
Copy link
Member

Basically enables a "live" mode for the competitor table that links to the live results. We should probably add a search bar like in the current wca live page?

return (
<TabCompetitors
id={competitionId}
isLive={hasPassed(competitionInfo.start_date)}
Copy link
Member

Choose a reason for hiding this comment

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

You should probably also check for the competition end date not having passed as well

Copy link
Member Author

Choose a reason for hiding this comment

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

well.. the competitors tab is not shown if the competition end date has passed

Copy link
Member

Choose a reason for hiding this comment

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

That does not keep anyone from bookmarking a link to this page while it's still visible, and then trying to open it 10 days later

Copy link
Member

Choose a reason for hiding this comment

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

Why are you introducing this new route as a pure redirect?
Is this an existing page that needs to be implemented to keep deep-link backwards compatibility?

Copy link
Member Author

Choose a reason for hiding this comment

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

it is, but just on the wca live side so maybe we don't actually need it

Copy link
Member

Choose a reason for hiding this comment

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

I would actually argue that we don't. Because the use of stable competition IDs is a new concept, WCA Live used to use integer IDs for that. So we're breaking any and all old links anyways.

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