PromucFlow_constructor/app/client
arunvjn 02c9e25f6e
fix: Log uncaught errors to debugger (#25030)
## Description
All errors from synchronous user code are handled by evaluation engine.
But if a user action schedules a timer and the callback code contains an
error, this error is never caught causing sentry to log it. This PR adds
a global "error" event listener on the worker that handles all such
uncaught errors, by logging it to console and in-app debugger.

#### PR fixes following issue(s)
Fixes #24039

#### Type of change
- Bug fix (non-breaking change which fixes an issue)
>
>
## Testing
>
#### How Has This Been Tested?
- [x] Manual
- [x] Cypress
- [ ] Jest
>
>
#### 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
- [ ] 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
2023-07-04 10:01:55 +05:30
..
.husky chore: improve husky and lint-staged checks (#21679) 2023-03-23 17:02:18 +05:30
.yarn chore: move local dependency to packages (#23395) 2023-05-22 15:55:46 +03:00
cypress fix: Log uncaught errors to debugger (#25030) 2023-07-04 10:01:55 +05:30
docker chore: Remove login and signup related env variables from client (#22891) 2023-05-16 14:34:48 +05:30
generators chore: Add missing autocomplete definition declarations (#23726) 2023-06-02 16:22:27 +05:30
packages chore: Add RadioGroup component (#24909) 2023-06-29 18:07:09 +03:00
perf ci: run fat container docker inside perf tests and update setup-perf-test workflow to use localhost for accessing dev environment (#20280) 2023-02-07 15:56:41 +05:30
public perf: prioritize the main bundle over preloads (v2) (#24374) 2023-06-22 10:58:10 +05:30
src fix: Log uncaught errors to debugger (#25030) 2023-07-04 10:01:55 +05:30
test fix: Added support for bracket notation autocomplete (#24493) 2023-06-28 12:46:35 +05:30
typings fix: display name validation (client) (#22938) 2023-05-04 18:29:57 +05:30
.babelrc feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
.dockerignore
.editorconfig
.eslintrc.base.json chore: disable cra eslint (#24953) 2023-06-30 12:45:07 +03:00
.eslintrc.js fix(eslint): fix direct remixicon imports in packages/design-system/* (#24010) 2023-06-09 12:44:58 +03:00
.gitignore chore: move local dependency to packages (#23395) 2023-05-22 15:55:46 +03:00
.lintstagedrc chore: improve husky and lint-staged checks (#21679) 2023-03-23 17:02:18 +05:30
.nvmrc
.prettierignore ci: Add lint check to the build step (#21442) 2023-03-20 22:50:44 +05:30
.prettierrc 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
.sentryclirc
.yarnrc.yml chore: move local dependency to packages (#23395) 2023-05-22 15:55:46 +03:00
build.sh chore: disable cra eslint (#24953) 2023-06-30 12:45:07 +03:00
craco.build.config.js perf: prioritize the main bundle over preloads (v2) (#24374) 2023-06-22 10:58:10 +05:30
craco.common.config.js perf: merge all icons into three major chunks (#24382) 2023-06-16 11:38:08 +05:30
craco.dev.config.js chore : disable react overlay for warnings/error in dev mode (#23620) 2023-05-23 14:54:41 +05:30
cypress_ci-toremove.json feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
cypress_ci.config.ts test: Cypress | Flaky fixes (#24925) 2023-07-01 00:16:57 +05:30
cypress.config.ts test: Cypress | Flaky fixes (#24925) 2023-07-01 00:16:57 +05:30
Dockerfile
download-assets.js feat: util to serve images locally or via remote url (#22080) 2023-04-10 12:32:31 +05:30
jest.config.js feat: Table one click binding for MongoDB and Postgres (#23629) 2023-06-01 22:56:05 +05:30
package.json test: Cypress | Flaky fixes (#24925) 2023-07-01 00:16:57 +05:30
README.md
README.old.md
start-https.sh chore: Fail when backend has a trailing slash (#23437) 2023-05-17 13:56:23 +05:30
tailwind.config.js feat: in-app ramps for private embed feature (#24507) 2023-06-21 13:39:14 +05:30
tsconfig.json chore: move local dependency to packages (#23395) 2023-05-22 15:55:46 +03:00
tsconfig.path.json
vercel.json
yarn.lock test: Cypress | Flaky fixes (#24925) 2023-07-01 00:16:57 +05:30

Appsmith Client

This project was bootstrapped with Create React App.

For details on setting up your development machine, please refer to the Setup Guide