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
F13819017: D9573.diff
Fri, Sep 20, 11:36 AM
Unknown Object (File)
Thu, Sep 12, 9:15 PM
Unknown Object (File)
Thu, Sep 5, 7:19 AM
Unknown Object (File)
Sun, Sep 1, 12:38 AM
Unknown Object (File)
Sat, Aug 31, 7:58 PM
Unknown Object (File)
Thu, Aug 29, 4:36 PM
Unknown Object (File)
Tue, Aug 27, 3:19 AM
Unknown Object (File)
Sun, Aug 25, 10:00 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).