Add refresh buttons and optimize case series update

- Implemented refresh buttons for each exam/packet section and a global refresh button.
- Enhanced resource management in the atlas by allowing inline creation and attachment of resources.
- Redirected users back to the case within a case collection upon saving or cancelling edits.
- Optimized the case series update view to prevent hanging issues on production.
- Fixed an issue with the local-up script not shutting down running containers properly.

Add marker feedback field to useranswer model

- Created migrations to add a 'marker_feedback' field to the 'useranswer' model in both 'longs' and 'shorts' apps.
- The new field is a TextField that allows optional feedback for the marker, which will not be shown to the candidate.
This commit is contained in:
Ross
2026-07-04 23:11:19 +01:00
parent 277322059c
commit 55fcf71431
5 changed files with 1789 additions and 749 deletions
+2
View File
@@ -1495,9 +1495,11 @@ class CaseSeriesForm(forms.ModelForm):
def __init__(self, *args, queryset, user=None, is_atlas_editor=False, **kwargs):
super().__init__(*args, **kwargs)
self.fields["series"].queryset = queryset
self.fields["series"].label_from_instance = lambda obj: str(obj.pk)
class Meta:
model = SeriesDetail # through model for Case.series
fields = ["series", "sort_order", "feedback"]