Page MenuHomePhabricator

Fix some off-by-one issues when drag-and-dropping dashboard panels
ClosedPublic

Authored by epriestley on Jun 16 2014, 3:28 PM.
Tags
None
Referenced Files
Unknown Object (File)
May 21 2025, 8:12 PM
Unknown Object (File)
May 8 2025, 7:32 AM
Unknown Object (File)
May 6 2025, 6:43 PM
Unknown Object (File)
Mar 30 2025, 2:37 PM
Unknown Object (File)
Mar 27 2025, 9:22 AM
Unknown Object (File)
Mar 18 2025, 11:31 AM
Unknown Object (File)
Mar 16 2025, 7:50 PM
Unknown Object (File)
Mar 15 2025, 6:33 AM
Subscribers

Details

Summary

Fixes T5321. There were a couple of off-by-one issues here which could result in inserts into the wrong position.

Test Plan
  • Dragged panels to the top, bottom, and first position of columns.
  • Dragged panels from one column to another.
  • Reloaded the page after drags, things stayed where I put them.

Diff Detail

Repository
rP Phabricator
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

epriestley retitled this revision from to Fix some off-by-one issues when drag-and-dropping dashboard panels.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.Jun 16 2014, 3:41 PM
epriestley updated this revision to Diff 22942.

Closed by commit rP5f52f1f82cac (authored by @epriestley).