Redesign of the SMS automation page

This commit is contained in:
2026-09-14 16:49:43 +03:30
parent 8925c77ae0
commit f176fde1eb
15 changed files with 2089 additions and 226 deletions
+32 -8
View File
@@ -3,6 +3,7 @@ export type NavHubKey =
| 'sales'
| 'activities'
| 'support'
| 'automations'
| 'tools'
| 'settings';
@@ -15,6 +16,8 @@ export type NavIconName =
| 'document'
| 'box'
| 'mail'
| 'send'
| 'sparkle'
| 'dollar'
| 'target'
| 'check'
@@ -190,6 +193,35 @@ export const NAV_HUBS: NavHubDef[] = [
},
],
},
{
key: 'automations',
title: 'اتوماسیون',
desc: 'قوانین خودکار برای گردش کار و پیامک',
icon: 'sparkle',
tint: 'violet',
shortcuts: [
{ to: '/settings/automations', title: 'قانون گردش کار', icon: 'layers' },
{ to: '/settings/message-automations', title: 'قانون پیامک', icon: 'send' },
],
cards: [
{
to: '/settings/automations',
title: 'اتوماسیون گردش کار',
desc: 'اگر این شد، آن کارها را پشت‌سرهم انجام بده',
icon: 'layers',
tint: 'violet',
admin: true,
},
{
to: '/settings/message-automations',
title: 'اتوماسیون پیامک‌ها',
desc: 'پیامک و ناتیف با تأخیر و تکرار',
icon: 'send',
tint: 'sky',
admin: true,
},
],
},
{
key: 'tools',
title: 'ابزارها',
@@ -292,14 +324,6 @@ export const NAV_HUBS: NavHubDef[] = [
icon: 'lightbulb',
tint: 'rose',
},
{
to: '/settings/message-automations',
title: 'پیام خودکار',
desc: 'پیامک و ناتیف با زمان‌بندی تکرار',
icon: 'mail',
tint: 'sky',
admin: true,
},
],
},
];