Page MenuHomePhabricator

Implement a "pro" EditEngine for dashboard panels
ClosedPublic

Authored by epriestley on Jul 3 2016, 9:47 PM.
Tags
None
Referenced Files
F14042467: D16226.id39031.diff
Tue, Nov 12, 3:46 AM
F14000530: D16226.diff
Thu, Oct 24, 10:34 PM
F13989275: D16226.id39032.diff
Mon, Oct 21, 7:27 PM
F13983906: D16226.id39030.diff
Sun, Oct 20, 9:35 AM
F13981770: D16226.id.diff
Sat, Oct 19, 6:58 PM
F13978666: D16226.diff
Sat, Oct 19, 12:23 AM
Unknown Object (File)
Oct 9 2024, 4:20 AM
Unknown Object (File)
Sep 3 2024, 3:23 AM
Subscribers
None

Details

Summary

Ref T10855. This can't replace the old edit flow yet, but get the basics in place.

(This is actually much closer to just being able to swap than I anticipated since CustomFields sort of just work, but the exiting flow has some "clone existing panel" / "place directly on dashboard" stuff that this doesn't yet.)

Test Plan

Created and edited a panel by manually using the "editpro" flow.

Diff Detail

Repository
rP Phabricator
Branch
panel1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 12912
Build 16471: Run Core Tests
Build 16470: arc lint + arc unit

Event Timeline

epriestley retitled this revision from to Implement a "pro" EditEngine for dashboard panels.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.

Can we get rid of projects on panels, too?

epriestley edited edge metadata.
  • Also just sketch in dashboard.panel.edit here.

Yes, but they seem possibly useful to me -- are you only concerned about T11161?

For panels other than Query panels (text, tabs, actions, phriction, etc. -- all other future panels?) it seems like this probably isn't confusing. Maybe the root issue is just "query panels are weird right now"?

That said, there's also no current use for it, so we can nuke it until one arises and then that use case can fight confusion on query panels, I guess.

Yeah I've never used it, and I can see Projects useful maybe for Dashboards, but not Panels so much. Both seem like a mess. to find anything useful.

chad edited edge metadata.
This revision is now accepted and ready to land.Jul 3 2016, 10:06 PM
epriestley edited edge metadata.
  • Remove ProjectInterface to get rid of "Tags" on EditProController.
  • Remove all the tag logic from EditController manually.

Once we swap over fully adding or removing support is just a matter of adding or removing implements PhabricatorProjectInterface, so starting simpler seems reasonable to me.

This revision was automatically updated to reflect the committed changes.