From cf2f0c9b3a31cf3e511aca458017f0a406f585d5 Mon Sep 17 00:00:00 2001 From: Ben Lambert Date: Thu, 27 Mar 2025 08:21:55 +0100 Subject: [PATCH] Refactor JSON schema rendering components Signed-off-by: benjdlambert --- .changeset/slimy-houses-chew.md | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/.changeset/slimy-houses-chew.md b/.changeset/slimy-houses-chew.md index 61be75be84..964f1a0cb5 100644 --- a/.changeset/slimy-houses-chew.md +++ b/.changeset/slimy-houses-chew.md @@ -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', ++ }, +```