fix(workshop): stack widget install flow

This commit is contained in:
Thomas Camlong committed 2026-08-10 18:19:31 +02:00
1 parent 378bc0cd28
commit cf3c4b4152
10 files changed
+269 -65

No files matched your search

@@ -30,6 +30,8 @@ export interface ImportReviewDialogProps {
children?: ReactNode;
stackId?: string;
zIndex?: ModalProps["zIndex"];
size?: ModalProps["size"];
styles?: ModalProps["styles"];
onClose(): void;
onConfirm(): void;
}
@@ -54,6 +56,8 @@ export function ImportReviewDialog({
children,
stackId,
zIndex,
size,
styles,
onClose,
onConfirm,
}: ImportReviewDialogProps) {
@@ -63,9 +67,10 @@ export function ImportReviewDialog({
onClose={onClose}
title={messages.title}
centered
size="lg"
stackId={stackId}
zIndex={zIndex}
size={size ?? "lg"}
styles={styles}
>
{review && (
<Stack gap="md">
+7 -3
View File
@@ -1130,7 +1130,8 @@
"installError": "Could not install widget",
"installErrorDescription": "The Workshop submission is not a valid Custom JSX v2 widget.",
"title": "Workshop",
"openCommunity": "Open public Workshop",
"importFromWorkshop": "Import from Workshop",
"openCommunity": "Open Workshop",
"description": "Community Custom JSX v2 widgets. Inspect the source and network capabilities before installing.",
"descriptionCss": "Community Custom CSS themes. Preview every rule before importing it into a board.",
"securityNotice": "Workshop widgets can call their declared API sources and perform declared actions with credentials you configure locally. Secrets are never included.",
@@ -1150,9 +1151,8 @@
"emptyCss": "No CSS themes match this search.",
"noDescription": "No description",
"author": "by {name}",
"inspect": "Inspect widget",
"inspectCss": "Inspect CSS",
"details": "Widget details",
"sourceCode": "Workshop entry",
"loadError": "This submission could not be loaded.",
"sources": "Declared API sources",
"requests": "Declared queries and actions",
@@ -1160,6 +1160,10 @@
"export": "Export",
"report": "Report",
"install": "Install widget",
"continueInstall": "Continue installation",
"confirmInstallTitle": "Confirm widget installation",
"confirmInstallDescription": "Confirm where this widget connects and add any credentials required by your Homarr installation.",
"backToWidget": "Back to widget",
"useCss": "Import CSS",
"signInHint": "Sign in to vote or report. Installing does not require a Workshop account.",
"reportTitle": "Report submission",