PromucFlow_constructor/app/client
Abhinav Jha 74fcf269af
fix: widget borders does not reflect widget height (#23694)
## Description

#### Reported issue
If a widget - not a container like widget - has a minimum height of 4
rows, and the auto height is enabled for the widget, the widget borders
signify a much smaller height. Example - checkbox widget.

#### Results of RCA
This was happening because, we set `height: auto` for all widgets, when
it should have been done only for container like widgets. The
`height:auto` in the resizable library, allowed the library to show the
widget borders completely hugging the contents of the widget, when it
should have been restricted to a minimum of 4 rows (40px). This is
because, in the platform, the minimum height any widget can have is 4
rows (40px) in Fixed mode (not auto layout mode)


#### Solution:
We exclude widgets which do not have `isCanvas` property set to `true`
from setting the `autoHeight` flag. This allows the library to set the
provided height instead of hugging contents.

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

#### Type of change
- Bug fix (non-breaking change which fixes an issue)
## Testing
#### How Has This Been Tested?
- [x] Manual
- [x] Cypress
2023-06-28 14:11:45 +05:30
..
.husky
.yarn chore: move local dependency to packages (#23395) 2023-05-22 15:55:46 +03:00
cypress fix: widget borders does not reflect widget height (#23694) 2023-06-28 14:11:45 +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 chromatic workflow (#24749) 2023-06-27 10:05:41 +03:00
perf
public perf: prioritize the main bundle over preloads (v2) (#24374) 2023-06-22 10:58:10 +05:30
src fix: widget borders does not reflect widget height (#23694) 2023-06-28 14:11:45 +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 fix(eslint): fix direct remixicon imports in packages/design-system/* (#24010) 2023-06-09 12:44:58 +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
.nvmrc
.prettierignore
.prettierrc
.sentryclirc
.yarnrc.yml chore: move local dependency to packages (#23395) 2023-05-22 15:55:46 +03:00
build.sh chore: separation of client build steps (#24506) 2023-06-16 09:03:56 +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 (#24719) 2023-06-22 01:03:36 +05:30
cypress.config.ts test: Cypress | Flaky fixes (#24719) 2023-06-22 01:03:36 +05:30
Dockerfile
download-assets.js
jest.config.js feat: Table one click binding for MongoDB and Postgres (#23629) 2023-06-01 22:56:05 +05:30
package.json feat: Shared Package for DSL based operations (#23894) 2023-06-26 12:25:55 +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 chore: add chromatic workflow (#24749) 2023-06-27 10:05:41 +03:00

Appsmith Client

This project was bootstrapped with Create React App.

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