mirror of
https://github.com/BoostIO/BoostNote-App.git
synced 2026-04-26 21:05:55 +03:00
[GH-ISSUE #1086] Dragging a folder onto a node leads to "Something wrong happened" #458
Labels
No labels
android 🤖
assigned to core 🦹
bug 🐛
documentation 📚
documentation 📚
duplicate 🚫
external issue 🔼
external issue 🔼
feature request 🌟
funded on issuehunt 💵
help wanted 🆘
improvement request 🔨
improvement request 🔨
ios 🍎
mobile 📱
needs investigation 🔬
needs more info ℹ️
needs specs 📐
plugin idea 🔌
plugin idea 🔌
poll 🗳️
pull-request
question ❓
rewarded on issuehunt 🎁
security issue 🔑
won’t fix ❌
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/BoostNote-App#458
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @i-am-the-slime on GitHub (Aug 11, 2021).
Original GitHub issue: https://github.com/BoostIO/BoostNote-App/issues/1086
Current behaviour
Error when dragging a folder onto a note:
Expected behaviour
Either fail gracefully, saying that dragging folders is not supported, but ideally zip the folder and and attach it.
Steps to reproduce
Environment
Latest macOS version.
IssueHunt Summary
Backers (Total: $20.00)
Become a backer now!
Or submit a pull request to get the deposits!
Tips
@Komediruzecki commented on GitHub (Aug 11, 2021):
Hi, i-am-the-slime,
can you please add more screenshots on how this happens,
Is this for boost note local space application or boost note cloud spaces desktop application? Or is it for web application?
I cannot reproduce it in cloud desktop app nor local space desktop app.
In cloud I get 'Opps resource is already present', in local space desktop app I get no errors showing.
Can you also tell me in which view mode are you in?

See the image for modes.
@Rokt33r commented on GitHub (Aug 19, 2021):
@Komediruzecki I think he was trying to drag and drop a folder from File manager app(Finder of macOS)
@Rokt33r commented on GitHub (Aug 19, 2021):
@i-am-the-slime
Zipping from the app is quite overkill for the web app since zipping from the frontend side should be really slow and unstable. But we can definitely improve our error message.
For anyone who wants to try to tackle this issue:
We should fix the error handler In
cloud/components/molecules/Editor/index.tsxhttps://github.com/BoostIO/BoostNote.next/blob/master/src/cloud/components/molecules/Editor/index.tsx#L424-L435
@i-am-the-slime commented on GitHub (Aug 19, 2021):
Yes this is dragging a folder from Finder to the Desktop app.
@Rokt33r This is on the Desktop app. I guess it's in Electron, but I don't think there should be a limitation on what processes you can call from within node. Also, there's this: https://github.com/bpajk/WasmZip .
Finally, I haven't tested this but I can't imagine zipping without compressing in JS to be that slow.
@Rokt33r commented on GitHub (Aug 20, 2021):
@i-am-the-slime We need some battle-tested modules which work perfectly on every OS and browser. I think it is too risky to introduce the zipping feature to our application.
@issuehunt-oss[bot] commented on GitHub (Sep 14, 2021):
@boostio has funded $20.00 to this issue.