-
-
Notifications
You must be signed in to change notification settings - Fork 909
Conversation
PR Compliance ChecksThank you for your Pull Request! We have run several checks on this pull request in order to make sure it's suitable for merging into this project. The results are listed in the following section. Conventional Commit PR TitleIn order to be considered for merging, the pull request title must match the specification in @commitlint/conventional-commit. You can edit the title in order for this check to pass.
Linting Errors
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Congrats on making your first Pull Request and thanks for taking the time to improve Open Sauced! ❤️! 🎉🍕
Say hello by joining the conversation in our Discord
Hi @murilo-goncalves I’m so glad you decided to contribute! I hope you don’t mind my editing the title of the PR to fit our compliance checks. You did a great job of including screenshots to show how the sorting worked for stars.! Meanwhile as I’m looking over your changes I think you pulled too much of the ternary operation out. In my experience you want to handle cases that return -1,1, and 0. Others may be fine with this as is. |
Thanks for the reply! No problem editing the title :D I can change that. Just thought it was clearer this way, because returning 0 or 1 causes the same effect, the items not being swapped doesn't it? |
Doesn't work for me with any of the sorting methods. Mind my open sauced goals being a bit bugged: https://github.com/0-vortex/open-sauced-goals/issues Other than that the sorting dropdown is also iterating through closed issues, which could be a potential parallel issue/fix. What are your thoughts on testing this more thoroughly? |
Tested this again and identified the issue to be related to the way we parse goals data, fixing that in another branch I could test your PR and confirm it is actually working as intended! Will do the necessary issue reporting and merge this as soon as possible, thank you again for your contribution! ❤️ |
🎉 This PR is included in version 0.36.1 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
What type of PR is this? (check all applicable)
Description
This PR fixes sorting in ListGoals, as discussed in the linked issue.
Related Tickets & Documents
Fixes #1244
Mobile & Desktop Screenshots/Recordings
Before:
After:
Added tests?
Added to documentation?
[optional] Are there any post-deployment tasks we need to perform?
Nops
[optional] What gif best describes this PR or how it makes you feel?
Any gif showing happiness, I loved starting to contribute to Open Source! ❤️