open-learning-exchange / planet

🌍 Planet Learning - Angular application
https://hub.docker.com/r/treehouses/planet
GNU Affero General Public License v3.0
62 stars 39 forks source link

challenges: smoother progress bar label #7720

Closed RheuX closed 3 weeks ago

RheuX commented 3 weeks ago

Problem:

Screenshot 2024-11-04 at 12 01 41 PM

Fixes: image

If there is enough space for the label, it will act as previous code

image

jessewashburn commented 3 weeks ago

What is the number in the parentheses next to the percentage?

RheuX commented 3 weeks ago

its the number of how many people finished with the challenges, i was considering to removing it, but what if each challenge does not equal 1 participant = 1 dollar, so i just keep it in there

RheuX commented 3 weeks ago

also, if you saw 10% there, but its still (2) participant, because i just changed the numerical value of the bar, when testing it, in practice, its should be equal to the ratio we set

Gavinp14 commented 3 weeks ago

Do you think there should be a way so instead of the learners just seeing "(2)" or any given number in parenthesis, it says like "(2 entries)". This way perhaps people are not confused by the number. Just my thoughts though.