Set catalog table search field placeholder to "Filter"
Full reasoning is in the changeset but in short this is to avoid confusion with the search plugin. Signed-off-by: Iain Billett <iain@roadie.io>
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
---
|
||||
'@backstage/plugin-catalog': patch
|
||||
---
|
||||
|
||||
Set the search field placeholder on the catalog table to "Filter" to differentiate it from the search feature
|
||||
|
||||
We had feedback that users expected the catalog table search field to have more sophisticated behaviour
|
||||
than simple filtering. This change better sets expectations by setting the placeholder to "Filter" to
|
||||
differentiate it from components which are part of the search plugin.
|
||||
@@ -163,6 +163,7 @@ export const CatalogTable = ({ columns, actions }: CatalogTableProps) => {
|
||||
title={`${titlePreamble} (${entities.length})`}
|
||||
data={rows}
|
||||
actions={actions || defaultActions}
|
||||
localization={{ toolbar: { searchPlaceholder: 'Filter' } }}
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user