From af4fb87e6d57ff34129eac34c20cac44d5e926ea Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 26 Oct 2026 22:02:52 +0800 Subject: [PATCH] feat(ticket): redesign status color picker and show swatches in color column - Move table cell styles out of scoped block so h()-rendered swatches get size - Replace the bare color-picker trigger with preset swatch radios + custom picker - Disable alpha so picked colors sync to the hex input (was #rrggbbaa, dropped) - Normalize hex via toHex() matching TicketStatusService::sanitize_color() - Add live badge preview, hex input chip, inline closed-state hint Co-Authored-By: Claude Fable 5 --- .../partials/ticket/TicketStatusPanel.vue | 293 ++++++++++++++---- 1 file changed, 235 insertions(+), 58 deletions(-) diff --git a/assets/admin/src/pages/users/partials/ticket/TicketStatusPanel.vue b/assets/admin/src/pages/users/partials/ticket/TicketStatusPanel.vue index 162c49e5..9f31f06a 100644 --- a/assets/admin/src/pages/users/partials/ticket/TicketStatusPanel.vue +++ b/assets/admin/src/pages/users/partials/ticket/TicketStatusPanel.vue @@ -1,5 +1,5 @@