Skip to content

Commit 97ab1cb

Browse files
author
Bob Strahan
committed
feat(ui): add version upgrade warning to save-as-default modal
1 parent d583f19 commit 97ab1cb

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

src/ui/src/components/configuration-layout/ConfigurationLayout.jsx

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -911,10 +911,17 @@ const ConfigurationLayout = () => {
911911
</Box>
912912
}
913913
>
914-
<Box variant="span">
915-
Are you sure you want to save the current configuration as the new default? This will replace the existing
916-
default configuration and cannot be undone.
917-
</Box>
914+
<SpaceBetween direction="vertical" size="m">
915+
<Box variant="span">
916+
Are you sure you want to save the current configuration as the new default? This will replace the existing
917+
default configuration and cannot be undone.
918+
</Box>
919+
<Alert type="warning" header="Important: Version upgrade considerations">
920+
The default configuration may be overwritten when you update the solution to a new version. We recommend
921+
using the Export button to download and save your configuration so you can easily restore it after an
922+
upgrade if needed.
923+
</Alert>
924+
</SpaceBetween>
918925
</Modal>
919926

920927
<Modal

0 commit comments

Comments
 (0)