PromucFlow_constructor/app/client/cypress/fixtures/longCanvasDsl.json
Abhinav Jha 20de52000d
feat: Auto height instant update (#19082)
## Description
This PR adds one of the promised updates to the auto height feature. 
More specifically, we wanted to add was the ability to see the
containers change height as we drag and drop widgets within them instead
of after dropping (when auto height is enabled)
This PR does that.


Co-authored-by: Aishwarya UR <aishwarya@appsmith.com>
2023-02-03 11:17:40 +05:30

148 lines
4.1 KiB
JSON

{
"dsl": {
"widgetName": "MainContainer",
"backgroundColor": "none",
"rightColumn": 1885.0,
"snapColumns": 64.0,
"detachFromLayout": true,
"widgetId": "0",
"topRow": 0.0,
"bottomRow": 1990.0,
"containerStyle": "none",
"snapRows": 172.0,
"parentRowSpace": 1.0,
"type": "CANVAS_WIDGET",
"canExtend": true,
"version": 59.0,
"minHeight": 1970.0,
"parentColumnSpace": 1.0,
"dynamicTriggerPathList": [],
"leftColumn": 0.0,
"dynamicBindingPathList": [],
"children": [
{
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
"widgetName": "Container1",
"borderColor": "transparent",
"isCanvas": true,
"displayName": "Container",
"iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg",
"searchTags": [
"div",
"parent",
"group"
],
"topRow": 24.0,
"bottomRow": 64.0,
"parentRowSpace": 10.0,
"type": "CONTAINER_WIDGET",
"hideCard": false,
"animateLoading": true,
"parentColumnSpace": 19.8125,
"leftColumn": 5.0,
"dynamicBindingPathList": [
{
"key": "borderRadius"
},
{
"key": "boxShadow"
}
],
"children": [
{
"boxShadow": "none",
"widgetName": "Canvas1",
"displayName": "Canvas",
"topRow": 0.0,
"bottomRow": 400.0,
"parentRowSpace": 1.0,
"type": "CANVAS_WIDGET",
"canExtend": false,
"hideCard": true,
"minHeight": 400.0,
"parentColumnSpace": 1.0,
"leftColumn": 0.0,
"dynamicBindingPathList": [
{
"key": "borderRadius"
},
{
"key": "accentColor"
}
],
"children": [],
"key": "6ivnoavo4l",
"isDeprecated": false,
"rightColumn": 475.5,
"detachFromLayout": true,
"widgetId": "02jsxl6p9o",
"accentColor": "{{appsmith.theme.colors.primaryColor}}",
"containerStyle": "none",
"isVisible": true,
"version": 1.0,
"parentId": "cszskwkg80",
"renderMode": "CANVAS",
"isLoading": false,
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
}
],
"borderWidth": "0",
"key": "m6axdyowa6",
"backgroundColor": "#FFFFFF",
"isDeprecated": false,
"rightColumn": 29.0,
"widgetId": "cszskwkg80",
"containerStyle": "card",
"isVisible": true,
"version": 1.0,
"parentId": "0",
"renderMode": "CANVAS",
"isLoading": false,
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
},
{
"boxShadow": "none",
"widgetName": "Button1",
"buttonColor": "{{appsmith.theme.colors.primaryColor}}",
"displayName": "Button",
"iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg",
"searchTags": [
"click",
"submit"
],
"topRow": 227.0,
"bottomRow": 231.0,
"parentRowSpace": 10.0,
"type": "BUTTON_WIDGET",
"hideCard": false,
"animateLoading": true,
"parentColumnSpace": 19.8125,
"leftColumn": 42.0,
"dynamicBindingPathList": [
{
"key": "buttonColor"
},
{
"key": "borderRadius"
}
],
"text": "Submit",
"isDisabled": false,
"key": "3sscyxwnhh",
"isDeprecated": false,
"rightColumn": 58.0,
"isDefaultClickDisabled": true,
"widgetId": "bctu2bwm2i",
"isVisible": true,
"recaptchaType": "V3",
"version": 1.0,
"parentId": "0",
"renderMode": "CANVAS",
"isLoading": false,
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"buttonVariant": "PRIMARY",
"placement": "CENTER"
}
]
}
}