Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: prioritize milestone strategies in sorting #9081

Merged
merged 3 commits into from
Jan 14, 2025

Conversation

nunogois
Copy link
Member

https://linear.app/unleash/issue/2-3100/sorting-issues-with-milestone-strategies-and-regular-strategies

This PR ensures that milestone strategies are always prioritized and evaluated before regular strategies. It ensures that the order displayed in the UI matches the internal evaluation order.

Copy link

vercel bot commented Jan 10, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
unleash-docs ⬜️ Ignored (Inspect) Visit Preview Jan 14, 2025 2:39pm
unleash-monorepo-frontend ⬜️ Ignored (Inspect) Visit Preview Jan 14, 2025 2:39pm

Copy link
Contributor

@nunogois, core features have been modified in this pull request. Please review carefully!

Copy link
Contributor

github-actions bot commented Jan 10, 2025

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails

Scanned Files

Copy link
Contributor

@gastonfournier gastonfournier left a comment

Choose a reason for hiding this comment

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

I think this looks good, but we also need to look at the event and how it looks like. Not a blocker for this PR though.

Copy link
Contributor

@daveleek daveleek left a comment

Choose a reason for hiding this comment

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

Nice! The sorting looks ripe for a future extracting into a method tho haha 😅

@nunogois
Copy link
Member Author

I think this looks good, but we also need to look at the event and how it looks like. Not a blocker for this PR though.

Which event are you talking about?

@nunogois
Copy link
Member Author

Nice! The sorting looks ripe for a future extracting into a method tho haha 😅

Addressed in 3f18024 — Let me know if this is better!

@gastonfournier
Copy link
Contributor

I think this looks good, but we also need to look at the event and how it looks like. Not a blocker for this PR though.

Which event are you talking about?

Event into the event log, because some of these changes will be reflected in the event log of modifying a feature environment.

@nunogois nunogois force-pushed the fix-prioritize-milestone-strategies-in-sorting branch from 3f18024 to e480045 Compare January 14, 2025 14:38
@nunogois nunogois merged commit 4a000b3 into main Jan 14, 2025
8 checks passed
@nunogois nunogois deleted the fix-prioritize-milestone-strategies-in-sorting branch January 14, 2025 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants