Uploaded image for project: 'Fluid Infusion'
  1. Fluid Infusion
  2. FLUID-33

Fix the up/down calculations in the Reorderer to handle a range of spatial positioning options.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.5beta1
    • Fix Version/s: 0.5
    • Component/s: Reorderer
    • Labels:
      None

      Description

      At the moment, the algorithm for determine which element is above or below the current element relies on an exact match between their x coordinates. This would break if there is any kind of spatial offset between elements (eg. one is slightly offset to the left or right of the other). Also, we currently determine horizontal positioning based on document order, but it's quite conceivable that CSS may be used to position items next to each other that are not siblings within the DOM.

      So, we need to fix the code to use ranges of x and y coordinates to determine the spatial position of all elements. This should be done in a way that is independent from re-ordering, such that anyone can use our cool new spatial calculator.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jacob Jacob Farber
                Reporter:
                clown Joseph Scheuhammer
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: