berzniz/github_pr_tree

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

Open

#187 aperta il 2 dic 2021

Vedi su GitHub
 (3 commenti) (3 reazioni) (0 assegnatari)HTML (81 fork)batch import
help wanted

Metriche repository

Star
 (677 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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?

Guida contributor