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:
@@ -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"]
|
||||
|
||||
|
||||
|
||||
+1730
-748
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user