Refactor JSON schema rendering components
Signed-off-by: benjdlambert <ben@blam.sh>
This commit is contained in:
committed by
benjdlambert
parent
76681a58f2
commit
cf2f0c9b3a
@@ -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',
|
||||
+ },
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user