-
Notifications
You must be signed in to change notification settings - Fork 189
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
Allow import all database subfolders by selecting a folder #3797
Conversation
7f0e8bc
to
1196902
Compare
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.
Thanks for your contribution. I've given it an initial review, but I haven't tried this out locally yet.
I seperated this logic out of original import folder function for better structure. Also optimized log output and unified names of this command for better understanding. |
Done here. |
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.
I tried this out and it seems to work fine. I have some more suggestions around the error messages.
Once this is done, I think it is good to merge.
return withProgress(async (progress) => { | ||
await this.chooseDatabasesParentFolder(progress); | ||
}); | ||
} |
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.
@aeisenberg Updated according to your suggestions with minor refine.
I also removed the title of this progress bar, because otherwise the whole message will be too long and doesn't display the actual step message of each database.
Co-authored-by: Andrew Eisenberg <[email protected]>
Co-authored-by: Andrew Eisenberg <[email protected]>
Co-authored-by: Andrew Eisenberg <[email protected]>
Co-authored-by: Andrew Eisenberg <[email protected]>
1fac1b1
to
8b3add8
Compare
I added one more update to the changelog and then it is ready to merge. |
Thanks! |
Thanks for your contribution! |
Add a palette command that allow user to select a folder and import all database subfolders.
This helps a lot when dealing with micro services that has dozens of databases and save user's time from repeatly choosing folders one by one.