-
-
Notifications
You must be signed in to change notification settings - Fork 90
Library: add Drag-and-Drop entry #253
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
Conversation
05f69f1 to
55e450f
Compare
|
Any chance you could pick this up again? It would be great to have this. |
|
I'll take another crack at it |
|
accident, this is not ready for review |
Co-authored-by: Andy Holmes <1265208+andyholmes@users.noreply.github.com>
Co-authored-by: Andy Holmes <1265208+andyholmes@users.noreply.github.com>
Co-authored-by: Andy Holmes <1265208+andyholmes@users.noreply.github.com>
|
I'm still struggling to get the drop working. It seems like the "drop" signal never fires. I am learning a lot more though, I'm gonna redo drag-and-drop in my own app. |
sonnyp
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Design review:
- The drag icon should be dimmed
- There should be visual feedback of where the row is going to be dropped (swapped with)
- There should be a hover effect on each row
You can look at GNOME Settings -> Search for all 3
I suggest you implement these things and then @andyholmes can do the technical review.
|
@halfmexican please request review from @andyholmes if this is ready |
andyholmes
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks really good, a nice clean example of implementing drag-and-drop. Just a few cleanups and it LGTM.
|
I think we're ready to merge |
andyholmes
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks perfect to me, thanks for sticking with this one, it will be a very helpful demo.
Add a basic example of Drag-and-Drop, with re-orderable list box rows.
Add a basic example of Drag-and-Drop, with re-orderable list box rows.

Currently just drafting this as i'm having difficultly porting my drag and drop to javascript from vala and school work is eating my schedule