thewca / wca-live

Platform for running WCA competitions and sharing live results with the world
https://live.worldcubeassociation.org
70 stars 23 forks source link

Introduce distinct markers for results with uncertain advancment #225

Closed jonatanklosko closed 2 months ago

jonatanklosko commented 2 months ago

Closes #222. Also closes #128.

An ongoing round looks like this:

image

Ranks in the darker green "clinched advancement", while the ones in lighter green qualify as is, but may not advance depending on the remaining results.

I reverted #111 (ignoring empty results in percentage calculation), since those "uncertain" results will now show in the light color.

This change introduces an additional flag to results specifically for the display purpose, so it doesn't affect any of the existing logic.