feat(automations): use Ant TimePicker with minute precision and Jalali dates

Replace hour-only select with HH:mm picker, show last run and send logs in Jalali, and display scheduled times as HH:mm in the table.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-24 22:13:06 +03:30
co-authored by Cursor
parent eb435fe3ab
commit 7a2254bc2d
4 changed files with 84 additions and 42 deletions
+4
View File
@@ -30,7 +30,9 @@ export interface Automation {
starts_at?: string | null
ends_at?: string | null
sms_send_hour?: number | null
sms_send_minute?: number | null
in_app_send_hour?: number | null
in_app_send_minute?: number | null
trigger_type: AutomationTriggerType
trigger_config?: AutomationTriggerConfig
audience_mode?: AutomationAudienceMode
@@ -92,7 +94,9 @@ export function emptyAutomation(): Automation {
conditions: [],
channels: ['sms'],
sms_send_hour: 10,
sms_send_minute: 0,
in_app_send_hour: 10,
in_app_send_minute: 0,
cooldown_hours: 24,
starts_at: null,
ends_at: null,