Skip to content
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

fix: add folder #927

Merged
merged 8 commits into from
May 31, 2019
Merged

fix: add folder #927

merged 8 commits into from
May 31, 2019

Conversation

hacdias
Copy link
Member

@hacdias hacdias commented May 13, 2019

License: MIT
Signed-off-by: Henrique Dias <[email protected]>
License: MIT
Signed-off-by: Henrique Dias <[email protected]>
@hacdias hacdias requested a review from olizilla May 13, 2019 17:19
@hacdias
Copy link
Member Author

hacdias commented May 13, 2019

When testing, don't forget to run npm run clean:webui and npm run build:webui to install the new version to test.

]
}, async (res) => {
if (!res || res.length === 0) {
return resolve()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it be useful to make that a reject, so calling code can tell when you've cancelled? Testing out this PR the current behaviour if you hit cancel from the file dialog it leaves the drop down menu open, but if you cancel from the directory dialog it closes the drop down. I think it should close the drop down in both cases.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The issue's on Web UI code. I'll apply a fix on Web UI soon. We shouldn't reject I think because on the browser side we just receive a null variable, not a rejection.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hacdias hacdias merged commit fe76282 into master May 31, 2019
@hacdias hacdias deleted the fix/add-folder branch May 31, 2019 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Using "add folder" does not add a folder correctly [0.7.2]
2 participants