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)
Apr 16 2026, 1:57 PM
Unknown Object (File)
Mar 29 2026, 12:17 PM
Unknown Object (File)
Mar 11 2026, 4:38 AM
Unknown Object (File)
Feb 10 2026, 10:33 PM
Unknown Object (File)
Feb 1 2026, 10:13 AM
Unknown Object (File)
Jan 19 2026, 8:37 AM
Unknown Object (File)
Nov 1 2025, 12:40 AM
Unknown Object (File)
Oct 24 2025, 1:44 PM
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).