Skip to content

Prioritize frequently used slash commands#422

Open
aaronflorey wants to merge 1 commit intogetpaseo:mainfrom
aaronflorey:slash-command-usage-ordering
Open

Prioritize frequently used slash commands#422
aaronflorey wants to merge 1 commit intogetpaseo:mainfrom
aaronflorey:slash-command-usage-ordering

Conversation

@aaronflorey
Copy link
Copy Markdown
Contributor

Summary

  • track slash command usage locally per app install so ranking works across all projects on that device
  • rank slash command autocomplete results by usage before the existing above-input reversal so the most-used match stays nearest the composer
  • add focused tests for slash command parsing, ranking, and usage persistence while keeping the change scoped to the app client

Testing

  • npm run test --workspace=@getpaseo/app -- src/utils/slash-command-usage.test.ts src/stores/slash-command-usage-store.test.ts

Track slash command usage per app install and rank autocomplete results by usage before reversing the list. Keep the existing above-input selection behavior while making the most-used command land closest to the composer.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant