Update Apps and reports

Signed-off-by: gaelgoth <gothuey.gael@gmail.com>
This commit is contained in:
gaelgoth
2025-11-14 10:34:58 +01:00
parent db14da4f9b
commit a32c216b0a
5 changed files with 16 additions and 8 deletions
@@ -29,7 +29,9 @@ export const themes: AppTheme[] = [
variant: 'light',
icon: <LightIcon />,
Provider: ({ children }) => (
<UnifiedThemeProvider theme={builtinThemes.light} children={children} />
<UnifiedThemeProvider theme={builtinThemes.light} themeName="light">
{children}
</UnifiedThemeProvider>
),
},
{
@@ -38,7 +40,9 @@ export const themes: AppTheme[] = [
variant: 'dark',
icon: <DarkIcon />,
Provider: ({ children }) => (
<UnifiedThemeProvider theme={builtinThemes.dark} children={children} />
<UnifiedThemeProvider theme={builtinThemes.dark} themeName="dark">
{children}
</UnifiedThemeProvider>
),
},
];
@@ -88,5 +88,5 @@ export function AppThemeProvider({ children }: PropsWithChildren<{}>) {
throw new Error('App has no themes');
}
return <appTheme.Provider>{children}</appTheme.Provider>;
return <appTheme.Provider children={children} />;
}
+1 -1
View File
@@ -15,8 +15,8 @@ export const coreComponentsTranslationRef: TranslationRef<
readonly 'table.body.emptyDataSourceMessage': 'No records to display';
readonly 'table.header.actions': 'Actions';
readonly 'table.toolbar.search': 'Filter';
readonly 'table.pagination.labelDisplayedRows': '{from}-{to} of {count}';
readonly 'table.pagination.firstTooltip': 'First Page';
readonly 'table.pagination.labelDisplayedRows': '{from}-{to} of {count}';
readonly 'table.pagination.labelRowsSelect': 'rows';
readonly 'table.pagination.lastTooltip': 'Last Page';
readonly 'table.pagination.nextTooltip': 'Next Page';
+6 -2
View File
@@ -62,7 +62,9 @@ export const LightTheme = ThemeBlueprint.make({
variant: 'light',
icon: <LightIcon />,
Provider: ({ children }) => (
<UnifiedThemeProvider theme={builtinThemes.light} children={children} />
<UnifiedThemeProvider theme={builtinThemes.light} themeName="light">
{children}
</UnifiedThemeProvider>
),
},
},
@@ -77,7 +79,9 @@ export const DarkTheme = ThemeBlueprint.make({
variant: 'dark',
icon: <DarkIcon />,
Provider: ({ children }) => (
<UnifiedThemeProvider theme={builtinThemes.dark} children={children} />
<UnifiedThemeProvider theme={builtinThemes.dark} themeName="dark">
{children}
</UnifiedThemeProvider>
),
},
},
+2 -2
View File
@@ -543,6 +543,8 @@ export const scaffolderTranslationRef: TranslationRef<
readonly 'renderSchema.tableCell.description': 'Description';
readonly 'templatingExtensions.content.values.title': 'Values';
readonly 'templatingExtensions.content.values.notAvailable': 'There are no global template values defined.';
readonly 'templatingExtensions.content.emptyState.title': 'No information to display';
readonly 'templatingExtensions.content.emptyState.description': 'There are no templating extensions available or there was an issue communicating with the backend.';
readonly 'templatingExtensions.content.filters.title': 'Filters';
readonly 'templatingExtensions.content.filters.schema.input': 'Input';
readonly 'templatingExtensions.content.filters.schema.output': 'Output';
@@ -550,8 +552,6 @@ export const scaffolderTranslationRef: TranslationRef<
readonly 'templatingExtensions.content.filters.examples': 'Examples';
readonly 'templatingExtensions.content.filters.notAvailable': 'There are no template filters defined.';
readonly 'templatingExtensions.content.filters.metadataAbsent': 'Filter metadata unavailable';
readonly 'templatingExtensions.content.emptyState.title': 'No information to display';
readonly 'templatingExtensions.content.emptyState.description': 'There are no templating extensions available or there was an issue communicating with the backend.';
readonly 'templatingExtensions.content.searchFieldPlaceholder': 'Search for an extension';
readonly 'templatingExtensions.content.functions.title': 'Functions';
readonly 'templatingExtensions.content.functions.schema.output': 'Output';