Skip to content

Commit

Permalink
[MD] Address UX comments
Browse files Browse the repository at this point in the history
- Update data source column header in index pattern table
- Update index pattern column name to Title
- Remove data source search field error check given it is not required

Signed-off-by: Kristen Tian <tyarong@amazon.com>
  • Loading branch information
kristenTian committed Oct 19, 2022
1 parent e3e7605 commit 69142bd
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export class DataSourceColumn implements IndexPatternTableColumn<DataSourceMap>
public euiColumn = {
field: 'referenceId',
name: i18n.translate('dataSource.management.dataSourceColumn', {
defaultMessage: 'Data Source',
defaultMessage: 'Data source connection',
}),
render: (referenceId: string, index: IndexPatternTableRecord) => {
if (!referenceId) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,6 @@ export const Header: React.FC<HeaderProps> = (props: HeaderProps) => {
defaultMessage: 'Search data sources',
}
),
isInvalid: !!dataSources,
}}
singleSelection={'always'}
options={dataSources}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ export const IndexPatternTable = ({ canSave, history }: Props) => {
const columns = [
{
field: 'title',
name: 'Pattern',
name: 'Title',
render: (
name: string,
index: {
Expand Down

0 comments on commit 69142bd

Please sign in to comment.