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

UI: Fix client counts bug when no new clients #27352

Merged
merged 15 commits into from
Jun 6, 2024

Conversation

hashishaw
Copy link
Contributor

@hashishaw hashishaw commented Jun 4, 2024

If a user has clients, but no new clients registered for any months, the UI for client counts dashboard would break like this:

image

This PR addresses that scenario and adds testing. Due to the amount of changes in client counts between this release and previous, we will open bug fixes to the other releases manually.

  • Ent tests pass

@hashishaw hashishaw added this to the 1.17.0 milestone Jun 4, 2024
@hashishaw hashishaw requested a review from a team as a code owner June 4, 2024 20:15
@github-actions github-actions bot added the hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed label Jun 4, 2024
Copy link

github-actions bot commented Jun 4, 2024

Build Results:
All builds succeeded! ✅

Copy link

github-actions bot commented Jun 4, 2024

CI Results:
All Go tests succeeded! ✅

Copy link
Contributor

@andaley andaley left a comment

Choose a reason for hiding this comment

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

thank you for fixing this so quickly! before i approve i just wanted to understand how we're protecting against the bug scenario. 😀

ui/tests/integration/utils/client-count-utils-test.js Outdated Show resolved Hide resolved
@hashishaw hashishaw modified the milestones: 1.17.0, 1.16.4 Jun 5, 2024
@hashishaw hashishaw merged commit 61a3885 into main Jun 6, 2024
31 checks passed
@hashishaw hashishaw deleted the ui/VAULT-27818/no-new-clients-bug branch June 6, 2024 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/1.17.x hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed ui
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants