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

Client count updates #12554

Merged
merged 5 commits into from Sep 16, 2021
Merged

Client count updates #12554

merged 5 commits into from Sep 16, 2021

Conversation

arnav28
Copy link
Contributor

@arnav28 arnav28 commented Sep 15, 2021

  • Added Current month tab which leverages partial monthly activity api
  • Refactored Vault usage to Monthly history
  • New client count history component based on StatText and BarChart component
  • Restrict bar chart to showcase only top 10 namespaces
  • Removed config route, as config and history component will be rendered based on query param
  • Updated all metrics reference to clients
  • Removed old tests and added integration test for current month

Screen Shot 2021-09-15 at 12 24 59 AM

Screen Shot 2021-09-15 at 12 25 09 AM

Screen Shot 2021-09-15 at 12 25 30 AM

- Added Current month tab which leverages partial monthly activity api
- Refactored Vault usage to Monthly history
- New client count history component based on StatText and BarChart component
- Restrict bar chart to showcase only top 10 namespaces
- Removed config route, as config and history component will be rendered based on query param
- Updated all metrics reference to clients
- Removed old tests and added integration test for current month
- Added changelog
@@ -15,9 +15,8 @@ Router.map(function() {
this.route('logout');
this.mount('open-api-explorer', { path: '/api-explorer' });
this.route('license');
this.route('metrics', function() {
this.route('clients', function() {
Copy link
Contributor

Choose a reason for hiding this comment

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

does changing the route names affect the picker at all on the Status menu? E.g. can you still navigate to the page the same way as before?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I updated all the references which were pointing to metrics route, so it will work fine.

assert.dom('[data-test-tracking-disabled] .message-title').hasText('Tracking is disabled');
});

test('it shows data when available from query', async function(assert) {
Copy link
Contributor

Choose a reason for hiding this comment

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

These two test files look exactly the same, are there any differences or should they be testing the exact same thing?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Some tests are different, such as making sure date component is not shown in current tab and also the input data is slightly different (compare last test in both files).

Copy link
Contributor

@Monkeychip Monkeychip left a comment

Choose a reason for hiding this comment

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

A couple of nits, but nothing major. Nice work. Also, I'm assuming that there is still the Single namespace picker to be completed?

@arnav28
Copy link
Contributor Author

arnav28 commented Sep 16, 2021

A couple of nits, but nothing major. Nice work. Also, I'm assuming that there is still the Single namespace picker to be completed?

Yes, namespace search and couple of permissions messaging is coming in separate review :)

@arnav28 arnav28 merged commit 681a931 into main Sep 16, 2021
@arnav28 arnav28 deleted the ui/client-count branch June 15, 2022 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants