Refactor JSON schema rendering components

Signed-off-by: benjdlambert <ben@blam.sh>
This commit is contained in:
Ben Lambert
2025-03-27 08:21:55 +01:00
committed by benjdlambert
parent 76681a58f2
commit cf2f0c9b3a
+22 -1
View File
@@ -2,4 +2,25 @@
'@backstage/plugin-scaffolder': minor
---
factor JSON schema rendering and scaffolder usage examples out of ActionsPage
**BREAKING ALPHA**: Extract out schema rendering components into their own Component. This means that the translation keys have changed for `actionsPage.content.tableCell.*`. They have moved to their own root key `renderSchema.*` instead.
```diff
...
- tableCell: {
- name: 'Name',
- title: 'Title',
- description: 'Description',
- type: 'Type',
- },
- noRowsDescription: 'No schema defined',
...
+ renderSchema: {
+ tableCell: {
+ name: 'Name',
+ title: 'Title',
+ description: 'Description',
+ type: 'Type',
+ },
+ undefined: 'No schema defined',
+ },
```