PromucFlow_constructor/app/client/src/components/propertyControls
Ilia a0814e1438
feat: add initial assistant message (#36798)
## Description

![image](https://github.com/user-attachments/assets/bb8cf448-6bfe-485a-9e19-d222ae3d8411)



Fixes #36776  

> [!WARNING]  
> _If no issue exists, please create an issue first, and check with the
maintainers if the issue is valid._

## Automation

/ok-to-test tags="@tag.Sanity"

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/11275055683>
> Commit: a8f155422725c5310b7ac37d49a57995ee20f732
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=11275055683&attempt=2"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Sanity`
> Spec:
> <hr>Thu, 10 Oct 2024 14:29:09 UTC
<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [ ] No


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

## Summary by CodeRabbit

- **New Features**
- Introduced `AssistantSuggestionButton` for enhanced user interaction
in the AI chat.
- Added support for displaying and applying assistant suggestions in
chat threads.
	- Implemented an editable array component for managing string pairs.
- Enhanced configuration options with new properties for initial
assistant messages and suggestions.

- **Improvements**
	- Improved state management for dynamic messages in the AI chat widget.
- Updated rendering logic for conditional display of suggestions in chat
messages.
- Added new props to facilitate better interaction and suggestion
handling in chat components.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-10-10 16:29:26 +02:00
..
__snapshots__ feat: add property hideNoneIcon to IconSelectControl (#27281) 2023-09-18 18:37:03 +05:30
ActionSelectorControl.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
ArrayComponent.tsx feat: add initial assistant message (#36798) 2024-10-10 16:29:26 +02:00
ArrayControl.tsx feat: add initial assistant message (#36798) 2024-10-10 16:29:26 +02:00
BaseControl.tsx chore: add isVisible in default values in wds widgets (#35624) 2024-08-13 14:57:50 +03:00
BorderRadiusOptionsControl.tsx chore: rename ADS package (#35583) 2024-08-09 17:20:29 +03:00
BoxShadowOptionsControl.tsx chore: rename ADS package (#35583) 2024-08-09 17:20:29 +03:00
ButtonBorderRadiusControl.tsx chore: rename ADS package (#35583) 2024-08-09 17:20:29 +03:00
ButtonControl.tsx chore: rename ADS package (#35583) 2024-08-09 17:20:29 +03:00
ButtonListControl.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
ButtonTabControl.test.tsx feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
ButtonTabControl.tsx chore: rename ADS package (#35583) 2024-08-09 17:20:29 +03:00
ChartDataControl.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
CodeEditorControl.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
ColorPickerComponentV2.test.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
ColorPickerComponentV2.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
ColorPickerControl.test.tsx
ColorPickerControl.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
ColumnActionSelectorControl.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
ComputeTablePropertyControl.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
CustomWidgetAddEventButtonControl.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
CustomWidgetEditSourceButtonControl.tsx chore: rename ADS package (#35583) 2024-08-09 17:20:29 +03:00
DatePickerControl.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
DraggableListCard.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
DraggableListComponent.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
DropDownControl.test.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
DropDownControl.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
FieldConfigurationControl.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
HTMLDocumentBuilderControl.tsx chore: rename ADS package (#35583) 2024-08-09 17:20:29 +03:00
IconSelectControl.test.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
IconSelectControl.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
IconSelectControlV2.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
IconTabControl.test.tsx
IconTabControl.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
index.ts feat: add initial assistant message (#36798) 2024-10-10 16:29:26 +02:00
InputTextControl.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
JSONFormComputeControl.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
KeyValueComponent.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
LabelAlignmentOptionsControl.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
ListComputeControl.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
LocationSearchControl.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
MenuButtonDynamicItemsControl.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
MenuItemsControl.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
MultiSwitchControl.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
NumericInputControl.test.ts
NumericInputControl.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
OneClickBindingControl.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
OpenConfigPanelControl.tsx chore: rename ADS package (#35583) 2024-08-09 17:20:29 +03:00
OptionControl.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
PrimaryColumnColorPickerControl.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
PrimaryColumnColorPickerControlV2.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
PrimaryColumnDropdownControl.tsx chore: rename ADS package (#35583) 2024-08-09 17:20:29 +03:00
PrimaryColumnsControl.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
PrimaryColumnsControlV2.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
PrimaryColumnsControlWDS.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
SectionSplitterControl.tsx feat: Space redistribution UX upgrade and implicit space distribution (#30242) 2024-01-24 07:56:23 +05:30
SelectDefaultValueControl.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
StepControl.test.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
StepControl.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
StyledControls.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
SwitchControl.test.tsx
SwitchControl.tsx chore: rename ADS package (#35583) 2024-08-09 17:20:29 +03:00
TabControl.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
TableComputeValue.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
TableInlineEditValidationControl.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
TableInlineEditValidPropertyControl.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
ToolbarButtonListControl.tsx fix: change appsmith alias (#35349) 2024-08-06 17:52:22 +03:00
utils.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
WrappedCodeEditorControl.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
ZoneStepperControl.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00