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

feat(designer): Add priority sort to Action and Trigger browse to make top actions more useful #6263

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

hartra344
Copy link
Contributor

Adding some priority heuristics to browse to make the top connectors more useful more often. Priority is the following


Hard Coded List of Connectors (This is something we can tune later maybe and make not hard coded?)
In App Connectors alphabetically
Custom Connectors alphabetically
Managed Connectors alphabetically (This one has so many that it's not even really useful)


CleanShot.2024-12-16.at.12.44.19.mp4

};
const getPriorityValue = (connector: Connector): number => {
const t = priorityConnectors.findIndex((p) => connector.id.toLowerCase().endsWith(p.toLowerCase()));
!connector.id.startsWith('/subscriptions/') && console.log(`pvalue: ${connector.id.toLowerCase()} : ${t}`);
Copy link
Contributor

Choose a reason for hiding this comment

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

NIT: console.log here

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.

4 participants