From e18d8e299d5b900b68381ceb8bb1ade84dfd0772 Mon Sep 17 00:00:00 2001 From: Kenia <19161242+kaxcode@users.noreply.github.com> Date: Tue, 10 Nov 2020 11:31:47 -0500 Subject: [PATCH] ui: Delete Proxy Info tab (#9141) * Remove Proxy Info and create Upstreams and Exposed Paths tabs * Update routes formatting * Update typo for Expose.Checks * Remove, update, and add tests * Make consul-upstream-instance-list into a glimmer component * Create styling for upstream-instance-list component --- .../consul/upstream-instance/list/index.hbs | 24 +- .../consul/upstream-instance/list/index.js | 5 - .../consul/upstream-instance/list/index.scss | 6 + ui/packages/consul-ui/app/router.js | 3 - .../dc/services/instance/exposedpaths.js | 14 -- .../app/routes/dc/services/instance/proxy.js | 16 -- .../routes/dc/services/instance/upstreams.js | 11 - .../app/styles/components/composite-row.scss | 4 +- ui/packages/consul-ui/app/styles/layout.scss | 3 +- .../app/templates/dc/services/instance.hbs | 6 +- .../dc/services/instance/exposedpaths.hbs | 10 + .../dc/services/instance/healthchecks.hbs | 5 +- .../templates/dc/services/instance/proxy.hbs | 25 -- .../dc/services/instance/upstreams.hbs | 7 + .../services/instances/exposed-paths.feature | 42 ++++ .../dc/services/instances/proxyinfo.feature | 214 ------------------ .../dc/services/instances/show.feature | 2 +- .../dc/services/instances/upstreams.feature | 42 ++++ ...xyinfo-steps.js => exposed-paths-steps.js} | 0 .../dc/services/instances/upstreams-steps.js | 10 + .../tests/pages/dc/services/instance.js | 2 +- 21 files changed, 143 insertions(+), 308 deletions(-) delete mode 100644 ui/packages/consul-ui/app/components/consul/upstream-instance/list/index.js create mode 100644 ui/packages/consul-ui/app/components/consul/upstream-instance/list/index.scss delete mode 100644 ui/packages/consul-ui/app/routes/dc/services/instance/proxy.js create mode 100644 ui/packages/consul-ui/app/templates/dc/services/instance/exposedpaths.hbs delete mode 100644 ui/packages/consul-ui/app/templates/dc/services/instance/proxy.hbs create mode 100644 ui/packages/consul-ui/app/templates/dc/services/instance/upstreams.hbs create mode 100644 ui/packages/consul-ui/tests/acceptance/dc/services/instances/exposed-paths.feature delete mode 100644 ui/packages/consul-ui/tests/acceptance/dc/services/instances/proxyinfo.feature create mode 100644 ui/packages/consul-ui/tests/acceptance/dc/services/instances/upstreams.feature rename ui/packages/consul-ui/tests/acceptance/steps/dc/services/instances/{proxyinfo-steps.js => exposed-paths-steps.js} (100%) create mode 100644 ui/packages/consul-ui/tests/acceptance/steps/dc/services/instances/upstreams-steps.js diff --git a/ui/packages/consul-ui/app/components/consul/upstream-instance/list/index.hbs b/ui/packages/consul-ui/app/components/consul/upstream-instance/list/index.hbs index a72bd79c00..0b90b4312c 100644 --- a/ui/packages/consul-ui/app/components/consul/upstream-instance/list/index.hbs +++ b/ui/packages/consul-ui/app/components/consul/upstream-instance/list/index.hbs @@ -1,5 +1,5 @@ -