-
Notifications
You must be signed in to change notification settings - Fork 165
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
added drag and drop functionality #440
base: main
Are you sure you want to change the base?
Conversation
@jywarren, @TildaDares, @cesswairimu, Admittedly, this functionality is very simplistic. Currently, it only includes the drop and drag-over events. Also, it does not work in Safari (apparently iOS does not readily support drag and drop and after searching long and wide for a solution I digressed). Please let me know if you are aware of a polyfil or library that might better address this. This functionality is reflected at https://stephaniequintana.github.io/infragram/index2.html Aside: |
This is amazing work @stephaniequintana! Just a quick question, does the Safari issue also occur on MacOS? Because I tried it on my Mac's Safari and it works fine. |
@TildaDares, that's fantastic!! It didn't work on my MacBook Air (laptop) and that is the only iOS that I "tested" it on. I am super stoked to hear it worked on yours! 🎉 🥳 I also noticed many styling issues that I need to address for iOS - I will add it to my list 😄 &&& THANK YOU !!!! 🙏 Getting the file to transfer was a big win for me 🚀 |
Nicely done ! :) @stephaniequintana , Just a few observations.
Should I merge this PR https://github.com/publiclab/infragram/pull/439. so that we can work on the drag and together ? |
@Forchapeatl, I think you should merge #439, everything seems good on that PR, great work, btw! (perhaps you can add the temporary fix to the file-upload to #439 so that it at least will work for now(?) - change I've identified exactly why the file-upload/video-file -is-not-dropping:
The solution should be simple: utilizing Yes, please help with the drag and drop functionality. I've created a very simple function on #440, it works but is lacking. I am still working on organizing links for the navigation tour and hope to open PRs towards that in a few days. |
@stephaniequintana , please have a look at this #445. Can you provide me with the links to resources which helped you in creating the drag an drop function ? |
Love to see this coordination and collaboration. Great work everyone! Let me know if you get one ready to merge! |
Please feel free to completely change the code. I'd have to dive deep to find the resources I used and felt all along that the final code is lacking, but I couldn't find resources for a Safari fix. Please, I would greatly appreciate your help. Thank you ❤️ |
@stephaniequintana okay |
Hi! It's ok to do Safari in a separate PR. Is it true that it doesn't work
in for example https://jywarren.github.io/bookletize.js/ ?
…On Thu, Jul 28, 2022, 10:39 AM Stephanie Quintana ***@***.***> wrote:
@jywarren <https://github.com/jywarren>, @TildaDares
<https://github.com/TildaDares>, @cesswairimu
<https://github.com/cesswairimu>,
Admittedly, this functionality is very simplistic. Currently, it only
includes the drop and drag-over events. Also, it does not work in Safari
(apparently iOS does not readily support drag and drop and after searching
long and wide for a solution I digressed).
Please let me know if you are aware of a polyfil or library that might
better address this.
This functionality is reflected at
https://stephaniequintana.github.io/infragram/index2.html
------------------------------
Aside:
I've recently realized that #435
<#435> fixed the tabbing for
keyboard-accessibility but my "solution" actually broke the ability to
click the input element. I will correct this in my next PR which will also
create a visually improved drop-zone.
—
Reply to this email directly, view it on GitHub
<#440 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAF6JZTEMUCUYO5OHSC2PLVWKLRJANCNFSM545N3VIQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
This PR fixes the drag and drop functionality of issue #415
It focuses only on the function itself.
I will open a separate PR which will include changes to the UI (a visually-designed drop-zone, corrected font-size, improved user-guidance and relocation of the
<input>
element.. )@publiclab/reviewers
for help, in a comment below