mirror of
https://github.com/abhinavxd/libredesk.git
synced 2026-09-11 21:39:00 +00:00
d8b73c5877
Colors: the brand color moves from indigo to green in both themes, and the sidebar, tooltip, card and link styles follow it. Three new tokens replace hardcoded values: foreground-lighter for idle sidebar items, warning-600 for warning text that needs 4.5:1 contrast on light backgrounds, and link for anchors inside rendered email content. DESIGN_SYSTEM.md now lists the real values from main.scss instead of the old indigo ones. Forms: every button inside a form that is not the submit button now has an explicit type. Without it the browser treats it as a submit button, so clicking Cancel on a contact note posted an empty note, "New holiday" saved the whole business-hours form, and pressing Enter in an SLA field deleted the first alert row. The login page also highlights an empty password field on a failed submit, which a broken condition prevented before, and the two password fields on the set-password page get their own show and hide toggles. Search: conversation and contact search now drop responses from an older query, so clearing the box no longer repopulates the list with stale results. Permissions: /api/v1/ai/summarize now needs messages:write, since it writes a private note, and the menu item is hidden for agents without it.