Page MenuHomePhabricator

Make "View as Document Type..." only show valid options
ClosedPublic

Authored by epriestley on May 12 2020, 8:33 PM.
Tags
None
Referenced Files
F15532954: D21241.diff
Wed, Apr 23, 5:44 PM
F15525804: D21241.diff
Mon, Apr 21, 5:00 PM
F15461135: D21241.id50588.diff
Tue, Apr 1, 5:32 AM
F15460405: D21241.id50584.diff
Mon, Mar 31, 10:44 PM
F15460282: D21241.id50585.diff
Mon, Mar 31, 9:25 PM
F15455348: D21241.diff
Sat, Mar 29, 11:42 PM
F15426275: D21241.diff
Mar 23 2025, 7:54 AM
F15403295: D21241.id50588.diff
Mar 18 2025, 2:39 AM
Subscribers
None

Details

Summary

Ref T13513. Currently, "View as Document Type..." lists every available engine.

This is hard to get completely right because we can't always rebuild the document ref accurately in the endpoint, but try harder to fake something reasonable.

Test Plan

Used "View as Document Type..." on Jupyter notebooks, was given "Jupyter" and "Source" as options.

Event Timeline

  • Also restrict the list for changes with no candidate engines.
This revision was not accepted when it landed; it landed in state Needs Review.May 12 2020, 9:25 PM
This revision was automatically updated to reflect the committed changes.