Page MenuHomePhabricator

Improve sequencing of various content/header checks in abstract block diffs
ClosedPublic

Authored by epriestley on Sep 27 2019, 8:18 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jun 15, 10:23 PM
Unknown Object (File)
Apr 11 2026, 9:10 AM
Unknown Object (File)
Mar 29 2026, 3:56 PM
Unknown Object (File)
Mar 16 2026, 11:04 AM
Unknown Object (File)
Jan 3 2026, 4:22 PM
Unknown Object (File)
Dec 21 2025, 10:43 PM
Unknown Object (File)
Dec 2 2025, 12:30 PM
Unknown Object (File)
Nov 29 2025, 3:35 AM
Subscribers
None

Details

Summary

Ref T13425. Some diff checks currently sequence incorrectly:

  • When we're rendering block lists, syntax highlighting isn't relevant.
  • The "large change" guard can prevent rendering of otherwise-renderable changes.
  • Actual errors in the document engine (like bad JSON in a ".ipynb" file) aren't surfaced properly.

Improve sequencing somewhat to resolve these issues.

Test Plan
  • Viewed a notebook, no longer saw a "highlighting disabled" warning.
  • Forced a notebook to fail, got a useful inline error instead of a popup dialog error.
  • Forced a notebook to have a large number of differences, got a rendering out of it.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable