PromucFlow_constructor/app/client/src/components/propertyControls
balajisoundar 5d44d4f2cf
chore: misc updates to custom widget (#30114)
#### PR fixes following issue(s)
Fixes https://github.com/appsmithorg/appsmith/issues/29991
Fixes https://github.com/appsmithorg/appsmith/issues/30154
Fixes https://github.com/appsmithorg/appsmith/issues/30020
Fixes https://github.com/appsmithorg/appsmith/issues/30019
Fixes https://github.com/appsmithorg/appsmith/issues/30130
Fixes https://github.com/appsmithorg/appsmith/issues/30159
Fixes https://github.com/appsmithorg/appsmith/issues/30223

#### Media
> A video or a GIF is preferred. when using Loom, don’t embed because it
looks like it’s a GIF. instead, just link to the video
>
>
#### Type of change
> Please delete options that are not relevant.
- Bug fix (non-breaking change which fixes an issue)
- New feature (non-breaking change which adds functionality)
- Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- Chore (housekeeping or task changes that don't impact user perception)
- This change requires a documentation update
>
>
>
## Testing
>
#### How Has This Been Tested?
> Please describe the tests that you ran to verify your changes. Also
list any relevant details for your test configuration.
> Delete anything that is not relevant
- [ ] Manual
- [ ] JUnit
- [ ] Jest
- [ ] Cypress
>
>
#### Test Plan
> Add Testsmith test cases links that relate to this PR
>
>
#### Issues raised during DP testing
> Link issues raised during DP testing for better visiblity and tracking
(copy link from comments dropped on this PR)
>
>
>
## Checklist:
#### Dev activity
- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] PR is being merged under a feature flag


#### QA activity:
- [ ] [Speedbreak
features](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans#speedbreakers-)
have been covered
- [ ] Test plan covers all impacted features and [areas of
interest](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans#areas-of-interest-)
- [ ] Test plan has been peer reviewed by project stakeholders and other
QA members
- [ ] Manually tested functionality on DP
- [ ] We had an implementation alignment call with stakeholders post QA
Round 2
- [ ] Cypress test cases have been added and approved by SDET/manual QA
- [ ] Added `Test Plan Approved` label after Cypress tests were reviewed
- [ ] Added `Test Plan Approved` label after JUnit tests were reviewed


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

## Summary by CodeRabbit

- **New Features**
- Custom widgets now support analytics events, enhancing visibility into
user interactions.
- Template selection, layout controls, and reference triggers in the
Custom Widget Builder are now integrated with analytics.
- Added new style options for custom widgets, including `primaryColor`,
`backgroundColor`, `borderRadius`, and `boxShadow`.

- **Bug Fixes**
  - Corrected a typo in the constant title for better clarity.
- Updated help text for the Container Widget to accurately describe the
widget's border edge.

- **Enhancements**
- Improved user interface with additional styling for reference names in
the Custom Widget Builder.
- Enhanced debugger functionality with `useCallback` optimization and
new analytics logging.

- **Refactor**
- Streamlined the property pane by introducing a new `LabelContainer`
styled component.
- Refined the handling of dynamic binding paths to ignore certain
properties efficiently.

- **Documentation**
- Added a new constant for the default model documentation URL in the
Custom Widget Builder.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-01-16 10:52:17 +05:30
..
__snapshots__ feat: add property hideNoneIcon to IconSelectControl (#27281) 2023-09-18 18:37:03 +05:30
ActionSelectorControl.tsx fix: type error on ee (#29807) 2023-12-22 13:46:58 +05:30
BaseControl.tsx chore: Custom widget (alpha) (#27571) 2023-11-14 10:03:37 +05:30
BorderRadiusOptionsControl.tsx feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
BoxShadowOptionsControl.tsx fix: updated Box shadow UI (#23795) 2023-06-08 06:53:28 +05:30
ButtonBorderRadiusControl.tsx chore: Move the widget config to widget class (#26073) 2023-09-06 17:45:04 +05:30
ButtonControl.tsx chore: Custom widget (alpha) (#27571) 2023-11-14 10:03:37 +05:30
ButtonListControl.tsx feat: WDS button group widget integration (#28205) 2023-10-30 17:32:13 +05:30
ButtonTabControl.test.tsx feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
ButtonTabControl.tsx feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
ChartDataControl.tsx chore: sunset assistive binding (#29119) 2023-11-28 14:25:46 +05:30
CodeEditorControl.tsx chore: sunset assistive binding (#29119) 2023-11-28 14:25:46 +05:30
ColorPickerComponentV2.test.tsx chore: add color validation + native color picker (#25355) 2023-08-07 11:55:10 +03:00
ColorPickerComponentV2.tsx fix: save checked full color picker between renders (#27028) 2023-09-08 12:05:46 +03:00
ColorPickerControl.test.tsx chore: Adds canDisplayValue to property controls (#13309) 2022-06-03 10:37:02 +05:30
ColorPickerControl.tsx chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
ColumnActionSelectorControl.tsx fix: Passsing dataTreePath to CodeEditor for AI events (#26601) 2023-09-01 17:43:24 +05:30
ComputeTablePropertyControl.tsx chore: sunset assistive binding (#29119) 2023-11-28 14:25:46 +05:30
CustomWidgetAddEventButtonControl.tsx chore: misc updates to custom widget (#30114) 2024-01-16 10:52:17 +05:30
CustomWidgetEditSourceButtonControl.tsx chore: misc updates to custom widget (#30114) 2024-01-16 10:52:17 +05:30
DatePickerControl.tsx perf: reduce the bundle size, vol. 2 (#24969) 2023-07-17 00:19:41 +05:30
DraggableListCard.tsx chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
DraggableListComponent.tsx chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
DropDownControl.test.tsx chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
DropDownControl.tsx chore: update eslint and dependencies then fix revealed errors (#27908) 2023-10-11 10:14:38 +03:00
FieldConfigurationControl.tsx chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
HTMLDocumentBuilderControl.tsx chore: Custom widget (alpha) (#27571) 2023-11-14 10:03:37 +05:30
IconSelectControl.test.tsx feat: add property hideNoneIcon to IconSelectControl (#27281) 2023-09-18 18:37:03 +05:30
IconSelectControl.tsx feat: add property hideNoneIcon to IconSelectControl (#27281) 2023-09-18 18:37:03 +05:30
IconTabControl.test.tsx chore: Adds canDisplayValue to property controls (#13309) 2022-06-03 10:37:02 +05:30
IconTabControl.tsx fix: Issue with the Segmented control in property pane (#18533) 2023-06-07 16:33:22 +05:30
index.ts chore: custom widget (#28926) 2023-12-28 12:16:28 +05:30
InputTextControl.tsx chore: sunset assistive binding (#29119) 2023-11-28 14:25:46 +05:30
JSONFormComputeControl.tsx chore: sunset assistive binding (#29119) 2023-11-28 14:25:46 +05:30
KeyValueComponent.tsx chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
LabelAlignmentOptionsControl.tsx feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
ListComputeControl.tsx feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
LocationSearchControl.tsx feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
MenuButtonDynamicItemsControl.tsx chore: sunset assistive binding (#29119) 2023-11-28 14:25:46 +05:30
MenuItemsControl.tsx chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
MultiSwitchControl.tsx chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
NumericInputControl.test.ts fix: JS toggle issue with Numeric Input & multi select dropdown controls (#14892) 2022-07-07 05:37:50 +00:00
NumericInputControl.tsx fix: Map widget zoom control suffix (#25031) 2023-07-07 18:28:47 +05:30
OneClickBindingControl.tsx feat: JSON form widget one click binding integration (#25873) 2023-10-03 13:40:51 +05:30
OpenConfigPanelControl.tsx feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
OptionControl.tsx feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
PrimaryColumnColorPickerControl.tsx chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
PrimaryColumnColorPickerControlV2.tsx chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
PrimaryColumnDropdownControl.tsx feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
PrimaryColumnsControl.tsx chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
PrimaryColumnsControlV2.tsx chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
SelectDefaultValueControl.tsx chore: sunset assistive binding (#29119) 2023-11-28 14:25:46 +05:30
StepControl.test.tsx feat: upgrade to create react app 5 (#14000) 2022-06-21 19:27:34 +05:30
StepControl.tsx fix: Map widget zoom control suffix (#25031) 2023-07-07 18:28:47 +05:30
StyledControls.tsx chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
SwitchControl.test.tsx chore: Adds canDisplayValue to property controls (#13309) 2022-06-03 10:37:02 +05:30
SwitchControl.tsx feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
TabControl.tsx chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
TableComputeValue.tsx chore: sunset assistive binding (#29119) 2023-11-28 14:25:46 +05:30
TableInlineEditValidationControl.tsx chore: sunset assistive binding (#29119) 2023-11-28 14:25:46 +05:30
TableInlineEditValidPropertyControl.tsx feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
utils.ts feat: select and multiselect label value (#24964) 2023-07-25 10:26:33 +05:30
WrappedCodeEditorControl.tsx chore: sunset assistive binding (#29119) 2023-11-28 14:25:46 +05:30
ZoneStepperControl.tsx feat: add layouts and widgets for sections and zones. (#29713) 2023-12-26 09:16:58 -05:00