Text corrections and unneeded key removal (#3065)

* text corrections for analytics/application dashboard creation
* create dashboard/select metric definition correction
* untitled panel and panel group removed from translation due to error in querying
* handle function revert

Signed-off-by: Ritik Srivastava <ritik@chaosnative.com>
This commit is contained in:
Ritik Srivastava 2021-07-29 11:29:22 +05:30 committed by GitHub
parent 6049151a16
commit ae15a1fe1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 7 deletions

View File

@ -365,12 +365,12 @@ analyticsDashboard:
addApplication: Add application
selectTheMetrics:
header: Select metrics
description: Based on the namespaces and application these are the possible metrics that can be plotted.
description: Based upon the selected dashboard type these are the possible metrics that can be plotted.
errorMessage: No panel groups or panels were found. Re-upload the dashboard.
tuneTheQueries:
header: Tune the queries
description: Edit queries to the data source for fetching relevant metrics.
addMetric: + Add Metric
description: Edit queries in the panels for fetching the relevant metrics.
addPanel: + Add Panel
query: Query
queries: Queries
visualization: Visualization

View File

@ -221,7 +221,7 @@ const EditPanelsWizard: React.FC<EditPanelsWizardProps> = ({
panel_id: '',
panel_group_id: '',
created_at: '',
panel_group_name: 'Untitled Group name',
panel_group_name: 'Untitled Panel Group',
ds_url: dashboardVars.dataSourceURL ?? '',
prom_queries: [
{
@ -240,7 +240,7 @@ const EditPanelsWizard: React.FC<EditPanelsWizardProps> = ({
grids: true,
left_axis: true,
},
panel_name: 'Untitled Metric',
panel_name: 'Untitled Panel',
y_axis_left: '',
y_axis_right: '',
x_axis_down: '',
@ -496,10 +496,9 @@ const EditPanelsWizard: React.FC<EditPanelsWizardProps> = ({
))}
<StyledTab
label={t(
'analyticsDashboard.applicationDashboards.tuneTheQueries.addMetric'
'analyticsDashboard.applicationDashboards.tuneTheQueries.addPanel'
)}
{...a11yProps(dashboardDetails.selectedPanels?.length)}
key="tab-addMetric"
/>
</Tabs>
</AppBar>