dacharyc / prfocus-website

Website and documentation for the PR Focus macOS app
https://prfocus.app
5 stars 1 forks source link

[Feature] app - alphabetically sorting repos in sidebar #47

Open masukomi opened 2 months ago

masukomi commented 2 months ago

as a user with many repositories i wish to have my sidebar sorted alphabetically so that i can more easily find the repository i'm looking for.

unfortunately there appears to be a bug where it's only mostly alphabetical and ?new repos? get added to the end of the list.

see screenshot.

CleanShot 2024-07-26 at 10 49 15@2x

dacharyc commented 2 months ago

This is actually not a bug - there is no sorting at all in the repo list. It displays them in the order you add them.

I can understand your desire to sort alphabetically - you're watching a lot more repos than I am, so it seems more important in your list. But that combined with your other feature request about the folders makes me wonder if I need a more holistic think about the ability to customize the sidebar. (i.e. maybe default to alphabetical sort, but let people manually reorder them?)

I'll plan a unit of work related to the sidebar for post v1 launch, and will try to tackle these things together in a way that is more flexible for people to manage things in whatever way they prefer.

I'm going to change the label from bug to feature, though, since this isn't a bug in the current design but rather a request for something that isn't implemented.