Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-853

Add visual feedback to report drag and drop

    Details

    • Type: Feature Request
    • Status: Done
    • Priority: L3 - Default
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2.2.0-alpha1, 2.2.0
    • Component/s: frontend
    • Labels:
      None

      Description

      AT:

      • While dragging a report, I get visual feedback what is going to happen when the report is dropped
      • This could be done with a preview of which tiles will be occupied by the report after dropping
      • After dropping the report, it occupies the tiles that were previously marked
      • If a report cannot be dropped at a position, the preview indicates this, e.g. by using a different color
      • This behavior applies to moving the report via drag and drop and resizing the report

        Activity

        Hide
        sebastian.stamm Sebastian Stamm added a comment -

        I am aware of the duplicated code in the DragBehavior and ResizeHandle. I think fixing this is out of scope for this issue and created OPT-1355 for that.

        Show
        sebastian.stamm Sebastian Stamm added a comment - I am aware of the duplicated code in the DragBehavior and ResizeHandle. I think fixing this is out of scope for this issue and created OPT-1355 for that.
        Hide
        omran.abazeed Omran Abazeed added a comment -

        There a small issue when dragging a report over another report:

        • Add two reports (report 1 & 2) and drag 1 to completely cover report 2
        • then leave the mouse click to stop dragging
        • now try to drag report 2

        and this is not possible because I guess the drop shadow is not removed and only became transparent.

        Show
        omran.abazeed Omran Abazeed added a comment - There a small issue when dragging a report over another report: Add two reports (report 1 & 2) and drag 1 to completely cover report 2 then leave the mouse click to stop dragging now try to drag report 2 and this is not possible because I guess the drop shadow is not removed and only became transparent.
        Hide
        sebastian.stamm Sebastian Stamm added a comment -

        Good catch! I fixed it by making the dropshadow ignore any pointer events.

        Show
        sebastian.stamm Sebastian Stamm added a comment - Good catch! I fixed it by making the dropshadow ignore any pointer events.

          People

          • Assignee:
            Unassigned
            Reporter:
            sebastian.stamm Sebastian Stamm
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: