Skip to content

Commit

Permalink
fix: updated ui-schema package and disabled form view for form & details
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskari committed Sep 25, 2024
1 parent e048f1b commit 123e9e3
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 9 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"@stoplight/json-ref-resolver": "^3.1.3",
"@types/jsonpath": "^0.2.0",
"@types/pluralize": "^0.0.29",
"@ui-schema/ui-schema": "^0.4.0-beta.1",
"@ui-schema/ui-schema": "^0.4.5",
"@ui5/webcomponents": "^1.24.0",
"@ui5/webcomponents-base": "^1.24.0",
"@ui5/webcomponents-fiori": "^1.24.0",
Expand Down
7 changes: 6 additions & 1 deletion src/components/BusolaExtensions/BusolaExtensionDetails.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,12 @@ export function BusolaExtensionDetails({ name, namespace }) {
<ErrorBoundary>
<SectionEditor
{...props}
onlyYaml={!extensibilitySchemas[key]}
onlyYaml={
// onlyYaml view for form & details due to heavy performance issues
!extensibilitySchemas[key] ||
key === 'form' ||
key === 'details'
}
data={data[key]}
schema={extensibilitySchemas[key]}
resource={data}
Expand Down

0 comments on commit 123e9e3

Please sign in to comment.