Skip to content

fix: address file browser bonus issues#369

Open
avinxshKD wants to merge 1 commit intoControlCore-Project:devfrom
avinxshKD:fix/file-browser-bonus
Open

fix: address file browser bonus issues#369
avinxshKD wants to merge 1 commit intoControlCore-Project:devfrom
avinxshKD:fix/file-browser-bonus

Conversation

@avinxshKD
Copy link

This PR addresses the bonus issues from #365 in a focused way.

Changes:
Made extension blocklist check case-insensitive (.PNG, .JPEG now blocked).
Added a file-size guard (10MB) before opening files to prevent UI freezes on huge files.
Stopped writing raw File objects to localStorage; now only serializable metadata is stored.

@avinxshKD
Copy link
Author

avinxshKD commented Mar 21, 2026

Hey @pradeeban I kept this PR intentionally narrow.

Also If you prefer a different size threshold than 10MB, I can adjust it in this PR :p

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