From 302bbd21f5573f6541fa87b4637b6ebd0cce41b9 Mon Sep 17 00:00:00 2001 From: pmslava Date: Wed, 9 Sep 2026 00:16:22 +0200 Subject: [PATCH 1/2] conversation: show a priority marker on conversation list rows The list showed no priority at all, so an agent scanning the inbox could not tell a High-priority conversation from the rest without opening it - which matters when an automation rule raises priority for paying customers. Each row now carries a small coloured dot in the metadata cluster next to the channel icon and the relative time, using the semantic tokens the rest of the desk uses for urgency: destructive for High, warning-600 for Medium, muted-foreground for Low, and muted-foreground for any priority an install has renamed. The dot is a tooltip trigger and carries an aria-label, both reading "Priority: ", and rows whose priority is unset render nothing. The mapping lives in one small PriorityDot component so any future priority display stays consistent with it. No backend change was needed: the get-conversations query already selects conversation_priorities.name as priority, ConversationListItem already carries it, and a priority change is broadcast over the websocket and merged into the list row. --- .../src/features/conversation/PriorityDot.vue | 44 +++++++++++++++++++ .../list/ConversationListItem.vue | 2 + 2 files changed, 46 insertions(+) create mode 100644 frontend/apps/main/src/features/conversation/PriorityDot.vue diff --git a/frontend/apps/main/src/features/conversation/PriorityDot.vue b/frontend/apps/main/src/features/conversation/PriorityDot.vue new file mode 100644 index 00000000..1bc0dfd2 --- /dev/null +++ b/frontend/apps/main/src/features/conversation/PriorityDot.vue @@ -0,0 +1,44 @@ + + + diff --git a/frontend/apps/main/src/features/conversation/list/ConversationListItem.vue b/frontend/apps/main/src/features/conversation/list/ConversationListItem.vue index 3c03e086..8cc11add 100644 --- a/frontend/apps/main/src/features/conversation/list/ConversationListItem.vue +++ b/frontend/apps/main/src/features/conversation/list/ConversationListItem.vue @@ -60,6 +60,7 @@ {{ contactFullName }}
+ Date: Mon, 14 Sep 2026 18:35:55 +0530 Subject: [PATCH 2/2] use ladders for priority market --- .../{PriorityDot.vue => PriorityMarker.vue} | 24 +++++++-------- .../list/ConversationListItem.vue | 4 +-- .../components/icons/PriorityIcon.vue | 30 +++++++++++++++++++ 3 files changed, 44 insertions(+), 14 deletions(-) rename frontend/apps/main/src/features/conversation/{PriorityDot.vue => PriorityMarker.vue} (56%) create mode 100644 frontend/shared-ui/components/icons/PriorityIcon.vue diff --git a/frontend/apps/main/src/features/conversation/PriorityDot.vue b/frontend/apps/main/src/features/conversation/PriorityMarker.vue similarity index 56% rename from frontend/apps/main/src/features/conversation/PriorityDot.vue rename to frontend/apps/main/src/features/conversation/PriorityMarker.vue index 1bc0dfd2..e24ec6be 100644 --- a/frontend/apps/main/src/features/conversation/PriorityDot.vue +++ b/frontend/apps/main/src/features/conversation/PriorityMarker.vue @@ -1,9 +1,11 @@ + +