Skip to content

WASM NativeStorageFolder operations, unique name generation - #5288

Merged
mergify[bot] merged 21 commits into
unoplatform:masterfrom
MartinZikmund:dev/mazi/filerandomaccess-wasm
Mar 6, 2021
Merged

mergify[bot] merged 21 commits into
unoplatform:masterfrom
MartinZikmund:dev/mazi/filerandomaccess-wasm

Conversation

@MartinZikmund

@MartinZikmund MartinZikmund commented Feb 21, 2021 •

Copy link
Copy Markdown
Member

GitHub Issue (If applicable): fixes #5280, closes #4447, #4028, closes #5289

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature

What is the new behavior?

  • Most JS native StorageFolder operations are now implemented
  • Adjustments to local storage implementation for files/folders
  • StorageProvider support
  • Fix for unique name generation (numbers instead of GUIDs)

files

PR Checklist

Please check if your PR fulfills the following requirements:

@MartinZikmund MartinZikmund self-assigned this Feb 21, 2021
@MartinZikmund
MartinZikmund requested a review from a team February 21, 2021 17:40
@gitpod-io

gitpod-io Bot commented Feb 21, 2021 •

Copy link
Copy Markdown

@MartinZikmund
MartinZikmund marked this pull request as draft February 21, 2021 17:45
@MartinZikmund
MartinZikmund force-pushed the dev/mazi/filerandomaccess-wasm branch 2 times, most recently from a04c3a5 to 4418b1d Compare February 21, 2021 20:21
@MartinZikmund
MartinZikmund force-pushed the dev/mazi/filerandomaccess-wasm branch from 0378ef9 to b6a3cd2 Compare February 26, 2021 15:25
@MartinZikmund
MartinZikmund force-pushed the dev/mazi/filerandomaccess-wasm branch from 36a5feb to fe71ce6 Compare February 26, 2021 16:05
@MartinZikmund
MartinZikmund marked this pull request as ready for review February 26, 2021 16:09

@carldebilly carldebilly 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.

Good job! Nice PR.

Comment on lines +19 to +20
var serializer = new DataContractJsonSerializer(typeof(T));
return (T)serializer.ReadObject(stream);

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.

Ooohhhh

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Not sure what you mean in this case 😅

@MartinZikmund MartinZikmund added the ready-to-merge Automatically merge the PR once all '.mergify.yml' policies are met label Mar 4, 2021
Comment thread src/Uno.UWP/Storage/StorageFile.Base.cs Resolved
Comment thread src/Uno.UWP/Storage/StorageFile.cs Resolved
Comment thread src/Uno.UWP/Storage/StorageFile.cs Resolved
@MartinZikmund MartinZikmund removed the ready-to-merge Automatically merge the PR once all '.mergify.yml' policies are met label Mar 4, 2021
@MartinZikmund MartinZikmund added the ready-to-merge Automatically merge the PR once all '.mergify.yml' policies are met label Mar 5, 2021
@mergify
mergify Bot merged commit f67497e into unoplatform:master Mar 6, 2021
@MartinZikmund
MartinZikmund deleted the dev/mazi/filerandomaccess-wasm branch March 6, 2021 15:29
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.

Support JS native file system StorageFolder operations CreationCollisionOption.GenerateUniqueName behaves differently from UWP [WASM] FolderPicker

5 participants