@@ -269,7 +269,7 @@ export default function ScheduleDialog({
269269 {
270270 label : localize ( 'com_ui_schedule_project_none' ) ,
271271 value : '' ,
272- icon : < Folder className = "h-4 w-4 text-text-secondary " aria-hidden = "true" /> ,
272+ icon : < Folder className = "text-text-secondary h-4 w-4" aria-hidden = "true" /> ,
273273 } ,
274274 ...loadedProjectItems ,
275275 ] ,
@@ -551,7 +551,7 @@ export default function ScheduleDialog({
551551 const timezoneField = (
552552 < fieldset className = "space-y-2" >
553553 < legend >
554- < Label id = "schedule-timezone-label" className = "text-sm font-medium text-text-primary " >
554+ < Label id = "schedule-timezone-label" className = "text-sm font-medium" >
555555 { localize ( 'com_ui_schedule_timezone' ) }
556556 </ Label >
557557 </ legend >
@@ -605,7 +605,7 @@ export default function ScheduleDialog({
605605 < div className = "space-y-1.5" >
606606 < div className = "grid gap-4 md:grid-cols-3" >
607607 < div className = "space-y-2" >
608- < Label htmlFor = "schedule-name" className = "text-sm font-medium text-text-primary " >
608+ < Label htmlFor = "schedule-name" className = "text-sm font-medium" >
609609 { localize ( 'com_ui_name' ) }
610610 </ Label >
611611 < Input
@@ -619,7 +619,7 @@ export default function ScheduleDialog({
619619 < FieldMessage id = "schedule-name-message" message = { errors . name ?. message } />
620620 </ div >
621621 < div className = "space-y-2" >
622- < Label htmlFor = "schedule-agent" className = "text-sm font-medium text-text-primary " >
622+ < Label htmlFor = "schedule-agent" className = "text-sm font-medium" >
623623 { localize ( 'com_ui_agent' ) }
624624 </ Label >
625625 < Controller
@@ -656,10 +656,7 @@ export default function ScheduleDialog({
656656 < FieldMessage id = "schedule-agent-message" message = { errors . agent_id ?. message } />
657657 </ div >
658658 < div className = "space-y-2" >
659- < Label
660- htmlFor = "schedule-project"
661- className = "text-sm font-medium text-text-primary"
662- >
659+ < Label htmlFor = "schedule-project" className = "text-sm font-medium" >
663660 { localize ( 'com_ui_project' ) }
664661 </ Label >
665662 { pinnedProjectId != null ? (
@@ -669,7 +666,7 @@ export default function ScheduleDialog({
669666 < div
670667 id = "schedule-project"
671668 data-testid = "schedule-project-pinned"
672- className = "flex h-10 w-full items-center gap-2 rounded-xl border border-border-light bg-surface-secondary px-3 text-sm text-text-secondary "
669+ className = "border-border-light bg-surface-secondary text-text-secondary flex h-10 w-full items-center gap-2 rounded-xl border px-3 text-sm"
673670 >
674671 < Folder className = "h-4 w-4 shrink-0" aria-hidden = "true" />
675672 < span className = "truncate" > { projectDisplayName ( pinnedProjectId ) } </ span >
@@ -704,7 +701,7 @@ export default function ScheduleDialog({
704701 onBlur = { field . onBlur }
705702 items = { projectItems }
706703 SelectIcon = {
707- < Folder className = "h-4 w-4 text-text-secondary " aria-hidden = "true" />
704+ < Folder className = "text-text-secondary h-4 w-4" aria-hidden = "true" />
708705 }
709706 ariaLabel = { localize ( 'com_ui_project' ) }
710707 ariaInvalid = { errors . chatProjectId != null }
@@ -740,7 +737,7 @@ export default function ScheduleDialog({
740737 </ div >
741738 { /* Full width, not inside the agent cell: at a third of the dialog this
742739 sentence wraps an extra line and makes the identity row needlessly tall. */ }
743- < p className = "text-xs text-text-secondary " >
740+ < p className = "text-text-secondary text-xs " >
744741 { localize ( 'com_ui_schedule_target_new_chat' ) }
745742 </ p >
746743 </ div >
@@ -775,10 +772,7 @@ export default function ScheduleDialog({
775772
776773 < fieldset className = "space-y-2" >
777774 < legend >
778- < Label
779- id = "schedule-frequency-label"
780- className = "text-sm font-medium text-text-primary"
781- >
775+ < Label id = "schedule-frequency-label" className = "text-sm font-medium" >
782776 { localize ( 'com_ui_schedule_frequency' ) }
783777 </ Label >
784778 </ legend >
@@ -803,7 +797,7 @@ export default function ScheduleDialog({
803797 { frequency === 'cron' ? (
804798 < div className = "grid gap-4 md:grid-cols-2" >
805799 < div className = "space-y-2" >
806- < Label htmlFor = "schedule-cron" className = "text-sm font-medium text-text-primary " >
800+ < Label htmlFor = "schedule-cron" className = "text-sm font-medium" >
807801 { localize ( 'com_ui_schedule_cron_expression' ) }
808802 </ Label >
809803 < Input
@@ -826,7 +820,7 @@ export default function ScheduleDialog({
826820 data-testid = "schedule-cron-input"
827821 { ...register ( 'expression' ) }
828822 />
829- < p id = "schedule-cron-hint" className = "text-xs text-text-secondary " >
823+ < p id = "schedule-cron-hint" className = "text-text-secondary text-xs " >
830824 { localize ( 'com_ui_schedule_cron_hint' ) }
831825 </ p >
832826 < FieldMessage
@@ -847,10 +841,7 @@ export default function ScheduleDialog({
847841 { frequency === 'weekly' && (
848842 < fieldset className = "space-y-2" >
849843 < legend >
850- < Label
851- id = "schedule-days-label"
852- className = "text-sm font-medium text-text-primary"
853- >
844+ < Label id = "schedule-days-label" className = "text-sm font-medium" >
854845 { localize ( 'com_ui_schedule_days' ) }
855846 </ Label >
856847 </ legend >
@@ -905,10 +896,7 @@ export default function ScheduleDialog({
905896 ) }
906897 < fieldset className = "space-y-2" >
907898 < legend >
908- < Label
909- id = "schedule-time-label"
910- className = "text-sm font-medium text-text-primary"
911- >
899+ < Label id = "schedule-time-label" className = "text-sm font-medium" >
912900 { localize (
913901 frequency === 'hourly'
914902 ? 'com_ui_schedule_minutes_past_hour'
@@ -959,7 +947,7 @@ export default function ScheduleDialog({
959947 contradict the "pick at least one day" message right below it. */ }
960948 { daysAreValid && (
961949 < p
962- className = "break-words rounded-lg bg-surface -secondary px-3 py-2 text-sm text-text-secondary "
950+ className = "bg-surface-secondary text-text -secondary rounded-lg px-3 py-2 text-sm break-words "
963951 data-testid = "schedule-summary"
964952 >
965953 { summary }
@@ -968,10 +956,10 @@ export default function ScheduleDialog({
968956 < FieldMessage id = "schedule-cadence-message" message = { cadenceError ?? undefined } />
969957 { previewRuns . length > 0 && (
970958 < div className = "space-y-1" data-testid = "schedule-preview" >
971- < p className = "text-xs font-medium text-text-primary " >
959+ < p className = "text-text-primary text-xs font-medium " >
972960 { localize ( 'com_ui_schedule_next_runs' ) }
973961 </ p >
974- < ul className = "space-y-0.5 text-xs text-text-secondary " >
962+ < ul className = "text-text-secondary space-y-0.5 text-xs" >
975963 { previewRuns . map ( ( run ) => (
976964 < li key = { run . getTime ( ) } >
977965 { formatRunInstant ( run , timezone , locale , prefersMeridiem ) }
0 commit comments