Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable drag-drop in Browse mode #11

Closed
VWoeltjen opened this issue Jun 16, 2015 · 1 comment
Closed

Disable drag-drop in Browse mode #11

VWoeltjen opened this issue Jun 16, 2015 · 1 comment

Comments

@VWoeltjen
Copy link
Contributor

Drag-and-drop composition (e.g. from the tree to a Layout) should not be active in Browse mode; this is considered an "editing" activity and should only work from Edit mode.

The exception to this is folders; dragging-and-dropping into the items view of a Folder SHOULD result in adding an object to that folder's composition, even in Edit mode.

Currently, however, drag-and-drop functions for any view that support drag-drop composition, regardless of current mode (Browse or Edit.)

@VWoeltjen
Copy link
Contributor Author

Some notes for implementing this:

  • domainObject.hasCapability('editor') is the useful check to determine if we are in Browse or Edit mode
  • The composition part of drag-and-drop is implemented by DropGesture, in platform/representation

VWoeltjen added a commit that referenced this issue Jun 18, 2015
@VWoeltjen VWoeltjen mentioned this issue Jun 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant