Closed Rahuljagwani closed 1 year ago
I have found the solution will be sending PR shortly.
This is the expected behavior, @Rahuljagwani.
The reasoning is, we are tracking the folder to the browser memory. When we click "Save," the changed files are saved into the original location (works only in Chrome).
If you upload multiple folders, this "Save" (and all the server features - such as run, build, ...) will be broken.
So, even if you like to support uploading multiple directories, that will be an enhancement of feature (and not a fix to a bug). I believe your attempt to fix this issue will introduce additional issues at this point and suggest a "Won't Fix."
This is the expected behavior, @Rahuljagwani.
The reasoning is, we are tracking the folder to the browser memory. When we click "Save," the changed files are saved into the original location (works only in Chrome).
If you upload multiple folders, this "Save" (and all the server features - such as run, build, ...) will be broken.
So, even if you like to support uploading multiple directories, that will be an enhancement of feature (and not a fix to a bug). I believe your attempt to fix this issue will introduce additional issues at this point and suggest a "Won't Fix."
Actually it is not about uploading multiple directories it is about uploading 2 graphml files from a single directory. So the issue with "Save" you mentioned is not a problem. I meant to say that suppose in one uploaded directory 'demo' there are 2 graphml files so when we close one of them the whole directory disappears.
wow, yes.
Just tried and confirmed this bug. Seems like a new bug.
Please send the PR. I will test and merge right away.
Fix merged. Thanks @Rahuljagwani.
So when two or more graphml files are uploaded, on closing one graph file the uploaded directory is closed automatically. It can be inconvenient for user to open the directory again and again. To face this issue: