berzniz/github_pr_tree

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

Open

#187 创建于 2021年12月2日

在 GitHub 查看
 (3 评论) (3 反应) (0 负责人)HTML (81 fork)batch import
help wanted

仓库指标

Star
 (677 star)
PR 合并指标
 (30 天内没有已合并 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?

贡献者指南