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

fix: Set the first valid preferred action from the list #529

Merged
merged 1 commit into from
Jan 21, 2025

Conversation

unrooot
Copy link
Collaborator

@unrooot unrooot commented Jan 21, 2025

This change improves the behavior of the action picker by returning the first valid preferred action from the list, instead of just setting the first one in the table. The behavior can be observed when there are multiple actions within range and some are on cooldown.

📦 Published PR as canary version: Canary Versions

✨ Test out this PR locally via:

npm install @quenty/[email protected]
# or 
yarn add @quenty/[email protected]

@unrooot unrooot self-assigned this Jan 21, 2025
@unrooot unrooot merged commit a7fcfa6 into main Jan 21, 2025
3 checks passed
Copy link

🚀 PR was released in @quenty/[email protected] 🚀

@github-actions github-actions bot added the released This issue/pull request has been released. label Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released This issue/pull request has been released.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant