diff --git a/app/client/src/pages/Editor/GuidedTour/app.json b/app/client/src/pages/Editor/GuidedTour/app.json index 1da1abb1da..65950a2a59 100644 --- a/app/client/src/pages/Editor/GuidedTour/app.json +++ b/app/client/src/pages/Editor/GuidedTour/app.json @@ -1,121 +1,111 @@ { - "exportedApplication":{ - "name":"Customer Support Dashboard", - "isPublic":false, - "appIsExample":false, - "unreadCommentThreads":0, - "color":"#F5D1D1", - "icon":"line-chart", - "slug":"customer-support-dashboard", - "appLayout":{ - "type":"DESKTOP" + "exportedApplication": { + "name": "Customer Support Dashboard", + "isPublic": false, + "appIsExample": false, + "unreadCommentThreads": 0, + "color": "#F5D1D1", + "icon": "line-chart", + "slug": "customer-support-dashboard", + "appLayout": { + "type": "DESKTOP" }, - "new":true + "applicationVersion": 2, + "evaluationVersion": 2, + "new": true }, - "datasourceList":[ + "datasourceList": [ { - "userPermissions":[ + "userPermissions": [ "execute:datasources", "manage:datasources", "read:datasources" ], - "gitSyncId":"6151c0ad7dc8ae15dc3ee7d7_61bb76c8cd5d704509528bea", - "name":"Mock Database", - "pluginId":"postgres-plugin", - "datasourceConfiguration":{ - "connection":{ - "mode":"READ_WRITE", - "ssl":{ - "authType":"DEFAULT" + "gitSyncId": "6151c0ad7dc8ae15dc3ee7d7_61bb76c8cd5d704509528bea", + "name": "Mock Database", + "pluginId": "postgres-plugin", + "datasourceConfiguration": { + "connection": { + "mode": "READ_WRITE", + "ssl": { + "authType": "DEFAULT" } }, - "endpoints":[ + "endpoints": [ { - "host":"mockdb.internal.appsmith.com", - "port":5432 + "host": "mockdb.internal.appsmith.com", + "port": 5432 } ], - "sshProxyEnabled":false + "sshProxyEnabled": false }, - "invalids":[ - - ], - "messages":[ - - ], - "isValid":true, - "new":true, + "invalids": [], + "messages": [], + "isValid": true, + "new": true, "isConfigured": true } ], - "pageList":[ + "pageList": [ { - "userPermissions":[ + "userPermissions": [ "read:pages", "manage:pages" ], - "gitSyncId":"61c423b3c68eef4ad80de9c1_61c423b3c68eef4ad80de9c3", - "unpublishedPage":{ - "name":"Page1", - "slug":"page1", - "layouts":[ + "gitSyncId": "61c423b3c68eef4ad80de9c1_61c423b3c68eef4ad80de9c3", + "unpublishedPage": { + "name": "Page1", + "slug": "page1", + "layouts": [ { - "id":"Page1", - "userPermissions":[ - - ], - "dsl":{ - "widgetName":"MainContainer", - "backgroundColor":"none", - "rightColumn":1160, - "snapColumns":64, - "detachFromLayout":true, - "widgetId":"0", - "topRow":0, - "bottomRow":730, - "containerStyle":"none", - "snapRows":125, - "parentRowSpace":1, - "type":"CANVAS_WIDGET", - "canExtend":true, - "version":47, - "minHeight":740, - "parentColumnSpace":1, - "dynamicBindingPathList":[ - - ], - "leftColumn":0, - "children":[ + "id": "Page1", + "userPermissions": [], + "dsl": { + "widgetName": "MainContainer", + "backgroundColor": "none", + "rightColumn": 1160, + "snapColumns": 64, + "detachFromLayout": true, + "widgetId": "0", + "topRow": 0, + "bottomRow": 730, + "containerStyle": "none", + "snapRows": 125, + "parentRowSpace": 1, + "type": "CANVAS_WIDGET", + "canExtend": true, + "version": 47, + "minHeight": 740, + "parentColumnSpace": 1, + "dynamicBindingPathList": [], + "leftColumn": 0, + "children": [ { - "widgetName":"Text1", - "rightColumn":12, - "textAlign":"LEFT", - "widgetId":"uhe8hpkvld", - "topRow":3, - "bottomRow":7, - "parentRowSpace":40, - "isVisible":true, - "type":"TEXT_WIDGET", - "fontStyle":"BOLD", - "version":1, - "textColor":"#231F20", - "parentId":"0", - "isLoading":false, - "parentColumnSpace":74, - "dynamicTriggerPathList":[ - - ], - "leftColumn":0, - "dynamicBindingPathList":[ - - ], - "fontSize":"HEADING1", - "text":"\uD83D\uDC6B Customers" + "widgetName": "Text1", + "rightColumn": 12, + "textAlign": "LEFT", + "widgetId": "uhe8hpkvld", + "topRow": 3, + "bottomRow": 7, + "parentRowSpace": 40, + "isVisible": true, + "type": "TEXT_WIDGET", + "fontStyle": "BOLD", + "version": 1, + "textColor": "#231F20", + "parentId": "0", + "isLoading": false, + "parentColumnSpace": 74, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "fontSize": "HEADING1", + "text": "\uD83D\uDC6B Customers" }, { - "widgetName":"CustomersTable", - "defaultPageSize":0, - "columnOrder":[ + "widgetName": "CustomersTable", + "defaultPageSize": 0, + "columnOrder": [ "id", "gender", "latitude", @@ -127,718 +117,668 @@ "country", "name" ], - "isVisibleDownload":true, - "dynamicPropertyPathList":[ - - ], - "displayName":"Table", - "iconSVG":"/static/media/icon.db8a9cbd.svg", - "topRow":7, - "bottomRow":67, - "parentRowSpace":10, - "isSortable":true, - "type":"TABLE_WIDGET", - "defaultSelectedRow":"0", - "hideCard":false, - "parentColumnSpace":17.28125, - "dynamicTriggerPathList":[ + "isVisibleDownload": true, + "dynamicPropertyPathList": [], + "displayName": "Table", + "iconSVG": "/static/media/icon.db8a9cbd.svg", + "topRow": 7, + "bottomRow": 67, + "parentRowSpace": 10, + "isSortable": true, + "type": "TABLE_WIDGET", + "defaultSelectedRow": "0", + "hideCard": false, + "parentColumnSpace": 17.28125, + "dynamicTriggerPathList": [ { - "key":"onRowSelected" + "key": "onRowSelected" }, { - "key":"onSearchTextChanged" + "key": "onSearchTextChanged" } ], - "dynamicBindingPathList":[ + "dynamicBindingPathList": [ { - "key":"primaryColumns.id.computedValue" + "key": "primaryColumns.id.computedValue" }, { - "key":"primaryColumns.name.computedValue" + "key": "primaryColumns.name.computedValue" }, { - "key":"primaryColumns.gender.computedValue" + "key": "primaryColumns.gender.computedValue" }, { - "key":"primaryColumns.latitude.computedValue" + "key": "primaryColumns.latitude.computedValue" }, { - "key":"primaryColumns.longitude.computedValue" + "key": "primaryColumns.longitude.computedValue" }, { - "key":"primaryColumns.dob.computedValue" + "key": "primaryColumns.dob.computedValue" }, { - "key":"primaryColumns.phone.computedValue" + "key": "primaryColumns.phone.computedValue" }, { - "key":"primaryColumns.email.computedValue" + "key": "primaryColumns.email.computedValue" }, { - "key":"primaryColumns.image.computedValue" + "key": "primaryColumns.image.computedValue" }, { - "key":"primaryColumns.country.computedValue" + "key": "primaryColumns.country.computedValue" }, { - "key":"tableData" + "key": "tableData" } ], - "leftColumn":0, - "primaryColumns":{ - "id":{ - "index":0, - "width":150, - "id":"id", - "horizontalAlignment":"LEFT", - "verticalAlignment":"CENTER", - "columnType":"text", - "textSize":"PARAGRAPH", - "enableFilter":true, - "enableSort":true, - "isVisible":true, - "isDisabled":false, - "isCellVisible":true, - "isDerived":false, - "label":"id", - "computedValue":"{{CustomersTable.sanitizedTableData.map((currentRow) => ( currentRow.id))}}" + "leftColumn": 0, + "primaryColumns": { + "id": { + "index": 0, + "width": 150, + "id": "id", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "text", + "textSize": "PARAGRAPH", + "enableFilter": true, + "enableSort": true, + "isVisible": true, + "isDisabled": false, + "isCellVisible": true, + "isDerived": false, + "label": "id", + "computedValue": "{{CustomersTable.sanitizedTableData.map((currentRow) => ( currentRow.id))}}" }, - "name":{ - "index":1, - "width":150, - "id":"name", - "horizontalAlignment":"LEFT", - "verticalAlignment":"CENTER", - "columnType":"text", - "textSize":"PARAGRAPH", - "enableFilter":true, - "enableSort":true, - "isVisible":true, - "isDisabled":false, - "isCellVisible":true, - "isDerived":false, - "label":"name", - "computedValue":"{{CustomersTable.sanitizedTableData.map((currentRow) => ( currentRow.name))}}" + "name": { + "index": 1, + "width": 150, + "id": "name", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "text", + "textSize": "PARAGRAPH", + "enableFilter": true, + "enableSort": true, + "isVisible": true, + "isDisabled": false, + "isCellVisible": true, + "isDerived": false, + "label": "name", + "computedValue": "{{CustomersTable.sanitizedTableData.map((currentRow) => ( currentRow.name))}}" }, - "gender":{ - "index":1, - "width":150, - "id":"gender", - "horizontalAlignment":"LEFT", - "verticalAlignment":"CENTER", - "columnType":"text", - "textSize":"PARAGRAPH", - "enableFilter":true, - "enableSort":true, - "isVisible":false, - "isDisabled":false, - "isCellVisible":true, - "isDerived":false, - "label":"gender", - "computedValue":"{{CustomersTable.sanitizedTableData.map((currentRow) => ( currentRow.gender))}}" + "gender": { + "index": 1, + "width": 150, + "id": "gender", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "text", + "textSize": "PARAGRAPH", + "enableFilter": true, + "enableSort": true, + "isVisible": false, + "isDisabled": false, + "isCellVisible": true, + "isDerived": false, + "label": "gender", + "computedValue": "{{CustomersTable.sanitizedTableData.map((currentRow) => ( currentRow.gender))}}" }, - "latitude":{ - "index":2, - "width":150, - "id":"latitude", - "horizontalAlignment":"LEFT", - "verticalAlignment":"CENTER", - "columnType":"text", - "textSize":"PARAGRAPH", - "enableFilter":true, - "enableSort":true, - "isVisible":false, - "isDisabled":false, - "isCellVisible":true, - "isDerived":false, - "label":"latitude", - "computedValue":"{{CustomersTable.sanitizedTableData.map((currentRow) => ( currentRow.latitude))}}" + "latitude": { + "index": 2, + "width": 150, + "id": "latitude", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "text", + "textSize": "PARAGRAPH", + "enableFilter": true, + "enableSort": true, + "isVisible": false, + "isDisabled": false, + "isCellVisible": true, + "isDerived": false, + "label": "latitude", + "computedValue": "{{CustomersTable.sanitizedTableData.map((currentRow) => ( currentRow.latitude))}}" }, - "longitude":{ - "index":3, - "width":150, - "id":"longitude", - "horizontalAlignment":"LEFT", - "verticalAlignment":"CENTER", - "columnType":"text", - "textSize":"PARAGRAPH", - "enableFilter":true, - "enableSort":true, - "isVisible":false, - "isDisabled":false, - "isCellVisible":true, - "isDerived":false, - "label":"longitude", - "computedValue":"{{CustomersTable.sanitizedTableData.map((currentRow) => ( currentRow.longitude))}}" + "longitude": { + "index": 3, + "width": 150, + "id": "longitude", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "text", + "textSize": "PARAGRAPH", + "enableFilter": true, + "enableSort": true, + "isVisible": false, + "isDisabled": false, + "isCellVisible": true, + "isDerived": false, + "label": "longitude", + "computedValue": "{{CustomersTable.sanitizedTableData.map((currentRow) => ( currentRow.longitude))}}" }, - "dob":{ - "index":4, - "width":150, - "id":"dob", - "horizontalAlignment":"LEFT", - "verticalAlignment":"CENTER", - "columnType":"text", - "textSize":"PARAGRAPH", - "enableFilter":true, - "enableSort":true, - "isVisible":false, - "isDisabled":false, - "isCellVisible":true, - "isDerived":false, - "label":"dob", - "computedValue":"{{CustomersTable.sanitizedTableData.map((currentRow) => ( currentRow.dob))}}" + "dob": { + "index": 4, + "width": 150, + "id": "dob", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "text", + "textSize": "PARAGRAPH", + "enableFilter": true, + "enableSort": true, + "isVisible": false, + "isDisabled": false, + "isCellVisible": true, + "isDerived": false, + "label": "dob", + "computedValue": "{{CustomersTable.sanitizedTableData.map((currentRow) => ( currentRow.dob))}}" }, - "phone":{ - "index":5, - "width":150, - "id":"phone", - "horizontalAlignment":"LEFT", - "verticalAlignment":"CENTER", - "columnType":"text", - "textSize":"PARAGRAPH", - "enableFilter":true, - "enableSort":true, - "isVisible":false, - "isDisabled":false, - "isCellVisible":true, - "isDerived":false, - "label":"phone", - "computedValue":"{{CustomersTable.sanitizedTableData.map((currentRow) => ( currentRow.phone))}}" + "phone": { + "index": 5, + "width": 150, + "id": "phone", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "text", + "textSize": "PARAGRAPH", + "enableFilter": true, + "enableSort": true, + "isVisible": false, + "isDisabled": false, + "isCellVisible": true, + "isDerived": false, + "label": "phone", + "computedValue": "{{CustomersTable.sanitizedTableData.map((currentRow) => ( currentRow.phone))}}" }, - "email":{ - "index":6, - "width":150, - "id":"email", - "horizontalAlignment":"LEFT", - "verticalAlignment":"CENTER", - "columnType":"text", - "textSize":"PARAGRAPH", - "enableFilter":true, - "enableSort":true, - "isVisible":true, - "isDisabled":false, - "isCellVisible":true, - "isDerived":false, - "label":"email", - "computedValue":"{{CustomersTable.sanitizedTableData.map((currentRow) => ( currentRow.email))}}" + "email": { + "index": 6, + "width": 150, + "id": "email", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "text", + "textSize": "PARAGRAPH", + "enableFilter": true, + "enableSort": true, + "isVisible": true, + "isDisabled": false, + "isCellVisible": true, + "isDerived": false, + "label": "email", + "computedValue": "{{CustomersTable.sanitizedTableData.map((currentRow) => ( currentRow.email))}}" }, - "image":{ - "index":7, - "width":150, - "id":"image", - "horizontalAlignment":"LEFT", - "verticalAlignment":"CENTER", - "columnType":"text", - "textSize":"PARAGRAPH", - "enableFilter":true, - "enableSort":true, - "isVisible":false, - "isDisabled":false, - "isCellVisible":true, - "isDerived":false, - "label":"image", - "computedValue":"{{CustomersTable.sanitizedTableData.map((currentRow) => ( currentRow.image))}}" + "image": { + "index": 7, + "width": 150, + "id": "image", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "text", + "textSize": "PARAGRAPH", + "enableFilter": true, + "enableSort": true, + "isVisible": false, + "isDisabled": false, + "isCellVisible": true, + "isDerived": false, + "label": "image", + "computedValue": "{{CustomersTable.sanitizedTableData.map((currentRow) => ( currentRow.image))}}" }, - "country":{ - "index":8, - "width":150, - "id":"country", - "horizontalAlignment":"LEFT", - "verticalAlignment":"CENTER", - "columnType":"text", - "textSize":"PARAGRAPH", - "enableFilter":true, - "enableSort":true, - "isVisible":true, - "isDisabled":false, - "isCellVisible":true, - "isDerived":false, - "label":"country", - "computedValue":"{{CustomersTable.sanitizedTableData.map((currentRow) => ( currentRow.country))}}" + "country": { + "index": 8, + "width": 150, + "id": "country", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "text", + "textSize": "PARAGRAPH", + "enableFilter": true, + "enableSort": true, + "isVisible": true, + "isDisabled": false, + "isCellVisible": true, + "isDerived": false, + "label": "country", + "computedValue": "{{CustomersTable.sanitizedTableData.map((currentRow) => ( currentRow.country))}}" } }, - "delimiter":",", - "onRowSelected":"", - "key":"gsiv88orej", - "derivedColumns":{ - - }, - "rightColumn":34, - "textSize":"PARAGRAPH", - "widgetId":"rsrxzwk730", - "isVisibleFilters":true, - "tableData":"{{getCustomers.data}}", - "isVisible":true, - "label":"Data", - "searchKey":"", - "version":3, - "totalRecordsCount":0, - "parentId":"0", - "renderMode":"CANVAS", - "isLoading":false, - "onSearchTextChanged":"", - "horizontalAlignment":"LEFT", - "isVisibleSearch":true, - "isVisiblePagination":true, - "verticalAlignment":"CENTER", - "columnSizeMap":{ - "task":245, - "step":62, - "status":75 + "delimiter": ",", + "onRowSelected": "", + "key": "gsiv88orej", + "derivedColumns": {}, + "rightColumn": 34, + "textSize": "PARAGRAPH", + "widgetId": "rsrxzwk730", + "isVisibleFilters": true, + "tableData": "{{getCustomers.data}}", + "isVisible": true, + "label": "Data", + "searchKey": "", + "version": 3, + "totalRecordsCount": 0, + "parentId": "0", + "renderMode": "CANVAS", + "isLoading": false, + "onSearchTextChanged": "", + "horizontalAlignment": "LEFT", + "isVisibleSearch": true, + "isVisiblePagination": true, + "verticalAlignment": "CENTER", + "columnSizeMap": { + "task": 245, + "step": 62, + "status": 75 } }, { - "boxShadow":"NONE", - "widgetName":"CustomersUpdateForm", - "borderColor":"transparent", - "isCanvas":true, - "displayName":"Container", - "iconSVG":"/static/media/icon.1977dca3.svg", - "topRow":7, - "bottomRow":35, - "parentRowSpace":10, - "type":"CONTAINER_WIDGET", - "hideCard":false, - "parentColumnSpace":17.28125, - "leftColumn":35, - "dynamicBindingPathList":[ - - ], - "children":[ + "boxShadow": "NONE", + "widgetName": "CustomersUpdateForm", + "borderColor": "transparent", + "isCanvas": true, + "displayName": "Container", + "iconSVG": "/static/media/icon.1977dca3.svg", + "topRow": 7, + "bottomRow": 35, + "parentRowSpace": 10, + "type": "CONTAINER_WIDGET", + "hideCard": false, + "parentColumnSpace": 17.28125, + "leftColumn": 35, + "dynamicBindingPathList": [], + "children": [ { - "widgetName":"Canvas1", - "rightColumn":414.75, - "detachFromLayout":true, - "displayName":"Canvas", - "widgetId":"ipw6xv7084", - "containerStyle":"none", - "topRow":0, - "bottomRow":390, - "parentRowSpace":1, - "isVisible":true, - "type":"CANVAS_WIDGET", - "canExtend":false, - "version":1, - "hideCard":true, - "parentId":"eef4brprkp", - "minHeight":400, - "renderMode":"CANVAS", - "isLoading":false, - "parentColumnSpace":1, - "leftColumn":0, - "dynamicBindingPathList":[ - - ], - "children":[ + "widgetName": "Canvas1", + "rightColumn": 414.75, + "detachFromLayout": true, + "displayName": "Canvas", + "widgetId": "ipw6xv7084", + "containerStyle": "none", + "topRow": 0, + "bottomRow": 390, + "parentRowSpace": 1, + "isVisible": true, + "type": "CANVAS_WIDGET", + "canExtend": false, + "version": 1, + "hideCard": true, + "parentId": "eef4brprkp", + "minHeight": 400, + "renderMode": "CANVAS", + "isLoading": false, + "parentColumnSpace": 1, + "leftColumn": 0, + "dynamicBindingPathList": [], + "children": [ { - "widgetName":"Image1", - "dynamicPropertyPathList":[ - - ], - "displayName":"Image", - "iconSVG":"/static/media/icon.52d8fb96.svg", - "topRow":6, - "bottomRow":18, - "parentRowSpace":10, - "type":"IMAGE_WIDGET", - "hideCard":false, - "parentColumnSpace":6.16796875, - "dynamicTriggerPathList":[ - - ], - "imageShape":"RECTANGLE", - "leftColumn":1, - "dynamicBindingPathList":[ + "widgetName": "Image1", + "dynamicPropertyPathList": [], + "displayName": "Image", + "iconSVG": "/static/media/icon.52d8fb96.svg", + "topRow": 6, + "bottomRow": 18, + "parentRowSpace": 10, + "type": "IMAGE_WIDGET", + "hideCard": false, + "parentColumnSpace": 6.16796875, + "dynamicTriggerPathList": [], + "imageShape": "RECTANGLE", + "leftColumn": 1, + "dynamicBindingPathList": [ { - "key":"image" + "key": "image" } ], - "defaultImage":"https://assets.appsmith.com/widgets/default.png", - "key":"adi6u5121d", - "image":"{{CustomersTable.selectedRow.image}}", - "rightColumn":17, - "objectFit":"contain", - "widgetId":"4jqt6zbar8", - "isVisible":true, - "version":1, - "parentId":"ipw6xv7084", - "renderMode":"CANVAS", - "isLoading":false, - "maxZoomLevel":1, - "enableDownload":false, - "enableRotation":false + "defaultImage": "https://assets.appsmith.com/widgets/default.png", + "key": "adi6u5121d", + "image": "{{CustomersTable.selectedRow.image}}", + "rightColumn": 17, + "objectFit": "contain", + "widgetId": "4jqt6zbar8", + "isVisible": true, + "version": 1, + "parentId": "ipw6xv7084", + "renderMode": "CANVAS", + "isLoading": false, + "maxZoomLevel": 1, + "enableDownload": false, + "enableRotation": false }, { - "widgetName":"Button1", - "onClick":"{{updateCustomerInfo.run(() => getCustomers.run(), () => {})}}", - "buttonColor":"#03B365", - "dynamicPropertyPathList":[ - - ], - "displayName":"Button", - "iconSVG":"/static/media/icon.cca02633.svg", - "topRow":19, - "bottomRow":24, - "parentRowSpace":10, - "type":"BUTTON_WIDGET", - "hideCard":false, - "parentColumnSpace":17.28125, - "dynamicTriggerPathList":[ + "widgetName": "Button1", + "onClick": "{{updateCustomerInfo.run(() => getCustomers.run(), () => {})}}", + "buttonColor": "#03B365", + "dynamicPropertyPathList": [], + "displayName": "Button", + "iconSVG": "/static/media/icon.cca02633.svg", + "topRow": 19, + "bottomRow": 24, + "parentRowSpace": 10, + "type": "BUTTON_WIDGET", + "hideCard": false, + "parentColumnSpace": 17.28125, + "dynamicTriggerPathList": [ { - "key":"onClick" + "key": "onClick" } ], - "leftColumn":1, - "dynamicBindingPathList":[ - - ], - "text":"Click to Update Info", - "isDisabled":false, - "key":"pnsylwi4gl", - "rightColumn":25, - "isDefaultClickDisabled":true, - "widgetId":"4h8ydlp77c", - "recaptchaV2":false, - "isVisible":true, - "version":1, - "parentId":"ipw6xv7084", - "renderMode":"CANVAS", - "isLoading":false, - "buttonVariant":"PRIMARY" + "leftColumn": 1, + "dynamicBindingPathList": [], + "text": "Click to Update Info", + "isDisabled": false, + "key": "pnsylwi4gl", + "rightColumn": 25, + "isDefaultClickDisabled": true, + "widgetId": "4h8ydlp77c", + "recaptchaV2": false, + "isVisible": true, + "version": 1, + "parentId": "ipw6xv7084", + "renderMode": "CANVAS", + "isLoading": false, + "buttonVariant": "PRIMARY" }, { - "widgetName":"Text3", - "displayName":"Text", - "iconSVG":"/static/media/icon.e6c93592.svg", - "topRow":6, - "bottomRow":10, - "parentRowSpace":10, - "type":"TEXT_WIDGET", - "hideCard":false, - "parentColumnSpace":17.28125, - "dynamicTriggerPathList":[ - - ], - "leftColumn":19, - "dynamicBindingPathList":[ - - ], - "text":"Name", - "key":"5lk46x36ow", - "rightColumn":27, - "textAlign":"LEFT", - "widgetId":"c1jj2old4v", - "isVisible":true, - "fontStyle":"BOLD", - "textColor":"#231F20", - "version":1, - "parentId":"ipw6xv7084", - "renderMode":"CANVAS", - "isLoading":false, - "fontSize":"PARAGRAPH" + "widgetName": "Text3", + "displayName": "Text", + "iconSVG": "/static/media/icon.e6c93592.svg", + "topRow": 6, + "bottomRow": 10, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "hideCard": false, + "parentColumnSpace": 17.28125, + "dynamicTriggerPathList": [], + "leftColumn": 19, + "dynamicBindingPathList": [], + "text": "Name", + "key": "5lk46x36ow", + "rightColumn": 27, + "textAlign": "LEFT", + "widgetId": "c1jj2old4v", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "ipw6xv7084", + "renderMode": "CANVAS", + "isLoading": false, + "fontSize": "PARAGRAPH" }, { - "widgetName":"Input1", - "displayName":"Input", - "iconSVG":"/static/media/icon.9f505595.svg", - "topRow":6, - "bottomRow":10, - "parentRowSpace":10, - "autoFocus":false, - "type":"INPUT_WIDGET", - "hideCard":false, - "parentColumnSpace":17.28125, - "dynamicTriggerPathList":[ - - ], - "resetOnSubmit":true, - "leftColumn":30, - "dynamicBindingPathList":[ + "widgetName": "Input1", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 6, + "bottomRow": 10, + "parentRowSpace": 10, + "autoFocus": false, + "type": "INPUT_WIDGET", + "hideCard": false, + "parentColumnSpace": 17.28125, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 30, + "dynamicBindingPathList": [ { - "key":"defaultText" + "key": "defaultText" } ], - "labelStyle":"BOLD", - "inputType":"TEXT", - "isDisabled":false, - "key":"2opxkb2mkr", - "isRequired":false, - "rightColumn":63, - "widgetId":"lzt5kk7pyi", - "isVisible":true, - "label":"", - "allowCurrencyChange":false, - "version":1, - "parentId":"ipw6xv7084", - "renderMode":"CANVAS", - "isLoading":false, - "iconAlign":"left", - "defaultText":"{{CustomersTable.selectedRow.name}}" + "labelStyle": "BOLD", + "inputType": "TEXT", + "isDisabled": false, + "key": "2opxkb2mkr", + "isRequired": false, + "rightColumn": 63, + "widgetId": "lzt5kk7pyi", + "isVisible": true, + "label": "", + "allowCurrencyChange": false, + "version": 1, + "parentId": "ipw6xv7084", + "renderMode": "CANVAS", + "isLoading": false, + "iconAlign": "left", + "defaultText": "{{CustomersTable.selectedRow.name}}" }, { - "widgetName":"Text4", - "displayName":"Text", - "iconSVG":"/static/media/icon.e6c93592.svg", - "topRow":10, - "bottomRow":14, - "parentRowSpace":10, - "type":"TEXT_WIDGET", - "hideCard":false, - "parentColumnSpace":17.28125, - "dynamicTriggerPathList":[ - - ], - "leftColumn":19, - "dynamicBindingPathList":[ - - ], - "text":"Email", - "key":"5lk46x36ow", - "rightColumn":27, - "textAlign":"LEFT", - "widgetId":"tfyfiirq70", - "isVisible":true, - "fontStyle":"BOLD", - "textColor":"#231F20", - "version":1, - "parentId":"ipw6xv7084", - "renderMode":"CANVAS", - "isLoading":false, - "fontSize":"PARAGRAPH" + "widgetName": "Text4", + "displayName": "Text", + "iconSVG": "/static/media/icon.e6c93592.svg", + "topRow": 10, + "bottomRow": 14, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "hideCard": false, + "parentColumnSpace": 17.28125, + "dynamicTriggerPathList": [], + "leftColumn": 19, + "dynamicBindingPathList": [], + "text": "Email", + "key": "5lk46x36ow", + "rightColumn": 27, + "textAlign": "LEFT", + "widgetId": "tfyfiirq70", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "ipw6xv7084", + "renderMode": "CANVAS", + "isLoading": false, + "fontSize": "PARAGRAPH" }, { - "widgetName":"Input2", - "displayName":"Input", - "iconSVG":"/static/media/icon.9f505595.svg", - "topRow":10, - "bottomRow":14, - "parentRowSpace":10, - "autoFocus":false, - "type":"INPUT_WIDGET", - "hideCard":false, - "parentColumnSpace":17.28125, - "dynamicTriggerPathList":[ - - ], - "resetOnSubmit":true, - "leftColumn":30, - "dynamicBindingPathList":[ + "widgetName": "Input2", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 10, + "bottomRow": 14, + "parentRowSpace": 10, + "autoFocus": false, + "type": "INPUT_WIDGET", + "hideCard": false, + "parentColumnSpace": 17.28125, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 30, + "dynamicBindingPathList": [ { - "key":"defaultText" + "key": "defaultText" } ], - "labelStyle":"BOLD", - "inputType":"TEXT", - "isDisabled":false, - "key":"2opxkb2mkr", - "isRequired":false, - "rightColumn":63, - "widgetId":"7efpe5qgan", - "isVisible":true, - "label":"", - "allowCurrencyChange":false, - "version":1, - "parentId":"ipw6xv7084", - "renderMode":"CANVAS", - "isLoading":false, - "iconAlign":"left", - "defaultText":"{{CustomersTable.selectedRow.email}}" + "labelStyle": "BOLD", + "inputType": "TEXT", + "isDisabled": false, + "key": "2opxkb2mkr", + "isRequired": false, + "rightColumn": 63, + "widgetId": "7efpe5qgan", + "isVisible": true, + "label": "", + "allowCurrencyChange": false, + "version": 1, + "parentId": "ipw6xv7084", + "renderMode": "CANVAS", + "isLoading": false, + "iconAlign": "left", + "defaultText": "{{CustomersTable.selectedRow.email}}" }, { - "widgetName":"Text5", - "displayName":"Text", - "iconSVG":"/static/media/icon.e6c93592.svg", - "topRow":14, - "bottomRow":18, - "parentRowSpace":10, - "type":"TEXT_WIDGET", - "hideCard":false, - "parentColumnSpace":17.28125, - "dynamicTriggerPathList":[ - - ], - "leftColumn":19, - "dynamicBindingPathList":[ - - ], - "text":"Country", - "key":"5lk46x36ow", - "rightColumn":29, - "textAlign":"LEFT", - "widgetId":"aw4ms5348w", - "isVisible":true, - "fontStyle":"BOLD", - "textColor":"#231F20", - "version":1, - "parentId":"ipw6xv7084", - "renderMode":"CANVAS", - "isLoading":false, - "fontSize":"PARAGRAPH" + "widgetName": "Text5", + "displayName": "Text", + "iconSVG": "/static/media/icon.e6c93592.svg", + "topRow": 14, + "bottomRow": 18, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "hideCard": false, + "parentColumnSpace": 17.28125, + "dynamicTriggerPathList": [], + "leftColumn": 19, + "dynamicBindingPathList": [], + "text": "Country", + "key": "5lk46x36ow", + "rightColumn": 29, + "textAlign": "LEFT", + "widgetId": "aw4ms5348w", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "ipw6xv7084", + "renderMode": "CANVAS", + "isLoading": false, + "fontSize": "PARAGRAPH" }, { - "widgetName":"Input3", - "displayName":"Input", - "iconSVG":"/static/media/icon.9f505595.svg", - "topRow":14, - "bottomRow":18, - "parentRowSpace":10, - "autoFocus":false, - "type":"INPUT_WIDGET", - "hideCard":false, - "parentColumnSpace":17.28125, - "dynamicTriggerPathList":[ - - ], - "resetOnSubmit":true, - "leftColumn":30, - "dynamicBindingPathList":[ + "widgetName": "Input3", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 14, + "bottomRow": 18, + "parentRowSpace": 10, + "autoFocus": false, + "type": "INPUT_WIDGET", + "hideCard": false, + "parentColumnSpace": 17.28125, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 30, + "dynamicBindingPathList": [ { - "key":"defaultText" + "key": "defaultText" } ], - "labelStyle":"BOLD", - "inputType":"TEXT", - "isDisabled":false, - "key":"2opxkb2mkr", - "isRequired":false, - "rightColumn":63, - "widgetId":"kvp1gx7kxj", - "isVisible":true, - "label":"", - "allowCurrencyChange":false, - "version":1, - "parentId":"ipw6xv7084", - "renderMode":"CANVAS", - "isLoading":false, - "iconAlign":"left", - "defaultText":"{{CustomersTable.selectedRow.country}}" + "labelStyle": "BOLD", + "inputType": "TEXT", + "isDisabled": false, + "key": "2opxkb2mkr", + "isRequired": false, + "rightColumn": 63, + "widgetId": "kvp1gx7kxj", + "isVisible": true, + "label": "", + "allowCurrencyChange": false, + "version": 1, + "parentId": "ipw6xv7084", + "renderMode": "CANVAS", + "isLoading": false, + "iconAlign": "left", + "defaultText": "{{CustomersTable.selectedRow.country}}" }, { - "widgetName":"Text2", - "rightColumn":50, - "textAlign":"LEFT", - "widgetId":"r493sogel1", - "topRow":1, - "bottomRow":5, - "parentRowSpace":40, - "isVisible":true, - "type":"TEXT_WIDGET", - "fontStyle":"BOLD", - "version":1, - "textColor":"#231F20", - "parentId":"ipw6xv7084", - "isLoading":false, - "parentColumnSpace":74, - "dynamicTriggerPathList":[ - - ], - "leftColumn":1, - "dynamicBindingPathList":[ - - ], - "fontSize":"HEADING2", - "text":"\uD83D\uDC68‍\uD83D\uDCBC Customer Update Form" + "widgetName": "Text2", + "rightColumn": 50, + "textAlign": "LEFT", + "widgetId": "r493sogel1", + "topRow": 1, + "bottomRow": 5, + "parentRowSpace": 40, + "isVisible": true, + "type": "TEXT_WIDGET", + "fontStyle": "BOLD", + "version": 1, + "textColor": "#231F20", + "parentId": "ipw6xv7084", + "isLoading": false, + "parentColumnSpace": 74, + "dynamicTriggerPathList": [], + "leftColumn": 1, + "dynamicBindingPathList": [], + "fontSize": "HEADING2", + "text": "\uD83D\uDC68‍\uD83D\uDCBC Customer Update Form" } ], - "key":"qcuszkvnz2" + "key": "qcuszkvnz2" } ], - "borderWidth":"0", - "key":"i2qu6blist", - "backgroundColor":"#FFFFFF", - "rightColumn":64, - "widgetId":"eef4brprkp", - "containerStyle":"card", - "isVisible":true, - "version":1, - "parentId":"0", - "renderMode":"CANVAS", - "isLoading":false, - "borderRadius":"0" + "borderWidth": "0", + "key": "i2qu6blist", + "backgroundColor": "#FFFFFF", + "rightColumn": 64, + "widgetId": "eef4brprkp", + "containerStyle": "card", + "isVisible": true, + "version": 1, + "parentId": "0", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0" } ] }, - "layoutOnLoadActions":[ + "layoutOnLoadActions": [ [ { - "id":"61c423b3c68eef4ad80de9c8", - "name":"getCustomers", - "pluginType":"DB", - "jsonPathKeys":[ - - ], - "timeoutInMillisecond":10000 + "id": "61c423b3c68eef4ad80de9c8", + "name": "getCustomers", + "pluginType": "DB", + "jsonPathKeys": [], + "timeoutInMillisecond": 10000 } ] ], - "new":false + "new": false } ], - "userPermissions":[ - - ] + "userPermissions": [] }, - "publishedPage":{ - "name":"Page1", - "slug":"page1", - "layouts":[ + "publishedPage": { + "name": "Page1", + "slug": "page1", + "layouts": [ { - "id":"Page1", - "userPermissions":[ - - ], - "dsl":{ - "widgetName":"MainContainer", - "backgroundColor":"none", - "rightColumn":1160, - "snapColumns":64, - "detachFromLayout":true, - "widgetId":"0", - "topRow":0, - "bottomRow":730, - "containerStyle":"none", - "snapRows":125, - "parentRowSpace":1, - "type":"CANVAS_WIDGET", - "canExtend":true, - "version":47, - "minHeight":740, - "parentColumnSpace":1, - "dynamicBindingPathList":[ - - ], - "leftColumn":0, - "children":[ + "id": "Page1", + "userPermissions": [], + "dsl": { + "widgetName": "MainContainer", + "backgroundColor": "none", + "rightColumn": 1160, + "snapColumns": 64, + "detachFromLayout": true, + "widgetId": "0", + "topRow": 0, + "bottomRow": 730, + "containerStyle": "none", + "snapRows": 125, + "parentRowSpace": 1, + "type": "CANVAS_WIDGET", + "canExtend": true, + "version": 47, + "minHeight": 740, + "parentColumnSpace": 1, + "dynamicBindingPathList": [], + "leftColumn": 0, + "children": [ { - "widgetName":"Text1", - "rightColumn":12, - "textAlign":"LEFT", - "widgetId":"uhe8hpkvld", - "topRow":3, - "bottomRow":7, - "parentRowSpace":40, - "isVisible":true, - "type":"TEXT_WIDGET", - "fontStyle":"BOLD", - "version":1, - "textColor":"#231F20", - "parentId":"0", - "isLoading":false, - "parentColumnSpace":74, - "dynamicTriggerPathList":[ - - ], - "leftColumn":0, - "dynamicBindingPathList":[ - - ], - "fontSize":"HEADING1", - "text":"\uD83D\uDC6B Customers" + "widgetName": "Text1", + "rightColumn": 12, + "textAlign": "LEFT", + "widgetId": "uhe8hpkvld", + "topRow": 3, + "bottomRow": 7, + "parentRowSpace": 40, + "isVisible": true, + "type": "TEXT_WIDGET", + "fontStyle": "BOLD", + "version": 1, + "textColor": "#231F20", + "parentId": "0", + "isLoading": false, + "parentColumnSpace": 74, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "fontSize": "HEADING1", + "text": "\uD83D\uDC6B Customers" }, { - "widgetName":"CustomersTable", - "defaultPageSize":0, - "columnOrder":[ + "widgetName": "CustomersTable", + "defaultPageSize": 0, + "columnOrder": [ "id", "gender", "latitude", @@ -850,910 +790,814 @@ "country", "name" ], - "isVisibleDownload":true, - "dynamicPropertyPathList":[ - - ], - "displayName":"Table", - "iconSVG":"/static/media/icon.db8a9cbd.svg", - "topRow":7, - "bottomRow":67, - "parentRowSpace":10, - "isSortable":true, - "type":"TABLE_WIDGET", - "defaultSelectedRow":"0", - "hideCard":false, - "parentColumnSpace":17.28125, - "dynamicTriggerPathList":[ + "isVisibleDownload": true, + "dynamicPropertyPathList": [], + "displayName": "Table", + "iconSVG": "/static/media/icon.db8a9cbd.svg", + "topRow": 7, + "bottomRow": 67, + "parentRowSpace": 10, + "isSortable": true, + "type": "TABLE_WIDGET", + "defaultSelectedRow": "0", + "hideCard": false, + "parentColumnSpace": 17.28125, + "dynamicTriggerPathList": [ { - "key":"onRowSelected" + "key": "onRowSelected" }, { - "key":"onSearchTextChanged" + "key": "onSearchTextChanged" } ], - "dynamicBindingPathList":[ + "dynamicBindingPathList": [ { - "key":"primaryColumns.id.computedValue" + "key": "primaryColumns.id.computedValue" }, { - "key":"primaryColumns.name.computedValue" + "key": "primaryColumns.name.computedValue" }, { - "key":"primaryColumns.gender.computedValue" + "key": "primaryColumns.gender.computedValue" }, { - "key":"primaryColumns.latitude.computedValue" + "key": "primaryColumns.latitude.computedValue" }, { - "key":"primaryColumns.longitude.computedValue" + "key": "primaryColumns.longitude.computedValue" }, { - "key":"primaryColumns.dob.computedValue" + "key": "primaryColumns.dob.computedValue" }, { - "key":"primaryColumns.phone.computedValue" + "key": "primaryColumns.phone.computedValue" }, { - "key":"primaryColumns.email.computedValue" + "key": "primaryColumns.email.computedValue" }, { - "key":"primaryColumns.image.computedValue" + "key": "primaryColumns.image.computedValue" }, { - "key":"primaryColumns.country.computedValue" + "key": "primaryColumns.country.computedValue" }, { - "key":"tableData" + "key": "tableData" } ], - "leftColumn":0, - "primaryColumns":{ - "id":{ - "index":0, - "width":150, - "id":"id", - "horizontalAlignment":"LEFT", - "verticalAlignment":"CENTER", - "columnType":"text", - "textSize":"PARAGRAPH", - "enableFilter":true, - "enableSort":true, - "isVisible":true, - "isDisabled":false, - "isCellVisible":true, - "isDerived":false, - "label":"id", - "computedValue":"{{CustomersTable.sanitizedTableData.map((currentRow) => ( currentRow.id))}}" + "leftColumn": 0, + "primaryColumns": { + "id": { + "index": 0, + "width": 150, + "id": "id", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "text", + "textSize": "PARAGRAPH", + "enableFilter": true, + "enableSort": true, + "isVisible": true, + "isDisabled": false, + "isCellVisible": true, + "isDerived": false, + "label": "id", + "computedValue": "{{CustomersTable.sanitizedTableData.map((currentRow) => ( currentRow.id))}}" }, - "name":{ - "index":1, - "width":150, - "id":"name", - "horizontalAlignment":"LEFT", - "verticalAlignment":"CENTER", - "columnType":"text", - "textSize":"PARAGRAPH", - "enableFilter":true, - "enableSort":true, - "isVisible":true, - "isDisabled":false, - "isCellVisible":true, - "isDerived":false, - "label":"name", - "computedValue":"{{CustomersTable.sanitizedTableData.map((currentRow) => ( currentRow.name))}}" + "name": { + "index": 1, + "width": 150, + "id": "name", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "text", + "textSize": "PARAGRAPH", + "enableFilter": true, + "enableSort": true, + "isVisible": true, + "isDisabled": false, + "isCellVisible": true, + "isDerived": false, + "label": "name", + "computedValue": "{{CustomersTable.sanitizedTableData.map((currentRow) => ( currentRow.name))}}" }, - "gender":{ - "index":1, - "width":150, - "id":"gender", - "horizontalAlignment":"LEFT", - "verticalAlignment":"CENTER", - "columnType":"text", - "textSize":"PARAGRAPH", - "enableFilter":true, - "enableSort":true, - "isVisible":false, - "isDisabled":false, - "isCellVisible":true, - "isDerived":false, - "label":"gender", - "computedValue":"{{CustomersTable.sanitizedTableData.map((currentRow) => ( currentRow.gender))}}" + "gender": { + "index": 1, + "width": 150, + "id": "gender", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "text", + "textSize": "PARAGRAPH", + "enableFilter": true, + "enableSort": true, + "isVisible": false, + "isDisabled": false, + "isCellVisible": true, + "isDerived": false, + "label": "gender", + "computedValue": "{{CustomersTable.sanitizedTableData.map((currentRow) => ( currentRow.gender))}}" }, - "latitude":{ - "index":2, - "width":150, - "id":"latitude", - "horizontalAlignment":"LEFT", - "verticalAlignment":"CENTER", - "columnType":"text", - "textSize":"PARAGRAPH", - "enableFilter":true, - "enableSort":true, - "isVisible":false, - "isDisabled":false, - "isCellVisible":true, - "isDerived":false, - "label":"latitude", - "computedValue":"{{CustomersTable.sanitizedTableData.map((currentRow) => ( currentRow.latitude))}}" + "latitude": { + "index": 2, + "width": 150, + "id": "latitude", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "text", + "textSize": "PARAGRAPH", + "enableFilter": true, + "enableSort": true, + "isVisible": false, + "isDisabled": false, + "isCellVisible": true, + "isDerived": false, + "label": "latitude", + "computedValue": "{{CustomersTable.sanitizedTableData.map((currentRow) => ( currentRow.latitude))}}" }, - "longitude":{ - "index":3, - "width":150, - "id":"longitude", - "horizontalAlignment":"LEFT", - "verticalAlignment":"CENTER", - "columnType":"text", - "textSize":"PARAGRAPH", - "enableFilter":true, - "enableSort":true, - "isVisible":false, - "isDisabled":false, - "isCellVisible":true, - "isDerived":false, - "label":"longitude", - "computedValue":"{{CustomersTable.sanitizedTableData.map((currentRow) => ( currentRow.longitude))}}" + "longitude": { + "index": 3, + "width": 150, + "id": "longitude", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "text", + "textSize": "PARAGRAPH", + "enableFilter": true, + "enableSort": true, + "isVisible": false, + "isDisabled": false, + "isCellVisible": true, + "isDerived": false, + "label": "longitude", + "computedValue": "{{CustomersTable.sanitizedTableData.map((currentRow) => ( currentRow.longitude))}}" }, - "dob":{ - "index":4, - "width":150, - "id":"dob", - "horizontalAlignment":"LEFT", - "verticalAlignment":"CENTER", - "columnType":"text", - "textSize":"PARAGRAPH", - "enableFilter":true, - "enableSort":true, - "isVisible":false, - "isDisabled":false, - "isCellVisible":true, - "isDerived":false, - "label":"dob", - "computedValue":"{{CustomersTable.sanitizedTableData.map((currentRow) => ( currentRow.dob))}}" + "dob": { + "index": 4, + "width": 150, + "id": "dob", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "text", + "textSize": "PARAGRAPH", + "enableFilter": true, + "enableSort": true, + "isVisible": false, + "isDisabled": false, + "isCellVisible": true, + "isDerived": false, + "label": "dob", + "computedValue": "{{CustomersTable.sanitizedTableData.map((currentRow) => ( currentRow.dob))}}" }, - "phone":{ - "index":5, - "width":150, - "id":"phone", - "horizontalAlignment":"LEFT", - "verticalAlignment":"CENTER", - "columnType":"text", - "textSize":"PARAGRAPH", - "enableFilter":true, - "enableSort":true, - "isVisible":false, - "isDisabled":false, - "isCellVisible":true, - "isDerived":false, - "label":"phone", - "computedValue":"{{CustomersTable.sanitizedTableData.map((currentRow) => ( currentRow.phone))}}" + "phone": { + "index": 5, + "width": 150, + "id": "phone", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "text", + "textSize": "PARAGRAPH", + "enableFilter": true, + "enableSort": true, + "isVisible": false, + "isDisabled": false, + "isCellVisible": true, + "isDerived": false, + "label": "phone", + "computedValue": "{{CustomersTable.sanitizedTableData.map((currentRow) => ( currentRow.phone))}}" }, - "email":{ - "index":6, - "width":150, - "id":"email", - "horizontalAlignment":"LEFT", - "verticalAlignment":"CENTER", - "columnType":"text", - "textSize":"PARAGRAPH", - "enableFilter":true, - "enableSort":true, - "isVisible":true, - "isDisabled":false, - "isCellVisible":true, - "isDerived":false, - "label":"email", - "computedValue":"{{CustomersTable.sanitizedTableData.map((currentRow) => ( currentRow.email))}}" + "email": { + "index": 6, + "width": 150, + "id": "email", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "text", + "textSize": "PARAGRAPH", + "enableFilter": true, + "enableSort": true, + "isVisible": true, + "isDisabled": false, + "isCellVisible": true, + "isDerived": false, + "label": "email", + "computedValue": "{{CustomersTable.sanitizedTableData.map((currentRow) => ( currentRow.email))}}" }, - "image":{ - "index":7, - "width":150, - "id":"image", - "horizontalAlignment":"LEFT", - "verticalAlignment":"CENTER", - "columnType":"text", - "textSize":"PARAGRAPH", - "enableFilter":true, - "enableSort":true, - "isVisible":true, - "isDisabled":false, - "isCellVisible":true, - "isDerived":false, - "label":"image", - "computedValue":"{{CustomersTable.sanitizedTableData.map((currentRow) => ( currentRow.image))}}" + "image": { + "index": 7, + "width": 150, + "id": "image", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "text", + "textSize": "PARAGRAPH", + "enableFilter": true, + "enableSort": true, + "isVisible": true, + "isDisabled": false, + "isCellVisible": true, + "isDerived": false, + "label": "image", + "computedValue": "{{CustomersTable.sanitizedTableData.map((currentRow) => ( currentRow.image))}}" }, - "country":{ - "index":8, - "width":150, - "id":"country", - "horizontalAlignment":"LEFT", - "verticalAlignment":"CENTER", - "columnType":"text", - "textSize":"PARAGRAPH", - "enableFilter":true, - "enableSort":true, - "isVisible":true, - "isDisabled":false, - "isCellVisible":true, - "isDerived":false, - "label":"country", - "computedValue":"{{CustomersTable.sanitizedTableData.map((currentRow) => ( currentRow.country))}}" + "country": { + "index": 8, + "width": 150, + "id": "country", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "text", + "textSize": "PARAGRAPH", + "enableFilter": true, + "enableSort": true, + "isVisible": true, + "isDisabled": false, + "isCellVisible": true, + "isDerived": false, + "label": "country", + "computedValue": "{{CustomersTable.sanitizedTableData.map((currentRow) => ( currentRow.country))}}" } }, - "delimiter":",", - "onRowSelected":"", - "key":"gsiv88orej", - "derivedColumns":{ - - }, - "rightColumn":34, - "textSize":"PARAGRAPH", - "widgetId":"rsrxzwk730", - "isVisibleFilters":true, - "tableData":"{{getCustomers.data}}", - "isVisible":true, - "label":"Data", - "searchKey":"", - "version":3, - "totalRecordsCount":0, - "parentId":"0", - "renderMode":"CANVAS", - "isLoading":false, - "onSearchTextChanged":"", - "horizontalAlignment":"LEFT", - "isVisibleSearch":true, - "isVisiblePagination":true, - "verticalAlignment":"CENTER", - "columnSizeMap":{ - "task":245, - "step":62, - "status":75 + "delimiter": ",", + "onRowSelected": "", + "key": "gsiv88orej", + "derivedColumns": {}, + "rightColumn": 34, + "textSize": "PARAGRAPH", + "widgetId": "rsrxzwk730", + "isVisibleFilters": true, + "tableData": "{{getCustomers.data}}", + "isVisible": true, + "label": "Data", + "searchKey": "", + "version": 3, + "totalRecordsCount": 0, + "parentId": "0", + "renderMode": "CANVAS", + "isLoading": false, + "onSearchTextChanged": "", + "horizontalAlignment": "LEFT", + "isVisibleSearch": true, + "isVisiblePagination": true, + "verticalAlignment": "CENTER", + "columnSizeMap": { + "task": 245, + "step": 62, + "status": 75 } }, { - "boxShadow":"NONE", - "widgetName":"CustomersUpdateForm", - "borderColor":"transparent", - "isCanvas":true, - "displayName":"Container", - "iconSVG":"/static/media/icon.1977dca3.svg", - "topRow":7, - "bottomRow":35, - "parentRowSpace":10, - "type":"CONTAINER_WIDGET", - "hideCard":false, - "parentColumnSpace":17.28125, - "leftColumn":35, - "dynamicBindingPathList":[ - - ], - "children":[ + "boxShadow": "NONE", + "widgetName": "CustomersUpdateForm", + "borderColor": "transparent", + "isCanvas": true, + "displayName": "Container", + "iconSVG": "/static/media/icon.1977dca3.svg", + "topRow": 7, + "bottomRow": 35, + "parentRowSpace": 10, + "type": "CONTAINER_WIDGET", + "hideCard": false, + "parentColumnSpace": 17.28125, + "leftColumn": 35, + "dynamicBindingPathList": [], + "children": [ { - "widgetName":"Canvas1", - "rightColumn":414.75, - "detachFromLayout":true, - "displayName":"Canvas", - "widgetId":"ipw6xv7084", - "containerStyle":"none", - "topRow":0, - "bottomRow":390, - "parentRowSpace":1, - "isVisible":true, - "type":"CANVAS_WIDGET", - "canExtend":false, - "version":1, - "hideCard":true, - "parentId":"eef4brprkp", - "minHeight":400, - "renderMode":"CANVAS", - "isLoading":false, - "parentColumnSpace":1, - "leftColumn":0, - "dynamicBindingPathList":[ - - ], - "children":[ + "widgetName": "Canvas1", + "rightColumn": 414.75, + "detachFromLayout": true, + "displayName": "Canvas", + "widgetId": "ipw6xv7084", + "containerStyle": "none", + "topRow": 0, + "bottomRow": 390, + "parentRowSpace": 1, + "isVisible": true, + "type": "CANVAS_WIDGET", + "canExtend": false, + "version": 1, + "hideCard": true, + "parentId": "eef4brprkp", + "minHeight": 400, + "renderMode": "CANVAS", + "isLoading": false, + "parentColumnSpace": 1, + "leftColumn": 0, + "dynamicBindingPathList": [], + "children": [ { - "widgetName":"Image1", - "dynamicPropertyPathList":[ - - ], - "displayName":"Image", - "iconSVG":"/static/media/icon.52d8fb96.svg", - "topRow":6, - "bottomRow":18, - "parentRowSpace":10, - "type":"IMAGE_WIDGET", - "hideCard":false, - "parentColumnSpace":6.16796875, - "dynamicTriggerPathList":[ - - ], - "imageShape":"RECTANGLE", - "leftColumn":1, - "dynamicBindingPathList":[ + "widgetName": "Image1", + "dynamicPropertyPathList": [], + "displayName": "Image", + "iconSVG": "/static/media/icon.52d8fb96.svg", + "topRow": 6, + "bottomRow": 18, + "parentRowSpace": 10, + "type": "IMAGE_WIDGET", + "hideCard": false, + "parentColumnSpace": 6.16796875, + "dynamicTriggerPathList": [], + "imageShape": "RECTANGLE", + "leftColumn": 1, + "dynamicBindingPathList": [ { - "key":"image" + "key": "image" } ], - "defaultImage":"https://assets.appsmith.com/widgets/default.png", - "key":"adi6u5121d", - "image":"{{CustomersTable.selectedRow.image}}", - "rightColumn":17, - "objectFit":"contain", - "widgetId":"4jqt6zbar8", - "isVisible":true, - "version":1, - "parentId":"ipw6xv7084", - "renderMode":"CANVAS", - "isLoading":false, - "maxZoomLevel":1, - "enableDownload":false, - "enableRotation":false + "defaultImage": "https://assets.appsmith.com/widgets/default.png", + "key": "adi6u5121d", + "image": "{{CustomersTable.selectedRow.image}}", + "rightColumn": 17, + "objectFit": "contain", + "widgetId": "4jqt6zbar8", + "isVisible": true, + "version": 1, + "parentId": "ipw6xv7084", + "renderMode": "CANVAS", + "isLoading": false, + "maxZoomLevel": 1, + "enableDownload": false, + "enableRotation": false }, { - "widgetName":"Button1", - "onClick":"{{updateCustomerInfo.run(() => getCustomers.run(), () => {})}}", - "buttonColor":"#03B365", - "dynamicPropertyPathList":[ - - ], - "displayName":"Button", - "iconSVG":"/static/media/icon.cca02633.svg", - "topRow":19, - "bottomRow":24, - "parentRowSpace":10, - "type":"BUTTON_WIDGET", - "hideCard":false, - "parentColumnSpace":17.28125, - "dynamicTriggerPathList":[ + "widgetName": "Button1", + "onClick": "{{updateCustomerInfo.run(() => getCustomers.run(), () => {})}}", + "buttonColor": "#03B365", + "dynamicPropertyPathList": [], + "displayName": "Button", + "iconSVG": "/static/media/icon.cca02633.svg", + "topRow": 19, + "bottomRow": 24, + "parentRowSpace": 10, + "type": "BUTTON_WIDGET", + "hideCard": false, + "parentColumnSpace": 17.28125, + "dynamicTriggerPathList": [ { - "key":"onClick" + "key": "onClick" } ], - "leftColumn":1, - "dynamicBindingPathList":[ - - ], - "text":"Click to Update", - "isDisabled":false, - "key":"pnsylwi4gl", - "rightColumn":25, - "isDefaultClickDisabled":true, - "widgetId":"4h8ydlp77c", - "recaptchaV2":false, - "isVisible":true, - "version":1, - "parentId":"ipw6xv7084", - "renderMode":"CANVAS", - "isLoading":false, - "buttonVariant":"PRIMARY" + "leftColumn": 1, + "dynamicBindingPathList": [], + "text": "Click to Update", + "isDisabled": false, + "key": "pnsylwi4gl", + "rightColumn": 25, + "isDefaultClickDisabled": true, + "widgetId": "4h8ydlp77c", + "recaptchaV2": false, + "isVisible": true, + "version": 1, + "parentId": "ipw6xv7084", + "renderMode": "CANVAS", + "isLoading": false, + "buttonVariant": "PRIMARY" }, { - "widgetName":"Text3", - "displayName":"Text", - "iconSVG":"/static/media/icon.e6c93592.svg", - "topRow":6, - "bottomRow":10, - "parentRowSpace":10, - "type":"TEXT_WIDGET", - "hideCard":false, - "parentColumnSpace":17.28125, - "dynamicTriggerPathList":[ - - ], - "leftColumn":19, - "dynamicBindingPathList":[ - - ], - "text":"Name", - "key":"5lk46x36ow", - "rightColumn":27, - "textAlign":"LEFT", - "widgetId":"c1jj2old4v", - "isVisible":true, - "fontStyle":"BOLD", - "textColor":"#231F20", - "version":1, - "parentId":"ipw6xv7084", - "renderMode":"CANVAS", - "isLoading":false, - "fontSize":"PARAGRAPH" + "widgetName": "Text3", + "displayName": "Text", + "iconSVG": "/static/media/icon.e6c93592.svg", + "topRow": 6, + "bottomRow": 10, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "hideCard": false, + "parentColumnSpace": 17.28125, + "dynamicTriggerPathList": [], + "leftColumn": 19, + "dynamicBindingPathList": [], + "text": "Name", + "key": "5lk46x36ow", + "rightColumn": 27, + "textAlign": "LEFT", + "widgetId": "c1jj2old4v", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "ipw6xv7084", + "renderMode": "CANVAS", + "isLoading": false, + "fontSize": "PARAGRAPH" }, { - "widgetName":"Input1", - "displayName":"Input", - "iconSVG":"/static/media/icon.9f505595.svg", - "topRow":6, - "bottomRow":10, - "parentRowSpace":10, - "autoFocus":false, - "type":"INPUT_WIDGET", - "hideCard":false, - "parentColumnSpace":17.28125, - "dynamicTriggerPathList":[ - - ], - "resetOnSubmit":true, - "leftColumn":30, - "dynamicBindingPathList":[ + "widgetName": "Input1", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 6, + "bottomRow": 10, + "parentRowSpace": 10, + "autoFocus": false, + "type": "INPUT_WIDGET", + "hideCard": false, + "parentColumnSpace": 17.28125, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 30, + "dynamicBindingPathList": [ { - "key":"defaultText" + "key": "defaultText" } ], - "labelStyle":"BOLD", - "inputType":"TEXT", - "isDisabled":false, - "key":"2opxkb2mkr", - "isRequired":false, - "rightColumn":63, - "widgetId":"lzt5kk7pyi", - "isVisible":true, - "label":"", - "allowCurrencyChange":false, - "version":1, - "parentId":"ipw6xv7084", - "renderMode":"CANVAS", - "isLoading":false, - "iconAlign":"left", - "defaultText":"{{CustomersTable.selectedRow.name}}" + "labelStyle": "BOLD", + "inputType": "TEXT", + "isDisabled": false, + "key": "2opxkb2mkr", + "isRequired": false, + "rightColumn": 63, + "widgetId": "lzt5kk7pyi", + "isVisible": true, + "label": "", + "allowCurrencyChange": false, + "version": 1, + "parentId": "ipw6xv7084", + "renderMode": "CANVAS", + "isLoading": false, + "iconAlign": "left", + "defaultText": "{{CustomersTable.selectedRow.name}}" }, { - "widgetName":"Text4", - "displayName":"Text", - "iconSVG":"/static/media/icon.e6c93592.svg", - "topRow":10, - "bottomRow":14, - "parentRowSpace":10, - "type":"TEXT_WIDGET", - "hideCard":false, - "parentColumnSpace":17.28125, - "dynamicTriggerPathList":[ - - ], - "leftColumn":19, - "dynamicBindingPathList":[ - - ], - "text":"Email", - "key":"5lk46x36ow", - "rightColumn":27, - "textAlign":"LEFT", - "widgetId":"tfyfiirq70", - "isVisible":true, - "fontStyle":"BOLD", - "textColor":"#231F20", - "version":1, - "parentId":"ipw6xv7084", - "renderMode":"CANVAS", - "isLoading":false, - "fontSize":"PARAGRAPH" + "widgetName": "Text4", + "displayName": "Text", + "iconSVG": "/static/media/icon.e6c93592.svg", + "topRow": 10, + "bottomRow": 14, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "hideCard": false, + "parentColumnSpace": 17.28125, + "dynamicTriggerPathList": [], + "leftColumn": 19, + "dynamicBindingPathList": [], + "text": "Email", + "key": "5lk46x36ow", + "rightColumn": 27, + "textAlign": "LEFT", + "widgetId": "tfyfiirq70", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "ipw6xv7084", + "renderMode": "CANVAS", + "isLoading": false, + "fontSize": "PARAGRAPH" }, { - "widgetName":"Input2", - "displayName":"Input", - "iconSVG":"/static/media/icon.9f505595.svg", - "topRow":10, - "bottomRow":14, - "parentRowSpace":10, - "autoFocus":false, - "type":"INPUT_WIDGET", - "hideCard":false, - "parentColumnSpace":17.28125, - "dynamicTriggerPathList":[ - - ], - "resetOnSubmit":true, - "leftColumn":30, - "dynamicBindingPathList":[ + "widgetName": "Input2", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 10, + "bottomRow": 14, + "parentRowSpace": 10, + "autoFocus": false, + "type": "INPUT_WIDGET", + "hideCard": false, + "parentColumnSpace": 17.28125, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 30, + "dynamicBindingPathList": [ { - "key":"defaultText" + "key": "defaultText" } ], - "labelStyle":"BOLD", - "inputType":"TEXT", - "isDisabled":false, - "key":"2opxkb2mkr", - "isRequired":false, - "rightColumn":63, - "widgetId":"7efpe5qgan", - "isVisible":true, - "label":"", - "allowCurrencyChange":false, - "version":1, - "parentId":"ipw6xv7084", - "renderMode":"CANVAS", - "isLoading":false, - "iconAlign":"left", - "defaultText":"{{CustomersTable.selectedRow.email}}" + "labelStyle": "BOLD", + "inputType": "TEXT", + "isDisabled": false, + "key": "2opxkb2mkr", + "isRequired": false, + "rightColumn": 63, + "widgetId": "7efpe5qgan", + "isVisible": true, + "label": "", + "allowCurrencyChange": false, + "version": 1, + "parentId": "ipw6xv7084", + "renderMode": "CANVAS", + "isLoading": false, + "iconAlign": "left", + "defaultText": "{{CustomersTable.selectedRow.email}}" }, { - "widgetName":"Text5", - "displayName":"Text", - "iconSVG":"/static/media/icon.e6c93592.svg", - "topRow":14, - "bottomRow":18, - "parentRowSpace":10, - "type":"TEXT_WIDGET", - "hideCard":false, - "parentColumnSpace":17.28125, - "dynamicTriggerPathList":[ - - ], - "leftColumn":19, - "dynamicBindingPathList":[ - - ], - "text":"Country", - "key":"5lk46x36ow", - "rightColumn":29, - "textAlign":"LEFT", - "widgetId":"aw4ms5348w", - "isVisible":true, - "fontStyle":"BOLD", - "textColor":"#231F20", - "version":1, - "parentId":"ipw6xv7084", - "renderMode":"CANVAS", - "isLoading":false, - "fontSize":"PARAGRAPH" + "widgetName": "Text5", + "displayName": "Text", + "iconSVG": "/static/media/icon.e6c93592.svg", + "topRow": 14, + "bottomRow": 18, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "hideCard": false, + "parentColumnSpace": 17.28125, + "dynamicTriggerPathList": [], + "leftColumn": 19, + "dynamicBindingPathList": [], + "text": "Country", + "key": "5lk46x36ow", + "rightColumn": 29, + "textAlign": "LEFT", + "widgetId": "aw4ms5348w", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "ipw6xv7084", + "renderMode": "CANVAS", + "isLoading": false, + "fontSize": "PARAGRAPH" }, { - "widgetName":"Input3", - "displayName":"Input", - "iconSVG":"/static/media/icon.9f505595.svg", - "topRow":14, - "bottomRow":18, - "parentRowSpace":10, - "autoFocus":false, - "type":"INPUT_WIDGET", - "hideCard":false, - "parentColumnSpace":17.28125, - "dynamicTriggerPathList":[ - - ], - "resetOnSubmit":true, - "leftColumn":30, - "dynamicBindingPathList":[ + "widgetName": "Input3", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 14, + "bottomRow": 18, + "parentRowSpace": 10, + "autoFocus": false, + "type": "INPUT_WIDGET", + "hideCard": false, + "parentColumnSpace": 17.28125, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 30, + "dynamicBindingPathList": [ { - "key":"defaultText" + "key": "defaultText" } ], - "labelStyle":"BOLD", - "inputType":"TEXT", - "isDisabled":false, - "key":"2opxkb2mkr", - "isRequired":false, - "rightColumn":63, - "widgetId":"kvp1gx7kxj", - "isVisible":true, - "label":"", - "allowCurrencyChange":false, - "version":1, - "parentId":"ipw6xv7084", - "renderMode":"CANVAS", - "isLoading":false, - "iconAlign":"left", - "defaultText":"{{CustomersTable.selectedRow.country}}" + "labelStyle": "BOLD", + "inputType": "TEXT", + "isDisabled": false, + "key": "2opxkb2mkr", + "isRequired": false, + "rightColumn": 63, + "widgetId": "kvp1gx7kxj", + "isVisible": true, + "label": "", + "allowCurrencyChange": false, + "version": 1, + "parentId": "ipw6xv7084", + "renderMode": "CANVAS", + "isLoading": false, + "iconAlign": "left", + "defaultText": "{{CustomersTable.selectedRow.country}}" }, { - "widgetName":"Text2", - "rightColumn":50, - "textAlign":"LEFT", - "widgetId":"r493sogel1", - "topRow":1, - "bottomRow":5, - "parentRowSpace":40, - "isVisible":true, - "type":"TEXT_WIDGET", - "fontStyle":"BOLD", - "version":1, - "textColor":"#231F20", - "parentId":"ipw6xv7084", - "isLoading":false, - "parentColumnSpace":74, - "dynamicTriggerPathList":[ - - ], - "leftColumn":1, - "dynamicBindingPathList":[ - - ], - "fontSize":"HEADING2", - "text":"\uD83D\uDC68‍\uD83D\uDCBC Customer Update Form" + "widgetName": "Text2", + "rightColumn": 50, + "textAlign": "LEFT", + "widgetId": "r493sogel1", + "topRow": 1, + "bottomRow": 5, + "parentRowSpace": 40, + "isVisible": true, + "type": "TEXT_WIDGET", + "fontStyle": "BOLD", + "version": 1, + "textColor": "#231F20", + "parentId": "ipw6xv7084", + "isLoading": false, + "parentColumnSpace": 74, + "dynamicTriggerPathList": [], + "leftColumn": 1, + "dynamicBindingPathList": [], + "fontSize": "HEADING2", + "text": "\uD83D\uDC68‍\uD83D\uDCBC Customer Update Form" } ], - "key":"qcuszkvnz2" + "key": "qcuszkvnz2" } ], - "borderWidth":"0", - "key":"i2qu6blist", - "backgroundColor":"#FFFFFF", - "rightColumn":64, - "widgetId":"eef4brprkp", - "containerStyle":"card", - "isVisible":true, - "version":1, - "parentId":"0", - "renderMode":"CANVAS", - "isLoading":false, - "borderRadius":"0" + "borderWidth": "0", + "key": "i2qu6blist", + "backgroundColor": "#FFFFFF", + "rightColumn": 64, + "widgetId": "eef4brprkp", + "containerStyle": "card", + "isVisible": true, + "version": 1, + "parentId": "0", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0" } ] }, - "layoutOnLoadActions":[ + "layoutOnLoadActions": [ [ { - "id":"61c423b3c68eef4ad80de9c8", - "name":"getCustomers", - "pluginType":"DB", - "jsonPathKeys":[ - - ], - "timeoutInMillisecond":10000 + "id": "61c423b3c68eef4ad80de9c8", + "name": "getCustomers", + "pluginType": "DB", + "jsonPathKeys": [], + "timeoutInMillisecond": 10000 } ] ], - "new":false + "new": false } ], - "userPermissions":[ - - ] + "userPermissions": [] }, - "new":true + "new": true } ], - "publishedDefaultPageName":"Page1", - "unpublishedDefaultPageName":"Page1", - "actionList":[ + "publishedDefaultPageName": "Page1", + "unpublishedDefaultPageName": "Page1", + "actionList": [ { - "id":"61c423b3c68eef4ad80de9c7", - "userPermissions":[ + "id": "61c423b3c68eef4ad80de9c7", + "userPermissions": [ "read:actions", "execute:actions", "manage:actions" ], - "gitSyncId":"61c423b3c68eef4ad80de9c1_61c423b3c68eef4ad80de9c5", - "pluginType":"DB", - "pluginId":"postgres-plugin", - "unpublishedAction":{ - "name":"updateCustomerInfo", - "datasource":{ - "id":"Mock Database", - "userPermissions":[ - - ], - "pluginId":"postgres-plugin", - "messages":[ - - ], - "isValid":true, - "new":false + "gitSyncId": "61c423b3c68eef4ad80de9c1_61c423b3c68eef4ad80de9c5", + "pluginType": "DB", + "pluginId": "postgres-plugin", + "unpublishedAction": { + "name": "updateCustomerInfo", + "datasource": { + "id": "Mock Database", + "userPermissions": [], + "pluginId": "postgres-plugin", + "messages": [], + "isValid": true, + "new": false }, - "pageId":"Page1", - "actionConfiguration":{ - "timeoutInMillisecond":10000, - "paginationType":"NONE", - "encodeParamsToggle":true, - "body":"UPDATE user_data SET name = '{{Input1.text}}', email = '{{Input2.text}}', country = '{{Input3.text}}' WHERE id = {{CustomersTable.selectedRow.id}}", - "pluginSpecifiedTemplates":[ + "pageId": "Page1", + "actionConfiguration": { + "timeoutInMillisecond": 10000, + "paginationType": "NONE", + "encodeParamsToggle": true, + "body": "UPDATE user_data SET name = '{{Input1.text}}', email = '{{Input2.text}}', country = '{{Input3.text}}' WHERE id = {{CustomersTable.selectedRow.id}}", + "pluginSpecifiedTemplates": [ { - "value":false + "value": false } ] }, - "executeOnLoad":false, - "dynamicBindingPathList":[ + "executeOnLoad": false, + "dynamicBindingPathList": [ { - "key":"body" + "key": "body" } ], - "isValid":true, - "invalids":[ - - ], - "messages":[ - - ], - "jsonPathKeys":[ + "isValid": true, + "invalids": [], + "messages": [], + "jsonPathKeys": [ "Input2.text", "CustomersTable.selectedRow.id", "Input1.text", "Input3.text" ], - "confirmBeforeExecute":false, - "userPermissions":[ - - ], - "validName":"updateCustomerInfo" + "confirmBeforeExecute": false, + "userPermissions": [], + "validName": "updateCustomerInfo" }, - "publishedAction":{ - "name":"updateCustomerInfo", - "datasource":{ - "id":"Mock Database", - "userPermissions":[ - - ], - "pluginId":"postgres-plugin", - "messages":[ - - ], - "isValid":true, - "new":false + "publishedAction": { + "name": "updateCustomerInfo", + "datasource": { + "id": "Mock Database", + "userPermissions": [], + "pluginId": "postgres-plugin", + "messages": [], + "isValid": true, + "new": false }, - "pageId":"Page1", - "actionConfiguration":{ - "timeoutInMillisecond":10000, - "paginationType":"NONE", - "encodeParamsToggle":true, - "body":"UPDATE user_data SET name = '{{Input1.text}}', email = '{{Input2.text}}', country = '{{Input3.text}}' WHERE id = {{CustomersTable.selectedRow.id}}", - "pluginSpecifiedTemplates":[ + "pageId": "Page1", + "actionConfiguration": { + "timeoutInMillisecond": 10000, + "paginationType": "NONE", + "encodeParamsToggle": true, + "body": "UPDATE user_data SET name = '{{Input1.text}}', email = '{{Input2.text}}', country = '{{Input3.text}}' WHERE id = {{CustomersTable.selectedRow.id}}", + "pluginSpecifiedTemplates": [ { - "value":false + "value": false } ] }, - "executeOnLoad":false, - "dynamicBindingPathList":[ + "executeOnLoad": false, + "dynamicBindingPathList": [ { - "key":"body" + "key": "body" } ], - "isValid":true, - "invalids":[ - - ], - "messages":[ - - ], - "jsonPathKeys":[ + "isValid": true, + "invalids": [], + "messages": [], + "jsonPathKeys": [ "Input2.text", "CustomersTable.selectedRow.id", "Input1.text", "Input3.text" ], - "confirmBeforeExecute":false, - "userPermissions":[ - - ], - "validName":"updateCustomerInfo" + "confirmBeforeExecute": false, + "userPermissions": [], + "validName": "updateCustomerInfo" }, - "new":false + "new": false }, { - "id":"61c423b3c68eef4ad80de9c8", - "userPermissions":[ + "id": "61c423b3c68eef4ad80de9c8", + "userPermissions": [ "read:actions", "execute:actions", "manage:actions" ], - "gitSyncId":"61c423b3c68eef4ad80de9c1_61c423b3c68eef4ad80de9c6", - "pluginType":"DB", - "pluginId":"postgres-plugin", - "unpublishedAction":{ - "name":"getCustomers", - "datasource":{ - "id":"Mock Database", - "userPermissions":[ - - ], - "pluginId":"postgres-plugin", - "messages":[ - - ], - "isValid":true, - "new":false + "gitSyncId": "61c423b3c68eef4ad80de9c1_61c423b3c68eef4ad80de9c6", + "pluginType": "DB", + "pluginId": "postgres-plugin", + "unpublishedAction": { + "name": "getCustomers", + "datasource": { + "id": "Mock Database", + "userPermissions": [], + "pluginId": "postgres-plugin", + "messages": [], + "isValid": true, + "new": false }, - "pageId":"Page1", - "actionConfiguration":{ - "timeoutInMillisecond":10000, - "paginationType":"NONE", - "encodeParamsToggle":true, - "body":"SELECT * FROM user_data ORDER BY id LIMIT 10;", - "pluginSpecifiedTemplates":[ + "pageId": "Page1", + "actionConfiguration": { + "timeoutInMillisecond": 10000, + "paginationType": "NONE", + "encodeParamsToggle": true, + "body": "SELECT * FROM user_data ORDER BY id LIMIT 10;", + "pluginSpecifiedTemplates": [ { - "value":false + "value": false } ] }, - "executeOnLoad":true, - "dynamicBindingPathList":[ - - ], - "isValid":true, - "invalids":[ - - ], - "messages":[ - - ], - "jsonPathKeys":[ - - ], - "confirmBeforeExecute":false, - "userPermissions":[ - - ], - "validName":"getCustomers" + "executeOnLoad": true, + "dynamicBindingPathList": [], + "isValid": true, + "invalids": [], + "messages": [], + "jsonPathKeys": [], + "confirmBeforeExecute": false, + "userPermissions": [], + "validName": "getCustomers" }, - "publishedAction":{ - "name":"getCustomers", - "datasource":{ - "id":"Mock Database", - "userPermissions":[ - - ], - "pluginId":"postgres-plugin", - "messages":[ - - ], - "isValid":true, - "new":false + "publishedAction": { + "name": "getCustomers", + "datasource": { + "id": "Mock Database", + "userPermissions": [], + "pluginId": "postgres-plugin", + "messages": [], + "isValid": true, + "new": false }, - "pageId":"Page1", - "actionConfiguration":{ - "timeoutInMillisecond":10000, - "paginationType":"NONE", - "encodeParamsToggle":true, - "body":"SELECT * FROM user_data ORDER BY id LIMIT 20;", - "pluginSpecifiedTemplates":[ + "pageId": "Page1", + "actionConfiguration": { + "timeoutInMillisecond": 10000, + "paginationType": "NONE", + "encodeParamsToggle": true, + "body": "SELECT * FROM user_data ORDER BY id LIMIT 20;", + "pluginSpecifiedTemplates": [ { - "value":false + "value": false } ] }, - "executeOnLoad":true, - "dynamicBindingPathList":[ - - ], - "isValid":true, - "invalids":[ - - ], - "messages":[ - - ], - "jsonPathKeys":[ - - ], - "confirmBeforeExecute":false, - "userPermissions":[ - - ], - "validName":"getCustomers" + "executeOnLoad": true, + "dynamicBindingPathList": [], + "isValid": true, + "invalids": [], + "messages": [], + "jsonPathKeys": [], + "confirmBeforeExecute": false, + "userPermissions": [], + "validName": "getCustomers" }, - "new":false + "new": false } ], - "actionCollectionList":[ - - ], - "decryptedFields":{ - "Mock Database":{ - "password":"LimitedAccess123#", - "authType":"com.appsmith.external.models.DBAuth", - "dbAuth":{ - "authenticationType":"dbAuth", - "username":"fakeapi", - "databaseName":"fakeapi" + "actionCollectionList": [], + "decryptedFields": { + "Mock Database": { + "password": "LimitedAccess123#", + "authType": "com.appsmith.external.models.DBAuth", + "dbAuth": { + "authenticationType": "dbAuth", + "username": "fakeapi", + "databaseName": "fakeapi" } } }, - "editModeTheme":{ - "name":"Classic", - "new":true, - "isSystemTheme":true + "editModeTheme": { + "name": "Classic", + "new": true, + "isSystemTheme": true }, - "publishedTheme":{ - "name":"Classic", - "new":true, - "isSystemTheme":true + "publishedTheme": { + "name": "Classic", + "new": true, + "isSystemTheme": true }, - "publishedLayoutmongoEscapedWidgets":{ - - }, - "unpublishedLayoutmongoEscapedWidgets":{ - - } + "publishedLayoutmongoEscapedWidgets": {}, + "unpublishedLayoutmongoEscapedWidgets": {} } \ No newline at end of file diff --git a/app/client/src/sagas/InitSagas.ts b/app/client/src/sagas/InitSagas.ts index c762d897d1..06e2044067 100644 --- a/app/client/src/sagas/InitSagas.ts +++ b/app/client/src/sagas/InitSagas.ts @@ -329,6 +329,7 @@ function* initializeEditorSaga( yield all([ call(initiateEditorActions, applicationId), call(initiatePluginsAndDatasources), + call(populatePageDSLsSaga), ]); AnalyticsUtil.logEvent("EDITOR_OPEN", { @@ -347,8 +348,6 @@ function* initializeEditorSaga( PerformanceTracker.stopAsyncTracking( PerformanceTransactionName.INIT_EDIT_APP, ); - - yield call(populatePageDSLsSaga); } catch (e) { log.error(e); Sentry.captureException(e); @@ -401,51 +400,30 @@ export function* initializeAppViewerSaga( ); yield put({ type: ReduxActionTypes.START_EVALUATION }); - const resultOfPrimaryCalls: boolean = yield failFastApiCalls( - [fetchActionsForView({ applicationId })], - [ReduxActionTypes.FETCH_ACTIONS_VIEW_MODE_SUCCESS], - [ReduxActionErrorTypes.FETCH_ACTIONS_VIEW_MODE_ERROR], - ); - - if (!resultOfPrimaryCalls) return; - - const jsActionsCall: boolean = yield failFastApiCalls( - [fetchJSCollectionsForView({ applicationId })], - [ReduxActionTypes.FETCH_JS_ACTIONS_VIEW_MODE_SUCCESS], - [ReduxActionErrorTypes.FETCH_JS_ACTIONS_VIEW_MODE_ERROR], - ); - if (!jsActionsCall) return; - const defaultPageId: string = yield select(getDefaultPageId); const toLoadPageId: string = pageId || defaultPageId; yield call(initiateURLUpdate, toLoadPageId, APP_MODE.PUBLISHED, pageId); - if (toLoadPageId) { - yield put(fetchPublishedPage(toLoadPageId, true)); + const resultOfPrimaryCalls: boolean = yield failFastApiCalls( + [ + fetchActionsForView({ applicationId }), + fetchJSCollectionsForView({ applicationId }), + fetchPublishedPage(toLoadPageId, true), + ], + [ + ReduxActionTypes.FETCH_ACTIONS_VIEW_MODE_SUCCESS, + ReduxActionTypes.FETCH_JS_ACTIONS_VIEW_MODE_SUCCESS, + ReduxActionTypes.FETCH_PUBLISHED_PAGE_SUCCESS, + ], + [ + ReduxActionErrorTypes.FETCH_ACTIONS_VIEW_MODE_ERROR, + ReduxActionErrorTypes.FETCH_JS_ACTIONS_VIEW_MODE_ERROR, + ReduxActionErrorTypes.FETCH_PUBLISHED_PAGE_ERROR, + ], + ); - const resultOfFetchPage: { - success: boolean; - failure: boolean; - } = yield race({ - success: take(ReduxActionTypes.FETCH_PUBLISHED_PAGE_SUCCESS), - failure: take(ReduxActionErrorTypes.FETCH_PUBLISHED_PAGE_ERROR), - }); - - if (resultOfFetchPage.failure) { - yield put({ - type: ReduxActionTypes.SAFE_CRASH_APPSMITH_REQUEST, - payload: { - code: get( - resultOfFetchPage, - "failure.payload.error.code", - ERROR_CODES.SERVER_ERROR, - ), - }, - }); - return; - } - } + if (!resultOfPrimaryCalls) return; yield put(fetchCommentThreadsInit());