Add project persistence, selective re-analysis, and Apple Silicon GPU support #2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds several features to improve the workflow for document review projects:
Changes
New Files
utils/fileStorage.ts- Save/load utilities for projects and column librarycomponents/ColumnLibrary.tsx- Modal UI for browsing and managing saved column templatesstart-backend.sh- Convenience script to run the backend natively with GPU accelerationModified Files
App.tsx- Added save/load handlers, document selection state, re-run logic, library integrationcomponents/DataGrid.tsx- Added checkbox column for document selectioncomponents/AddColumnMenu.tsx- Added "Save to Library" option and "Browse Library" buttoncomponents/Icons.tsx- Added new icons (Save, FolderOpen, Library, RefreshCw)types.ts- Added SavedProject, ColumnTemplate, ColumnLibrary interfacesserver/main.py- Added MPS GPU acceleration configuration for macOSserver/requirements.txt- Added mlx_vlm for MLX supportDockerfile.backend- Added system dependencies for document processingdocker-compose.yml- Changed frontend port to 3001 to avoid conflictsTest Plan