When a viewer can't see some of a dashboard's panels, only hide those panels

Authored by epriestley on Feb 3 2017, 5:58 PM.



Ref T12174. Ref T8033. Currently, if you can't see one panel on a dashboard, you can't see the dashboard at all. This is confusing and hard to debug.

Improve this behavior at least slightly: render the dashboard, with a big "you can't see this" panel in place of any panels you can't see. This should at least make the behavior obvious, even if it isn't the best or most comprehensive way we can handle it in all cases.

Test Plan

Diff Detail

rP Phabricator
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.
epriestley created this revision.Feb 3 2017, 5:58 PM
chad accepted this revision.Feb 3 2017, 6:11 PM
This revision is now accepted and ready to land.Feb 3 2017, 6:11 PM
This revision was automatically updated to reflect the committed changes.