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
F18077796: D7737.id.diff
Mon, Aug 4, 7:30 PM
F18049070: D7737.diff
Sun, Aug 3, 3:15 PM
F17627186: D7737.id17501.diff
Thu, Jul 10, 5:37 AM
Unknown Object (File)
Jul 3 2025, 7:12 PM
Unknown Object (File)
Jul 2 2025, 12:39 AM
Unknown Object (File)
May 31 2025, 6:21 PM
Unknown Object (File)
May 30 2025, 4:51 PM
Unknown Object (File)
May 29 2025, 8:43 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()