feat(editor): Show data table storage limit banners (no-changelog) (#19175)

Co-authored-by: Ricardo Espinoza <ricardo@n8n.io>
Co-authored-by: Charlie Kolb <charlie@n8n.io>
This commit is contained in:
Svetoslav Dekov
2025-09-12 09:51:32 +03:00
committed by GitHub
parent c3ce2f4819
commit c4d26982e3
20 changed files with 171 additions and 20 deletions

View File

@@ -56,6 +56,8 @@ describe('DismissBannerRequestDto', () => {
'TRIAL',
'NON_PRODUCTION_LICENSE',
'EMAIL_CONFIRMATION',
'DATA_STORE_STORAGE_LIMIT_WARNING',
'DATA_STORE_STORAGE_LIMIT_ERROR',
];
expect(bannerNameSchema.options).toEqual(expectedBanners);

View File

@@ -83,7 +83,6 @@ export interface FrontendSettings {
};
dataTables: {
maxSize: number;
warningThreshold: number;
};
personalizationSurveyEnabled: boolean;
defaultLocale: string;

View File

@@ -6,6 +6,8 @@ export const bannerNameSchema = z.enum([
'TRIAL',
'NON_PRODUCTION_LICENSE',
'EMAIL_CONFIRMATION',
'DATA_STORE_STORAGE_LIMIT_WARNING',
'DATA_STORE_STORAGE_LIMIT_ERROR',
]);
export type BannerName = z.infer<typeof bannerNameSchema>;