Page MenuHomePhabricator

Add ActionIcon to PHUIListItemView, use in Dashboards
ClosedPublic

Authored by chad on Mar 16 2017, 6:21 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Sep 13, 12:02 AM
Unknown Object (File)
Tue, Sep 10, 11:42 AM
Unknown Object (File)
Sun, Sep 1, 1:32 AM
Unknown Object (File)
Sat, Aug 31, 10:28 PM
Unknown Object (File)
Wed, Aug 28, 8:40 AM
Unknown Object (File)
Mon, Aug 26, 2:18 AM
Unknown Object (File)
Aug 7 2024, 11:43 PM
Unknown Object (File)
Aug 4 2024, 12:30 AM
Subscribers

Details

Summary

Extends PHUIListItemView to take an icon, link as an "Action Item" that displays on the right side of the menu link. Does not display on Favorites. This allows for adding edit, external, or other links (documentation?) to any menu item. Right now the secondary link is only visible when the item is selected. This feels right, but if we offer it in other ways, users may always want it visible. We could look at making it onhover.

Test Plan

Add a bunch of random global and personal dashboards to my menu. Add a menu to Favorites, see no link. Test mobile, link works.

pasted_file (718×664 px, 73 KB)

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

  • test for dashboards named "MMMMMMMMMMMMMMMMMMMMMMMMM" by users named hector
This revision is now accepted and ready to land.Mar 16 2017, 6:30 PM
This revision was automatically updated to reflect the committed changes.