ui: Update not-defined intention popover and banner (#10133)

This commit is contained in:
Kenia 2021-04-28 10:31:14 -04:00 committed by Mike Morris
parent c86c2222cd
commit bc0f175bbe
4 changed files with 7 additions and 3 deletions

3
.changelog/10133.txt Normal file
View File

@ -0,0 +1,3 @@
```release-note:improvement
ui: Updating the wording for the banner and the popover for a service with an upstream that is not explicitly defined.
```

View File

@ -93,6 +93,7 @@
{{else if (and item.Intention.Allowed (not item.TransparentProxy) (eq item.Source 'specific-intention'))}} {{else if (and item.Intention.Allowed (not item.TransparentProxy) (eq item.Source 'specific-intention'))}}
<TopologyMetrics::Popover <TopologyMetrics::Popover
@type='not-defined' @type='not-defined'
@service={{@service}}
@position={{find-by 'id' (concat this.guid item.Namespace item.Name) this.iconPositions}} @position={{find-by 'id' (concat this.guid item.Namespace item.Name) this.iconPositions}}
@item={{item}} @item={{item}}
@oncreate={{action @oncreate item @service}} @oncreate={{action @oncreate item @service}}

View File

@ -59,7 +59,7 @@
</:header> </:header>
<:body> <:body>
<p> <p>
{{t "components.consul.topology-metrics.popover.not-defined.body"}} {{t "components.consul.topology-metrics.popover.not-defined.body" downstream=@item.Name upstream=@service.Name }}
</p> </p>
</:body> </:body>
<:actions as |Actions|> <:actions as |Actions|>

View File

@ -126,7 +126,7 @@ topology-metrics:
URL: dc.services.show.intentions URL: dc.services.show.intentions
not-defined-intention: not-defined-intention:
header: Connections are not explicitly defined header: Connections are not explicitly defined
body: There appears to be an Intention defining traffic, but the services are unable to communicate until that connection is explicitly defined as a downstream or Transparent Proxy mode is turned on. body: There appears to be an Intention allowing traffic, but the services are unable to communicate until that connection is enabled by defining an explicit upstream or proxies are set to 'transparent' mode.
footer: Read the documentation footer: Read the documentation
wildcard-intention: wildcard-intention:
header: Permissive Intention header: Permissive Intention
@ -149,5 +149,5 @@ topology-metrics:
notExact: Create notExact: Create
not-defined: not-defined:
header: No traffic header: No traffic
body: Add the current service as an explicit upstream or turn on Transparent Proxy mode to initiate traffic. body: Add "{upstream}" as an explicit upstream of "{downstream}" or set the "{downstream}" proxy to "transparent" mode to enable traffic.
action: Documentation action: Documentation