Skip to content

Commit

Permalink
Common action updates (#12017)
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
sarahill authored May 21, 2024
1 parent e7cb7a6 commit b54975a
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/gentle-islands-rhyme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'polaris.shopify.com': patch
---

Updated common action pattern guidance for add actions
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,14 @@ url: /patterns/common-actions/overview

</Medium>

<Medium variant="dont">

![An image of the admin UI with an "Add product" button that triggers and intermediary modal.](/images/patterns/common-actions/types/[email protected])

Include intermediary steps during the creation of a resource. Place these configuration options on the newly created page itself.

</Medium>

</LayoutSection>

<LayoutSection card>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b54975a

Please sign in to comment.