Page MenuHomePhabricator

Minor document rendering fixes: dropdown for synchronous files, URI normalization for default renderers
ClosedPublic

Authored by epriestley on Mar 26 2018, 2:20 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 12, 5:58 AM
Unknown Object (File)
Oct 18 2024, 3:48 AM
Unknown Object (File)
Oct 15 2024, 5:55 AM
Unknown Object (File)
Oct 15 2024, 2:14 AM
Unknown Object (File)
Oct 1 2024, 10:08 AM
Unknown Object (File)
Sep 23 2024, 9:34 PM
Unknown Object (File)
Sep 11 2024, 9:30 PM
Unknown Object (File)
Sep 11 2024, 9:09 PM
Subscribers
None

Details

Summary

Depends on D19258. Ref T13105.

  • When the default renderer is an Ajax renderer, don't replace the URI. For example, when viewing a Jupyter notebook, the URI should remain /F123, not instantly change to /view/123/jupyter/.
  • Fix an issue where non-ajax renderers could fail to display the dropdown menu properly.
Test Plan
  • Viewed a Jupyter notebook, stayed on the same URI.
  • Changed rendering, got different URIs.
  • Viewed a JSON file and toggled renderers via dropdown.

Diff Detail

Repository
rP Phabricator
Branch
doc2
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 19925
Build 27009: Run Core Tests
Build 27008: arc lint + arc unit