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
F15487307: D19171.id.diff
Thu, Apr 10, 1:02 PM
F15467183: D19171.id45923.diff
Thu, Apr 3, 1:31 PM
F15457184: D19171.diff
Sun, Mar 30, 2:48 PM
F15442107: D19171.id.diff
Wed, Mar 26, 9:33 PM
F15417119: D19171.id45924.diff
Thu, Mar 20, 3:30 PM
F15413493: D19171.diff
Mar 19 2025, 7:10 PM
F15395718: D19171.id.diff
Mar 16 2025, 9:15 AM
Unknown Object (File)
Feb 18 2025, 10:09 AM
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.