carlosvegap / capstone-kickoff

0 stars 0 forks source link

Statistics on experiences for adventurers #84

Closed CarLosVegga closed 1 year ago

CarLosVegga commented 1 year ago
image

Hello everyone!

I have this feature to display statistics of the active preferences of the user for an experience!

A bit of what I did

filterAndRank.js

I added this meanScores array, which will contain an object with the meanScore on every feedback. It has both the information of the name and the value of the meanScore in percentage (so that displaying it in a graph would be easier than having to send over the mean score (4) and the max score (5) to get the 80%

ExperienceInfo.jsx

I basically called the values on a Progress component I found from chakra to display the current values. Other than that I restructured most of my css to improve UI

Thanks on any comments!

vqdo commented 1 year ago

looks great!