Skip to content

✨ Add allowed extensions to file saver dialogs#578

Merged
vinceglb merged 4 commits intomainfrom
allowedExtensions
May 2, 2026
Merged

✨ Add allowed extensions to file saver dialogs#578
vinceglb merged 4 commits intomainfrom
allowedExtensions

Conversation

@vinceglb
Copy link
Copy Markdown
Owner

@vinceglb vinceglb commented May 2, 2026

Summary

  • Add defaultExtension and optional allowedExtensions to the file saver API.
  • Wire the new contract through JVM, Android, iOS, macOS, Windows, Linux, and Compose launchers.
  • Keep the deprecated extension overload for compatibility.
  • Update docs and the sample file saver screen to reflect the new behavior.
  • Improve Android save-result handling for document URIs and add regression coverage.

Testing

  • :filekit-dialogs:check and :filekit-dialogs-compose:check passed.
  • Sample compile checks passed for JVM, Android, JS, and WASM targets.
  • Added/updated unit and host tests for file saver name normalization and Android save-path behavior.

@vinceglb vinceglb merged commit 7a40398 into main May 2, 2026
3 checks passed
@vinceglb vinceglb deleted the allowedExtensions branch May 2, 2026 14:22
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