Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add 'isToolMode' prop for enhanced tool mode support #4483

Merged
merged 3 commits into from
Nov 10, 2024

Conversation

ogabrielluiz
Copy link
Contributor

This pull request introduces the 'isToolMode' prop across various components to enable tool mode functionality. The icon logic in the text area component has been updated to utilize the new prop, and several components have been adjusted to conditionally render based on the 'isToolMode' state. Additionally, the getIconName function has been modified to support optional parameters and handle tool mode scenarios. This enhancement aims to improve the user experience when interacting with tool mode features.

- Introduced 'isToolMode' prop across various components to enable tool mode functionality.
- Updated icon logic in textAreaComponent to use 'getIconName' with 'isToolMode'.
- Passed 'isToolMode' prop through parameterRenderComponent and related components.
- Adjusted inputGlobalComponent and NodeInputField to handle 'isToolMode' for conditional rendering.
@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. enhancement New feature or request javascript Pull requests that update Javascript code labels Nov 8, 2024
@github-actions github-actions bot added enhancement New feature or request and removed enhancement New feature or request labels Nov 8, 2024
Copy link
Contributor

@anovazzi1 anovazzi1 left a comment

Choose a reason for hiding this comment

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

lgtm

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Nov 10, 2024
@anovazzi1 anovazzi1 merged commit 6ace831 into main Nov 10, 2024
19 checks passed
@anovazzi1 anovazzi1 deleted the input-icon-tool branch November 10, 2024 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request javascript Pull requests that update Javascript code lgtm This PR has been approved by a maintainer size:M This PR changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants