-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New feature implementation/#2189 Add support for uploading nested fol…
…ders (#2206) * Added webkitdirectory to FileSelector * Added webkitdirectory to factory + testing output in file uploader * Added webkitdirectory to viselelments.json * Build files * Extended InputHTML Attributes to include webkitdirectory * Extended InputHTML Attributes to include webkitdirectory * Package locks * Added webkitRealtivePath to saved blob properties * Handle webkitdirectory correctly as a string * Added test for webkitdirectory support * Addressed linting: E501 + W292 * Addressed failing jest test. * Changed naming scheme; Used directory to cirumvent naming limitations of React's attribute naming; Adjusted tests for addition of other attributes. * Added comments to __upload_files() in gui.py; Simplified checks in __upload_files (addresses linter C901) . * Edited styling of CONTRIBUTING.md for better readability and clarity in execution. * Normed path * Changed naming Scheme; Added integration of other directory attributes and changed attribute to boolean. * Added mandatory case information for python to CONTRIBUTING.md * Fixed testing caseing. * Addressed stylistic errors: "W291 [*] Trailing whitespace"; "E711 Comparison to `None` should be `cond is None`"; "W293 [*] Blank line contains whitespace" * Removed unnecessary ignore * Deleted unnecessary package-lock * Restored original package.json in frontend/taipy * Added test for folder upload. * Check whether the final directory is a child of the root upload directory. * Fixed check for upload staying inplace; removed print from test * Changed path testing to string testing. * Addressed linter errors. * Addressed C901 `__upload_files` is too complex (19 > 18) * Changed unnecessary files to match latest origin commit 37b924f05aba1c814c75098c8ec1750a74e3770 * Changed naming of select_folder to selection_type * Fixed spelling error; Removed default setting of property; Accounted for different input casing; --------- Co-authored-by: Fred Lefévère-Laoide <[email protected]> Co-authored-by: JosuaCarl <[email protected]>
- Loading branch information
1 parent
ad79eef
commit 0b44b5d
Showing
10 changed files
with
189 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters