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
F15488552: D20323.id48509.diff
Thu, Apr 10, 11:27 PM
F15484130: D20323.id48506.diff
Wed, Apr 9, 4:30 PM
F15478866: D20323.id.diff
Tue, Apr 8, 3:28 AM
F15477888: D20323.diff
Mon, Apr 7, 6:37 PM
F15405530: D20323.id48506.diff
Tue, Mar 18, 11:36 AM
Unknown Object (File)
Feb 24 2025, 2:33 AM
Unknown Object (File)
Feb 15 2025, 7:00 PM
Unknown Object (File)
Feb 15 2025, 2:34 AM
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