PromucFlow_constructor/app/client/cypress/fixtures/listwidgetdsl.json

276 lines
12 KiB
JSON
Raw Normal View History

2021-05-20 05:45:48 +00:00
{
"dsl": {
"widgetName": "MainContainer",
"backgroundColor": "none",
"rightColumn": 966,
"snapColumns": 16,
"detachFromLayout": true,
"widgetId": "0",
"topRow": 0,
"bottomRow": 800,
"containerStyle": "none",
"snapRows": 33,
"parentRowSpace": 1,
"type": "CANVAS_WIDGET",
"canExtend": true,
"version": 18,
"minHeight": 240,
"parentColumnSpace": 1,
"dynamicTriggerPathList": [],
"dynamicBindingPathList": [],
"leftColumn": 0,
"children": [
{
"isVisible": true,
"backgroundColor": "",
"itemBackgroundColor": "white",
"gridType": "vertical",
"enhancements": true,
"gridGap": 0,
"listData": "",
"widgetName": "List1",
"children": [
{
"isVisible": true,
"widgetName": "Canvas1",
"version": 1,
"containerStyle": "none",
"canExtend": false,
"detachFromLayout": true,
"dropDisabled": true,
"noPad": true,
"children": [
{
"isVisible": true,
"backgroundColor": "white",
"widgetName": "Container1",
"containerStyle": "card",
"children": [
{
"isVisible": true,
"widgetName": "Canvas2",
"version": 1,
"containerStyle": "none",
"canExtend": false,
"detachFromLayout": true,
"children": [
{
"isVisible": true,
chore: Replacing ted api call for resources (#36472) ## Description Remove third party url. Fixes `https://github.com/appsmithorg/appsmith/issues/36535` ## Automation /ok-to-test tags="@tag.All" ### :mag: Cypress test results <!-- This is an auto-generated comment: Cypress test results --> > [!TIP] > 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉 > Workflow run: <https://github.com/appsmithorg/appsmith/actions/runs/11031926377> > Commit: bf5f2950598b16f4eadda81c1076d0c504e90be1 > <a href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=11031926377&attempt=1" target="_blank">Cypress dashboard</a>. > Tags: `@tag.All` > Spec: > <hr>Wed, 25 Sep 2024 12:37:04 UTC <!-- end of auto-generated comment: Cypress test results --> ## Communication Should the DevRel and Marketing teams inform users about this change? - [ ] Yes - [x] No <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit ## Summary by CodeRabbit - **New Features** - Updated various image and URL references in test configurations to point to local resources instead of external links, improving consistency and performance during testing. - **Bug Fixes** - Corrected image source URLs in multiple test files to ensure proper loading of images in the application. - **Chores** - Replaced outdated URLs with local Docker host URLs across numerous test files and configurations. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-09-25 14:11:00 +00:00
"defaultImage": "http://host.docker.internal:4200/clouddefaultImage.png",
"imageShape": "RECTANGLE",
"maxZoomLevel": 1,
"image": "{{currentItem.img}}",
"widgetName": "Image1",
"version": 1,
"dynamicBindingPathList": [
{
"key": "image"
}
],
"dynamicTriggerPathList": [],
"type": "IMAGE_WIDGET",
"isLoading": false,
"leftColumn": 0,
"rightColumn": 4,
"topRow": 0,
"bottomRow": 3,
"parentId": "muh6tmsm1f",
"widgetId": "vr29m4code"
},
{
"isVisible": true,
"text": "{{currentItem.name}}",
"fontSize": "PARAGRAPH",
"fontStyle": "BOLD",
"textAlign": "LEFT",
"textColor": "#231F20",
"widgetName": "Text1",
"version": 1,
"textStyle": "HEADING",
"dynamicBindingPathList": [
{
"key": "text"
}
],
"dynamicTriggerPathList": [],
"type": "TEXT_WIDGET",
"isLoading": false,
"leftColumn": 4,
"rightColumn": 10,
"topRow": 0,
"bottomRow": 1,
"parentId": "muh6tmsm1f",
"widgetId": "envgv9f2j9"
},
{
"isVisible": true,
"text": "{{currentItem.email}}",
"fontSize": "PARAGRAPH",
"fontStyle": "BOLD",
"textAlign": "LEFT",
"textColor": "#231F20",
"widgetName": "Text2",
"version": 1,
"textStyle": "BODY",
"dynamicBindingPathList": [
{
"key": "text"
}
],
"dynamicTriggerPathList": [],
"type": "TEXT_WIDGET",
"isLoading": false,
"leftColumn": 4,
"rightColumn": 10,
"topRow": 1,
"bottomRow": 2,
"parentId": "muh6tmsm1f",
"widgetId": "37xbmi0bbz"
}
],
"minHeight": null,
"type": "CANVAS_WIDGET",
"isLoading": false,
"parentColumnSpace": 1,
"parentRowSpace": 1,
"leftColumn": 0,
"rightColumn": null,
"topRow": 0,
"bottomRow": null,
"parentId": "5q9jzp3d17",
"widgetId": "muh6tmsm1f"
}
],
"version": 1,
"dragDisabled": true,
"isDeletable": false,
"disallowCopy": true,
"disablePropertyPane": true,
"type": "CONTAINER_WIDGET",
"isLoading": false,
"leftColumn": 0,
"rightColumn": 16,
"topRow": 0,
"bottomRow": 4,
"parentId": "qt3cziyljx",
"widgetId": "5q9jzp3d17"
}
],
"minHeight": 400,
"type": "CANVAS_WIDGET",
"isLoading": false,
"parentColumnSpace": 1,
"parentRowSpace": 1,
"leftColumn": 0,
"rightColumn": 463,
"topRow": 0,
"bottomRow": 400,
"parentId": "wmuvmnfqm0",
"widgetId": "qt3cziyljx"
}
],
"type": "LIST_WIDGET",
"isLoading": false,
"parentColumnSpace": 57.875,
"parentRowSpace": 10,
"leftColumn": 4,
"rightColumn": 12,
"topRow": 2,
"bottomRow": 20,
"parentId": "0",
"widgetId": "wmuvmnfqm0",
"dynamicBindingPathList": [
{
"key": "template.Image1.image"
},
{
"key": "template.Text1.text"
},
{
"key": "template.Text2.text"
}
],
"template": {
"Image1": {
"isVisible": true,
chore: Replacing ted api call for resources (#36472) ## Description Remove third party url. Fixes `https://github.com/appsmithorg/appsmith/issues/36535` ## Automation /ok-to-test tags="@tag.All" ### :mag: Cypress test results <!-- This is an auto-generated comment: Cypress test results --> > [!TIP] > 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉 > Workflow run: <https://github.com/appsmithorg/appsmith/actions/runs/11031926377> > Commit: bf5f2950598b16f4eadda81c1076d0c504e90be1 > <a href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=11031926377&attempt=1" target="_blank">Cypress dashboard</a>. > Tags: `@tag.All` > Spec: > <hr>Wed, 25 Sep 2024 12:37:04 UTC <!-- end of auto-generated comment: Cypress test results --> ## Communication Should the DevRel and Marketing teams inform users about this change? - [ ] Yes - [x] No <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit ## Summary by CodeRabbit - **New Features** - Updated various image and URL references in test configurations to point to local resources instead of external links, improving consistency and performance during testing. - **Bug Fixes** - Corrected image source URLs in multiple test files to ensure proper loading of images in the application. - **Chores** - Replaced outdated URLs with local Docker host URLs across numerous test files and configurations. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-09-25 14:11:00 +00:00
"defaultImage": "http://host.docker.internal:4200/clouddefaultImage.png",
"imageShape": "RECTANGLE",
"maxZoomLevel": 1,
"image": "{{List1.listData.map((currentItem) => currentItem.img)}}",
"widgetName": "Image1",
"version": 1,
"dynamicBindingPathList": [
{
"key": "image"
}
],
"dynamicTriggerPathList": [],
"type": "IMAGE_WIDGET",
"isLoading": false,
"leftColumn": 0,
"rightColumn": 4,
"topRow": 0,
"bottomRow": 3,
"parentId": "muh6tmsm1f",
"widgetId": "vr29m4code"
},
"Text1": {
"isVisible": true,
"text": "{{List1.listData.map((currentItem) => currentItem.name)}}",
"fontSize": "PARAGRAPH",
"fontStyle": "BOLD",
"textAlign": "LEFT",
"textColor": "#231F20",
"widgetName": "Text1",
"version": 1,
"textStyle": "HEADING",
"dynamicBindingPathList": [
{
"key": "text"
}
],
"dynamicTriggerPathList": [],
"type": "TEXT_WIDGET",
"isLoading": false,
"leftColumn": 4,
"rightColumn": 10,
"topRow": 0,
"bottomRow": 1,
"parentId": "muh6tmsm1f",
"widgetId": "envgv9f2j9"
},
"Text2": {
"isVisible": true,
"text": "{{List1.listData.map((currentItem) => currentItem.email)}}",
"fontSize": "PARAGRAPH",
"fontStyle": "BOLD",
"textAlign": "LEFT",
"textColor": "#231F20",
"widgetName": "Text2",
"version": 1,
"textStyle": "BODY",
"dynamicBindingPathList": [
{
"key": "text"
}
],
"dynamicTriggerPathList": [],
"type": "TEXT_WIDGET",
"isLoading": false,
"leftColumn": 4,
"rightColumn": 10,
"topRow": 1,
"bottomRow": 2,
"parentId": "muh6tmsm1f",
"widgetId": "37xbmi0bbz"
}
},
"childAutoComplete": {
"currentItem": {}
},
"dynamicTriggerPathList": []
}
]
}
List Widget Phase 2 (#4189) * update meta properties + default properties map * update widget registery * update get meta property * update metahoc + widgetfactory + data tree evaluator * try sending function as string to worker * revert data tree evaluator update * pass default props map from dataTreeWidget file * wip * save child meta properties * remove console.log * save meta and default map in list * update listwidget * remove console.log + unused variables * revert getMetaPropertiesMap function * fix data tree test * fix list widget test * fix entity definition test * fix overriting of item in updatedItems * remove todo comments * fix meta prop issue * revert making meta properties from undefiend to "" & fix filepicker bug * fix test case * change items to listData and updatedItems to items * remove console.log * fix test * extract derived properties to dervied.js * disabled top, left, right resize handler list widget container * add test for dervied js * add test for selectedItem * fix background color bug on hover * remove console.log * fix chart widget inside list widget * fix checkbox issue + points raised by yogesh * revert the createImmerReducer usage * fix parse derived properties * remove internal props object that fails the test * fix import typo * allow bottom resize handler * fix template height check * fix template height check * update template size check * fix the is visible invalid prop issue * fix migration of list widget phase 2 * fix migration * remove unused import * fix migration * fix migration * remove console.log * hide delete option for container in entity explorer * fix testcases * remove unused import * fix switch widget meta prop Co-authored-by: root <root@DESKTOP-9GENCK0.localdomain> Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local>
2021-06-18 07:42:57 +00:00
}