diff --git a/.eslintrc.js b/.eslintrc.js index b76aac9dd3..4594ab9b7b 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -90,6 +90,12 @@ module.exports = { message: 'For safety and convenience, use this instead: import { allSettled } from "@/utils/promiseUtils";', }, + { + message: + "Bootstrap columns should not be used if there's a single column. Use a plain `div` or drop the wrapper altogether if not needed. You might also consider using one of the classes 'max-550', 'max-750', or 'max-950' to limit the width of the body.", + selector: + "JSXElement[openingElement.name.name='Row'] > JSXText:first-child + JSXElement:nth-last-child(2)", + }, { message: "Use the `uuid` module instead because crypto.randomUUID is not available in http: contexts", diff --git a/src/__snapshots__/Storyshots.test.js.snap b/src/__snapshots__/Storyshots.test.js.snap index 0f14c05aba..f943b5c283 100644 --- a/src/__snapshots__/Storyshots.test.js.snap +++ b/src/__snapshots__/Storyshots.test.js.snap @@ -5823,37 +5823,33 @@ exports[`Storyshots Forms/Form builder Default 1`] = `
- Register/log-in to PixieBrix to access your personal and team bricks -
- ++ Register/log-in to PixieBrix to access your personal and team bricks +
+ + -Use the Brick Actions Panel on the left to add and edit bricks.
{entry.data.outputKey}
}
- {entry.data.outputKey}
}
+ {mod.metadata.id}
-
- {mod.metadata.id}
+
+ {helpText}
{permissionsList?.length ? ( // Use Table single column table instead of ListGroup to more closely match style on other wizard tabs -
+ test/blueprint-with-required-options
+
+
+ - No special permissions required -
-+ No special permissions required +
+
+ test/blueprint-with-required-options
+
+
- No special permissions required -
++ No special permissions required +
+ +
+ test/mod-1
+
+
+ - No special permissions required -
-+ No special permissions required +
+
+ test/mod-6
+
+
+ + These are some instructions +
+ + +- These are some instructions -
- - -- No special permissions required -
-+ No special permissions required +
+
+ test/mod-2
+
+
+ - No special permissions required -
-+ No special permissions required +
+Visit the{" "} @@ -155,9 +151,9 @@ const GetStartedView: React.VoidFunctionComponent<{ />{" "} for ideas.
- - -We recommend docking the DevTools to the bottom of the window.
+
- Click the ‘
-
- Select the ‘ - - ’ (third option) under ‘Dock side’ -
- -
+ Click the ‘
+
+ Select the ‘ + + ’ (third option) under ‘Dock side’ +
+{brickInfo?.block.name}
diff --git a/src/pageEditor/tabs/modMetadata/ModMetadataEditor.module.scss b/src/pageEditor/tabs/modMetadata/ModMetadataEditor.module.scss index 04e25e1987..085d8f02dd 100644 --- a/src/pageEditor/tabs/modMetadata/ModMetadataEditor.module.scss +++ b/src/pageEditor/tabs/modMetadata/ModMetadataEditor.module.scss @@ -17,8 +17,5 @@ .root { padding-top: 1rem; -} - -.row { align-items: center; } diff --git a/src/pageEditor/tabs/modMetadata/ModMetadataEditor.tsx b/src/pageEditor/tabs/modMetadata/ModMetadataEditor.tsx index 8ca49e2508..7c235bb77f 100644 --- a/src/pageEditor/tabs/modMetadata/ModMetadataEditor.tsx +++ b/src/pageEditor/tabs/modMetadata/ModMetadataEditor.tsx @@ -21,7 +21,7 @@ import { selectActiveRecipeId, selectDirtyMetadataForRecipeId, } from "@/pageEditor/slices/editorSelectors"; -import { Card, Col, Container, Row } from "react-bootstrap"; +import { Card, Container } from "react-bootstrap"; import Loader from "@/components/Loader"; import { getErrorMessage } from "@/errors/errorHelpers"; import { actions } from "@/pageEditor/slices/editorSlice"; @@ -40,6 +40,7 @@ import { useOptionalModDefinition } from "@/modDefinitions/modDefinitionHooks"; import { type ModMetadataFormState } from "@/pageEditor/pageEditorTypes"; import { FieldDescriptions } from "@/modDefinitions/modDefinitionConstants"; import IntegrationsSliceModIntegrationsContextAdapter from "@/integrations/store/IntegrationsSliceModIntegrationsContextAdapter"; +import cx from "classnames"; // TODO: This should be yup.SchemaOf- Go to the PixieBrix tab via the Chrome Dev Tools -
-- {isMac() ? ( - ⌘ + Option + C - ) : ( - Ctrl + Shift + C - )} - or - F12 -
- -+ Go to the PixieBrix tab via the Chrome Dev Tools +
++ {isMac() ? ( + ⌘ + Option + C + ) : ( + Ctrl + Shift + C + )} + or + F12 +
+- Visit the{" "} - - Quick Start Guide - {" "} - or ask questions in the{" "} - - Slack Community - - .{" "} -
-- Visit the{" "} - - PixieBrix Marketplace - {" "} - for ideas. -
- -+ Visit the{" "} + + Quick Start Guide + {" "} + or ask questions in the{" "} + + Slack Community + + .{" "} +
++ Visit the{" "} + + PixieBrix Marketplace + {" "} + for ideas. +
+Register/log-in to PixieBrix to access your personal and team bricks
@@ -40,11 +40,11 @@ const DefaultLogin: React.FunctionComponent = () => ( >
Authenticate with Automation Anywhere to continue using your team's
@@ -58,7 +58,7 @@ const PartnerAuth: React.FunctionComponent = () => (
>
- We didn't find any mods to run -
-
- Some mods don't run on every page.
-
- And other mods don't run in the Sidebar.
-
-
- Check that the mod is configured correctly.
-
- Looking for new mods?
-
- Check out the
-
- PixieBrix Marketplace
-
-
+ We didn't find any mods to run +
+
+ Some mods don't run on every page.
+
+ And other mods don't run in the Sidebar.
+
+
+ Check that the mod is configured correctly.
+
- Register/log-in to PixieBrix to access your personal and team bricks -
- ++ Register/log-in to PixieBrix to access your personal and team bricks +
+ + -- Authenticate with Automation Anywhere to continue using your team's AARI extensions -
- ++ Authenticate with Automation Anywhere to continue using your team's AARI extensions +
+ + -- Register/log-in to PixieBrix to access your personal and team bricks -
- ++ Register/log-in to PixieBrix to access your personal and team bricks +
+ + -