Closed johncowen closed 3 months ago
Name | Link |
---|---|
Latest commit | 689b3d1f006ef9b790642dab3411d3b36fd71199 |
Latest deploy log | https://app.netlify.com/sites/kuma-gui/deploys/667d6051c5e2f2000817f446 |
Deploy Preview | https://deploy-preview-2699--kuma-gui.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Part of https://github.com/kumahq/kuma-gui/issues/2388
This PR ended up doing several things:
[+ Create Zone]
is conditionally added to the page. We now use a method which means we can decorate theZoneControlPlaneList
component from The Outside to add the button if we want to do that eventually. It's also generally nicer as we define the button once and then add to the DOM in the correct place, instead of defining twice and then wrapping both in slightly different conditionals.To view the different variations you can add the following cookie settings to https://deploy-preview-2699--kuma-gui.netlify.app/gui/:
Non-empty lists, without zone creation
Non-empty lists, with zone creation:
Empty lists, with zone creation
Empty lists without zone creation