Skip to content

feat: Add native filesystem folder picker - #4588

Merged
mergify[bot] merged 7 commits into
unoplatform:masterfrom
Arlodotexe:dev/arlo/folderopenpicker
Feb 15, 2021
Merged

mergify[bot] merged 7 commits into
unoplatform:masterfrom
Arlodotexe:dev/arlo/folderopenpicker

Conversation

@Arlodotexe

@Arlodotexe Arlodotexe commented Nov 21, 2020 •

Copy link
Copy Markdown
Contributor

Also support for native Folder Picker to WASM .

Also adds preliminary implementation of the WASM-native version of StorageFolder.

GitHub Issue (If applicable): #3916, #4447

PR Type

  • Feature
  • Refactoring (no functional changes, no api changes)

What is the current behavior?

No support for FolderPicker.

What is the new behavior?

Support for the FolderPicker on WASM.

PR Checklist

Please check if your PR fulfills the following requirements:

Other information

Since the current implementation of StorageFolder for WASM relied entirely on IndexDB, I had to create a new implementation that handled interop with the Native File System APIs. These are not 100% complete yet, but FolderPicker is functional.

@Arlodotexe
Arlodotexe requested a review from a team November 21, 2020 19:58
@gitpod-io

gitpod-io Bot commented Nov 21, 2020 •

Copy link
Copy Markdown

@CLAassistant

CLAassistant commented Nov 21, 2020 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@jeromelaban jeromelaban left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for your contribution!!
@dr1rrb might want to take a look at this PR :)

Comment thread src/Uno.UI-Wasm-only.slnf Resolved
Comment thread src/Uno.UI/Uno.UI.Wasm.csproj Resolved
Comment thread src/Uno.UI/ts/Guid.ts Resolved
Comment thread src/Uno.UI/ts/Guid.ts Resolved

@dr1rrb dr1rrb left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Really nice that you've updated the StorageFolder to use the same pattern as StorageFile 😃

Comment thread src/Uno.UWP/Storage/StorageFolder.cs Resolved
Comment thread src/Uno.UWP/Uno.Wasm.csproj Resolved
@Arlodotexe
Arlodotexe force-pushed the dev/arlo/folderopenpicker branch 2 times, most recently from a65a6b1 to f3d5eca Compare November 28, 2020 22:09
@Arlodotexe

Arlodotexe commented Nov 28, 2020 •

Copy link
Copy Markdown
Contributor Author

Had to force push to fix the commit messages. Should I try to squash them?

Arlodotexe and others added 5 commits January 21, 2021 19:30
Also adds preliminary implementation of the WASM native version of StorageFolder
Invoke .NET GUID creation

Co-authored-by: Jérôme Laban <[email protected]>
@MartinZikmund
MartinZikmund force-pushed the dev/arlo/folderopenpicker branch from f3d5eca to 22b19e7 Compare January 21, 2021 18:31
@MartinZikmund

Copy link
Copy Markdown
Member

@Arlodotexe Hey, sorry it is taking longer to move forward with the PR, we are currently focusing on some other areas, but I will try to get to it as soon as possible. I have noticed that after the reword additional commits were accidentally pushed to the branch, so I force pushed to include only your commits. I will get back to you soon!

@MartinZikmund MartinZikmund mentioned this pull request Feb 12, 2021
12 of 18 tasks
@MartinZikmund
MartinZikmund force-pushed the dev/arlo/folderopenpicker branch from 8b59958 to 524116f Compare February 14, 2021 15:10
@MartinZikmund MartinZikmund added the ready-to-merge Automatically merge the PR once all '.mergify.yml' policies are met label Feb 15, 2021
@mergify
mergify Bot merged commit 5546f69 into unoplatform:master Feb 15, 2021
@welcome

welcome Bot commented Feb 15, 2021

Copy link
Copy Markdown

Congrats on your first pull-request! We ❤ the people who are involved in this project, and we’d love to pay it forward by sending you some swag. If you have any feedback (or ideas how to improve Uno as a open-source project) please open a feedback issue.
giphy
Merci beaucoup 👋

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-merge Automatically merge the PR once all '.mergify.yml' policies are met

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants