PromucFlow_constructor/app/client/src/widgets/CustomWidget/icon.svg

11 lines
1.5 KiB
XML
Raw Normal View History

chore: custom widget (#28926) ## Description This PR's adds the custom widget. #### PR fixes following issue(s) Fixes #28607 Fixes #28610 Fixes #28615 Fixes #28608 Fixes #28612 > if no issue exists, please create an issue and ask the maintainers about this first > > #### 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 - New feature (non-breaking change which adds functionality) > > > ## 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 - [x] Jest - [x] 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 - [x] My code follows the style guidelines of this project - [x] I have performed a self-review of my own code - [x] I have commented my code, particularly in hard-to-understand areas - [ ] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [x] I have added tests that prove my fix is effective or that my feature works - [x] New and existing unit tests pass locally with my changes - [x] 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** - Introduced search functionality with a wildcard option for unmatched widget searches. - Added new routes for custom widget editing. - Implemented additional editor modes for HTML and CSS. - Created new code templates and help components for custom widget builders. - Enhanced property controls with new button controls for custom widget editing. - Updated theming interfaces and constants for better theming support. - Added the CustomWidget component for embedding custom widgets in iframes. - Expanded widgets library to include the CustomWidget. - **Enhancements** - Improved `CodeEditor` with additional modes, props, and resize behavior. - Enhanced `PropertyPaneControlConfig` interface with dynamic dependencies and additional properties. - Refined custom widget scripts with communication channel and event handling. - **Bug Fixes** - Fixed visibility logic for the `ExternalWidget` card. - **Documentation** - Added new messages and documentation links for custom widget features. - **Tests** - Implemented new Cypress tests for custom widget default components and property pane interactions. - Updated workspace commands in Cypress tests. - **Refactor** - Streamlined `PropertyControl` state management and editing functions. - Refactored code editor hint helper logic. - **Style** - Added `borderLess` prop to style components without borders. - **Chores** - Updated constants and messages related to custom widget features. - Adjusted webpack configuration to ignore specific module warnings. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
2023-12-28 06:46:28 +00:00
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_194_6713)">
<path d="M7.04996 14.1209L4.92996 16.2429L7.75796 19.0709L19.071 7.75695L16.243 4.92995L14.12 7.04995L15.535 8.46395L14.12 9.87995L12.706 8.46495L11.292 9.87995L12.706 11.2939L11.292 12.7079L9.87796 11.2939L8.46296 12.7079L9.87796 14.1219L8.46296 15.5369L7.04996 14.1199V14.1209ZM16.95 2.80795L21.192 7.04995C21.3794 7.23747 21.4847 7.49178 21.4847 7.75695C21.4847 8.02211 21.3794 8.27642 21.192 8.46395L8.46396 21.1919C8.27643 21.3794 8.02212 21.4847 7.75696 21.4847C7.49179 21.4847 7.23749 21.3794 7.04996 21.1919L2.80796 16.9499C2.62049 16.7624 2.51517 16.5081 2.51517 16.2429C2.51517 15.9778 2.62049 15.7235 2.80796 15.5359L15.536 2.80795C15.7235 2.62048 15.9778 2.51516 16.243 2.51516C16.5081 2.51516 16.7624 2.62048 16.95 2.80795ZM14.12 18.3629L15.535 16.9489L17.777 19.1919H19.191V17.7779L16.949 15.5349L18.363 14.1209L21 16.7569V20.9999H16.758L14.121 18.3629H14.12ZM5.63596 9.87795L2.80696 7.04995C2.71398 6.95707 2.64022 6.84679 2.5899 6.72539C2.53957 6.60399 2.51367 6.47386 2.51367 6.34245C2.51367 6.21103 2.53957 6.0809 2.5899 5.95951C2.64022 5.83811 2.71398 5.72782 2.80696 5.63495L5.63596 2.80695C5.82349 2.61948 6.07779 2.51416 6.34296 2.51416C6.60812 2.51416 6.86243 2.61948 7.04996 2.80695L9.87996 5.63495L8.46396 7.04995L6.34296 4.92795L4.92896 6.34295L7.04996 8.46295L5.63596 9.87795Z" fill="#4C5664"/>
</g>
<defs>
<clipPath id="clip0_194_6713">
<rect width="24" height="24" fill="white"/>
</clipPath>
</defs>
</svg>