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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user