refactor: apply review suggestions

Signed-off-by: Camila Belo <camilaibs@gmail.com>
This commit is contained in:
Camila Belo
2024-10-02 09:30:46 +02:00
parent 3ac4766ca7
commit 6178e68034
4 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -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.
+1
View File
@@ -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,
+1
View File
@@ -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',