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)
Sun, Feb 9, 1:38 PM
Unknown Object (File)
Sun, Feb 9, 1:38 PM
Unknown Object (File)
Sun, Feb 9, 1:37 PM
Unknown Object (File)
Sun, Feb 9, 1:37 PM
Unknown Object (File)
Jan 31 2025, 2:21 PM
Unknown Object (File)
Jan 28 2025, 9:56 AM
Unknown Object (File)
Jan 25 2025, 5:59 PM
Unknown Object (File)
Jan 19 2025, 3:22 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).