Page MenuHomePhorge

Separate repository home and browse view in tab menu
ClosedPublic

Authored by bekay on Feb 14 2024, 17:27.

Details

Summary

The tab menu in a repository can be a bit confusing. The first tab will be rendered active for two distinctive states:

  • the home view in the currently selected branch
  • the browse view in the currently selected branch

This diff will give the home view a dedicated extra tab. When switching the branches, we won't switch between home and browse view like it is done now.

And I have changed the crumb text for the browse view to "Code" to match it up with the tab name.

Additionally the readme is now the first content on the home view.

Fixes T15728

Test Plan

Browse in your favorite repos and feel an UX elevation.

Diff Detail

Repository
rP Phorge
Branch
T15728
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 1140
Build 1140: arc lint + arc unit

Event Timeline

bekay requested review of this revision.Feb 14 2024, 17:27
avivey subscribed.

I'd even suggest we can go one step further, and in the Home tab show the Readme above the files (and maybe change the order/highlight some other UI elements too).

This revision is now accepted and ready to land.Mar 30 2024, 12:25
  • Moves readme to the top in home view

I'd even suggest we can go one step further, and in the Home tab show the Readme above the files (and maybe change the order/highlight some other UI elements too).

Good idea! I have implemented the readme-at-top suggestion... maybe quite a big change, but I think with the new code tab and the locate input the UX isn't disrupted that much.

Congratulations to both bekay and avivey. Minimum change, maximum result.

Whops, typo "Seperate" in the title - sorry for not noticing

bekay retitled this revision from Seperate repository home and browse view in tab menu to Separate repository home and browse view in tab menu.Apr 2 2024, 14:36