PromucFlow_constructor/app/client/src/widgets
Ashok Kumar M cdf2bc6cef
fix: Anvil widget borders (#29940)
> Pull Request Template
>
> Use this template to quickly create a well written pull request.
Delete all quotes before creating the pull request.
>
## Description
 - fixed border design to match existing designs in fixed and auto.
 - Added crispness to canvas renders
 - fixed cropping of zone borders.
 - fixed issues with space distribution coz of overflow css

Bug: Zone highlights cropped
<img width="854" alt="Screenshot 2023-12-29 at 1 59 20 PM"
src="https://github.com/appsmithorg/appsmith/assets/35134347/8523870e-a370-44e3-877b-1d0f402617b4">

Fixed: 
<img width="896" alt="Screenshot 2023-12-29 at 1 57 09 PM"
src="https://github.com/appsmithorg/appsmith/assets/35134347/d575d6c1-13bb-414e-97c2-ed2642c0d03e">

Bug: Zone borders cropped
<img width="409" alt="Screenshot 2023-12-29 at 2 00 27 PM"
src="https://github.com/appsmithorg/appsmith/assets/35134347/9881ef3f-d482-461c-af0e-6e6af2f6ed86">

Fixed: 
<img width="434" alt="Screenshot 2023-12-29 at 2 00 44 PM"
src="https://github.com/appsmithorg/appsmith/assets/35134347/9b7db171-4746-4349-8194-1ba4cdf67306">

Bug: Borders in Dark mode
<img width="443" alt="Screenshot 2023-12-29 at 2 01 58 PM"
src="https://github.com/appsmithorg/appsmith/assets/35134347/3a5e4578-0279-408b-9f6b-a59021ad94cb">

Fixed: 
<img width="437" alt="Screenshot 2023-12-29 at 2 01 38 PM"
src="https://github.com/appsmithorg/appsmith/assets/35134347/d885e7f8-43ea-415d-b1a7-f49a0637d388">

Bug: Space distribution min width animation not happening


https://github.com/appsmithorg/appsmith/assets/35134347/2c8ea694-5f5f-4d15-a5a1-6ef3d35e795c

Fixed: 


https://github.com/appsmithorg/appsmith/assets/35134347/1192a2a8-f7d1-42a0-90ca-1ea58072e287

Box shadow looks consistent:
Before:
<img width="784" alt="Screenshot 2023-12-29 at 2 08 25 PM"
src="https://github.com/appsmithorg/appsmith/assets/35134347/30e7fc46-a541-422c-ba8a-58603c9d43cb">
After:
<img width="838" alt="Screenshot 2023-12-29 at 2 09 32 PM"
src="https://github.com/appsmithorg/appsmith/assets/35134347/93a98ae0-315a-4564-8f6b-7c3b0d42b5b5">

#### PR fixes following issue(s)
Fixes # (issue number)
> if no issue exists, please create an issue and ask the maintainers
about this first
>
>
#### Media
> A video or a GIF is preferred. when using Loom, don’t embed because it
looks like it’s a GIF. instead, just link to the video
>
>
#### 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)
- Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- Chore (housekeeping or task changes that don't impact user perception)
- This change requires a documentation update
>
>
>
## 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
- [ ] 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


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

- **New Features**
	- Introduced a new constant to manage widget outline offset.

- **Enhancements**
- Improved visibility and styling of internal components with updated
overflow handling.
- Enhanced widget border styling by using shadow effects for better
visual clarity.
- Ensured consistent class naming in layout components with fail-safe
defaults.

- **Bug Fixes**
- Fixed canvas rendering issues by refining pixel ratio calculations and
adjustments.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-01-03 10:32:13 +05:30
..
anvil fix: Anvil widget borders (#29940) 2024-01-03 10:32:13 +05:30
AudioRecorderWidget chore: add configuration for large and small widgets (#28671) 2023-11-14 10:55:48 +05:30
AudioWidget chore: add configuration for large and small widgets (#28671) 2023-11-14 10:55:48 +05:30
BaseInputWidget feat: RTL support for input, select and multi-select widget (#28522) 2023-11-03 16:18:13 +05:30
BaseWidgetHOC chore: custom widget (#28926) 2023-12-28 12:16:28 +05:30
ButtonGroupWidget chore: add configuration for large and small widgets (#28671) 2023-11-14 10:55:48 +05:30
ButtonWidget chore: add configuration for large and small widgets (#28671) 2023-11-14 10:55:48 +05:30
CameraWidget chore: add configuration for large and small widgets (#28671) 2023-11-14 10:55:48 +05:30
CategorySliderWidget chore: add configuration for large and small widgets (#28671) 2023-11-14 10:55:48 +05:30
ChartWidget fix: fix overlay echarts iframe (#29225) 2023-12-01 11:24:17 +05:30
CheckboxGroupWidget chore: add configuration for large and small widgets (#28671) 2023-11-14 10:55:48 +05:30
CheckboxWidget chore: add configuration for large and small widgets (#28671) 2023-11-14 10:55:48 +05:30
CircularProgressWidget chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
CodeScannerWidget chore: add configuration for large and small widgets (#28671) 2023-11-14 10:55:48 +05:30
components feat: RTL support for input, select and multi-select widget (#28522) 2023-11-03 16:18:13 +05:30
ContainerWidget chore: add configuration for large and small widgets (#28671) 2023-11-14 10:55:48 +05:30
CurrencyInputWidget chore: add configuration for large and small widgets (#28671) 2023-11-14 10:55:48 +05:30
CustomWidget chore: custom widget (#28926) 2023-12-28 12:16:28 +05:30
DatePickerWidget chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
DatePickerWidget2 chore: add configuration for large and small widgets (#28671) 2023-11-14 10:55:48 +05:30
DividerWidget chore: add configuration for large and small widgets (#28671) 2023-11-14 10:55:48 +05:30
DocumentViewerWidget chore: add configuration for large and small widgets (#28671) 2023-11-14 10:55:48 +05:30
DropdownWidget chore: Remove position props from widgets (#26781) 2023-09-13 19:27:42 +05:30
ExternalWidget chore: custom widget (#28926) 2023-12-28 12:16:28 +05:30
FilepickerWidget chore:add eslint rules (#27878) 2023-10-09 16:54:06 +03:00
FilePickerWidgetV2 chore: add configuration for large and small widgets (#28671) 2023-11-14 10:55:48 +05:30
FormButtonWidget chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
FormWidget chore: add configuration for large and small widgets (#28671) 2023-11-14 10:55:48 +05:30
IconButtonWidget chore: add configuration for large and small widgets (#28671) 2023-11-14 10:55:48 +05:30
IconWidget chore: BaseWidget Restructuring (#26562) 2023-09-11 21:25:11 +05:30
IframeWidget chore: add configuration for large and small widgets (#28671) 2023-11-14 10:55:48 +05:30
ImageWidget chore: add configuration for large and small widgets (#28671) 2023-11-14 10:55:48 +05:30
InputWidget chore: update eslint and dependencies then fix revealed errors (#27908) 2023-10-11 10:14:38 +03:00
InputWidgetV2 chore: add configuration for large and small widgets (#28671) 2023-11-14 10:55:48 +05:30
JSONFormWidget chore: add configuration for large and small widgets (#28671) 2023-11-14 10:55:48 +05:30
ListWidget chore: add configuration for large and small widgets (#28671) 2023-11-14 10:55:48 +05:30
ListWidgetV2 chore: add configuration for large and small widgets (#28671) 2023-11-14 10:55:48 +05:30
MapChartWidget chore: add configuration for large and small widgets (#28671) 2023-11-14 10:55:48 +05:30
MapWidget feat: [Feature]-[116] Map Widget - Add MapTypeControl (Satellite/Roadmap) (#28344) 2023-11-27 12:29:14 +05:30
MenuButtonWidget chore: add configuration for large and small widgets (#28671) 2023-11-14 10:55:48 +05:30
ModalWidget chore: add highlight calculation logic for layouts. (#27980) 2023-10-19 16:27:40 -04:00
MultiSelectTreeWidget chore: add configuration for large and small widgets (#28671) 2023-11-14 10:55:48 +05:30
MultiSelectWidget chore: update eslint and dependencies then fix revealed errors (#27908) 2023-10-11 10:14:38 +03:00
MultiSelectWidgetV2 chore: add configuration for large and small widgets (#28671) 2023-11-14 10:55:48 +05:30
NumberSliderWidget chore: add configuration for large and small widgets (#28671) 2023-11-14 10:55:48 +05:30
PhoneInputWidget chore: add configuration for large and small widgets (#28671) 2023-11-14 10:55:48 +05:30
ProgressBarWidget chore: Create layout system structure for Anvil and AnvilFlexComponent. (#27178) 2023-10-02 15:41:05 -04:00
ProgressWidget chore: add configuration for large and small widgets (#28671) 2023-11-14 10:55:48 +05:30
QRGeneratorWidget chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
RadioGroupWidget chore: add configuration for large and small widgets (#28671) 2023-11-14 10:55:48 +05:30
RangeSliderWidget chore: add configuration for large and small widgets (#28671) 2023-11-14 10:55:48 +05:30
RateWidget chore: add configuration for large and small widgets (#28671) 2023-11-14 10:55:48 +05:30
RichTextEditorWidget chore: add configuration for large and small widgets (#28671) 2023-11-14 10:55:48 +05:30
SelectWidget chore: add configuration for large and small widgets (#28671) 2023-11-14 10:55:48 +05:30
SingleSelectTreeWidget chore: add configuration for large and small widgets (#28671) 2023-11-14 10:55:48 +05:30
StatboxWidget chore: add configuration for large and small widgets (#28671) 2023-11-14 10:55:48 +05:30
SwitchGroupWidget chore: add configuration for large and small widgets (#28671) 2023-11-14 10:55:48 +05:30
SwitchWidget chore: add configuration for large and small widgets (#28671) 2023-11-14 10:55:48 +05:30
TableWidget chore: add configuration for large and small widgets (#28671) 2023-11-14 10:55:48 +05:30
TableWidgetV2 feat: [Table Widget] Allow moment date formats in input and display d… (#28784) 2023-11-20 09:01:03 +05:30
TabsMigrator feat: dsl migration with server (#28518) 2023-11-30 18:03:33 +05:30
TabsWidget chore: add configuration for large and small widgets (#28671) 2023-11-14 10:55:48 +05:30
TextWidget chore: add configuration for large and small widgets (#28671) 2023-11-14 10:55:48 +05:30
VideoWidget chore: add configuration for large and small widgets (#28671) 2023-11-14 10:55:48 +05:30
wds chore: Integrate Action Group in Button Group Component (#29871) 2023-12-29 15:17:46 +03:00
BaseComponent.tsx chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
BaseWidget.tsx chore: custom widget (#28926) 2023-12-28 12:16:28 +05:30
CanvasWidget.tsx chore: Layout system wise restructuring of Canvas Widget (#27496) 2023-10-04 17:23:29 +05:30
ConnectDataOverlay.tsx chore: skip signposting discovery test (#27892) 2023-10-17 17:32:05 +05:30
index.ts chore: custom widget (#28926) 2023-12-28 12:16:28 +05:30
MetaHOC.tsx chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
MetaWidgetContextProvider.tsx feat: Add widget responsiveness and conversion algorithm (#21386) 2023-04-07 09:51:35 -04:00
Skeleton.tsx perf: Widget re-rendering refactor (#14485) 2022-08-19 15:40:36 +05:30
SkeletonWidget.tsx feat: add layouts and widgets for sections and zones. (#29713) 2023-12-26 09:16:58 -05:00
useDropdown.tsx chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
utils.test.ts feat: code scanner widget default camera (#26083) 2023-08-10 12:18:51 +05:30
utils.ts feat: code scanner widget default camera (#26083) 2023-08-10 12:18:51 +05:30
WidgetUtils.test.ts fix: auto label position (#28022) 2023-10-13 12:08:01 +03:00
WidgetUtils.ts fix: calculateHoverColor typo (#28329) 2023-10-30 15:56:14 +05:30
withLazyRender.tsx chore: Remove lazy canvas rendering feature flag - LAZY_CANVAS_RENDERING (#22354) 2023-05-10 17:36:30 +05:30
withWidgetProps.tsx chore: custom widget (#28926) 2023-12-28 12:16:28 +05:30