berzniz / berzniz/github_pr_tree

Sort order in tree structure does not match sort order in GitHub list

Open
#187 3 comments 3 reactions 0 assignees View on GitHub
help wanted
Dominant language
HTML
Stars
696
Forks
79
PR merge metrics
No merged PRs in 30d

Description

GitHub displays files in a folder before files in a subfolder, the tree view shows the subfolders first. Example:

GitHub
```
Sources/Webservice/ProductFeedWebservice.swift
Sources/Webservice/Request/ProductFeedRequest.swift
```

Tree view
```
Sources/Webservice/Request/ProductFeedRequest.swift
Sources/Webservice/ProductFeedWebservice.swift
```

It's really confusing to me to be navigating the tree and having the GitHub display jump all around in a different order. If the current tree view sort order is an intentional feature (folders before files), consider an option to match the GitHub listing order?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.