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 GitHub
parent d191b2c552
commit afa05b0276
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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'))}}
<TopologyMetrics::Popover
@type='not-defined'
@service={{@service}}
@position={{find-by 'id' (concat this.guid item.Namespace item.Name) this.iconPositions}}
@item={{item}}
@oncreate={{action @oncreate item @service}}

View File

@ -59,7 +59,7 @@
</:header>
<:body>
<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>
</:body>
<:actions as |Actions|>

View File

@ -126,7 +126,7 @@ topology-metrics:
URL: dc.services.show.intentions
not-defined-intention:
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
wildcard-intention:
header: Permissive Intention
@ -149,5 +149,5 @@ topology-metrics:
notExact: Create
not-defined:
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