Page MenuHomePhabricator

Don't allow duplicate panels on dashboards
ClosedPublic

Authored by chad on Feb 14 2017, 4:34 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Mar 21, 10:54 AM
Unknown Object (File)
Mon, Mar 18, 7:35 AM
Unknown Object (File)
Feb 13 2024, 8:06 PM
Unknown Object (File)
Feb 3 2024, 2:35 PM
Unknown Object (File)
Jan 25 2024, 2:23 PM
Unknown Object (File)
Dec 29 2023, 5:13 PM
Unknown Object (File)
Dec 27 2023, 9:49 AM
Unknown Object (File)
Dec 27 2023, 9:49 AM
Subscribers

Details

Summary

Fixes T10145. I went with "don't add two panels", since panels are easy to create, I expect this to be a reasonable limit until we have better use cases.

Test Plan

Try to add the same panel twice, get error. Add panel normally fine, move panels fine, edit panels fine.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Cool. I think this is a good approach, at least for the foreseeable future: the use cases right now definitely feel pretty weak to me too.

This revision is now accepted and ready to land.Feb 14 2017, 12:02 PM
This revision was automatically updated to reflect the committed changes.