Page MenuHomePhabricator

Remove "Add Existing Panel" from dashboard arrange view
AbandonedPublic

Authored by chad on Mar 22 2017, 2:08 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 25, 1:11 AM
Unknown Object (File)
Thu, Apr 11, 8:48 AM
Unknown Object (File)
Mon, Apr 1, 7:16 PM
Unknown Object (File)
Sat, Mar 30, 2:00 AM
Unknown Object (File)
Mar 10 2024, 12:25 PM
Unknown Object (File)
Feb 9 2024, 11:39 PM
Unknown Object (File)
Feb 3 2024, 3:13 PM
Unknown Object (File)
Nov 30 2023, 1:23 AM
Subscribers

Details

Reviewers
epriestley
Maniphest Tasks
T10390: Dashboards v2 (UX)
Summary

Ref T10390. Going to remove this button from arrange view and add "Install Panel" to individual panel views. If someone is building a custom panel there, it's slightly nicer anyways to just directly install it. Also simplifies the arrange page.

Test Plan

Try to install to an existing dashboard, success. Add same panel again, get error. Archive all dashboards, get notice.

Diff Detail

Repository
rP Phabricator
Branch
master
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 16077
Build 21327: Run Core Tests
Build 21326: arc lint + arc unit

Event Timeline

I think we should remove this workflow entirely, not just move how you access it.

If we have any ability to add an existing panel to a dashboard anywhere in the product, we can not make the policy simplification for T8033.

Specifically, we get into trouble when users do this:

  1. Create a "Visible To: Public" dashboard.
  2. Create a standalone "Visible To: epriestley" panel.
  3. Put the panel on the dashboard.

By completely preventing step (3), we can avoid the problem in T8033. But if step (3) is possible, we're stuck with the possibility that dashboards and panels may have different policies.

This revision now requires changes to proceed.Mar 30 2017, 3:24 PM

The issue to me is tab panels. We have no means of creating them ad-hoc and any workflow for that seems... very complex.

In the long run, I think we're better off doing the legwork for tab panels (which I agree is pretty substantial, but seems tractable) than allowing the mixed-policy state (which I think will be confusing forever).

Up to you, I don't have any more work planned on Dashboards. Everything left on v2 is either minor or too substantial for me to build (or both).