Dashboard constants: a hard-coded locale, page sizes and dock dimensions #2060

Open
opened 2026-11-18 23:10:31 +00:00 by sam · 0 comments
Owner

Dashboard values that belong with the rest of the UI's constants:

  • toLocaleString("en-US") in ui/src/tasks/timeline-event.ts, while the other formatters follow the browser locale.
  • Page and list sizes of 100, 160 and 500 across the stores and pages (ui/src/tasks, ui/src/audit, ui/src/events, ui/src/dashboard/activity-detail.ts).
  • The chat dock's MIN_W, MAX_W, MIN_H and BAR_W in ui/src/chat/ChatDockLayout.ts, exported as if they were settings.
  • The alert severity union and its group order in ui/src/alerts/alerts.ts, which duplicates the server's vocabulary.

Done when: the locale follows the browser like the other formatters, and the sizes sit in one place rather than one per screen.

Dashboard values that belong with the rest of the UI's constants: - `toLocaleString("en-US")` in ui/src/tasks/timeline-event.ts, while the other formatters follow the browser locale. - Page and list sizes of 100, 160 and 500 across the stores and pages (ui/src/tasks, ui/src/audit, ui/src/events, ui/src/dashboard/activity-detail.ts). - The chat dock's MIN_W, MAX_W, MIN_H and BAR_W in ui/src/chat/ChatDockLayout.ts, exported as if they were settings. - The alert severity union and its group order in ui/src/alerts/alerts.ts, which duplicates the server's vocabulary. Done when: the locale follows the browser like the other formatters, and the sizes sit in one place rather than one per screen.
sam added the chorelow labels 2026-11-18 23:10:31 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#2060