Skip to content
This repository has been archived by the owner on Feb 3, 2022. It is now read-only.

Implement drag and drop behaviour that is more section-friendly #23

Closed
4 tasks
aismail opened this issue Apr 1, 2014 · 0 comments
Closed
4 tasks

Implement drag and drop behaviour that is more section-friendly #23

aismail opened this issue Apr 1, 2014 · 0 comments

Comments

@aismail
Copy link
Contributor

aismail commented Apr 1, 2014

Need

As an user
I want drag in the context of sections with delimiters between them to favour widgets to remain in the same section
So that I have a sense of grouping for the widgets

PS - for the issue about adding delimiters, see #14

Deliverables

  • test-cases for the new situations (see fixtures.js)
  • pull to left behaviour should stop at section boundary (similar to how timelines work)
  • collision detection should try harder to solve collisions within the same section (maybe generate more positions that are adjacent to the colliding widget instead of just 4 of them?)
  • users should not be able to place a widget that spans 2 sections on the grid:
    • dragging should snap the widget to one section
    • resizing should make sure the widget ends up only on one section
    • layout algorithm should only place widgets within sections
@aismail aismail self-assigned this Apr 1, 2014
aismail pushed a commit that referenced this issue Apr 1, 2014
aismail pushed a commit that referenced this issue Apr 1, 2014
aismail pushed a commit that referenced this issue Apr 2, 2014
…cified one

Optionally, it can skip an item that is already within the range of
sections. The use-case for that is dropping an item onto a section, and
the local collisions not being resolved.
aismail pushed a commit that referenced this issue Apr 2, 2014
aismail pushed a commit that referenced this issue Apr 2, 2014
aismail pushed a commit that referenced this issue Apr 2, 2014
It tries to resolve the collisions locally and then pushes all the
content to the right by preserving section integrity.
aismail pushed a commit that referenced this issue Apr 2, 2014
aismail pushed a commit that referenced this issue Apr 2, 2014
aismail pushed a commit that referenced this issue Apr 2, 2014
aismail pushed a commit that referenced this issue Apr 2, 2014
aismail pushed a commit that referenced this issue Apr 2, 2014
aismail pushed a commit that referenced this issue Apr 2, 2014
aismail pushed a commit that referenced this issue Apr 2, 2014
@ovidiuch ovidiuch mentioned this issue Apr 2, 2014
11 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants