Page MenuHomePhabricator

Show lint messages in deleted files on the left-hand side of the change
ClosedPublic

Authored by epriestley on Mar 3 2018, 1:28 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, May 1, 12:25 AM
Unknown Object (File)
Sat, Apr 6, 2:18 AM
Unknown Object (File)
Mar 31 2024, 7:30 AM
Unknown Object (File)
Mar 31 2024, 7:30 AM
Unknown Object (File)
Mar 31 2024, 7:29 AM
Unknown Object (File)
Mar 31 2024, 7:29 AM
Unknown Object (File)
Mar 29 2024, 2:46 AM
Unknown Object (File)
Jan 22 2024, 12:46 PM
Subscribers
None

Details

Summary

See PHI416. If you raise a lint message in a deleted file, we don't render any text on the right hand side so the message never displays.

This is occasionally still legitimate/useful, e.g. to display a "don't delete this file" message. At least for now, show these messages on the left.

Test Plan

Posted a lint message on a deleted file via harbormaster.sendmessage, viewed revision, saw file expand with synthetic inline for lint.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Mar 4 2018, 5:14 PM
This revision was automatically updated to reflect the committed changes.