Rendering of Directory Children With Single Folder Is Confusing
Created by: tistru
- Sourcegraph version: 3.18
- Platform information:
We got a complaint this AM that the way Sourcegraph 3.18 renders directories with only directory children is confusing.
For example: https://sourcegraph.com/github.com/vanadium/core/-/tree/x
Looks like it contains lots of files / directories.
Which is an empty dir with only a ref folder. https://github.com/vanadium/core/tree/master/x
This issue was first presented in a JIRA: https://sourcegraph.atlassian.net/jira/servicedesk/projects/SG/queues/custom/1/SG-328
Steps to reproduce:
- Examine directory with single folder containing around 10 files and sub folders
- Observe that at the single folder level when viewed within the Sourcegraph web UI, the contents of the folder are displayed along with the top level folder (see links above).