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(ui/collectorList-telegraf): sort telegrafs based on buckets #15510

Merged
merged 10 commits into from
Oct 22, 2019

Conversation

asalem1
Copy link
Contributor

@asalem1 asalem1 commented Oct 18, 2019

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.

Kapture 2019-10-18 at 15 14 39

  • CHANGELOG.md updated with a link to the PR (not the Issue)

@asalem1 asalem1 requested a review from a team October 18, 2019 22:15
@ghost ghost requested review from drdelambre and hoorayimhelping and removed request for a team October 18, 2019 22:16
Copy link
Contributor

@drdelambre drdelambre left a comment

Choose a reason for hiding this comment

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

👍 :shipit:

@drdelambre
Copy link
Contributor

while you're fixing test snapshots.. try to write a test for this one

ui/cypress/e2e/collectors.test.ts Outdated Show resolved Hide resolved
ui/cypress/e2e/collectors.test.ts Outdated Show resolved Hide resolved
ui/cypress/e2e/collectors.test.ts Outdated Show resolved Hide resolved
ui/cypress/e2e/collectors.test.ts Outdated Show resolved Hide resolved
ui/cypress/e2e/collectors.test.ts Outdated Show resolved Hide resolved
ui/cypress/e2e/collectors.test.ts Outdated Show resolved Hide resolved
ui/cypress/e2e/collectors.test.ts Outdated Show resolved Hide resolved
ui/cypress/e2e/collectors.test.ts Outdated Show resolved Hide resolved
ui/cypress/e2e/collectors.test.ts Outdated Show resolved Hide resolved
@asalem1 asalem1 requested a review from 121watts October 21, 2019 22:30
Copy link
Contributor

@121watts 121watts left a 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.

ui/cypress/e2e/collectors.test.ts Show resolved Hide resolved
ui/cypress/e2e/collectors.test.ts Outdated Show resolved Hide resolved
ui/cypress/e2e/collectors.test.ts Outdated Show resolved Hide resolved
@@ -6,7 +6,8 @@
"lib": ["es2017", "dom"],
"types": ["cypress", "mocha", "node"],
"jsx": "react",
"allowSyntheticDefaultImports": true
"allowSyntheticDefaultImports": true,
Copy link
Contributor

Choose a reason for hiding this comment

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

Yaaaas

@asalem1 asalem1 requested review from a team as code owners October 22, 2019 14:32
Copy link
Contributor

@zoesteinkamp zoesteinkamp left a 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!

@121watts 121watts merged commit 769c410 into master Oct 22, 2019
@121watts 121watts deleted the fix/telegrafs-bucket-sort branch October 22, 2019 18:26
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.

[UI - Telegrafs] Sort by bucket is not working
4 participants