1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-18 19:40:55 +01:00
phorge-phorge/webroot/rsrc/js/application/dashboard
epriestley b8551bb5f9 Reduce drag-and-drop jank on dashboards
Summary:
Depends on D20414. Ref T13272. Several minor things here:

  - Currently, you can drag panels underneath the invisible "there are no items in this column" div and the "Create Panel / Add Existing Panel" buttons. This is silly; stop it.
  - Currently, when viewing a tab panel on a dashboard, you can drag the panels inside it. This is extremely silly. Make "movable" off by default and pass it through the async flow only when we actually need it.
  - Make the whole "Add Tab..." virtual tab clickable to open the dropdown. This removes the rare exception/todo combo I added earlier. {key F}
  - Add or remove some icons or something.

Test Plan: Moved panels around on dashboards. Tried to drag panels inside tab panels. Added tab. Things were less obviously broken.

Reviewers: amckinley

Reviewed By: amckinley

Maniphest Tasks: T13272

Differential Revision: https://secure.phabricator.com/D20415
2019-04-17 12:20:44 -07:00
..
behavior-dashboard-async-panel.js Reduce drag-and-drop jank on dashboards 2019-04-17 12:20:44 -07:00
behavior-dashboard-move-panels.js Reduce drag-and-drop jank on dashboards 2019-04-17 12:20:44 -07:00
behavior-dashboard-query-panel-select.js Fix various spelling mistakes 2014-07-13 00:45:33 +10:00
behavior-dashboard-tab-panel.js When editing a tab panel from a dashboard, redirect back to the dashboard 2019-04-12 06:13:12 -07:00