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

🚧 FileSystem API in web-app #159

Conversation

dmihalcik-virtru
Copy link
Member

Replaces download link generation with FileSystemAccess API implementation of streaming downloads for tdf3 (and html wrapped, kinda) containers. Works fine for tdf files (not HTML wrapped) of arbitrary size.

HOWEVER: the showSaveFilePicker is unsupported by Playwright, so any CI implementation might have to mock the whole thing.

Replaces download link generation with FileSystemAccess API implementation of streaming downloads for tdf3 (and html wrapped, kinda) containers. Works fine for tdf files (not HTML wrapped) of arbitrary size.

HOWEVER: the showSaveFilePicker is unsupported by Playwright, so any CI implementation might have to mock the whole thing.

Update App.tsx
@dmihalcik-virtru dmihalcik-virtru force-pushed the feature/file-system-api branch from d84b00d to 636497c Compare March 15, 2023 21:09
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 3 Code Smells

No Coverage information No Coverage information
0.4% 0.4% Duplication

@dmihalcik-virtru
Copy link
Member Author

Moved this work into the bigger demo PR #164

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.

1 participant