From 85e2272a5ccd8ea282819ca24fcc7a723d36fa2f Mon Sep 17 00:00:00 2001 From: Nicolas Meienberger Date: Tue, 17 Feb 2026 19:22:15 +0100 Subject: [PATCH] fix(ui): missing @container class in backup details --- .../basic-info-section.tsx | 4 ++-- .../frequency-section.tsx | 4 ++-- .../components/create-schedule-form/index.tsx | 8 +++---- .../backups/components/schedule-summary.tsx | 24 +++++++++---------- 4 files changed, 20 insertions(+), 20 deletions(-) diff --git a/app/client/modules/backups/components/create-schedule-form/basic-info-section.tsx b/app/client/modules/backups/components/create-schedule-form/basic-info-section.tsx index b3b69943..4c1b8f96 100644 --- a/app/client/modules/backups/components/create-schedule-form/basic-info-section.tsx +++ b/app/client/modules/backups/components/create-schedule-form/basic-info-section.tsx @@ -24,7 +24,7 @@ export const BasicInfoSection = ({ form, volume }: BasicInfoSectionProps) => { control={form.control} name="name" render={({ field }) => ( - + Backup name @@ -39,7 +39,7 @@ export const BasicInfoSection = ({ form, volume }: BasicInfoSectionProps) => { control={form.control} name="repositoryId" render={({ field }) => ( - + Backup repository @@ -101,7 +101,7 @@ export const FrequencySection = ({ form, frequency }: FrequencySectionProps) => control={form.control} name="monthlyDays" render={({ field }) => ( - + Days of the month
diff --git a/app/client/modules/backups/components/create-schedule-form/index.tsx b/app/client/modules/backups/components/create-schedule-form/index.tsx index cf6e47d4..21007ca7 100644 --- a/app/client/modules/backups/components/create-schedule-form/index.tsx +++ b/app/client/modules/backups/components/create-schedule-form/index.tsx @@ -105,14 +105,14 @@ export const CreateScheduleForm = ({ initialValues, formId, onSubmit, volume }: id={formId} >
- + Backup automation Schedule automated backups of {volume.name} to a secure repository. - + @@ -152,12 +152,12 @@ export const CreateScheduleForm = ({ initialValues, formId, onSubmit, volume }: - + Retention policy Define how many snapshots to keep. Leave empty to keep all. - + diff --git a/app/client/modules/backups/components/schedule-summary.tsx b/app/client/modules/backups/components/schedule-summary.tsx index 7581b8cc..aa7ad966 100644 --- a/app/client/modules/backups/components/schedule-summary.tsx +++ b/app/client/modules/backups/components/schedule-summary.tsx @@ -87,9 +87,9 @@ export const ScheduleSummary = (props: Props) => { return (
- + -
+
{schedule.name} @@ -112,7 +112,7 @@ export const ScheduleSummary = (props: Props) => {
-
+
{ />
-
+
{schedule.lastBackupStatus === "in_progress" ? ( ) : ( - @@ -144,13 +144,13 @@ export const ScheduleSummary = (props: Props) => { size="sm" loading={runForget.isPending} onClick={() => setShowForgetConfirm(true)} - className="w-full @md:w-auto" + className="w-full @medium:w-auto" > Run cleanup )} - @@ -158,14 +158,14 @@ export const ScheduleSummary = (props: Props) => { variant="outline" size="sm" onClick={() => setShowDeleteConfirm(true)} - className="text-destructive hover:text-destructive w-full @md:w-auto" + className="text-destructive hover:text-destructive w-full @medium:w-auto" > Delete
- +

Schedule

{summary.scheduleLabel}

@@ -195,7 +195,7 @@ export const ScheduleSummary = (props: Props) => {
{schedule.lastBackupStatus === "warning" && ( -
+

Warning Details

{schedule.lastBackupError ?? @@ -205,7 +205,7 @@ export const ScheduleSummary = (props: Props) => { )} {schedule.lastBackupError && schedule.lastBackupStatus === "error" && ( -

+

Error details

{schedule.lastBackupError}