Skip to content

Conversation

@Deaponn
Copy link
Collaborator

@Deaponn Deaponn commented Dec 2, 2025

This PR introduces calculating the Restrictions for arrays held in configuration objects.
The new data is calculated on the backend and displayed on the frontend.

I have JIRA issue created

  • branch and/or PR name(s) includes JIRA ID
  • issue "Status" is set to "In review"
  • PR labels are selected

improve documentation

fix code which caused tests to fail
fix: css sizing of main content panel was too short and some of the content was rendered below the page
@Deaponn Deaponn marked this pull request as ready for review December 7, 2025 22:05
@Deaponn Deaponn requested a review from graduta as a code owner December 7, 2025 22:05
itemsRestrictions,
}: ArrayWidgetProps): ReactElement => {
const [viewForm, setViewForm] = useState<boolean>(true);
const [arrayRestrictions] = itemsRestrictions; // [arrayRestrictions, objectBlueprint, arrayBlueprint]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we use itemsRestrictions prop only to destruct it and get its first item, can we just pass this itemsRestrictions[0] to component directly?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants