Page MenuHomePhabricator

Render deleted files in Phragment as disabled
ClosedPublic

Authored by hach-que on Dec 7 2013, 6:40 AM.
Tags
None
Referenced Files
F15402991: D7737.id17502.diff
Tue, Mar 18, 1:32 AM
F15399122: D7737.diff
Mon, Mar 17, 3:00 AM
F15385485: D7737.id17502.diff
Fri, Mar 14, 10:43 PM
F15383316: D7737.id17483.diff
Fri, Mar 14, 4:12 PM
F15307086: D7737.diff
Thu, Mar 6, 4:43 AM
Unknown Object (File)
Mon, Mar 3, 9:28 PM
Unknown Object (File)
Mon, Feb 24, 11:18 AM
Unknown Object (File)
Feb 17 2025, 8:59 AM

Details

Reviewers
epriestley
Group Reviewers
Blessed Reviewers
Maniphest Tasks
T4205: Implement Phragment
Commits
Restricted Diffusion Commit
rPdabc7ea28dec: Render deleted files in Phragment as disabled
Summary

This updates Phragment so that fragments that are currently considered deleted have a disabled status and have an additional attribute 'Deleted'. It also places this effect on versions (in the history controller) that actually involve deleting the file.

Test Plan

Viewed deleted fragments and versions.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

Consider adding $fragment->isDeleted(), since I'd guess we'll need to represent this with slightly more finesse eventually (to be able to represente a file being converted into a directory and back in history).

hach-que updated this revision to Unknown Object (????).Dec 8 2013, 8:52 PM

Added isDeleted()