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)
Wed, Nov 27, 7:53 PM
Unknown Object (File)
Sun, Nov 24, 7:22 AM
Unknown Object (File)
Sun, Nov 10, 5:49 AM
Unknown Object (File)
Sun, Nov 10, 5:31 AM
Unknown Object (File)
Sun, Nov 10, 3:58 AM
Unknown Object (File)
Sat, Nov 9, 1:12 PM
Unknown Object (File)
Wed, Nov 6, 4:58 PM
Unknown Object (File)
Oct 16 2024, 10:20 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
Branch
dashboard-edit (branched from master)
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 16004
Build 21218: Run Core Tests
Build 21217: arc lint + arc unit

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.