Skip to content

Commit b54975a

Browse files
authored
Common action updates (#12017)
Added guidance for add actions to not open a modal before adding/creation of a resource. ![Screenshot 2024-05-17 at 5 33 57 PM](https://github.com/Shopify/polaris/assets/8629173/4304ccdd-9f2b-4ccf-9995-57d3aac626aa)
1 parent e7cb7a6 commit b54975a

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed

.changeset/gentle-islands-rhyme.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'polaris.shopify.com': patch
3+
---
4+
5+
Updated common action pattern guidance for add actions

polaris.shopify.com/content/patterns/common-actions/variants/overview.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,14 @@ url: /patterns/common-actions/overview
8282

8383
</Medium>
8484

85+
<Medium variant="dont">
86+
87+
![An image of the admin UI with an "Add product" button that triggers and intermediary modal.](/images/patterns/common-actions/types/common-action-types-add-no-modal@2x.png)
88+
89+
Include intermediary steps during the creation of a resource. Place these configuration options on the newly created page itself.
90+
91+
</Medium>
92+
8593
</LayoutSection>
8694

8795
<LayoutSection card>
39.9 KB
Loading

0 commit comments

Comments
 (0)