HomePhorge

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

Description

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

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.

Maniphest Tasks: T13513

Differential Revision: https://secure.phabricator.com/D21241

Details

Provenance
epriestleyAuthored on May 12 2020, 1:24 PM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rP0cca40db3bc6: When creating an inline, save the current document engine
Branches
Unknown
Tags
Unknown

Event Timeline