- Register highlight.js plaintext language to fix "Unknown language" error
- Add try/catch around getMyProfile() to handle network errors gracefully
- Add components.d.ts to .gitignore (auto-generated by unplugin-vue-components)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add select_related("user") in update_score() to eliminate N+1 on rating.user.role
- Return QuerySet directly from list_submissions so @paginate works at DB level
- Defer html/css/js fields in list queries to reduce data transfer
- Add db_index on flag field for filtered queries
- Add select_related("task", "user") to get_submission endpoint
- Replace manual list() serialization with resolve_* methods on SubmissionOut
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Axios sends empty string as query param which fails django-ninja
Literal validation. Null is omitted from params entirely.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Admins can click the flag dot to set/clear colored flags on submissions.
Non-admins see the flag indicator as read-only.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add FlagType to type definitions and flag field to SubmissionOut/SubmissionAll
interfaces. Add updateFlag method to Submission API client.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Adds PUT /{submission_id}/flag endpoint (admin/super only) and
flag filter support in list_submissions.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>