You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Edit individual review criteria scores in project submission and fix message display in cadmin (#135)
* Initial plan
* Implement project submission editing and message display fixes
- Make total_score automatically calculated from individual scores
- Add JavaScript to auto-calculate total when editing scores
- Add Django messages display to all cadmin templates
- Add comprehensive tests for submission editing and message display
Co-authored-by: alexeygrigorev <875246+alexeygrigorev@users.noreply.github.com>
* Add .tmp to gitignore for temporary test files
* Address code review feedback: add null checks and radix to parseInt
Co-authored-by: alexeygrigorev <875246+alexeygrigorev@users.noreply.github.com>
* Change project submission editing to use individual review criteria scores
- Display review criteria with their options/levels
- Allow editing individual criteria scores instead of aggregate project_score
- Auto-calculate project_score from sum of criteria scores
- Update tests to reflect new criteria-based scoring approach
Co-authored-by: alexeygrigorev <875246+alexeygrigorev@users.noreply.github.com>
* Address code review feedback: improve error handling and consistency
- Add better validation for criteria scores with descriptive error messages
- Fix grammar: 'criteria' -> 'criterion' (singular)
- Use consistent querySelectorAll for all score field selections in JavaScript
- Add 'peer-review-score' class to peer review score fields
Co-authored-by: alexeygrigorev <875246+alexeygrigorev@users.noreply.github.com>
* Refactor cadmin templates to use base template for messages
- Create cadmin/base.html that extends base.html and includes messages block
- Update all cadmin templates to extend cadmin/base.html instead of base.html
- Remove duplicate message blocks from all templates
- Templates now use cadmin_content block instead of content block
Co-authored-by: alexeygrigorev <875246+alexeygrigorev@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: alexeygrigorev <875246+alexeygrigorev@users.noreply.github.com>
0 commit comments