Page MenuHomePhabricator

Give the "Code" tab in Diffusion more consistent (path-retaining) behavior
ClosedPublic

Authored by epriestley on Mar 25 2019, 9:34 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 20, 8:50 PM
Unknown Object (File)
Fri, Dec 13, 10:38 AM
Unknown Object (File)
Sat, Dec 7, 5:06 AM
Unknown Object (File)
Fri, Dec 6, 11:01 PM
Unknown Object (File)
Fri, Dec 6, 6:15 AM
Unknown Object (File)
Sat, Nov 30, 12:29 PM
Unknown Object (File)
Wed, Nov 27, 3:05 AM
Unknown Object (File)
Tue, Nov 26, 8:07 PM
Subscribers
None

Details

Summary

Fixes T13270. In Diffusion, the "Code" tab is linked in a weird way that isn't consistent with the other tabs.

Particularly, if you navigate to x/y/z/ and toggle between the "Branches" and "History" tabs (or other tabs), you keep your path. If you click "Code", you lose your path.

Instead, retain the path, so you can navigate somewhere and then toggle to/from the "Code" tab to get different views of the same path.

Test Plan

Browed into a repository, clicked "History", clicked "Code", ended up back in the place I started.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable