Page MenuHomePhabricator

When an inline was left on a rendered DocumentEngine document, don't include an email context patch
ClosedPublic

Authored by epriestley on May 12 2020, 9:09 PM.
Tags
None
Referenced Files
F19679341: D21242.diff
Sun, Feb 8, 6:11 PM
F19643097: D21242.diff
Feb 5 2026, 9:04 PM
F19604139: D21242.diff
Feb 3 2026, 7:43 AM
F19516175: D21242.diff
Jan 14 2026, 8:46 PM
F19516169: D21242.diff
Jan 14 2026, 8:42 PM
F19516153: D21242.diff
Jan 14 2026, 8:35 PM
F19516133: D21242.diff
Jan 14 2026, 8:24 PM
F19504550: D21242.id50586.diff
Jan 9 2026, 5:20 AM
Subscribers
None

Details

Summary

Ref T13513. If you leave an inline on line 20 of a Jupyter document, we currently render context around *raw* line 20, which is inevitably some unrelated piece of JSON.

Instead, drop this context. (Ideal behavior would be to render context around Jupyter block 20, but that's a whole lot of work.)

Test Plan
  • On Jupyter changes and normal source changes, made and submitted inline comments, then viewed text and HTML mail.
  • Saw no context on Jupyter comments (instead of bad context), and unchanged behavior (useful context) on normal source changes.

Diff Detail

Repository
rP Phabricator
Branch
engine3
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 24403
Build 33623: Run Core Tests
Build 33622: arc lint + arc unit