3 Commits

Author SHA1 Message Date
Reece Browne
9c49f329e2 Fix file handling for none pdfs 2025-08-20 17:13:06 +01:00
Reece Browne
a260d72925 Clean up file management 2025-08-20 14:47:59 +01:00
Reece Browne
9b14609236 feat: Introduce new file context management with hooks and lifecycle management
- Added new contexts for file state and actions to improve performance.
- Implemented unified file actions with a single `addFiles` helper for various file types.
- Created performant hooks for accessing file state and actions, including selection and management.
- Developed file selectors for efficient state access.
- Introduced a lifecycle manager for resource cleanup and memory management.
- Updated HomePage and tool components to utilize new navigation actions.
- Refactored file context types to streamline state management and remove legacy compatibility.
2025-08-18 21:00:19 +01:00