PromucFlow_constructor/app/client
Abhinav Jha e62a2d8eb6
fix: error in scroll on load feature (#27214)
## Description
- Fixes #27064 
- issue where the scroll on load feature threw an error when failing to
find the container to scroll into
Fixed by organising the code such that `undefined` values don't have
their properties accessed.
In an edge case, the widget's parent container like widget was not
correctly identified, as a result, accessing the `dynamicHeight`
property of the parent container like widget threw an error.

- Fixes #27209 
- issue where the ButtonWidgetV2's dynamic height feature was
incorrectly configured
    Fixed by removing the dynamic height feature from ButtonWidgetV2.


#### Type of change
- Bug fix (non-breaking change which fixes an issue)
## Testing
- As the issue is an edge case scenario, no reliable mechanism to
replicate this has been identified to automate. @Sripriya93
@kamakshibhat-appsmith
#### How Has This Been Tested?
- [x] Manual
- [ ] JUnit
- [ ] Jest
- [ ] Cypress

#### Test Plan
#### Issues raised during DP testing
## Checklist:
#### Dev activity
- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] 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-09-13 11:59:41 +05:30
..
.husky fix: pre-commit logic (#25324) 2023-07-12 12:37:05 +03:00
.yarn chore:update node version to v18 (#26358) 2023-08-15 18:56:04 +05:30
cypress test: Cypress - Flaky Fix (#27189) 2023-09-12 22:49:30 +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 chore: add unit tests for bgNeutral and bgNeutralHover (#27208) 2023-09-12 17:59:08 +03:00
perf
public fix: googleapi script loading for import apps (#26708) 2023-08-29 20:27:23 +01:00
src fix: error in scroll on load feature (#27214) 2023-09-13 11:59:41 +05:30
test chore: Rename and cleanup of editor components (#26944) 2023-09-12 19:44:02 +05:30
typings
.babelrc
.dockerignore
.editorconfig
.eslintrc.base.json chore: improve eslint rules (#26056) 2023-08-07 15:38:48 +03:00
.eslintrc.js chore: improve eslint rules (#26056) 2023-08-07 15:38:48 +03:00
.gitignore test: Cypress | (DI) Arango added validations + CI Stabilize (#26243) 2023-08-18 10:48:35 +05:30
.lintstagedrc
.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
craco.build.config.js
craco.common.config.js
craco.dev.config.js
cypress_ci_custom.config.ts test: Cypress | CI Stabilize (#27202) 2023-09-12 17:33:51 +05:30
cypress_ci_hosted.config.ts test: Cypress | CI Stabilize (#27202) 2023-09-12 17:33:51 +05:30
cypress_ci-toremove.json test: Cypress | CI Stabilize (Skipped tests fixes) + Cypress upgrade to v13.0.0 (#26583) 2023-08-30 16:24:37 +05:30
cypress_ci.config.ts test: Cypress | CI Stabilize (#27202) 2023-09-12 17:33:51 +05:30
cypress.config.ts test: Downgrade Cypress to v12.17.4 to capture the screenshot & video for reporting (#26802) 2023-08-30 19:25:50 +05:30
download-assets.js
jest.config.js chore: Add button v2 under feature flag (#25106) 2023-07-26 18:10:44 +05:30
package.json chore: use new ds version (#27013) 2023-09-07 10:44:57 +05:30
README.md
README.old.md
start-https.sh chore: Detect other NGINX and offer to kill (#25478) 2023-07-19 16:39:11 +05:30
tailwind.config.js
tsconfig.json fix: bump storybook version and move stories to storybook package (#25821) 2023-07-31 19:15:50 +03:00
tsconfig.path.json
vercel.json
yarn.lock chore: use new ds version (#27013) 2023-09-07 10:44: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