file state tracking with visual indicators for deleted and recreated files#4318
Open
djad04 wants to merge 4 commits intomapeditor:masterfrom
Open
file state tracking with visual indicators for deleted and recreated files#4318djad04 wants to merge 4 commits intomapeditor:masterfrom
djad04 wants to merge 4 commits intomapeditor:masterfrom
Conversation
8105b56 to
cb44351
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
File lifecycle tracking system that detects on-disk deletions, modifications, and restorations, provides clear visual feedback through tab styling, tooltips, context menus, and warning banners, and allows recovery of deleted files with the option to override disk changes using the in-memory version or reload the disk version
Features Implemented
File Deletion Detection
When a file is detected as missing from disk :
Tab turns red with strikethrough text
Tooltip shows "deleted" suffix
Right-click context menu adds "Restore" and "Save As" options
File deleted warning banner
File Recreated Detection
When a previously deleted file is recreated on disk, :
Modification Check
Warning banner updates to "FileRecreated" state
Save Handling
When attempting to save a document whose file has been recreated on disk with different content:

a conflict popup appears