Skip to content

feat(apps-schema): support sections and nested boolean groups - #367

Open
Irina Koroleva (ikorolevadev) wants to merge 1 commit into
masterfrom
feat/apps-schema-sections-nested-groups
Open

feat(apps-schema): support sections and nested boolean groups#367
Irina Koroleva (ikorolevadev) wants to merge 1 commit into
masterfrom
feat/apps-schema-sections-nested-groups

Conversation

@ikorolevadev

@ikorolevadev Irina Koroleva (ikorolevadev) commented Jul 29, 2026

Copy link
Copy Markdown

Summary

Added JSON-schema support in the Monaco IML editor for new Forman features:

  • Boolean two-group nesting (imt-forman#1066) — add object-form nested branch { true?, false? }, where each branch is an RPC URL string or an array of nested inputs. Also add the reversedNested boolean invert flag.
  • Collapsible sections (imt-forman#1146) — add sectionCollapsed boolean property.
  • Map-mode input label (imt-forman#1191) — add optional label string to the mappable object.

Jira

Ticket https://make.atlassian.net/browse/IEN-15994

Related PRs

imt-ipm-server: https://github.com/integromat/imt-ipm-server/pull/397
imt-web-zone: https://github.com/integromat/imt-web-zone/pull/8387

Copilot AI review requested due to automatic review settings July 29, 2026 12:11
@ikorolevadev
Irina Koroleva (ikorolevadev) requested a review from a team as a code owner July 29, 2026 12:11
@github-actions

github-actions Bot commented Jul 29, 2026

Copy link
Copy Markdown
Messages
Your PR title & description are valid

Generated 29. 7. 2026 14:12:39 GMT+2 for 8c51471

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the IMLJSON parameters.json JSON Schema used by the Monaco editor to recognize new Forman parameter features (nested boolean branches, collapsible sections, and map-mode labeling), improving validation/completions for app developers.

Changes:

  • Extend nested to support boolean two-branch objects ({ true?, false? }) with each branch being an RPC URL string or nested parameters.
  • Add new parameter type value section and the sectionCollapsed boolean property.
  • Extend mappable object form to allow help and/or label, and add reversedNested for boolean nested inversion.
Comments suppressed due to low confidence (1)

syntaxes/imljson/schemas/parameters.json:99

  • The description for the false branch suggests it only contains parameters, but the schema also allows an RPC URL string. Updating the description to reflect the allowed types will make hover/help text accurate in the editor.
							"description": "Parameters shown when the boolean is unchecked.",

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread syntaxes/imljson/schemas/parameters.json
Comment thread syntaxes/imljson/schemas/parameters.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants