dams-mcda / Dams-MCDA

Emma Fox R/Shiny Project with a docker server configuration
1 stars 0 forks source link

Add alternative score tracking #31

Closed sythel closed 5 years ago

sythel commented 5 years ago

Include visible total score tracker at the top of each decision alternative tab (e.g. Remove Dam) under the description text. Tracker to indicate whether sum of criteria scores is equal to 1, showing the % difference that needs to be accounted for. Sharon's preference is that this tracker % value is updated continuously (if possible) with each criterion change (if dynamic update is not possible, then update upon clicking "Update" button could work instead), and color-coded to be green when equal to 1 and red otherwise (like the Complete indicator on each Alternative tab), and preventing the user from moving on when clicking update if the total score doesn't equal 1. This change will eliminate the need for the FilledCriteriaTable on output tab's page.

Emma to open "criteria text" issue including an explanation of how the tracker works for the user.

sythel commented 5 years ago

@elbfox need input on styling. see live server http://shiny.gsscdev.com/dams_mcda/

elbfox commented 5 years ago

Looks great! Can you color the font red so that it draws the eye more? I only found it because I knew what I was looking for. Also, are you able to adjust the width of the criteria rating bars/text to extend almost to the width of the graph at the bottom (keeping room at the right for the progress tracker) so that the user has more space to move the rating toggle? Right now it's a lot of clicking in the same small area, which may be challenging for older users. It looks as if they could be up to double their current width.

sythel commented 5 years ago

7cd661a width for inputs changed from 300px to 80% container width. added border, padding, z-index, color, to progress tracker live on server

elbfox commented 5 years ago

Thank you for this update. I like the look of the 0.0/1.0 tracker and the error message when you try to update without filling criteria scores = 1.