summaryrefslogtreecommitdiff
path: root/crates/vcs_data/src/data/local/config.rs
AgeCommit message (Collapse)Author
2026-01-02Add host mode and update sheet visibility model魏曹先生
- Add `using_host_mode` field to LocalConfig with getter/setter - Replace `my_sheets`/`other_sheets` with `visible_sheets`/`invisible_sheets` - Add `reference_sheets` set for host-owned sheets - Add `shares_in_my_sheets` map to track external merge requests - Update `use_sheet` to check `visible_sheets` instead of `my_sheets`
2025-11-23Apply clippy suggestions魏曹先生
2025-11-19Derive Clone for LocalConfig and fix mapping_mut signature魏曹先生
The mapping_mut method now returns a mutable reference to allow modifying the mapping HashMap directly.
2025-11-17Use member-specific paths for latest info files魏曹先生
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-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-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