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
F14799920: D21241.id50588.diff
Sat, Jan 25, 7:38 AM
F14799918: D21241.id50585.diff
Sat, Jan 25, 7:38 AM
F14799917: D21241.id50584.diff
Sat, Jan 25, 7:38 AM
F14799916: D21241.id.diff
Sat, Jan 25, 7:37 AM
Unknown Object (File)
Tue, Jan 21, 9:22 AM
Unknown Object (File)
Thu, Jan 9, 3:35 AM
Unknown Object (File)
Dec 22 2024, 3:03 AM
Unknown Object (File)
Dec 13 2024, 11:22 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.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.