TL;DR 503 error fixed when navigating to homepage while the editor is loading. - `RESET_EDITOR_REQUEST` is an action that removes `currentApplication` from the `applicationsReducer`. - When starting the editor, appEngine saga has an action `completeChore` which reads the `currentApplication` object. - Now, when we go back to homepage (while the editor is still initializing) - `RESET_EDITOR_REQUEST` is dispatched (so `currentApplication` is cleared) - the appEngine still runs in the background and tries to read `currentApplication` throwing an error. Now we make sure appEngine is cancelled whenever `RESET_EDITOR_REQUEST` is triggered. A follow up task to investigate how errors are thrown in app editor saga: #21972 Fixes #21915 ## Media Before: https://www.loom.com/share/eae1eeeec04f4b35a9d3be6ea8177b0a After: https://www.loom.com/share/09c328f81d8344569c0ff0b7a3d97713 |
||
|---|---|---|
| .. | ||
| .husky | ||
| cypress | ||
| docker | ||
| generators | ||
| packages | ||
| patches | ||
| perf | ||
| public | ||
| src | ||
| test | ||
| typings | ||
| .babelrc | ||
| .dockerignore | ||
| .editorconfig | ||
| .eslintrc.json | ||
| .gitignore | ||
| .lintstagedrc | ||
| .nvmrc | ||
| .prettierignore | ||
| .prettierrc | ||
| .sentryclirc | ||
| build.sh | ||
| craco.build.config.js | ||
| craco.common.config.js | ||
| craco.dev.config.js | ||
| cypress_ci.json | ||
| cypress.json | ||
| Dockerfile | ||
| download-assets.js | ||
| jest.config.js | ||
| package.json | ||
| README.md | ||
| README.old.md | ||
| start-https.sh | ||
| tailwind.config.js | ||
| tsconfig.json | ||
| tsconfig.path.json | ||
| vercel.json | ||
| yarn.lock | ||
Appsmith Client
This project was bootstrapped with Create React App.
For details on setting up your development machine, please refer to the Setup Guide