Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR introduces a new MultiJsonInput component that allows users to add and manage multiple JSON inputs dynamically, designed for workflow input arguments. The component provides add/remove functionality with intelligent button states based on input content.
Key changes:
- Creates a reusable multi-input component with dynamic add/remove capabilities
- Implements smart button state management (add disabled when fields empty, delete disabled for single empty input)
- Provides comprehensive error handling for both global and per-input validation
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| src/components/multi-json-input/multi-json-input.types.tsx | Defines TypeScript interface for component props including value array and error handling |
| src/components/multi-json-input/multi-json-input.tsx | Main component implementation with input management logic and UI rendering |
| src/components/multi-json-input/multi-json-input.styles.ts | Styletron-based CSS styling for component layout and visual design |
| src/components/multi-json-input/tests/multi-json-input.test.tsx | Comprehensive test suite covering component behavior and user interactions |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
adhityamamallan
requested changes
Sep 8, 2025
adhityamamallan
approved these changes
Sep 12, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Create an input that allows adding multiple JSON, required for adding workflow input arguments.
Requirements
Screenshots



