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: node pools - add pool count to topology visualization #17363

Merged

Conversation

ChaiWithJai
Copy link
Contributor

Resolves #17290

This PR adds a new route handler in our Mirage config to handle node pool requests, it also creates an Adapter for Node Pools to handle the unique shape of the API endpoint where the resource is a first-level child of the relationalResource in the anatomy of the endpoint. This PR also adds a count of total node pools to the topology visualization.

image

Impact
This PR impacts our Mirage server (the fake calls we make), our Ember Adapter (the real API requests we make) and the Topology visualization.

Side Effect
The updates the metric CSS class to use a Sass ampersand to create a more specific nested metric topo class. We needed a quick way to add a visually appealing third column to the view without breaking the other views that rely on the metric class.

Next Steps
We will now add the appropriate node pool filter and table column to the Clients and Jobs List pages. And then the associated table detail within the Client and Job Detail Overview pages.

@github-actions
Copy link

github-actions bot commented May 30, 2023

Ember Test Audit comparison

17292/node-pool-ember-data 6c4524e change
passes 1477 1477 0
failures 0 0 0
flaky 0 0 0
duration 11m 56s 332ms 13m 01s 857ms +1m 05s 525ms

@lgfa29 lgfa29 added the theme/node-pools Issues related to node pools label May 30, 2023
Base automatically changed from 17294/mirage-factories to 17293/mirage May 31, 2023 13:38
Base automatically changed from 17293/mirage to 17292/node-pool-ember-data May 31, 2023 13:39
* ui: node filter on jobs.index

* ui: add node pool to table viz

* ui:  node pools - client page visualization (#17372)

* refact: update mirage models

* ui: add pool filter to client list

* ui:  add pool to table viz

* ui:  add pool to statsboxes (#17373)
@ChaiWithJai ChaiWithJai merged commit 9c9cd4a into 17292/node-pool-ember-data Jun 1, 2023
4 of 11 checks passed
@ChaiWithJai ChaiWithJai deleted the 17290/node-pools-topo-viz-view branch June 1, 2023 13:47
lgfa29 pushed a commit that referenced this pull request Jun 21, 2023
* chore: create pool adapter

* chore: mirage route handler

* ui: add pool count to topo

* ui:  node pools data on `jobs.index` page (#17368)

* ui: node filter on jobs.index

* ui: add node pool to table viz

* ui:  node pools - client page visualization (#17372)

* refact: update mirage models

* ui: add pool filter to client list

* ui:  add pool to table viz

* ui:  add pool to statsboxes (#17373)
lgfa29 pushed a commit that referenced this pull request Jun 21, 2023
* chore: create pool adapter

* chore: mirage route handler

* ui: add pool count to topo

* ui:  node pools data on `jobs.index` page (#17368)

* ui: node filter on jobs.index

* ui: add node pool to table viz

* ui:  node pools - client page visualization (#17372)

* refact: update mirage models

* ui: add pool filter to client list

* ui:  add pool to table viz

* ui:  add pool to statsboxes (#17373)
lgfa29 pushed a commit that referenced this pull request Jun 22, 2023
* chore: create pool adapter

* chore: mirage route handler

* ui: add pool count to topo

* ui:  node pools data on `jobs.index` page (#17368)

* ui: node filter on jobs.index

* ui: add node pool to table viz

* ui:  node pools - client page visualization (#17372)

* refact: update mirage models

* ui: add pool filter to client list

* ui:  add pool to table viz

* ui:  add pool to statsboxes (#17373)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme/node-pools Issues related to node pools
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants