Enhance collaboration and selection management in IDE#75
Enhance collaboration and selection management in IDE#75rkvishwa merged 13 commits intorkvishwa:developmentfrom
Conversation
…date file content handling in IDE
…restore file content
…selection rendering
…ection parameter for improved selection handling
…ved sync performance
Exam-IDEProject ID: Sites (1)
Tip Roll back Sites deployments instantly by switching between versions |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
Comment Tip CodeRabbit can generate a title for your PR based on the changes with custom instructions.Set the |

This pull request introduces several improvements to collaborative editing, file tree refresh logic, and cross-platform path normalization. The most notable changes enhance the reliability and accuracy of real-time collaboration, ensure the file tree updates correctly when triggered, and improve file and tab management across different operating systems.
Collaborative Editing Enhancements
pushEditOperationsinstead ofsetValueto update content, preventing cursor jumps and preserving undo history. Awareness and cursor selection logic is more robust, including proper disposal and clearing of stale selections on binding destroy.-1parameter for compatibility and accuracy.File Tree Refresh and UI Improvements
refreshTriggerprop to the file tree and its nodes, enabling programmatic refreshes of directory contents and closing context menus or creation states after refresh.Path Normalization and Tab Management
Editor Behavior Improvements
Miscellaneous
remoteCreatesRefis removed, simplifying file operation tracking logic.These changes collectively improve the reliability, usability, and cross-platform compatibility of collaborative editing and file management in the application.