Skip to content

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

Merged
unrooot merged 1 commit intomainfrom
users/unrooot/fix-action-priority
Jan 21, 2025
Merged

fix: Set the first valid preferred action from the list#529
unrooot merged 1 commit intomainfrom
users/unrooot/fix-action-priority

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/scoredactionservice@16.22.1-canary.529.b027236.0
# or 
yarn add @quenty/scoredactionservice@16.22.1-canary.529.b027236.0

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

🚀 PR was released in @quenty/scoredactionservice@16.22.1 🚀

@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