diff --git a/.changeset/rotten-chefs-jog.md b/.changeset/rotten-chefs-jog.md new file mode 100644 index 0000000000..120520c087 --- /dev/null +++ b/.changeset/rotten-chefs-jog.md @@ -0,0 +1,10 @@ +--- +'@backstage/plugin-scaffolder-react': patch +'@backstage/plugin-scaffolder': patch +--- + +Improvements to the `scaffolder/next` buttons UX: + +- Added padding around the "Create" button in the `Stepper` component +- Added a button bar that includes the "Cancel" and "Start Over" buttons to the `OngoingTask` component. The state of these buttons match their existing counter parts in the Context Menu +- Added a "Show Button Bar"/"Hide Button Bar" item to the `ContextMenu` component diff --git a/plugins/scaffolder-react/src/next/components/Stepper/Stepper.tsx b/plugins/scaffolder-react/src/next/components/Stepper/Stepper.tsx index 946cc583a3..55b5703ecf 100644 --- a/plugins/scaffolder-react/src/next/components/Stepper/Stepper.tsx +++ b/plugins/scaffolder-react/src/next/components/Stepper/Stepper.tsx @@ -49,11 +49,11 @@ const useStyles = makeStyles(theme => ({ backButton: { marginRight: theme.spacing(1), }, - footer: { display: 'flex', flexDirection: 'row', justifyContent: 'right', + padding: theme.spacing(2), }, formWrapper: { padding: theme.spacing(2), @@ -216,6 +216,7 @@ export const Stepper = (stepperProps: StepperProps) => { + + + + + + ) : null} + {logsVisible ? (