Skip to content

Conversation

@DJoepie
Copy link
Contributor

@DJoepie DJoepie commented Nov 16, 2023

If a tournament is finished, the requirements should still be listed but without the styling to see if the conditions are met or not.

This fixes #13867

If a tournament is finished, the requirements should still be listed but without the styling to see if the conditions are met or not.

This fixes #13867
Copy link
Member

@fitztrev fitztrev left a comment

Choose a reason for hiding this comment

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

Thanks! Nice idea using the relevant flag.

before with this pr
image image

DJoepie and others added 6 commits November 17, 2023 09:38
After a review, made the one-liner cleaner by just passing the !tour.isFinished into the `relevant` flag.
This commit removes the conditional formatting for Swiss tournament requirements in the same way it was done for regular tournaments.

This is done by passing !Swiss.isFinished into the `relevant` flag when rendering the verdicts.
* master:
  remove superfluous account CSS classes, some scala tweaks
  show completed game result in blind mode
  fix typo
  prettierignore readme and add -n short arg for --no-install
  remove unnecessary tsc flag
  fix insight & chart tsc deps
  use pnpm again
  remove npm package-lock and old config file template
  handle package.json change
  Fix cli search for mobile
  Update scalafmt-core to 3.7.17
  Update lettuce-core to 6.3.0.RELEASE
  fixing
  remove duplicated quotes
  css
  add tag id and link
@ornicar ornicar merged commit 9b2e90a into lichess-org:master Nov 19, 2023
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.

Change styling of entry requirements when viewing finished tournaments

3 participants