Skip to content

Consolidate "page actions" on details layout pattern #8058

@johanstromqvist

Description

@johanstromqvist

The Resource detail layout pattern needs a dedicated place for common page actions such as duplicate, archive and delete, but common details pages in the admin currently lacks consistency in where such actions are placed. Many pages also have a save action, which is not necessary.

Audit

Products ## Products Products has no page actions in "More actions", but `duplicate` in common actions, and `archive`, `delete` and `save` in footer actions. image image
Orders ## Orders Orders has `cancel order` and `archive` in "More actions", and no footer actions image image
Customers ## Customers Customers has TWO `delete` actions, one in "More actions" and one in the footer. Plus the destructive button has wrong styling. image image
Discounts ## Discounts Discounts has no "More actions", but `duplicate` among common actions and `delete` in footer actions image image

Suggested pattern/guidelines

v0.4
Image

Previous suggestions

v0.3
image

v0.2
image

v0.1
image

It must be very easy and intuitive to find recurring page actions on pages that looks similar. Pages may vary to some degree depending on its purpose, but page actions must default to being consistent and any exceptions should be made with great caution.

  • No footer actions
  • No save action
  • Default to including a "More actions" and place all page actions there
  • Surface a single page action, such as duplicate, if that action is a main use case and extremely common on the page.

TODOs

  • Visualize the suggested default pattern in Figma
  • Talk to various SMEs from Products, Orders, etc, to see if there are any concerns and insight
  • Consider feedback, set minimal scope, create issues
  • Update the content and assets on the pattern page

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions