PromucFlow_constructor/app/client
Ashok Kumar M ccc8ad32d6 fix: Check for parent widget existence to render drop target (#28275)
In the legacy architecture, List Widget meta first item was rendering in
edit mode allowing DnD, resize, etc while the rest of the items were
rendering in view mode restricting any editing experience.
The first item was being used as a template to decide what the template
was going to be for rest of the items.
However after the overhaul of BaseWidget and CanvasWidget render mode is
always EDIT or VIEW for all widgets so DropTarget had to render a meta
canvas widget which it was not written to handle. so have added checks
to make sure DropTarget does not render and wrap widgets that do not
have a parent.

Ideally this should have been caught in the CI, there are tests already
but the checks were happening to check if List widget was allowed inside
another List widget but the other items that were rendering in view mode
were not being asserted.
I have added tests to check if all nested widgets are properly rendered
and there is no "Oops, something went wrong" error. This should make
sure this issue does not get past CI in the future.

(cherry picked from commit 6355e7a697)
2023-10-24 09:50:34 +05:30
..
.husky fix:lint staged (#27992) 2023-10-12 20:35:54 +03:00
.yarn chore:update node version to v18 (#26358) 2023-08-15 18:56:04 +05:30
cypress fix: Check for parent widget existence to render drop target (#28275) 2023-10-24 09:50:34 +05:30
docker/templates chore: Remove unused NGINX templates (#26426) 2023-08-17 19:54:58 +05:30
generators chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
packages feat: Improve error message for typeError (#27795) 2023-10-22 07:46:31 +01:00
perf
public fix: googleapi script loading for import apps (#26708) 2023-08-29 20:27:23 +01:00
src fix: Check for parent widget existence to render drop target (#28275) 2023-10-24 09:50:34 +05:30
test chore: Update DSL for Anvil (#27966) 2023-10-19 20:50:17 +05:30
typings feat: enable CSS Modules fro WDS (#26162) 2023-09-15 10:17:06 +03:00
.babelrc
.dockerignore
.editorconfig
.eslintrc.base.json chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
.eslintrc.js chore:add eslint rules (#27878) 2023-10-09 16:54:06 +03:00
.gitignore chore: get browser logs from failed cypress tests (#27724) 2023-10-05 14:42:30 +05:30
.lintstagedrc.json fix:lint staged (#27992) 2023-10-12 20:35:54 +03:00
.nvmrc chore:update node version to v18 (#26358) 2023-08-15 18:56:04 +05:30
.prettierignore
.prettierrc
.sentryclirc
.yarnrc.yml chore:update node version to v18 (#26358) 2023-08-15 18:56:04 +05:30
build.sh fix: Revert "fix: Updates tab title from publish to showcase (#27867)" (#27893) 2023-10-09 14:06:45 +05:30
craco.build.config.js
craco.common.config.js chore: remove postcss-conditionals package (#27984) 2023-10-12 14:04:30 +03:00
craco.dev.config.js
cypress_ci_custom.config.ts test: Cypress | Skip MsSQL_Basic_Spec.ts spec in CI (#28074) 2023-10-13 20:35:05 +05:30
cypress_ci_hosted.config.ts test: Map widget automation (#27901) 2023-10-11 13:04:06 +05:30
cypress_ci.config.ts test: Cypress | CI Stabilize (#27622) 2023-09-27 22:54:27 +05:30
cypress.config.ts test: Cypress | CI Stabilize (#27622) 2023-09-27 22:54:27 +05:30
download-assets.js
jest.config.js fix: Restructure WidgetNameCanvas (#28202) 2023-10-20 11:45:16 +05:30
package.json fix: Restructure WidgetNameCanvas (#28202) 2023-10-20 11:45:16 +05:30
README.md
README.old.md
start-https.sh
tailwind.config.js
tsconfig.json
tsconfig.path.json
vercel.json
yarn.lock chore(deps): bump tinymce from 5.10.7 to 5.10.8 in /app/client (#28239) 2023-10-20 15:28:53 +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