PromucFlow_constructor/app/client
Valera Melnikov 10a98f9563
fix: use wds tokens in sections and zones (#30479)
## Description
- Added tokens to the anvil config
- Removed redundant functions for calculating widget sizes
- I cleaned the widget configs
- Added a zero-state to the input component
- Optimised the responsiveness of the action group component


https://github.com/appsmithorg/appsmith/assets/11555074/e9e0513a-cf3f-42ef-b960-820bb4980858

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

#### Type of change
> Please delete options that are not relevant.
- Bug fix (non-breaking change which fixes an issue)
- New feature (non-breaking change which adds functionality)
- Chore (housekeeping or task changes that don't impact user perception)

## Testing
>
#### How Has This Been Tested?
> Please describe the tests that you ran to verify your changes. Also
list any relevant details for your test configuration.
> Delete anything that is not relevant
- [ ] Manual
- [ ] JUnit
- [ ] Jest
- [ ] Cypress
>
>
#### 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
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [ ] 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


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Enhanced `MenuItem` display with additional text attribute for better
accessibility.
- Improved user interaction with `TextArea` and `TextInput` components
through more effective handling of default and read-only states.
- Extended `Flex` component to include click event handling
capabilities.
- Refined `ActionGroup` styling and dynamic sizing for a more polished
UI experience.

- **Enhancements**
- Updated `Button` styling to ensure consistency across different screen
sizes.
- Optimized layout and styling of `Menu` items for improved visual
hierarchy and responsiveness.

- **Refactor**
- Simplified `WidgetProvider` and `AnvilEditorWidget` configurations for
more streamlined layout management.
- Refined `ZoneColumn` rendering for better alignment with layout system
principles.

- **Bug Fixes**
- Fixed minimum width calculation in `useZoneMinWidth` hook to ensure
correct layout behavior.
- Corrected `AnvilDSLTransformer` padding value for consistent widget
spacing.

- **Documentation**
- Removed redundant Storybook addon to streamline developer experience.

- **Style**
- Adjusted CSS for various components to align with updated design
system standards.

- **Tests**
- Updated widget property pane configuration tests for better coverage
and reliability.

- **Chores**
- Cleaned up unused imports and methods across multiple widget
components for improved code maintenance.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-01-24 11:02:42 +03:00
..
.husky
.yarn
cypress test: Cypress - remove width tests (#30577) 2024-01-24 13:05:49 +05:30
docker/templates chore: Remove unused services (#30292) 2024-01-23 05:43:16 +05:30
generators chore: custom widget (#28926) 2023-12-28 12:16:28 +05:30
packages fix: use wds tokens in sections and zones (#30479) 2024-01-24 11:02:42 +03:00
perf
public chore: Remove unused services (#30292) 2024-01-23 05:43:16 +05:30
src fix: use wds tokens in sections and zones (#30479) 2024-01-24 11:02:42 +03:00
test chore: Remove unused services (#30292) 2024-01-23 05:43:16 +05:30
typings
.babelrc
.dockerignore
.editorconfig
.eslintrc.base.json
.eslintrc.js
.gitignore
.lintstagedrc.json chore: Switch to gitleaks from git-secrets (#29103) 2023-11-28 06:32:20 +05:30
.nvmrc
.prettierignore
.prettierrc
.sentryclirc
.yarnrc.yml
build.sh
craco.build.config.js
craco.common.config.js chore: fix TypeError during dev (#30317) 2024-01-16 11:59:37 +05:30
craco.dev.config.js
cypress_ci_custom.config.ts test: Cypress - Added cypress grep library (#29259) 2023-12-07 18:23:27 +05:30
cypress_ci_hosted.config.ts test: Cypress - Added cypress grep library (#29259) 2023-12-07 18:23:27 +05:30
cypress_ci.config.ts test: Cypress - Added cypress grep library (#29259) 2023-12-07 18:23:27 +05:30
cypress-add-tags.js test: Cypress - Added cypress grep library (#29259) 2023-12-07 18:23:27 +05:30
cypress.config.ts test: Cypress - Added cypress grep library (#29259) 2023-12-07 18:23:27 +05:30
download-assets.js
jest.config.js chore: Remove unused services (#30292) 2024-01-23 05:43:16 +05:30
package.json fix: Admin setting radio button issue (#30419) 2024-01-18 15:34:07 +05:30
README.md
README.old.md
start-https.sh chore: Remove unused services (#30292) 2024-01-23 05:43:16 +05:30
tailwind.config.js
tsconfig.json
tsconfig.path.json
vercel.json
yarn.lock fix: use wds tokens in sections and zones (#30479) 2024-01-24 11:02:42 +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