refactor: apply review suggestions
Signed-off-by: Camila Belo <camilaibs@gmail.com>
This commit is contained in:
@@ -2,4 +2,4 @@
|
||||
'@backstage/plugin-scaffolder': patch
|
||||
---
|
||||
|
||||
Add a actions filter on the list actions page and drawer.
|
||||
Add an actions filter on the list actions page and drawer.
|
||||
|
||||
@@ -235,6 +235,7 @@ export const scaffolderTranslationRef: TranslationRef<
|
||||
readonly 'actionsPage.content.tableCell.name': 'Name';
|
||||
readonly 'actionsPage.content.tableCell.title': 'Title';
|
||||
readonly 'actionsPage.content.tableCell.description': 'Description';
|
||||
readonly 'actionsPage.content.searchFieldPlaceholder': 'Search for an action';
|
||||
readonly 'actionsPage.content.noRowsDescription': 'No schema defined';
|
||||
readonly 'actionsPage.title': 'Installed actions';
|
||||
readonly 'actionsPage.action.input': 'Input';
|
||||
|
||||
@@ -316,8 +316,8 @@ export const ActionPageContent = () => {
|
||||
renderInput={params => (
|
||||
<TextField
|
||||
{...params}
|
||||
aria-label="Actions"
|
||||
placeholder="Search for an action"
|
||||
aria-label={t('actionsPage.content.searchFieldPlaceholder')}
|
||||
placeholder={t('actionsPage.content.searchFieldPlaceholder')}
|
||||
variant="outlined"
|
||||
InputProps={{
|
||||
...params.InputProps,
|
||||
|
||||
@@ -29,6 +29,7 @@ export const scaffolderTranslationRef = createTranslationRef({
|
||||
description:
|
||||
'There are no actions installed or there was an issue communicating with backend.',
|
||||
},
|
||||
searchFieldPlaceholder: 'Search for an action',
|
||||
tableCell: {
|
||||
name: 'Name',
|
||||
title: 'Title',
|
||||
|
||||
Reference in New Issue
Block a user