Skip to content

Commit

Permalink
[UX]Swap env filter with percentile (#82246)
Browse files Browse the repository at this point in the history
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
  • Loading branch information
shahzad31 and kibanamachine committed Nov 5, 2020
1 parent 926fe89 commit 7558fe1
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ export function MainFilters() {
serviceNames={data ?? []}
/>
</EuiFlexItem>
<EuiFlexItem grow={false}>
<UserPercentile />
</EuiFlexItem>
<EuiFlexItem grow={false} style={{ maxWidth: 200 }}>
<EnvironmentFilter />
</EuiFlexItem>
<EuiFlexItem grow={false}>
<UserPercentile />
</EuiFlexItem>
</>
);
}
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ function ServiceNameFilter({ loading, serviceNames }: Props) {
prepend={i18n.translate(
'xpack.apm.ux.localFilters.titles.webApplication',
{
defaultMessage: 'Web Application',
defaultMessage: 'Web application',
}
)}
isLoading={loading}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export function EnvironmentFilter() {
return (
<EuiSelect
prepend={i18n.translate('xpack.apm.filter.environment.label', {
defaultMessage: 'environment',
defaultMessage: 'Environment',
})}
options={getOptions(environments)}
value={environment || ENVIRONMENT_ALL.value}
Expand Down
1 change: 0 additions & 1 deletion x-pack/plugins/translations/translations/ja-JP.json
Original file line number Diff line number Diff line change
Expand Up @@ -4914,7 +4914,6 @@
"xpack.apm.fetcher.error.title": "リソースの取得中にエラーが発生しました",
"xpack.apm.fetcher.error.url": "URL",
"xpack.apm.filter.environment.allLabel": "すべて",
"xpack.apm.filter.environment.label": "環境",
"xpack.apm.filter.environment.notDefinedLabel": "未定義",
"xpack.apm.filter.environment.selectEnvironmentLabel": "環境を選択",
"xpack.apm.formatters.hoursTimeUnitLabel": "h",
Expand Down
1 change: 0 additions & 1 deletion x-pack/plugins/translations/translations/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -4916,7 +4916,6 @@
"xpack.apm.fetcher.error.title": "提取资源时出错",
"xpack.apm.fetcher.error.url": "URL",
"xpack.apm.filter.environment.allLabel": "全部",
"xpack.apm.filter.environment.label": "环境",
"xpack.apm.filter.environment.notDefinedLabel": "未定义",
"xpack.apm.filter.environment.selectEnvironmentLabel": "选择环境",
"xpack.apm.formatters.hoursTimeUnitLabel": "h",
Expand Down

0 comments on commit 7558fe1

Please sign in to comment.