From d4f25de9d389dd17cca5cc4c70752772a032fb59 Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 27 Apr 2026 21:45:27 +0100 Subject: [PATCH] feat: Enhance case conversation display with detailed message stats and loading indicator --- .../atlas/collection_case_view_take.html | 26 ++++++++++++++----- atlas/views.py | 5 ++++ 2 files changed, 24 insertions(+), 7 deletions(-) diff --git a/atlas/templates/atlas/collection_case_view_take.html b/atlas/templates/atlas/collection_case_view_take.html index 1d88b26c..12bf2401 100644 --- a/atlas/templates/atlas/collection_case_view_take.html +++ b/atlas/templates/atlas/collection_case_view_take.html @@ -290,13 +290,25 @@ {% if question_completed %} -
-
Loading case conversation...
-
+
+ + Case conversation + {% if case_review_stats.has_outstanding_any %} + {{ case_review_stats.outstanding_total_count }} unacknowledged message{{ case_review_stats.outstanding_total_count|pluralize }} + {% elif case_review_stats.has_messages %} + {{ case_review_stats.message_count }} message{{ case_review_stats.message_count|pluralize }} + {% else %} + No messages yet + {% endif %} + +
+
Loading case conversation...
+
+
{% endif %}