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

Event Behavior: Dragging from file list to filled patch #40

Open
robobenklein opened this issue Mar 13, 2019 · 4 comments
Open

Event Behavior: Dragging from file list to filled patch #40

robobenklein opened this issue Mar 13, 2019 · 4 comments
Assignees
Labels
question Further information is requested research-required Need more information on the topic

Comments

@robobenklein
Copy link
Member

Need to determine the desired behavior for a user dragging a new item onto a patch which is already filled.

Probably it should just replace the editor in the patch, but then need to also ensure hooks for unsaved file prompt.

Another behavior could be to relocate the old patch to a nearby patch if there's an empty one to the right or left of the target patch. (Would be user preference: "Relocate patch instead of Replacing")

@robobenklein robobenklein added question Further information is requested research-required Need more information on the topic labels Mar 13, 2019
@robobenklein robobenklein added this to Backlog in Task Tracking via automation Mar 13, 2019
@robobenklein
Copy link
Member Author

GIFrecord_2019-03-17_011220

Finally figured out the Atom drag type IDs...

@robobenklein robobenklein self-assigned this Mar 18, 2019
@tkeyes25
Copy link
Contributor

Is this replacement for now or locating the nearest empty patch? Also, on the event of moving the patch to another non-empty patch, does the original patch become empty for a very short period of time? Curious if that would dip into the finding of nearest empty patches optional feature for the user. Maybe replacement is good for now though

@robobenklein
Copy link
Member Author

Dragging an item onto a patch replaces that patch with the new item.

Opening an item from the file drawer without a drag (not specific to a patch) will perform the best-nearest search for a spot to open it in.

@robobenklein robobenklein moved this from Backlog to In progress in Task Tracking Apr 1, 2019
@robobenklein robobenklein moved this from In progress to Needs review in Task Tracking Apr 17, 2019
@robobenklein robobenklein moved this from Needs review to In progress in Task Tracking Apr 17, 2019
@robobenklein
Copy link
Member Author

Investigate potential bug: item replaced not prompting for save if modified?

@robobenklein robobenklein moved this from In progress to Needs review in Task Tracking May 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested research-required Need more information on the topic
Projects
Task Tracking
  
Needs review
Development

No branches or pull requests

2 participants