mirror of
https://github.com/adnaan-worker/adnify.git
synced 2026-09-01 15:12:10 +08:00
bac696c7dd
- Introduced safeOpenFile utility to manage large file opening with chunked reading. - Updated FileChangeCard, TextWithFileLinks, QuickOpen, and other components to utilize safeOpenFile for file opening. - Added LargeFileViewer component for displaying large files in read-only mode. - Enhanced file reading logic to support large files by reading in chunks and providing user feedback. - Modified existing file handling methods to accommodate new large file policies and ensure smooth user experience. - Added tests for safeOpenFile functionality to verify large file handling behavior.