-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Human sort nested lists #1333
Human sort nested lists #1333
Conversation
eac701f
to
5714275
Compare
Thanks @jaseemabid! It LGTM, I will just push the updated examples collection to the branch before merging 🚀 |
WF templates can have list of lists, for example steps. This PR makes sure those are sorted as well. Signed-off-by: Jaseem Abid <me@jabid.in>
5714275
to
2588ce5
Compare
Signed-off-by: Elliot Gunton <elliotgunton@gmail.com>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1333 +/- ##
=====================================
Coverage 86.5% 86.5%
=====================================
Files 60 60
Lines 4123 4127 +4
Branches 657 659 +2
=====================================
+ Hits 3567 3571 +4
Misses 388 388
Partials 168 168 ☔ View full report in Codecov by Sentry. |
Thank you! I was just about to update the PR with updated examples, took a while to read through the Makefile and figure it out. |
Just had to run `make regenerate-test-data` once, we probably forgot it last time. **Pull Request Checklist** - [X] Fixes #<!--issue number goes here--> - [X] Tests added - [x] Documentation/examples added - [X] [Good commit messages](https://cbea.ms/git-commit/) and/or PR title **Description of PR** Leftover from #1333 Signed-off-by: Jaseem Abid <me@jabid.in>
Just got our first internal PR that included this reordering, very nice ❤️ |
WF templates can have list of lists, for example steps.
This PR makes sure those are sorted as well.
Ref #1326
Pull Request Checklist
Description of PR
I really haven't tested this throughly, but since you wrote the code only yesterday I'm guessing you would still have context @elliotgunton.
I can clean up, add some tests etc later when I get some time. Leaving this here as a draft for now.