Page MenuHomePhabricator

Create dashboard panels inline on dashboards
ClosedPublic

Authored by epriestley on Jun 12 2014, 11:56 AM.
Tags
None
Referenced Files
F14061345: D9501.diff
Mon, Nov 18, 6:14 AM
F14051856: D9501.id22758.diff
Fri, Nov 15, 4:29 AM
F14049536: D9501.diff
Thu, Nov 14, 1:34 PM
F14047705: D9501.id22765.diff
Thu, Nov 14, 4:57 AM
F14038338: D9501.diff
Sun, Nov 10, 11:04 PM
F14036728: D9501.diff
Sun, Nov 10, 11:49 AM
F14021022: D9501.diff
Wed, Nov 6, 4:39 AM
F14005077: D9501.id22759.diff
Sun, Oct 27, 7:06 AM
Subscribers

Details

Summary

Fixes T5308.

  • Allows you to create a panel directly on a dashboard.
  • Also, include existing panels with a select instead of a text field. This won't scale as well but should be fine for now, and is way easier to use.
Test Plan

See comment.

Diff Detail

Repository
rP Phabricator
Branch
dash3
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 1032
Build 1032: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

epriestley retitled this revision from to Create dashboard panels inline on dashboards.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
  • Remove defunct "panel create" controller (now part of "panel edit").

"Add Panel" is now two buttons, to create or select a panel:

Screen_Shot_2014-06-12_at_4.54.42_AM.png (910×968 px, 113 KB)

Selecting a panel gives you a select, instead of a textarea / "type a widget id". This should be fine until installs have many hundreds of panels:

Screen_Shot_2014-06-12_at_4.54.51_AM.png (910×968 px, 112 KB)

Creating a panel gives you an inline dialog:

Screen_Shot_2014-06-12_at_4.54.57_AM.png (910×968 px, 126 KB)

Then you make the actual panel:

Screen_Shot_2014-06-12_at_4.55.07_AM.png (910×968 px, 121 KB)

After the workflow completes, it is added to the dashboard.

src/applications/dashboard/engine/PhabricatorDashboardRenderingEngine.php
118

Maybe Create Panel for consistency?

127

Maybe no icons for either of these buttons? Not sure it adds anything.

src/applications/dashboard/engine/PhabricatorDashboardRenderingEngine.php
118

Yeah, the wording is a little odd here. I was trying to capture "Create Panel (And Add It Here)", but that's probably clear enough from context. I'll clean it up.

  • Phrase button as "Create Panel".
  • Remove icons.
chad edited edge metadata.
This revision is now accepted and ready to land.Jun 12 2014, 6:42 PM
epriestley updated this revision to Diff 22770.

Closed by commit rP6f4ebcb8d913 (authored by @epriestley).