PromucFlow_constructor/app/client/src/widgets
Vemparala Surya Vamsi 4bf6671cc4
chore: Added profiling for widget components performance (#34912)
## Description
Capturing telemetry of widget renders and only enabling the profiled
build for community users. This should cause a minor performance
overhead and in case performance degrades too much we can disable the
widget profiled telemetry by disabling the new relic flag(set this to
false `APPSMITH_NEW_RELIC_ACCOUNT_ENABLE`).

Fixes #35184  

> [!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/10111247316>
> Commit: 38310d7341e7a2acb30491e478edaedbbc16a739
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=10111247316&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Sanity`
> Spec:
> <hr>Fri, 26 Jul 2024 12:55:43 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 `WidgetProfiler` component to track rendering performance
metrics.
  - Added a new function for enhanced telemetry span management.
  
- **Improvements**
- Updated build script to allow for profiled builds based on environment
variables, improving performance analysis.
- Implemented GZIP compression for OTLP trace data transmission,
optimizing bandwidth usage.

- **Refactor**
- Removed `Sentry.withProfiler` for widget profiling, simplifying
performance monitoring.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-07-26 21:12:31 +05:30
..
anvil chore: add tests for anvil modal. (#34347) 2024-06-24 16:28:34 +05:30
AudioRecorderWidget feat: update explorer widget icons (#34018) 2024-06-12 10:44:22 +01:00
AudioWidget feat: update explorer widget icons (#34018) 2024-06-12 10:44:22 +01:00
BaseInputWidget feat: RTL support for input, select and multi-select widget (#28522) 2023-11-03 16:18:13 +05:30
BaseWidgetHOC chore: Added profiling for widget components performance (#34912) 2024-07-26 21:12:31 +05:30
ButtonGroupWidget fix: Sync EE items into CE (#34373) 2024-06-24 09:36:38 +00:00
ButtonWidget feat: update explorer widget icons (#34018) 2024-06-12 10:44:22 +01:00
CameraWidget feat: update explorer widget icons (#34018) 2024-06-12 10:44:22 +01:00
CategorySliderWidget feat: update explorer widget icons (#34018) 2024-06-12 10:44:22 +01:00
ChartWidget feat: update explorer widget icons (#34018) 2024-06-12 10:44:22 +01:00
CheckboxGroupWidget fix: Wrong evaluated value after binding checkbox group widget with… (#33906) 2024-07-17 10:54:03 +05:30
CheckboxWidget fix: checkbox column misalignment on table widget (#34222) 2024-06-20 11:50:37 +05:30
CircularProgressWidget chore: Move widget deprecation messages from propertyPaneView to individual Widget configurations (#33759) 2024-06-04 11:55:55 +05:30
CodeScannerWidget feat: update explorer widget icons (#34018) 2024-06-12 10:44:22 +01:00
components feat: RTL support for input, select and multi-select widget (#28522) 2023-11-03 16:18:13 +05:30
ContainerWidget fix: revert "fix: canvas resizing issues" (#35129) 2024-07-24 12:10:09 +03:00
CurrencyInputWidget feat: update explorer widget icons (#34018) 2024-06-12 10:44:22 +01:00
CustomWidget fix: Disable custom widgets for airgapped environments (#34540) 2024-06-27 13:47:32 +05:30
DatePickerWidget chore: Move widget deprecation messages from propertyPaneView to individual Widget configurations (#33759) 2024-06-04 11:55:55 +05:30
DatePickerWidget2 feat: update explorer widget icons (#34018) 2024-06-12 10:44:22 +01:00
DividerWidget feat: update explorer widget icons (#34018) 2024-06-12 10:44:22 +01:00
DocumentViewerWidget feat: update explorer widget icons (#34018) 2024-06-12 10:44:22 +01:00
DropdownWidget chore: Move widget deprecation messages from propertyPaneView to individual Widget configurations (#33759) 2024-06-04 11:55:55 +05:30
ExternalWidget chore: custom widget (#28926) 2023-12-28 12:16:28 +05:30
FilepickerWidget chore: Move widget deprecation messages from propertyPaneView to individual Widget configurations (#33759) 2024-06-04 11:55:55 +05:30
FilePickerWidgetV2 feat: update explorer widget icons (#34018) 2024-06-12 10:44:22 +01:00
FormButtonWidget chore: Move widget deprecation messages from propertyPaneView to individual Widget configurations (#33759) 2024-06-04 11:55:55 +05:30
FormWidget feat: update explorer widget icons (#34018) 2024-06-12 10:44:22 +01:00
IconButtonWidget feat: update explorer widget icons (#34018) 2024-06-12 10:44:22 +01:00
IconWidget chore: Move widget deprecation messages from propertyPaneView to individual Widget configurations (#33759) 2024-06-04 11:55:55 +05:30
IframeWidget feat: update explorer widget icons (#34018) 2024-06-12 10:44:22 +01:00
ImageWidget feat: update explorer widget icons (#34018) 2024-06-12 10:44:22 +01:00
InputWidget chore: Move widget deprecation messages from propertyPaneView to individual Widget configurations (#33759) 2024-06-04 11:55:55 +05:30
InputWidgetV2 feat: update explorer widget icons (#34018) 2024-06-12 10:44:22 +01:00
JSONFormWidget fix: expose isVisible field in JSONFom widget autocomplete (#34869) 2024-07-17 10:54:23 +05:30
ListWidget chore: Move widget deprecation messages from propertyPaneView to individual Widget configurations (#33759) 2024-06-04 11:55:55 +05:30
ListWidgetV2 chore: Show only a limited set of widgets in the beginning (#34644) 2024-07-04 10:19:41 +05:30
MapChartWidget feat: update explorer widget icons (#34018) 2024-06-12 10:44:22 +01:00
MapWidget feat: update explorer widget icons (#34018) 2024-06-12 10:44:22 +01:00
MenuButtonWidget feat: update explorer widget icons (#34018) 2024-06-12 10:44:22 +01:00
ModalWidget fix: modal rename update references (#34855) 2024-07-12 22:22:02 +05:30
MultiSelectTreeWidget feat: update explorer widget icons (#34018) 2024-06-12 10:44:22 +01:00
MultiSelectWidget chore: Move widget deprecation messages from propertyPaneView to individual Widget configurations (#33759) 2024-06-04 11:55:55 +05:30
MultiSelectWidgetV2 feat: update explorer widget icons (#34018) 2024-06-12 10:44:22 +01:00
NumberSliderWidget feat: update explorer widget icons (#34018) 2024-06-12 10:44:22 +01:00
PhoneInputWidget feat: update explorer widget icons (#34018) 2024-06-12 10:44:22 +01:00
ProgressBarWidget chore: Move widget deprecation messages from propertyPaneView to individual Widget configurations (#33759) 2024-06-04 11:55:55 +05:30
ProgressWidget feat: update explorer widget icons (#34018) 2024-06-12 10:44:22 +01:00
QRGeneratorWidget chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
RadioGroupWidget feat: update explorer widget icons (#34018) 2024-06-12 10:44:22 +01:00
RangeSliderWidget feat: update explorer widget icons (#34018) 2024-06-12 10:44:22 +01:00
RateWidget feat: update explorer widget icons (#34018) 2024-06-12 10:44:22 +01:00
RichTextEditorWidget feat: update explorer widget icons (#34018) 2024-06-12 10:44:22 +01:00
SelectWidget feat: Refactor SelectWidget sourceData handling (#34619) 2024-07-03 13:31:35 +05:30
SingleSelectTreeWidget feat: update explorer widget icons (#34018) 2024-06-12 10:44:22 +01:00
StatboxWidget feat: update explorer widget icons (#34018) 2024-06-12 10:44:22 +01:00
SwitchGroupWidget feat: update explorer widget icons (#34018) 2024-06-12 10:44:22 +01:00
SwitchWidget feat: update explorer widget icons (#34018) 2024-06-12 10:44:22 +01:00
TableWidget fix: tooltip of the ellipsis content for response table changed to left position (#32800) 2024-04-22 15:50:16 +05:30
TableWidgetV2 feat: display label in table select cell (#35124) 2024-07-25 12:39:24 +01:00
TabsMigrator feat: dsl migration with server (#28518) 2023-11-30 18:03:33 +05:30
TabsWidget feat: update explorer widget icons (#34018) 2024-06-12 10:44:22 +01:00
TextWidget feat: update explorer widget icons (#34018) 2024-06-12 10:44:22 +01:00
VideoWidget feat: update explorer widget icons (#34018) 2024-06-12 10:44:22 +01:00
wds fix: add break-word rule for text widgets (#35046) 2024-07-22 22:50:02 +03:00
BaseComponent.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
BaseWidget.tsx fix: Select Widget when showing One click binding options (#33211) 2024-05-07 20:42:00 +05:30
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: stat widget polish (#33696) 2024-05-27 16:54:03 +00:00
MetaHOC.tsx chore: Import debugger fixes (#31080) 2024-02-14 12:00:18 +05:30
MetaWidgetContextProvider.tsx feat: Add widget responsiveness and conversion algorithm (#21386) 2023-04-07 09:51:35 -04:00
Skeleton.tsx perf: Widget re-rendering refactor (#14485) 2022-08-19 15:40:36 +05:30
SkeletonWidget.tsx feat: implement dropping building blocks on canvas (#31857) 2024-04-16 09:41:09 +01: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: Added profiling for widget components performance (#34912) 2024-07-26 21:12:31 +05:30