-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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(ui/collectorList-telegraf): sort telegrafs based on buckets #15510
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
while you're fixing test snapshots.. try to write a test for this one |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some testing feedback. Woot woot. Looks nice.
@@ -6,7 +6,8 @@ | |||
"lib": ["es2017", "dom"], | |||
"types": ["cypress", "mocha", "node"], | |||
"jsx": "react", | |||
"allowSyntheticDefaultImports": true | |||
"allowSyntheticDefaultImports": true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yaaaas
8bbab27
to
6615b84
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The tests look great :)
Good implementation!
07d8df2
to
3400eea
Compare
Closes #15247
Problem
UI/Telegrafs should be sortable based on bucket name
Solution
Modified the sortKey to accurately reflect the bucket's location in the data, thereby integrating the existing sort functionality.