summaryrefslogtreecommitdiff
path: root/crates/vcs_data/src/data
AgeCommit message (Collapse)Author
2025-11-07Add documentation for local cached data structures魏曹先生
2025-11-06feat: Add local data management modules (WIP)魏曹先生
- cached_sheet.rs: Cached sheet data management - local_sheet.rs: Local sheet mapping structure - member_held.rs: Member file holding status tracking - NOTE: These modules are still under development
2025-11-06feat: Refactor local workspace management魏曹先生
- Replace README with TODO list template - Add Windows-specific .jv directory hiding - Reorganize local workspace setup logic - Update imports for new local data modules
2025-11-06feat: Enhanced data structures and constants魏曹先生
- Add new constants for local workspace management - Extend SheetData with write_count functionality - Simplify vault data structures - Update sheet and virtual file data handling
2025-11-05Update draft folder structure to include account name魏曹先生
The draft folder path now includes the account name to prevent conflicts when multiple accounts work on the same sheet. This requires updating the draft_folder method signature and all call sites. Additionally, account switching is now restricted when a sheet is in use to maintain data integrity.
2025-11-03feat: Add rollback support for file movement魏曹先生
- Implement MovedItem struct to track file operations - Add rollback logic for draft-to-local and local-to-draft moves - Improve error handling with automatic rollback on failures
2025-11-03update: Local actions and data structures魏曹先生
- Update local actions implementation - Improve latest info handling - Enhance vault sheets management
2025-11-03feat: Implement sheet usage management魏曹先生
- Add sheet_in_use field to LocalConfig - Implement use_sheet and exit_sheet methods - Add draft folder management for sheet switching
2025-11-03feat: Add sheet creation action魏曹先生
- Implement make_sheet_action for creating sheets - Add sheet-related constants - Update sheet data structures
2025-10-30Add LatestInfo struct for client data persistence魏曹先生
2025-10-30Change auth_member to return MemberId on success魏曹先生
The authentication function now returns the authenticated member's ID instead of just () when successful. This provides callers with access to the authenticated member's identity for subsequent operations.
2025-10-29Improve vault lock error message and formatting魏曹先生
- Use clearer error message when vault is already locked - Fix code formatting for consistency - Remove unnecessary line breaks in error formatting
2025-10-29Make config fields thread-safe with Arc<Mutex>魏曹先生
- Change LocalWorkspace config to Arc<Mutex<LocalConfig>> - Change Vault config to Arc<VaultConfig> - Add config accessor methods for both structs - Update initialization methods to wrap config in Arc/Mutex
2025-10-27Fix error handling in process_connection魏曹先生
2025-10-27Add service module to vault魏曹先生
2025-10-27feat: Add Server Lock魏曹先生
2025-10-24Fix some spelling issues.魏曹先生
2025-10-13Fix Clippy warnings and optimize code魏曹先生
- Fix let_underscore_future warning by properly awaiting async functions - Make accept_import function async to match add_mapping usage - Propagate errors properly with ? operator instead of ignoring them - Replace manual Default implementation with derive attribute - Replace vec! with array literal to avoid useless_vec warning - All tests pass and code is now Clippy clean
2025-10-12feat: Update data configuration structures魏曹先生
- Add new configuration fields for local and vault data - Remove outdated todo.txt file
2025-10-06Move vcs crate to vcs_data for better separation of concerns魏曹先生
- Rename vcs crate to vcs_data to clearly define data layer - Maintain all existing data structures and functionality - Update dependencies to include action_system integration - Preserve test structure in vcs_data_test directory