This repository has been archived by the owner on Nov 2, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Admin: Drag-and-drop for related entities #1
Comments
|
By chance, would the following scenario be something to trap for on the server: User drags gray entity to pink area of another entity. User realizes error: the dragged entity actually should remain gray. User drags entity back to original gray area. I noticed this when I did a similar action. I wrote an if-statement that checks if the entity id and the canonical id are the same. These two being the same represents the user moving a block back to its original place. If the user moves an entity back to its original place, then the canonical id of the entity is reset to "None." Is this one trap you intended on existing? |
Yup. I was planning on making that an "x" button by any related entity
because the drag "syntax" is p weird for that.
contact([{ "twitter": "@jeremybowers", "phone": "727-667-0510", "github": "
http://github.com/jeremyjbowers" }])
…On Fri, Jun 23, 2017 at 5:30 PM, Sherman Hewitt ***@***.***> wrote:
By chance, would the following scenario be something to trap for on the
server:
User drags gray entity to pink area of another entity. User realizes
error: the dragged entity actually should remain gray.
I noticed this when I did a similar action. I wrote an if-statement that
checks if the entity id and the canonical id are the same. These two being
the same represents the user moving a block back to its original place. If
the user moves an entity back to its original place, then the canonical id
of the entity is reset to "None."
Is this one trap you intended on existing?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAGtpLs5s0H4M4vGSzP3EOXaYTAnL2Z2ks5sHC5tgaJpZM4N-SG9>
.
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Dragging an entity underneath another should create a related entity.
The text was updated successfully, but these errors were encountered: