PromucFlow_constructor/app/client/src/widgets
Ashok Kumar M 7b527c9024
chore: Merge wds and anvil feature flags (#32609)
[![workerB](https://img.shields.io/endpoint?url=https%3A%2F%2Fworkerb.linearb.io%2Fv2%2Fbadge%2Fprivate%2FU2FsdGVkX1LNwrMHgs05enX0VDk8QxZH7uP7Ii4HE%2Fcollaboration.svg%3FcacheSeconds%3D60)](https://workerb.linearb.io/v2/badge/collaboration-page?magicLinkId=M7zehz4)
## Description

Cleaning up three patterns of checks to enable wds and anvil into two.
wds and anvil had to have different flags coz anvil had to play catch up
with wds, now that's not the case so it does not make sense to have two
flags.

Old patterns
- checking if the wds feature flag is enabled
- checking if the anvil feature flag is enabled
- checking if the layout system of the app is anvil

New Pattern
- checking if anvil feature flag is enabled (used only for creating an
anvil app)
- checking if layout system of the app is anvil

Fixes #32590
_or_  
Fixes `Issue URL`
> [!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.All"

### 🔍 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/8663918496>
> Commit: e10cc2a84ed680b29c49c5b2e8175df4c18da2f8
> Cypress dashboard url: <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=8663918496&attempt=1"
target="_blank">Click here!</a>

<!-- end of auto-generated comment: Cypress test results  -->

















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

- **Refactor**
- Consolidated the usage of layout system checks across the application
to use a unified Anvil layout selector, enhancing consistency in
layout-related conditional logic.
- **Bug Fixes**
- Removed outdated feature flags related to the Anvil + WDS integration,
ensuring the application's feature toggling aligns with the current
development strategy.
- **Tests**
- Updated unit tests to align with the new method of layout system
determination, ensuring test environments accurately reflect production
behavior.
- **Chores**
- Cleaned up redundant code and feature flags that are no longer in use,
simplifying the codebase and reducing potential for errors.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-04-12 22:54:04 +05:30
..
anvil chore: RMVF based changes for DnD, Modals, and Space distribution. (#31980) 2024-04-05 11:16:07 +05:30
AudioRecorderWidget feat: enhanced widget card (#32211) 2024-04-09 02:16:46 +01:00
AudioWidget feat: enhanced widget card (#32211) 2024-04-09 02:16:46 +01:00
BaseInputWidget feat: RTL support for input, select and multi-select widget (#28522) 2023-11-03 16:18:13 +05:30
BaseWidgetHOC chore: custom widget (#28926) 2023-12-28 12:16:28 +05:30
ButtonGroupWidget feat: enhanced widget card (#32211) 2024-04-09 02:16:46 +01:00
ButtonWidget feat: enhanced widget card (#32211) 2024-04-09 02:16:46 +01:00
CameraWidget feat: enhanced widget card (#32211) 2024-04-09 02:16:46 +01:00
CategorySliderWidget feat: enhanced widget card (#32211) 2024-04-09 02:16:46 +01:00
ChartWidget feat: enhanced widget card (#32211) 2024-04-09 02:16:46 +01:00
CheckboxGroupWidget feat: enhanced widget card (#32211) 2024-04-09 02:16:46 +01:00
CheckboxWidget feat: enhanced widget card (#32211) 2024-04-09 02:16:46 +01:00
CircularProgressWidget chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
CodeScannerWidget feat: enhanced widget card (#32211) 2024-04-09 02:16:46 +01:00
components feat: RTL support for input, select and multi-select widget (#28522) 2023-11-03 16:18:13 +05:30
ContainerWidget feat: enhanced widget card (#32211) 2024-04-09 02:16:46 +01:00
CurrencyInputWidget feat: enhanced widget card (#32211) 2024-04-09 02:16:46 +01:00
CustomWidget feat: enhanced widget card (#32211) 2024-04-09 02:16:46 +01:00
DatePickerWidget chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
DatePickerWidget2 feat: enhanced widget card (#32211) 2024-04-09 02:16:46 +01:00
DividerWidget feat: enhanced widget card (#32211) 2024-04-09 02:16:46 +01:00
DocumentViewerWidget feat: enhanced widget card (#32211) 2024-04-09 02:16:46 +01:00
DropdownWidget chore: Remove position props from widgets (#26781) 2023-09-13 19:27:42 +05:30
ExternalWidget chore: custom widget (#28926) 2023-12-28 12:16:28 +05:30
FilepickerWidget chore:add eslint rules (#27878) 2023-10-09 16:54:06 +03:00
FilePickerWidgetV2 feat: enhanced widget card (#32211) 2024-04-09 02:16:46 +01:00
FormButtonWidget chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
FormWidget feat: enhanced widget card (#32211) 2024-04-09 02:16:46 +01:00
IconButtonWidget feat: enhanced widget card (#32211) 2024-04-09 02:16:46 +01:00
IconWidget chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
IframeWidget feat: enhanced widget card (#32211) 2024-04-09 02:16:46 +01:00
ImageWidget feat: enhanced widget card (#32211) 2024-04-09 02:16:46 +01:00
InputWidget chore: update eslint and dependencies then fix revealed errors (#27908) 2023-10-11 10:14:38 +03:00
InputWidgetV2 feat: enhanced widget card (#32211) 2024-04-09 02:16:46 +01:00
JSONFormWidget feat: enhanced widget card (#32211) 2024-04-09 02:16:46 +01:00
ListWidget chore: add configuration for large and small widgets (#28671) 2023-11-14 10:55:48 +05:30
ListWidgetV2 feat: enhanced widget card (#32211) 2024-04-09 02:16:46 +01:00
MapChartWidget feat: enhanced widget card (#32211) 2024-04-09 02:16:46 +01:00
MapWidget feat: enhanced widget card (#32211) 2024-04-09 02:16:46 +01:00
MenuButtonWidget feat: enhanced widget card (#32211) 2024-04-09 02:16:46 +01:00
ModalWidget feat: enhanced widget card (#32211) 2024-04-09 02:16:46 +01:00
MultiSelectTreeWidget feat: enhanced widget card (#32211) 2024-04-09 02:16:46 +01:00
MultiSelectWidget chore: update eslint and dependencies then fix revealed errors (#27908) 2023-10-11 10:14:38 +03:00
MultiSelectWidgetV2 feat: enhanced widget card (#32211) 2024-04-09 02:16:46 +01:00
NumberSliderWidget feat: enhanced widget card (#32211) 2024-04-09 02:16:46 +01:00
PhoneInputWidget feat: enhanced widget card (#32211) 2024-04-09 02:16:46 +01:00
ProgressBarWidget chore: Create layout system structure for Anvil and AnvilFlexComponent. (#27178) 2023-10-02 15:41:05 -04:00
ProgressWidget feat: enhanced widget card (#32211) 2024-04-09 02:16:46 +01:00
QRGeneratorWidget chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
RadioGroupWidget feat: enhanced widget card (#32211) 2024-04-09 02:16:46 +01:00
RangeSliderWidget feat: enhanced widget card (#32211) 2024-04-09 02:16:46 +01:00
RateWidget feat: enhanced widget card (#32211) 2024-04-09 02:16:46 +01:00
RichTextEditorWidget feat: enhanced widget card (#32211) 2024-04-09 02:16:46 +01:00
SelectWidget feat: enhanced widget card (#32211) 2024-04-09 02:16:46 +01:00
SingleSelectTreeWidget feat: enhanced widget card (#32211) 2024-04-09 02:16:46 +01:00
StatboxWidget feat: enhanced widget card (#32211) 2024-04-09 02:16:46 +01:00
SwitchGroupWidget feat: enhanced widget card (#32211) 2024-04-09 02:16:46 +01:00
SwitchWidget feat: enhanced widget card (#32211) 2024-04-09 02:16:46 +01:00
TableWidget chore: Performance fix generateDataTreeWidgetWithoutMeta (#31193) 2024-02-26 09:45:35 +05:30
TableWidgetV2 feat: enhanced widget card (#32211) 2024-04-09 02:16:46 +01:00
TabsMigrator feat: dsl migration with server (#28518) 2023-11-30 18:03:33 +05:30
TabsWidget feat: enhanced widget card (#32211) 2024-04-09 02:16:46 +01:00
TextWidget feat: enhanced widget card (#32211) 2024-04-09 02:16:46 +01:00
VideoWidget feat: enhanced widget card (#32211) 2024-04-09 02:16:46 +01:00
wds fix:button icon settings (#32493) 2024-04-08 16:12:16 +03:00
BaseComponent.tsx
BaseWidget.tsx chore: Add new icons and thumbnails to WDS widgets (#31085) 2024-02-16 15:48:32 +03:00
CanvasWidget.tsx chore: Layout system wise restructuring of Canvas Widget (#27496) 2023-10-04 17:23:29 +05:30
ConnectDataOverlay.tsx chore: Anvil Canvas and Widget intearction separation (#32025) 2024-04-01 15:00:24 +05:30
index.ts chore: create inline buttons widget (#31318) 2024-03-04 10:28:11 +03:00
MetaHOC.tsx chore: Import debugger fixes (#31080) 2024-02-14 12:00:18 +05:30
MetaWidgetContextProvider.tsx
Skeleton.tsx
SkeletonWidget.tsx feat: add layouts and widgets for sections and zones. (#29713) 2023-12-26 09:16:58 -05:00
useDropdown.tsx chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
utils.test.ts feat: code scanner widget default camera (#26083) 2023-08-10 12:18:51 +05:30
utils.ts feat: code scanner widget default camera (#26083) 2023-08-10 12:18:51 +05:30
WidgetUtils.test.ts fix: auto label position (#28022) 2023-10-13 12:08:01 +03:00
WidgetUtils.ts fix: calculateHoverColor typo (#28329) 2023-10-30 15:56:14 +05:30
withLazyRender.tsx chore: Remove lazy canvas rendering feature flag - LAZY_CANVAS_RENDERING (#22354) 2023-05-10 17:36:30 +05:30
withWidgetProps.tsx chore: Merge wds and anvil feature flags (#32609) 2024-04-12 22:54:04 +05:30