Skip to content

Sort recipes by output and input - #3858

Open
calebstenberg wants to merge 7 commits into
PixelGuys:masterfrom
calebstenberg:recipeOrder
Open

calebstenberg wants to merge 7 commits into
PixelGuys:masterfrom
calebstenberg:recipeOrder

Conversation

@calebstenberg

Copy link
Copy Markdown
Contributor

fixes: #2496

@calebstenberg

Copy link
Copy Markdown
Contributor Author

We should eventually sort by tag here too. Maybe a generalization of #3194

@Wunka Wunka moved this to Medium Priority in PRs to review Dec 3, 2026
@Wunka Wunka moved this from Medium Priority to Easy to Review in PRs to review Dec 3, 2026

@IntegratedQuantum IntegratedQuantum left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't appear to work as intended.
Before:
Screenshot at 2026-12-03 19-42-47
After:
Screenshot at 2026-12-03 19-42-23

@IntegratedQuantum IntegratedQuantum moved this from Easy to Review to In review in PRs to review Dec 3, 2026
@calebstenberg

Copy link
Copy Markdown
Contributor Author

This was a bit more complex than I originally anticipated, but I figured it out.
First we make a temp list to store all recipes unsorted.
Then we put all the recipes that will be grouped by output in the final list and sort it.
Then sort the remaining items by input.
Finally add the remaining items to the final list.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In review

Development

Successfully merging this pull request may close these issues.

Improve the default sorting of recipes

2 participants