berzniz/github_pr_tree

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

Open

#187 opened on 2021年12月2日

GitHub で見る
 (3 comments) (3 reactions) (0 assignees)HTML (81 forks)batch import
help wanted

Repository metrics

Stars
 (677 stars)
PR merge metrics
 (30d に merged PR はありません)

説明

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?

コントリビューターガイド