Skip to content

Fix zero-byte exports in Samsung Internet - #1318

Merged
codemonkey85 merged 1 commit into
mainfrom
fix/1316-samsung-export
Sep 24, 2026
Merged

codemonkey85 merged 1 commit into
mainfrom
fix/1316-samsung-export

Conversation

@codemonkey85

Copy link
Copy Markdown
Owner

Summary

  • bypass Samsung Internet's unreliable File System Access save picker
  • route Samsung exports through the existing Android user-tap Download/Share fallback
  • add regression coverage for the Samsung Browser user agent

Closes #1316

Validation

  • node --check Pkmds.Rcl/wwwroot/js/fileSave.js
  • dotnet format
  • dotnet build -c Debug
  • git diff --check

Copilot AI lite review requested due to automatic review settings September 22, 2026 14:03

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

🟢 Approval recommended

No unresolved review issues were identified.

Review effort: Lite
Findings: None

What changed in this PR

Fixes zero-byte Samsung Internet exports by routing them through the existing Android download/share fallback.

Changes:

  • Detect Samsung Internet and bypass the unreliable File System Access picker.
  • Add regression coverage for Samsung-specific fallback behavior.
File Description
Pkmds.Tests/​FileExportFallbackTests.cs Verifies Samsung-specific fallback behavior.
Pkmds.Rcl/​wwwroot/​js/​fileSave.js Adds Samsung Internet detection and picker exclusion.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@github-actions

Copy link
Copy Markdown
Contributor

Azure Static Web Apps: Your stage site is ready! Visit it here: https://black-coast-0df43410f-1318.eastus2.2.azurestaticapps.net

@codemonkey85
codemonkey85 merged commit 711f9dc into main Sep 24, 2026
9 checks passed
@codemonkey85
codemonkey85 deleted the fix/1316-samsung-export branch September 24, 2026 13:48
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.

[Bug] Everything saves as 0 bytes.

2 participants