github / github/vscode-github-actions

Tree views in current branch/workflows/settings is sorted by repo name length

Open
#277 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
660
Forks
213
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
This is an _unexpected_ behavior. The order of the items in the tree views are sorted by _the length of the repository name_. This is an unreasonable sorting strategy! 😅

**To Reproduce**
Steps to reproduce the behavior:
1. Login
2. Look at the workflows

**Expected behavior**
I expect the workflows to be sorted by some _reasonable_ means like a) alphabetically or b) order appearing the workspace. The easiest would be just alphabetically. Finding the correct repository workflow now is hard. I need to think about how _long the name of the repository is_ 🤯

**Screenshots**
If applicable, add screenshots to help explain your problem.
image

**Extension Version**
`v0.26.2`

Contributor guide

Open the contributing guide

Research direction

Start by locating the tree-view implementation for Current Branch, Workflows, and Settings in this VS Code extension, then trace how repository names are ordered. Change the ordering to alphabetical as requested and verify the affected views, especially Workflows, no longer sort by repository-name length.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.