Case timeline shows the follow-up date in raw UTC and priorities as internal values #164

Open
opened 2026-10-17 21:12:38 -04:00 by goddard · 0 comments
Collaborator

The case timeline prints follow-up dates as raw UTC timestamps and priority changes as internal values, unlike the rest of the case page.

  • ui/moderation.ts:125 builds "Review scheduled for 2026-10-17T22:58:33.739Z" from the stored ISO string.
  • ui/moderation.ts:101-108 only maps statuses to their display labels, so case.updated events (:128-135) read "Priority: normal → urgent" next to "Status: Open → Escalated".

moderation.md:161-162 says displayed dates follow the user's time zone preference. The follow-up panel on the same page already shows the formatted date.

Screenshots

Synthetic preview. Cases, archived chat and a second moderator were added through the moderation API for these screenshots. The after images are mockups.

Before:
Before

After (mockup):
After (mockup)

Fix

  • Format follow-up dates in the timeline with the user's time zone and date format, as the follow-up panel does
  • Show priority display labels (Low, Normal, High, Urgent) in case update events
The case timeline prints follow-up dates as raw UTC timestamps and priority changes as internal values, unlike the rest of the case page. - `ui/moderation.ts:125` builds "Review scheduled for 2026-10-17T22:58:33.739Z" from the stored ISO string. - `ui/moderation.ts:101-108` only maps statuses to their display labels, so `case.updated` events (`:128-135`) read "Priority: normal → urgent" next to "Status: Open → Escalated". `moderation.md:161-162` says displayed dates follow the user's time zone preference. The follow-up panel on the same page already shows the formatted date. **Screenshots** Synthetic preview. Cases, archived chat and a second moderator were added through the moderation API for these screenshots. The after images are mockups. Before: ![Before](https://gitea.thewrightserver.net/attachments/1ff366d8-f807-43a2-9f41-9bc3224a7aa3) After (mockup): ![After (mockup)](https://gitea.thewrightserver.net/attachments/b27115aa-d47d-4db4-aed4-bdebc2471338) **Fix** - [ ] Format follow-up dates in the timeline with the user's time zone and date format, as the follow-up panel does - [ ] Show priority display labels (Low, Normal, High, Urgent) in case update events
goddard added the
priority
low
type/bug
labels 2026-10-17 21:12:38 -04:00
josh was assigned by goddard 2026-10-17 21:12:38 -04:00
Sign in to join this conversation.