Use "Open dashboard" everywhere (#11406)

Previously we had "Open metrics Dashboard" and "Configure metrics
dashboard" in the topology cards and then we had "Open Dashboard" in the
top nav when the dashboard was configured.

Now we use "Open dashboard" and "Configure dashboard".

This change was made for consistency in wording and casing. In addition,
the dashboard could be used for metrics but also other dashboards so
there's no need to scope it only to metrics. Also the config is:

```hcl
ui_config {
  dashboard_url_templates
}
```

Which does not mention metrics
This commit is contained in:
Luke Kysow 2021-11-03 09:29:50 -07:00 committed by GitHub
parent 508664440d
commit 56fd7e050a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -69,9 +69,9 @@
{{/if}} {{/if}}
<div class="link"> <div class="link">
{{#if @metricsHref}} {{#if @metricsHref}}
<a class="metrics-link" href={{@metricsHref}} target="_blank" rel="noopener noreferrer" data-test-metrics-anchor>Open metrics Dashboard</a> <a class="metrics-link" href={{@metricsHref}} target="_blank" rel="noopener noreferrer" data-test-metrics-anchor>Open dashboard</a>
{{else}} {{else}}
<a class="config-link" href="{{env 'CONSUL_DOCS_URL'}}/connect/observability/ui-visualization" target="_blank" rel="noopener noreferrer">Configure metrics dashboard</a> <a class="config-link" href="{{env 'CONSUL_DOCS_URL'}}/connect/observability/ui-visualization" target="_blank" rel="noopener noreferrer">Configure dashboard</a>
{{/if}} {{/if}}
</div> </div>
</div> </div>

View File

@ -164,7 +164,7 @@ as |items item dc|}}
rel="noopener noreferrer" rel="noopener noreferrer"
data-test-dashboard-anchor data-test-dashboard-anchor
> >
Open Dashboard Open dashboard
</a> </a>
{{/if}} {{/if}}
</DataSource> </DataSource>