This is a WIP implementation of the UI changes.
'new_assess' is a test directory, it'll replace the code in app/assess and app/scorecard in the final version.
new_assess/scorecard/index.html is the current working file.
Currently working on:
[x] Move all the current changes to the original views/templates
[x] Recheck Vue and View to ensure compatbility
[x] Vue
[x] Issue with url/itemlistmixin, maybe the best solution would be to use the existing campaign-questions-list and scorecard components.
[x] View is clashing with prefix and itemlistmixin
[x] Fix chart
[x] Missing the first item in the scorecard
[x] Fix scorecard showing before assessment on page load
[x] Scorecard should calculate on a new assessment when we switch to the assess mode. It should instantly calculate based on toggle.
[x] Change prefix upon toggling view to empty string
[x] Improved logic for switching between the assess and the scorecard in the template
[x] remove the checkmarks
[x] practiceslistmixin is creating the chart and calling all the other methods before they’re necessary
[x] Preload scorecard
[x] Set sidebar buttons to open the tile
[ ] Use implemented divs instead of tables
[x] Fix bug: Users can still change answers after an assessment is frozen because it creates a new sample. Need to investigate why this is happening.
This is a WIP implementation of the UI changes. 'new_assess' is a test directory, it'll replace the code in app/assess and app/scorecard in the final version.
new_assess/scorecard/index.html is the current working file.
Currently working on: