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

feat(zones): adds ingress/egress online/total counts to zone listing #1612

Merged
merged 2 commits into from
Oct 17, 2023

Conversation

johncowen
Copy link
Contributor

@johncowen johncowen commented Oct 13, 2023

Adds online / total counts in the Zone Listing for the Zone's Ingresses and Egresses.

Using the page=1&size=100 assumption here for the moment, with the knowledge that there are backend API additions coming to support this.

Again this one is in semi-draft as I'd like to add tests, but I wanted to get something up as I wanted to ask for any ideas around generalising / reusing the getIngresses/getEgresses functions here. I tried various generic type things, but they all turned out a bit weird / non-worky. Let me know if you have any suggestions, if not we can stick with this if there are no issues with it.

Closes #1608

@netlify
Copy link

netlify bot commented Oct 13, 2023

Deploy Preview for kuma-gui ready!

Name Link
🔨 Latest commit 075e7d2
🔍 Latest deploy log https://app.netlify.com/sites/kuma-gui/deploys/652e66d610fc24000896c18d
😎 Deploy Preview https://deploy-preview-1612--kuma-gui.netlify.app/gui
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@johncowen johncowen marked this pull request as ready for review October 13, 2023 13:31
@johncowen johncowen requested a review from a team as a code owner October 13, 2023 13:31
@johncowen johncowen requested review from kleinfreund and removed request for a team October 13, 2023 13:31
@johncowen johncowen force-pushed the feat/zone-gress-counts branch from 12bdbaa to 7104a3e Compare October 17, 2023 10:44
Signed-off-by: John Cowen <[email protected]>
@johncowen
Copy link
Contributor Author

I made the little naming change here, I'll go ahead and merge shortly.

@johncowen johncowen merged commit 5f56145 into kumahq:master Oct 17, 2023
15 checks passed
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.

zones listing: show further information on the ingresses/egresses per zone
3 participants