nautobot icon indicating copy to clipboard operation
nautobot copied to clipboard

Consolidate list view action buttons

Open smk4664 opened this issue 1 year ago • 2 comments
trafficstars

Closes #5870

What's Changed

Consolidates the List View Actions into a single button. Displays "Add" split button dropdown as primary unless the button does not exist or the user does not have permissions, otherwise it falls back to "Actions" button dropdown. Uses pull-right to avoid overflowing offpage.

Screenshots

Before: image

After: image image image image image image

TODO

  • [x] Explanation of Change(s)
  • [x] Added change log fragment(s) (for more information see the documentation)
  • [x] Attached Screenshots, Payload Example
  • [x] Unit, Integration Tests
  • [x] Documentation Updates (when adding/changing features)
  • [x] Example App Updates (when adding/changing features)
  • [x] Outline Remaining Work, Constraints from Design

smk4664 avatar Jul 03 '24 19:07 smk4664

We should probably add a small section header for the "Export" section, when there are multiple export options, so it is clear what those options are for.

lampwins avatar Jul 03 '24 19:07 lampwins

We should probably add a small section header for the "Export" section, when there are multiple export options, so it is clear what those options are for.

I was thinking the same, just wasn't sure how I would do it. Probably just a <li> Export Templates </li> that isn't clickable.

smk4664 avatar Jul 03 '24 19:07 smk4664