Page MenuHomePhabricator

Add a Dashboard MenuItem
ClosedPublic

Authored by chad on Dec 16 2016, 9:03 PM.
Tags
None
Referenced Files
F14351457: D17092.diff
Thu, Dec 19, 7:44 AM
Unknown Object (File)
Wed, Dec 11, 3:53 AM
Unknown Object (File)
Tue, Dec 10, 6:37 PM
Unknown Object (File)
Mon, Dec 9, 4:06 PM
Unknown Object (File)
Mon, Dec 9, 5:57 AM
Unknown Object (File)
Mon, Dec 9, 5:57 AM
Unknown Object (File)
Mon, Dec 9, 5:56 AM
Unknown Object (File)
Mon, Dec 9, 5:51 AM
Subscribers

Details

Summary

Built similar to Projects, allows setting of a Dashboard to MenuItem.

Test Plan

Add a dashboard with and without a name / icon to a Project.

Diff Detail

Repository
rP Phabricator
Branch
dashboard-menuitem (branched from master)
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 14998
Build 19667: Run Core Tests
Build 19666: arc lint + arc unit

Event Timeline

This works really well, if it ajaxed in, we'd have Project Dashboards.

epriestley edited edge metadata.

In both this and projects, I wonder if we should flip the "name" and "thing" fields, so they primary/required field is on top? Although maybe you're usually going to want to rename dashboards.

This revision is now accepted and ready to land.Dec 16 2016, 9:13 PM

I could maybe call the field "Name (optional):"

You could setPlaceHolder(pht('This is an optional field which you do not need to fill out if you would prefer not to fill it out')) too, I think.

This revision was automatically updated to reflect the committed changes.