add assignment v2 UI

This commit is contained in:
Tanmay Deep Sharma
2025-07-31 14:58:10 +05:30
parent 2c204326e5
commit 8f9c45ea8c
46 changed files with 4844 additions and 42 deletions
@@ -54,6 +54,11 @@ const filteredAttrs = computed(() => {
standardAttrs[key] = value;
});
// Default to type="button" to prevent accidental form submissions
if (!standardAttrs.type) {
standardAttrs.type = 'button';
}
return standardAttrs;
});
@@ -91,6 +91,7 @@ const toggleOption = option => {
<template #trigger="{ toggle }">
<button
v-if="hasItems"
type="button"
class="bg-n-alpha-2 py-2 rounded-lg h-8 flex items-center px-0"
@click="toggle"
>
@@ -450,6 +450,12 @@ const menuItems = computed(() => {
icon: 'i-lucide-message-square-quote',
to: accountScopedRoute('canned_list'),
},
{
name: 'Settings Assignment',
label: t('SIDEBAR.ASSIGNMENT'),
icon: 'i-lucide-users-round',
to: accountScopedRoute('assignment_settings'),
},
{
name: 'Settings Integrations',
label: t('SIDEBAR.INTEGRATIONS'),