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

3371 lines
146 KiB
JSON
Raw Normal View History

{
"dsl": {
"widgetName": "MainContainer",
"backgroundColor": "none",
"rightColumn": 1118,
"snapColumns": 64,
"detachFromLayout": true,
"widgetId": "0",
"topRow": 0,
"bottomRow": 1100,
"containerStyle": "none",
"snapRows": 125,
"parentRowSpace": 1,
"type": "CANVAS_WIDGET",
"canExtend": true,
"version": 44,
"minHeight": 740,
"parentColumnSpace": 1,
"dynamicBindingPathList": [],
"leftColumn": 0,
"children": [
{
"widgetName": "Tabs1",
"isCanvas": true,
"displayName": "Tabs",
"iconSVG": "/static/media/icon.74a6d653.svg",
"topRow": 2,
"bottomRow": 70,
"parentRowSpace": 10,
"type": "TABS_WIDGET",
"hideCard": false,
"shouldScrollContents": false,
"parentColumnSpace": 17.28125,
"leftColumn": 0,
"children": [
{
"tabId": "tab1",
"widgetName": "Canvas1",
"displayName": "Canvas",
"topRow": 0,
"bottomRow": 640,
"parentRowSpace": 1,
"type": "CANVAS_WIDGET",
"canExtend": true,
"hideCard": true,
"shouldScrollContents": false,
"minHeight": 400,
"parentColumnSpace": 1,
"leftColumn": 0,
"children": [
{
"widgetName": "Divider1",
"thickness": 2,
"displayName": "Divider",
"iconSVG": "/static/media/icon.cbe8f608.svg",
"topRow": 6,
"bottomRow": 62,
"parentRowSpace": 10,
"type": "DIVIDER_WIDGET",
"capType": "nc",
"hideCard": false,
"parentColumnSpace": 13.99853515625,
"dynamicTriggerPathList": [],
"leftColumn": 31,
"dynamicBindingPathList": [],
"key": "8fsusgoia2",
"dividerColor": "#EBEBEB",
"orientation": "vertical",
"strokeStyle": "solid",
"rightColumn": 34,
"widgetId": "zqnw598x7f",
"capSide": 0,
"isVisible": true,
"version": 1,
"parentId": "8t0lhcbfe0",
"renderMode": "CANVAS",
"isLoading": false
},
{
"widgetName": "schema_select",
"isFilterable": false,
"displayName": "Select",
"iconSVG": "/static/media/icon.bd99caba.svg",
"topRow": 1,
"bottomRow": 5,
"parentRowSpace": 10,
"type": "DROP_DOWN_WIDGET",
"serverSideFiltering": false,
"hideCard": false,
"defaultOptionValue": "public",
"selectionType": "SINGLE_SELECT",
"parentColumnSpace": 13.99853515625,
"dynamicTriggerPathList": [{ "key": "onOptionChange" }],
"leftColumn": 1,
"dynamicBindingPathList": [{ "key": "options" }],
"options": "{{get_schema.data.map(s=>({value:s.schema_name,label:s.schema_name}))}}",
"isDisabled": false,
"key": "6a2kk6ylbb",
"isRequired": false,
"rightColumn": 15,
"widgetId": "ch0hlg1yyr",
"isVisible": true,
"label": "",
"version": 1,
"parentId": "8t0lhcbfe0",
"renderMode": "CANVAS",
"isLoading": false,
"onOptionChange": "{{get_tables.run()}}"
},
{
"template": {
"Text1": {
"isVisible": true,
"text": "{{List1.listData.map((currentItem, currentIndex) => {\n return (function(){\n return currentItem.tablename;\n })();\n })}}",
"fontSize": "PARAGRAPH",
"fontStyle": "",
"textAlign": "LEFT",
"textColor": "#231F20",
"widgetName": "Text1",
"version": 1,
"type": "TEXT_WIDGET",
"hideCard": false,
"displayName": "Text",
"key": "ymub4sjv97",
"iconSVG": "/static/media/icon.e6c93592.svg",
"textStyle": "HEADING",
"dynamicBindingPathList": [{ "key": "text" }],
"dynamicTriggerPathList": [],
"widgetId": "b8bjc0739f",
"renderMode": "CANVAS",
"isLoading": false,
"leftColumn": 16,
"rightColumn": 28,
"topRow": 0,
"bottomRow": 4,
"parentId": "wersjklkkb"
},
"Text2": {
"isVisible": true,
"text": "{{List1.listData.map((currentItem, currentIndex) => {\n return (function(){\n return currentItem.tableowner;\n })();\n })}}",
"fontSize": "PARAGRAPH",
"fontStyle": "",
"textAlign": "LEFT",
"textColor": "#231F20",
"widgetName": "Text2",
"version": 1,
"type": "TEXT_WIDGET",
"hideCard": false,
"displayName": "Text",
"key": "ymub4sjv97",
"iconSVG": "/static/media/icon.e6c93592.svg",
"textStyle": "BODY",
"dynamicBindingPathList": [{ "key": "text" }],
"dynamicTriggerPathList": [],
"widgetId": "6tx9fcjmij",
"renderMode": "CANVAS",
"isLoading": false,
"leftColumn": 16,
"rightColumn": 24,
"topRow": 4,
"bottomRow": 8,
"parentId": "wersjklkkb"
},
"Text3": {
"isVisible": true,
"text": "{{List1.listData.map((currentItem, currentIndex) => {\n return (function(){\n return 'Name';\n })();\n })}}",
"fontSize": "PARAGRAPH",
"fontStyle": "BOLD",
"textAlign": "LEFT",
"textColor": "#231F20",
"widgetName": "Text3",
"version": 1,
"type": "TEXT_WIDGET",
"hideCard": false,
"displayName": "Text",
"key": "ymub4sjv97",
"iconSVG": "/static/media/icon.e6c93592.svg",
"widgetId": "82h3nmo0j3",
"renderMode": "CANVAS",
"isLoading": false,
"parentColumnSpace": 4.1031494140625,
"parentRowSpace": 10,
"leftColumn": 2,
"rightColumn": 18,
"topRow": 1,
"bottomRow": 5,
"parentId": "wersjklkkb",
"logBlackList": {
"isVisible": true,
"text": true,
"fontSize": true,
"fontStyle": true,
"textAlign": true,
"textColor": true,
"widgetName": true,
"version": true,
"type": true,
"hideCard": true,
"displayName": true,
"key": true,
"iconSVG": true,
"isCanvas": true,
"minHeight": true,
"widgetId": true,
"renderMode": true,
"isLoading": true,
"parentColumnSpace": true,
"parentRowSpace": true,
"leftColumn": true,
"rightColumn": true,
"topRow": true,
"bottomRow": true,
"parentId": true
}
},
"Text4": {
"isVisible": true,
"text": "{{List1.listData.map((currentItem, currentIndex) => {\n return (function(){\n return 'Owner';\n })();\n })}}",
"fontSize": "PARAGRAPH",
"fontStyle": "BOLD",
"textAlign": "LEFT",
"textColor": "#231F20",
"widgetName": "Text4",
"version": 1,
"type": "TEXT_WIDGET",
"hideCard": false,
"displayName": "Text",
"key": "ymub4sjv97",
"iconSVG": "/static/media/icon.e6c93592.svg",
"widgetId": "vj4n5pe3xd",
"renderMode": "CANVAS",
"isLoading": false,
"parentColumnSpace": 4.1031494140625,
"parentRowSpace": 10,
"leftColumn": 1,
"rightColumn": 17,
"topRow": 5,
"bottomRow": 9,
"parentId": "wersjklkkb",
"logBlackList": {
"isVisible": true,
"text": true,
"fontSize": true,
"fontStyle": true,
"textAlign": true,
"textColor": true,
"widgetName": true,
"version": true,
"type": true,
"hideCard": true,
"displayName": true,
"key": true,
"iconSVG": true,
"isCanvas": true,
"minHeight": true,
"widgetId": true,
"renderMode": true,
"isLoading": true,
"parentColumnSpace": true,
"parentRowSpace": true,
"leftColumn": true,
"rightColumn": true,
"topRow": true,
"bottomRow": true,
"parentId": true
}
},
"Button1": {
"isVisible": true,
"text": "{{List1.listData.map((currentItem, currentIndex) => {\n return (function(){\n return 'View';\n })();\n })}}",
"buttonColor": "#03B365",
"buttonVariant": "{{List1.listData.map((currentItem, currentIndex) => {\n return (function(){\n return 'TERTIARY';\n })();\n })}}",
"widgetName": "Button1",
"isDisabled": false,
"isDefaultClickDisabled": true,
"recaptchaV2": false,
"version": 1,
"type": "BUTTON_WIDGET",
"hideCard": false,
"displayName": "Button",
"key": "1gycutv0md",
"iconSVG": "/static/media/icon.cca02633.svg",
"widgetId": "ai24auj468",
"renderMode": "CANVAS",
"isLoading": false,
"parentColumnSpace": 7.01031494140625,
"parentRowSpace": 10,
"leftColumn": 46,
"rightColumn": 62,
"topRow": 0,
"bottomRow": 4,
"parentId": "wersjklkkb",
"logBlackList": {
"isVisible": true,
"text": true,
"buttonColor": true,
"buttonVariant": true,
"widgetName": true,
"isDisabled": true,
"isDefaultClickDisabled": true,
"recaptchaV2": true,
"version": true,
"type": true,
"hideCard": true,
"displayName": true,
"key": true,
"iconSVG": true,
"isCanvas": true,
"minHeight": true,
"widgetId": true,
"renderMode": true,
"isLoading": true,
"parentColumnSpace": true,
"parentRowSpace": true,
"leftColumn": true,
"rightColumn": true,
"topRow": true,
"bottomRow": true,
"parentId": true
},
"borderRadius": "{{List1.listData.map((currentItem, currentIndex) => {\n return (function(){\n return 'SHARP';\n })();\n })}}",
"boxShadow": "{{List1.listData.map((currentItem, currentIndex) => {\n return (function(){\n return 'NONE';\n })();\n })}}",
"onClick": "{{get_columns.run()}}"
},
"Button2": {
"isVisible": true,
"text": "{{List1.listData.map((currentItem, currentIndex) => {\n return (function(){\n return 'Delete';\n })();\n })}}",
"buttonColor": "{{List1.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '#DD4B34';\n })();\n })}}",
"buttonVariant": "{{List1.listData.map((currentItem, currentIndex) => {\n return (function(){\n return 'TERTIARY';\n })();\n })}}",
"widgetName": "Button2",
"isDisabled": false,
"isDefaultClickDisabled": true,
"recaptchaV2": false,
"version": 1,
"type": "BUTTON_WIDGET",
"hideCard": false,
"displayName": "Button",
"key": "1gycutv0md",
"iconSVG": "/static/media/icon.cca02633.svg",
"widgetId": "f96i3bolf7",
"renderMode": "CANVAS",
"isLoading": false,
"parentColumnSpace": 7.01031494140625,
"parentRowSpace": 10,
"leftColumn": 46,
"rightColumn": 62,
"topRow": 5,
"bottomRow": 9,
"parentId": "wersjklkkb",
"logBlackList": {
"isVisible": true,
"text": true,
"buttonColor": true,
"buttonVariant": true,
"widgetName": true,
"isDisabled": true,
"isDefaultClickDisabled": true,
"recaptchaV2": true,
"version": true,
"type": true,
"hideCard": true,
"displayName": true,
"key": true,
"iconSVG": true,
"isCanvas": true,
"minHeight": true,
"widgetId": true,
"renderMode": true,
"isLoading": true,
"parentColumnSpace": true,
"parentRowSpace": true,
"leftColumn": true,
"rightColumn": true,
"topRow": true,
"bottomRow": true,
"parentId": true
},
"onClick": "{{showModal(Modal1.name)}}"
}
},
"widgetName": "List1",
"listData": "{{get_tables.data}}",
"isCanvas": true,
"displayName": "List",
"iconSVG": "/static/media/icon.9925ee17.svg",
"topRow": 6,
"bottomRow": 62,
"parentRowSpace": 10,
"type": "LIST_WIDGET",
"hideCard": false,
"gridGap": 0,
"parentColumnSpace": 12.1083984375,
"dynamicTriggerPathList": [
{ "key": "template.Button2.onClick" },
{ "key": "template.Button1.onClick" }
],
"leftColumn": 1,
"dynamicBindingPathList": [
{ "key": "template.Text1.text" },
{ "key": "template.Text2.text" },
{ "key": "listData" },
{ "key": "template.Text3.text" },
{ "key": "template.Text4.text" },
{ "key": "template.Button2.text" },
{ "key": "template.Button1.text" },
{ "key": "template.Button1.borderRadius" },
{ "key": "template.Button1.boxShadow" },
{ "key": "template.Button1.buttonVariant" },
{ "key": "template.Button2.buttonColor" },
{ "key": "template.Button2.buttonVariant" }
],
"gridType": "vertical",
"enhancements": true,
"children": [
{
"widgetName": "Canvas3",
"displayName": "Canvas",
"topRow": 0,
"bottomRow": 400,
"parentRowSpace": 1,
"type": "CANVAS_WIDGET",
"canExtend": false,
"hideCard": true,
"dropDisabled": true,
"openParentPropertyPane": true,
"minHeight": 400,
"noPad": true,
"parentColumnSpace": 1,
"leftColumn": 0,
"children": [
{
"boxShadow": "NONE",
"widgetName": "Container1",
"borderColor": "transparent",
"disallowCopy": true,
"isCanvas": true,
"displayName": "Container",
"iconSVG": "/static/media/icon.1977dca3.svg",
"topRow": 0,
"bottomRow": 12,
"dragDisabled": true,
"type": "CONTAINER_WIDGET",
"hideCard": false,
"openParentPropertyPane": true,
"isDeletable": false,
"leftColumn": 0,
"children": [
{
"widgetName": "Canvas4",
"detachFromLayout": true,
"displayName": "Canvas",
"widgetId": "wersjklkkb",
"containerStyle": "none",
"topRow": 0,
"bottomRow": 110,
"parentRowSpace": 1,
"isVisible": true,
"type": "CANVAS_WIDGET",
"canExtend": false,
"version": 1,
"hideCard": true,
"parentId": "di965j7z2y",
"renderMode": "CANVAS",
"isLoading": false,
"parentColumnSpace": 1,
"leftColumn": 0,
"children": [
{
"widgetName": "Text1",
"displayName": "Text",
"iconSVG": "/static/media/icon.e6c93592.svg",
"topRow": 0,
"bottomRow": 4,
"type": "TEXT_WIDGET",
"hideCard": false,
"dynamicTriggerPathList": [],
"dynamicBindingPathList": [{ "key": "text" }],
"leftColumn": 17,
"text": "{{currentItem.tablename}}",
"key": "ymub4sjv97",
"rightColumn": 43,
"textAlign": "LEFT",
"widgetId": "b8bjc0739f",
"logBlackList": {
"isVisible": true,
"text": true,
"fontSize": true,
"fontStyle": true,
"textAlign": true,
"textColor": true,
"widgetName": true,
"version": true,
"type": true,
"hideCard": true,
"displayName": true,
"key": true,
"iconSVG": true,
"isCanvas": true,
"textStyle": true,
"dynamicBindingPathList": true,
"dynamicTriggerPathList": true,
"minHeight": true,
"widgetId": true,
"renderMode": true,
"isLoading": true,
"parentColumnSpace": true,
"parentRowSpace": true,
"leftColumn": true,
"rightColumn": true,
"topRow": true,
"bottomRow": true,
"parentId": true
},
"isVisible": true,
"fontStyle": "",
"textColor": "#231F20",
"version": 1,
"parentId": "wersjklkkb",
"renderMode": "CANVAS",
"isLoading": false,
"fontSize": "PARAGRAPH",
"textStyle": "HEADING"
},
{
"widgetName": "Text2",
"displayName": "Text",
"iconSVG": "/static/media/icon.e6c93592.svg",
"topRow": 5,
"bottomRow": 9,
"type": "TEXT_WIDGET",
"hideCard": false,
"dynamicTriggerPathList": [],
"dynamicBindingPathList": [{ "key": "text" }],
"leftColumn": 17,
"text": "{{currentItem.tableowner}}",
"key": "ymub4sjv97",
"rightColumn": 42,
"textAlign": "LEFT",
"widgetId": "6tx9fcjmij",
"logBlackList": {
"isVisible": true,
"text": true,
"fontSize": true,
"fontStyle": true,
"textAlign": true,
"textColor": true,
"widgetName": true,
"version": true,
"type": true,
"hideCard": true,
"displayName": true,
"key": true,
"iconSVG": true,
"isCanvas": true,
"textStyle": true,
"dynamicBindingPathList": true,
"dynamicTriggerPathList": true,
"minHeight": true,
"widgetId": true,
"renderMode": true,
"isLoading": true,
"parentColumnSpace": true,
"parentRowSpace": true,
"leftColumn": true,
"rightColumn": true,
"topRow": true,
"bottomRow": true,
"parentId": true
},
"isVisible": true,
"fontStyle": "",
"textColor": "#231F20",
"version": 1,
"parentId": "wersjklkkb",
"renderMode": "CANVAS",
"isLoading": false,
"fontSize": "PARAGRAPH",
"textStyle": "BODY"
},
{
"widgetName": "Text3",
"displayName": "Text",
"iconSVG": "/static/media/icon.e6c93592.svg",
"topRow": 0,
"bottomRow": 4,
"parentRowSpace": 10,
"type": "TEXT_WIDGET",
"hideCard": false,
"parentColumnSpace": 4.1031494140625,
"dynamicTriggerPathList": [],
"leftColumn": 0,
"dynamicBindingPathList": [],
"text": "Name",
"key": "ymub4sjv97",
"rightColumn": 17,
"textAlign": "LEFT",
"widgetId": "82h3nmo0j3",
"logBlackList": {
"isVisible": true,
"text": true,
"fontSize": true,
"fontStyle": true,
"textAlign": true,
"textColor": true,
"widgetName": true,
"version": true,
"type": true,
"hideCard": true,
"displayName": true,
"key": true,
"iconSVG": true,
"isCanvas": true,
"minHeight": true,
"widgetId": true,
"renderMode": true,
"isLoading": true,
"parentColumnSpace": true,
"parentRowSpace": true,
"leftColumn": true,
"rightColumn": true,
"topRow": true,
"bottomRow": true,
"parentId": true
},
"isVisible": true,
"fontStyle": "BOLD",
"textColor": "#231F20",
"version": 1,
"parentId": "wersjklkkb",
"renderMode": "CANVAS",
"isLoading": false,
"fontSize": "PARAGRAPH"
},
{
"widgetName": "Text4",
"displayName": "Text",
"iconSVG": "/static/media/icon.e6c93592.svg",
"topRow": 5,
"bottomRow": 9,
"parentRowSpace": 10,
"type": "TEXT_WIDGET",
"hideCard": false,
"parentColumnSpace": 4.1031494140625,
"dynamicTriggerPathList": [],
"leftColumn": 0,
"dynamicBindingPathList": [],
"text": "Owner",
"key": "ymub4sjv97",
"rightColumn": 17,
"textAlign": "LEFT",
"widgetId": "vj4n5pe3xd",
"logBlackList": {
"isVisible": true,
"text": true,
"fontSize": true,
"fontStyle": true,
"textAlign": true,
"textColor": true,
"widgetName": true,
"version": true,
"type": true,
"hideCard": true,
"displayName": true,
"key": true,
"iconSVG": true,
"isCanvas": true,
"minHeight": true,
"widgetId": true,
"renderMode": true,
"isLoading": true,
"parentColumnSpace": true,
"parentRowSpace": true,
"leftColumn": true,
"rightColumn": true,
"topRow": true,
"bottomRow": true,
"parentId": true
},
"isVisible": true,
"fontStyle": "BOLD",
"textColor": "#231F20",
"version": 1,
"parentId": "wersjklkkb",
"renderMode": "CANVAS",
"isLoading": false,
"fontSize": "PARAGRAPH"
},
{
"boxShadow": "NONE",
"widgetName": "Button1",
"onClick": "{{get_columns.run()}}",
"buttonColor": "#03B365",
"dynamicPropertyPathList": [
{ "key": "onClick" }
],
"displayName": "Button",
"iconSVG": "/static/media/icon.cca02633.svg",
"topRow": 0,
"bottomRow": 4,
"parentRowSpace": 10,
"type": "BUTTON_WIDGET",
"hideCard": false,
"parentColumnSpace": 7.01031494140625,
"dynamicTriggerPathList": [
{ "key": "onClick" }
],
"leftColumn": 46,
"dynamicBindingPathList": [],
"text": "View",
"isDisabled": false,
"key": "1gycutv0md",
"rightColumn": 62,
"isDefaultClickDisabled": true,
"widgetId": "ai24auj468",
"logBlackList": {
"isVisible": true,
"text": true,
"buttonColor": true,
"buttonVariant": true,
"widgetName": true,
"isDisabled": true,
"isDefaultClickDisabled": true,
"recaptchaV2": true,
"version": true,
"type": true,
"hideCard": true,
"displayName": true,
"key": true,
"iconSVG": true,
"isCanvas": true,
"minHeight": true,
"widgetId": true,
"renderMode": true,
"isLoading": true,
"parentColumnSpace": true,
"parentRowSpace": true,
"leftColumn": true,
"rightColumn": true,
"topRow": true,
"bottomRow": true,
"parentId": true
},
"recaptchaV2": false,
"isVisible": true,
"version": 1,
"parentId": "wersjklkkb",
"renderMode": "CANVAS",
"isLoading": false,
"borderRadius": "SHARP",
"buttonVariant": "TERTIARY"
},
{
"widgetName": "Button2",
"onClick": "{{showModal(Modal1.name)}}",
"buttonColor": "#DD4B34",
"dynamicPropertyPathList": [
{ "key": "onClick" }
],
"displayName": "Button",
"iconSVG": "/static/media/icon.cca02633.svg",
"topRow": 5,
"bottomRow": 9,
"parentRowSpace": 10,
"type": "BUTTON_WIDGET",
"hideCard": false,
"parentColumnSpace": 7.01031494140625,
"dynamicTriggerPathList": [
{ "key": "onClick" }
],
"leftColumn": 46,
"dynamicBindingPathList": [],
"text": "Delete",
"isDisabled": false,
"key": "1gycutv0md",
"rightColumn": 62,
"isDefaultClickDisabled": true,
"widgetId": "f96i3bolf7",
"logBlackList": {
"isVisible": true,
"text": true,
"buttonColor": true,
"buttonVariant": true,
"widgetName": true,
"isDisabled": true,
"isDefaultClickDisabled": true,
"recaptchaV2": true,
"version": true,
"type": true,
"hideCard": true,
"displayName": true,
"key": true,
"iconSVG": true,
"isCanvas": true,
"minHeight": true,
"widgetId": true,
"renderMode": true,
"isLoading": true,
"parentColumnSpace": true,
"parentRowSpace": true,
"leftColumn": true,
"rightColumn": true,
"topRow": true,
"bottomRow": true,
"parentId": true
},
"recaptchaV2": false,
"isVisible": true,
"version": 1,
"parentId": "wersjklkkb",
"renderMode": "CANVAS",
"isLoading": false,
"buttonVariant": "TERTIARY"
}
],
"key": "7zv4k67vna"
}
],
"borderWidth": "0",
"key": "rvlc11mdiz",
"disablePropertyPane": true,
"backgroundColor": "white",
"rightColumn": 64,
"widgetId": "di965j7z2y",
"containerStyle": "card",
"isVisible": true,
"version": 1,
"parentId": "yo910iwm3i",
"renderMode": "CANVAS",
"isLoading": false,
"borderRadius": "0"
}
],
"key": "7zv4k67vna",
"rightColumn": 290.6015625,
"detachFromLayout": true,
"widgetId": "yo910iwm3i",
"containerStyle": "none",
"isVisible": true,
"version": 1,
"parentId": "cukw7cusf6",
"renderMode": "CANVAS",
"isLoading": false
}
],
"key": "3l57s48bjy",
"backgroundColor": "transparent",
"rightColumn": 31,
"itemBackgroundColor": "#FFFFFF",
"widgetId": "cukw7cusf6",
"isVisible": true,
"parentId": "8t0lhcbfe0",
"renderMode": "CANVAS",
"isLoading": false
},
{
"widgetName": "Button3",
"onClick": "{{showModal(nt_modal.name)}}",
"buttonColor": "#03B365",
"dynamicPropertyPathList": [],
"displayName": "Button",
"iconSVG": "/static/media/icon.cca02633.svg",
"topRow": 1,
"bottomRow": 5,
"parentRowSpace": 10,
"type": "BUTTON_WIDGET",
"hideCard": false,
"parentColumnSpace": 15.888671875,
"dynamicTriggerPathList": [{ "key": "onClick" }],
"leftColumn": 22,
"dynamicBindingPathList": [],
"text": "New Table",
"isDisabled": false,
"key": "1gycutv0md",
"rightColumn": 30,
"isDefaultClickDisabled": true,
"widgetId": "h0shwgaaog",
"recaptchaV2": false,
"isVisible": true,
"version": 1,
"parentId": "8t0lhcbfe0",
"renderMode": "CANVAS",
"isLoading": false,
"buttonVariant": "PRIMARY"
},
{
"widgetName": "col_table",
"defaultPageSize": 0,
"columnOrder": [
"starelid",
"staattnum",
"stainherit",
"stanullfrac",
"stawidth",
"stadistinct",
"stakind1",
"stakind2",
"stakind3",
"stakind4",
"stakind5",
"staop1",
"staop2",
"staop3",
"staop4",
"staop5",
"stacoll1",
"stacoll2",
"stacoll3",
"stacoll4",
"stacoll5",
"stanumbers1",
"stanumbers2",
"stanumbers3",
"stanumbers4",
"stanumbers5",
"stavalues1",
"stavalues2",
"stavalues3",
"stavalues4",
"stavalues5",
"customColumn2",
"customColumn1"
],
"isVisibleDownload": true,
"dynamicPropertyPathList": [
{ "key": "primaryColumns.customColumn2.onClick" },
{ "key": "primaryColumns.customColumn1.onClick" }
],
"displayName": "Table",
"iconSVG": "/static/media/icon.db8a9cbd.svg",
"topRow": 6,
"bottomRow": 49,
"parentRowSpace": 10,
"type": "TABLE_WIDGET",
"defaultSelectedRow": "0",
"hideCard": false,
"parentColumnSpace": 16.96875,
"dynamicTriggerPathList": [
{ "key": "primaryColumns.customColumn2.onClick" },
{ "key": "primaryColumns.customColumn1.onClick" }
],
"dynamicBindingPathList": [
{ "key": "tableData" },
{ "key": "primaryColumns.starelid.computedValue" },
{ "key": "primaryColumns.staattnum.computedValue" },
{
"key": "primaryColumns.stainherit.computedValue"
},
{
"key": "primaryColumns.stanullfrac.computedValue"
},
{ "key": "primaryColumns.stawidth.computedValue" },
{
"key": "primaryColumns.stadistinct.computedValue"
},
{ "key": "primaryColumns.stakind1.computedValue" },
{ "key": "primaryColumns.stakind2.computedValue" },
{ "key": "primaryColumns.stakind3.computedValue" },
{ "key": "primaryColumns.stakind4.computedValue" },
{ "key": "primaryColumns.stakind5.computedValue" },
{ "key": "primaryColumns.staop1.computedValue" },
{ "key": "primaryColumns.staop2.computedValue" },
{ "key": "primaryColumns.staop3.computedValue" },
{ "key": "primaryColumns.staop4.computedValue" },
{ "key": "primaryColumns.staop5.computedValue" },
{ "key": "primaryColumns.stacoll1.computedValue" },
{ "key": "primaryColumns.stacoll2.computedValue" },
{ "key": "primaryColumns.stacoll3.computedValue" },
{ "key": "primaryColumns.stacoll4.computedValue" },
{ "key": "primaryColumns.stacoll5.computedValue" },
{
"key": "primaryColumns.stanumbers1.computedValue"
},
{
"key": "primaryColumns.stanumbers2.computedValue"
},
{
"key": "primaryColumns.stanumbers3.computedValue"
},
{
"key": "primaryColumns.stanumbers4.computedValue"
},
{
"key": "primaryColumns.stanumbers5.computedValue"
},
{
"key": "primaryColumns.stavalues1.computedValue"
},
{
"key": "primaryColumns.stavalues2.computedValue"
},
{
"key": "primaryColumns.stavalues3.computedValue"
},
{
"key": "primaryColumns.stavalues4.computedValue"
},
{ "key": "primaryColumns.stavalues5.computedValue" }
],
"leftColumn": 34,
"primaryColumns": {
"customColumn2": {
"index": 6,
"width": 150,
"id": "customColumn2",
"columnType": "iconButton",
"enableFilter": true,
"enableSort": true,
"isVisible": true,
"isDisabled": false,
"isCellVisible": true,
"isDerived": true,
"label": "delete",
"computedValue": "",
"buttonStyle": "rgb(3, 179, 101)",
"buttonLabelColor": "#FFFFFF",
"iconName": "trash",
"buttonColor": "#DD4B34",
"buttonVariant": "SECONDARY",
"onClick": "{{delete_column.run(()=>{\n\tget_columns.run()\n})}}"
},
"customColumn1": {
"index": 5,
"width": 150,
"id": "customColumn1",
"columnType": "iconButton",
"enableFilter": true,
"enableSort": true,
"isVisible": true,
"isDisabled": false,
"isCellVisible": true,
"isDerived": true,
"label": "edit",
"computedValue": "",
"buttonStyle": "rgb(3, 179, 101)",
"buttonLabelColor": "#FFFFFF",
feat: [epic] appsmith design system version 2 deduplication (#22030) ## Description ### Fixes - [x] https://github.com/appsmithorg/appsmith/issues/19383 - [x] https://github.com/appsmithorg/appsmith/issues/19384 - [x] https://github.com/appsmithorg/appsmith/issues/19385 - [x] https://github.com/appsmithorg/appsmith/issues/19386 - [x] https://github.com/appsmithorg/appsmith/issues/19387 - [x] https://github.com/appsmithorg/appsmith/issues/19388 - [x] https://github.com/appsmithorg/appsmith/issues/19389 - [x] https://github.com/appsmithorg/appsmith/issues/19390 - [x] https://github.com/appsmithorg/appsmith/issues/19391 - [x] https://github.com/appsmithorg/appsmith/issues/19392 - [x] https://github.com/appsmithorg/appsmith/issues/19393 - [x] https://github.com/appsmithorg/appsmith/issues/19394 - [x] https://github.com/appsmithorg/appsmith/issues/19395 - [x] https://github.com/appsmithorg/appsmith/issues/19396 - [x] https://github.com/appsmithorg/appsmith/issues/19397 - [x] https://github.com/appsmithorg/appsmith/issues/19398 - [x] https://github.com/appsmithorg/appsmith/issues/19399 - [x] https://github.com/appsmithorg/appsmith/issues/19400 - [x] https://github.com/appsmithorg/appsmith/issues/19401 - [x] https://github.com/appsmithorg/appsmith/issues/19402 - [x] https://github.com/appsmithorg/appsmith/issues/19403 - [x] https://github.com/appsmithorg/appsmith/issues/19404 - [x] https://github.com/appsmithorg/appsmith/issues/19405 - [x] https://github.com/appsmithorg/appsmith/issues/19406 - [x] https://github.com/appsmithorg/appsmith/issues/19407 - [x] https://github.com/appsmithorg/appsmith/issues/19408 - [x] https://github.com/appsmithorg/appsmith/issues/19409 Fixes # (issue) > 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 ## How Has This Been Tested? > Please describe the tests that you ran to verify your changes. Provide instructions, so we can reproduce. > Please also list any relevant details for your test configuration. > Delete anything that is not important - Manual - 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: - [ ] Test plan has been approved by relevant developers - [ ] Test plan has been peer reviewed by QA - [ ] Cypress test cases have been added and approved by either SDET or manual QA - [ ] Organized project review call with relevant stakeholders after Round 1/2 of QA - [ ] Added Test Plan Approved label after reveiwing all Cypress test --------- Co-authored-by: Ankita Kinger <ankita@appsmith.com> Co-authored-by: akash-codemonk <67054171+akash-codemonk@users.noreply.github.com> Co-authored-by: Tanvi Bhakta <tanvi@appsmith.com> Co-authored-by: Arsalan <arsalanyaldram0211@outlook.com> Co-authored-by: Aman Agarwal <aman@appsmith.com> Co-authored-by: Rohit Agarwal <rohit_agarwal@live.in> Co-authored-by: Nilesh Sarupriya <nilesh@appsmith.com> Co-authored-by: Nilesh Sarupriya <20905988+nsarupr@users.noreply.github.com> Co-authored-by: Tanvi Bhakta <tanvibhakta@gmail.com> Co-authored-by: Aishwarya UR <aishwarya@appsmith.com> Co-authored-by: Parthvi Goswami <parthvigoswami@Parthvis-MacBook-Pro.local> Co-authored-by: Vijetha-Kaja <vijetha@appsmith.com> Co-authored-by: Parthvi <80334441+Parthvi12@users.noreply.github.com> Co-authored-by: Apple <nandan@thinkify.io> Co-authored-by: Saroj <43822041+sarojsarab@users.noreply.github.com> Co-authored-by: Sangeeth Sivan <74818788+berzerkeer@users.noreply.github.com> Co-authored-by: Ashok Kumar M <35134347+marks0351@users.noreply.github.com> Co-authored-by: Aishwarya-U-R <91450662+Aishwarya-U-R@users.noreply.github.com> Co-authored-by: rahulramesha <rahul@appsmith.com> Co-authored-by: Aswath K <aswath.sana@gmail.com> Co-authored-by: Preet Sidhu <preetsidhu.bits@gmail.com> Co-authored-by: Vijetha-Kaja <119562824+Vijetha-Kaja@users.noreply.github.com> Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com>
2023-05-19 18:37:06 +00:00
"iconName": "pencil-fill-icon",
"buttonVariant": "SECONDARY",
"boxShadow": "NONE",
"onClick": "{{showModal(ec_modal.name)}}"
},
"starelid": {
"index": 0,
"width": 150,
"id": "starelid",
"horizontalAlignment": "LEFT",
"verticalAlignment": "CENTER",
"columnType": "text",
"textSize": "PARAGRAPH",
"enableFilter": true,
"enableSort": true,
"isVisible": true,
"isDisabled": false,
"isCellVisible": true,
"isDerived": false,
"label": "starelid",
"computedValue": "{{col_table.sanitizedTableData.map((currentRow) => ( currentRow.starelid))}}"
},
"staattnum": {
"index": 1,
"width": 150,
"id": "staattnum",
"horizontalAlignment": "LEFT",
"verticalAlignment": "CENTER",
"columnType": "text",
"textSize": "PARAGRAPH",
"enableFilter": true,
"enableSort": true,
"isVisible": true,
"isDisabled": false,
"isCellVisible": true,
"isDerived": false,
"label": "staattnum",
"computedValue": "{{col_table.sanitizedTableData.map((currentRow) => ( currentRow.staattnum))}}"
},
"stainherit": {
"index": 2,
"width": 150,
"id": "stainherit",
"horizontalAlignment": "LEFT",
"verticalAlignment": "CENTER",
"columnType": "text",
"textSize": "PARAGRAPH",
"enableFilter": true,
"enableSort": true,
"isVisible": true,
"isDisabled": false,
"isCellVisible": true,
"isDerived": false,
"label": "stainherit",
"computedValue": "{{col_table.sanitizedTableData.map((currentRow) => ( currentRow.stainherit))}}"
},
"stanullfrac": {
"index": 3,
"width": 150,
"id": "stanullfrac",
"horizontalAlignment": "LEFT",
"verticalAlignment": "CENTER",
"columnType": "text",
"textSize": "PARAGRAPH",
"enableFilter": true,
"enableSort": true,
"isVisible": true,
"isDisabled": false,
"isCellVisible": true,
"isDerived": false,
"label": "stanullfrac",
"computedValue": "{{col_table.sanitizedTableData.map((currentRow) => ( currentRow.stanullfrac))}}"
},
"stawidth": {
"index": 4,
"width": 150,
"id": "stawidth",
"horizontalAlignment": "LEFT",
"verticalAlignment": "CENTER",
"columnType": "text",
"textSize": "PARAGRAPH",
"enableFilter": true,
"enableSort": true,
"isVisible": true,
"isDisabled": false,
"isCellVisible": true,
"isDerived": false,
"label": "stawidth",
"computedValue": "{{col_table.sanitizedTableData.map((currentRow) => ( currentRow.stawidth))}}"
},
"stadistinct": {
"index": 5,
"width": 150,
"id": "stadistinct",
"horizontalAlignment": "LEFT",
"verticalAlignment": "CENTER",
"columnType": "text",
"textSize": "PARAGRAPH",
"enableFilter": true,
"enableSort": true,
"isVisible": true,
"isDisabled": false,
"isCellVisible": true,
"isDerived": false,
"label": "stadistinct",
"computedValue": "{{col_table.sanitizedTableData.map((currentRow) => ( currentRow.stadistinct))}}"
},
"stakind1": {
"index": 6,
"width": 150,
"id": "stakind1",
"horizontalAlignment": "LEFT",
"verticalAlignment": "CENTER",
"columnType": "text",
"textSize": "PARAGRAPH",
"enableFilter": true,
"enableSort": true,
"isVisible": true,
"isDisabled": false,
"isCellVisible": true,
"isDerived": false,
"label": "stakind1",
"computedValue": "{{col_table.sanitizedTableData.map((currentRow) => ( currentRow.stakind1))}}"
},
"stakind2": {
"index": 7,
"width": 150,
"id": "stakind2",
"horizontalAlignment": "LEFT",
"verticalAlignment": "CENTER",
"columnType": "text",
"textSize": "PARAGRAPH",
"enableFilter": true,
"enableSort": true,
"isVisible": true,
"isDisabled": false,
"isCellVisible": true,
"isDerived": false,
"label": "stakind2",
"computedValue": "{{col_table.sanitizedTableData.map((currentRow) => ( currentRow.stakind2))}}"
},
"stakind3": {
"index": 8,
"width": 150,
"id": "stakind3",
"horizontalAlignment": "LEFT",
"verticalAlignment": "CENTER",
"columnType": "text",
"textSize": "PARAGRAPH",
"enableFilter": true,
"enableSort": true,
"isVisible": true,
"isDisabled": false,
"isCellVisible": true,
"isDerived": false,
"label": "stakind3",
"computedValue": "{{col_table.sanitizedTableData.map((currentRow) => ( currentRow.stakind3))}}"
},
"stakind4": {
"index": 9,
"width": 150,
"id": "stakind4",
"horizontalAlignment": "LEFT",
"verticalAlignment": "CENTER",
"columnType": "text",
"textSize": "PARAGRAPH",
"enableFilter": true,
"enableSort": true,
"isVisible": true,
"isDisabled": false,
"isCellVisible": true,
"isDerived": false,
"label": "stakind4",
"computedValue": "{{col_table.sanitizedTableData.map((currentRow) => ( currentRow.stakind4))}}"
},
"stakind5": {
"index": 10,
"width": 150,
"id": "stakind5",
"horizontalAlignment": "LEFT",
"verticalAlignment": "CENTER",
"columnType": "text",
"textSize": "PARAGRAPH",
"enableFilter": true,
"enableSort": true,
"isVisible": true,
"isDisabled": false,
"isCellVisible": true,
"isDerived": false,
"label": "stakind5",
"computedValue": "{{col_table.sanitizedTableData.map((currentRow) => ( currentRow.stakind5))}}"
},
"staop1": {
"index": 11,
"width": 150,
"id": "staop1",
"horizontalAlignment": "LEFT",
"verticalAlignment": "CENTER",
"columnType": "text",
"textSize": "PARAGRAPH",
"enableFilter": true,
"enableSort": true,
"isVisible": true,
"isDisabled": false,
"isCellVisible": true,
"isDerived": false,
"label": "staop1",
"computedValue": "{{col_table.sanitizedTableData.map((currentRow) => ( currentRow.staop1))}}"
},
"staop2": {
"index": 12,
"width": 150,
"id": "staop2",
"horizontalAlignment": "LEFT",
"verticalAlignment": "CENTER",
"columnType": "text",
"textSize": "PARAGRAPH",
"enableFilter": true,
"enableSort": true,
"isVisible": true,
"isDisabled": false,
"isCellVisible": true,
"isDerived": false,
"label": "staop2",
"computedValue": "{{col_table.sanitizedTableData.map((currentRow) => ( currentRow.staop2))}}"
},
"staop3": {
"index": 13,
"width": 150,
"id": "staop3",
"horizontalAlignment": "LEFT",
"verticalAlignment": "CENTER",
"columnType": "text",
"textSize": "PARAGRAPH",
"enableFilter": true,
"enableSort": true,
"isVisible": true,
"isDisabled": false,
"isCellVisible": true,
"isDerived": false,
"label": "staop3",
"computedValue": "{{col_table.sanitizedTableData.map((currentRow) => ( currentRow.staop3))}}"
},
"staop4": {
"index": 14,
"width": 150,
"id": "staop4",
"horizontalAlignment": "LEFT",
"verticalAlignment": "CENTER",
"columnType": "text",
"textSize": "PARAGRAPH",
"enableFilter": true,
"enableSort": true,
"isVisible": true,
"isDisabled": false,
"isCellVisible": true,
"isDerived": false,
"label": "staop4",
"computedValue": "{{col_table.sanitizedTableData.map((currentRow) => ( currentRow.staop4))}}"
},
"staop5": {
"index": 15,
"width": 150,
"id": "staop5",
"horizontalAlignment": "LEFT",
"verticalAlignment": "CENTER",
"columnType": "text",
"textSize": "PARAGRAPH",
"enableFilter": true,
"enableSort": true,
"isVisible": true,
"isDisabled": false,
"isCellVisible": true,
"isDerived": false,
"label": "staop5",
"computedValue": "{{col_table.sanitizedTableData.map((currentRow) => ( currentRow.staop5))}}"
},
"stacoll1": {
"index": 16,
"width": 150,
"id": "stacoll1",
"horizontalAlignment": "LEFT",
"verticalAlignment": "CENTER",
"columnType": "text",
"textSize": "PARAGRAPH",
"enableFilter": true,
"enableSort": true,
"isVisible": true,
"isDisabled": false,
"isCellVisible": true,
"isDerived": false,
"label": "stacoll1",
"computedValue": "{{col_table.sanitizedTableData.map((currentRow) => ( currentRow.stacoll1))}}"
},
"stacoll2": {
"index": 17,
"width": 150,
"id": "stacoll2",
"horizontalAlignment": "LEFT",
"verticalAlignment": "CENTER",
"columnType": "text",
"textSize": "PARAGRAPH",
"enableFilter": true,
"enableSort": true,
"isVisible": true,
"isDisabled": false,
"isCellVisible": true,
"isDerived": false,
"label": "stacoll2",
"computedValue": "{{col_table.sanitizedTableData.map((currentRow) => ( currentRow.stacoll2))}}"
},
"stacoll3": {
"index": 18,
"width": 150,
"id": "stacoll3",
"horizontalAlignment": "LEFT",
"verticalAlignment": "CENTER",
"columnType": "text",
"textSize": "PARAGRAPH",
"enableFilter": true,
"enableSort": true,
"isVisible": true,
"isDisabled": false,
"isCellVisible": true,
"isDerived": false,
"label": "stacoll3",
"computedValue": "{{col_table.sanitizedTableData.map((currentRow) => ( currentRow.stacoll3))}}"
},
"stacoll4": {
"index": 19,
"width": 150,
"id": "stacoll4",
"horizontalAlignment": "LEFT",
"verticalAlignment": "CENTER",
"columnType": "text",
"textSize": "PARAGRAPH",
"enableFilter": true,
"enableSort": true,
"isVisible": true,
"isDisabled": false,
"isCellVisible": true,
"isDerived": false,
"label": "stacoll4",
"computedValue": "{{col_table.sanitizedTableData.map((currentRow) => ( currentRow.stacoll4))}}"
},
"stacoll5": {
"index": 20,
"width": 150,
"id": "stacoll5",
"horizontalAlignment": "LEFT",
"verticalAlignment": "CENTER",
"columnType": "text",
"textSize": "PARAGRAPH",
"enableFilter": true,
"enableSort": true,
"isVisible": true,
"isDisabled": false,
"isCellVisible": true,
"isDerived": false,
"label": "stacoll5",
"computedValue": "{{col_table.sanitizedTableData.map((currentRow) => ( currentRow.stacoll5))}}"
},
"stanumbers1": {
"index": 21,
"width": 150,
"id": "stanumbers1",
"horizontalAlignment": "LEFT",
"verticalAlignment": "CENTER",
"columnType": "text",
"textSize": "PARAGRAPH",
"enableFilter": true,
"enableSort": true,
"isVisible": true,
"isDisabled": false,
"isCellVisible": true,
"isDerived": false,
"label": "stanumbers1",
"computedValue": "{{col_table.sanitizedTableData.map((currentRow) => ( currentRow.stanumbers1))}}"
},
"stanumbers2": {
"index": 22,
"width": 150,
"id": "stanumbers2",
"horizontalAlignment": "LEFT",
"verticalAlignment": "CENTER",
"columnType": "text",
"textSize": "PARAGRAPH",
"enableFilter": true,
"enableSort": true,
"isVisible": true,
"isDisabled": false,
"isCellVisible": true,
"isDerived": false,
"label": "stanumbers2",
"computedValue": "{{col_table.sanitizedTableData.map((currentRow) => ( currentRow.stanumbers2))}}"
},
"stanumbers3": {
"index": 23,
"width": 150,
"id": "stanumbers3",
"horizontalAlignment": "LEFT",
"verticalAlignment": "CENTER",
"columnType": "text",
"textSize": "PARAGRAPH",
"enableFilter": true,
"enableSort": true,
"isVisible": true,
"isDisabled": false,
"isCellVisible": true,
"isDerived": false,
"label": "stanumbers3",
"computedValue": "{{col_table.sanitizedTableData.map((currentRow) => ( currentRow.stanumbers3))}}"
},
"stanumbers4": {
"index": 24,
"width": 150,
"id": "stanumbers4",
"horizontalAlignment": "LEFT",
"verticalAlignment": "CENTER",
"columnType": "text",
"textSize": "PARAGRAPH",
"enableFilter": true,
"enableSort": true,
"isVisible": true,
"isDisabled": false,
"isCellVisible": true,
"isDerived": false,
"label": "stanumbers4",
"computedValue": "{{col_table.sanitizedTableData.map((currentRow) => ( currentRow.stanumbers4))}}"
},
"stanumbers5": {
"index": 25,
"width": 150,
"id": "stanumbers5",
"horizontalAlignment": "LEFT",
"verticalAlignment": "CENTER",
"columnType": "text",
"textSize": "PARAGRAPH",
"enableFilter": true,
"enableSort": true,
"isVisible": true,
"isDisabled": false,
"isCellVisible": true,
"isDerived": false,
"label": "stanumbers5",
"computedValue": "{{col_table.sanitizedTableData.map((currentRow) => ( currentRow.stanumbers5))}}"
},
"stavalues1": {
"index": 26,
"width": 150,
"id": "stavalues1",
"horizontalAlignment": "LEFT",
"verticalAlignment": "CENTER",
"columnType": "text",
"textSize": "PARAGRAPH",
"enableFilter": true,
"enableSort": true,
"isVisible": true,
"isDisabled": false,
"isCellVisible": true,
"isDerived": false,
"label": "stavalues1",
"computedValue": "{{col_table.sanitizedTableData.map((currentRow) => ( currentRow.stavalues1))}}"
},
"stavalues2": {
"index": 27,
"width": 150,
"id": "stavalues2",
"horizontalAlignment": "LEFT",
"verticalAlignment": "CENTER",
"columnType": "text",
"textSize": "PARAGRAPH",
"enableFilter": true,
"enableSort": true,
"isVisible": true,
"isDisabled": false,
"isCellVisible": true,
"isDerived": false,
"label": "stavalues2",
"computedValue": "{{col_table.sanitizedTableData.map((currentRow) => ( currentRow.stavalues2))}}"
},
"stavalues3": {
"index": 28,
"width": 150,
"id": "stavalues3",
"horizontalAlignment": "LEFT",
"verticalAlignment": "CENTER",
"columnType": "text",
"textSize": "PARAGRAPH",
"enableFilter": true,
"enableSort": true,
"isVisible": true,
"isDisabled": false,
"isCellVisible": true,
"isDerived": false,
"label": "stavalues3",
"computedValue": "{{col_table.sanitizedTableData.map((currentRow) => ( currentRow.stavalues3))}}"
},
"stavalues4": {
"index": 29,
"width": 150,
"id": "stavalues4",
"horizontalAlignment": "LEFT",
"verticalAlignment": "CENTER",
"columnType": "text",
"textSize": "PARAGRAPH",
"enableFilter": true,
"enableSort": true,
"isVisible": true,
"isDisabled": false,
"isCellVisible": true,
"isDerived": false,
"label": "stavalues4",
"computedValue": "{{col_table.sanitizedTableData.map((currentRow) => ( currentRow.stavalues4))}}"
},
"stavalues5": {
"index": 30,
"width": 150,
"id": "stavalues5",
"horizontalAlignment": "LEFT",
"verticalAlignment": "CENTER",
"columnType": "text",
"textSize": "PARAGRAPH",
"enableFilter": true,
"enableSort": true,
"isVisible": true,
"isDisabled": false,
"isCellVisible": true,
"isDerived": false,
"label": "stavalues5",
"computedValue": "{{col_table.sanitizedTableData.map((currentRow) => ( currentRow.stavalues5))}}"
}
},
"delimiter": ",",
"key": "z8yqsgwbra",
"derivedColumns": {
"customColumn2": {
"index": 6,
"width": 150,
"id": "customColumn2",
"columnType": "iconButton",
"enableFilter": true,
"enableSort": true,
"isVisible": true,
"isDisabled": false,
"isCellVisible": true,
"isDerived": true,
"label": "delete",
"computedValue": "",
"buttonStyle": "rgb(3, 179, 101)",
"buttonLabelColor": "#FFFFFF",
"iconName": "trash",
"buttonColor": "#DD4B34",
"buttonVariant": "SECONDARY",
"onClick": "{{delete_column.run(()=>{\n\tget_columns.run()\n})}}"
},
"customColumn1": {
"index": 5,
"width": 150,
"id": "customColumn1",
"columnType": "iconButton",
"enableFilter": true,
"enableSort": true,
"isVisible": true,
"isDisabled": false,
"isCellVisible": true,
"isDerived": true,
"label": "edit",
"computedValue": "",
"buttonStyle": "rgb(3, 179, 101)",
"buttonLabelColor": "#FFFFFF",
feat: [epic] appsmith design system version 2 deduplication (#22030) ## Description ### Fixes - [x] https://github.com/appsmithorg/appsmith/issues/19383 - [x] https://github.com/appsmithorg/appsmith/issues/19384 - [x] https://github.com/appsmithorg/appsmith/issues/19385 - [x] https://github.com/appsmithorg/appsmith/issues/19386 - [x] https://github.com/appsmithorg/appsmith/issues/19387 - [x] https://github.com/appsmithorg/appsmith/issues/19388 - [x] https://github.com/appsmithorg/appsmith/issues/19389 - [x] https://github.com/appsmithorg/appsmith/issues/19390 - [x] https://github.com/appsmithorg/appsmith/issues/19391 - [x] https://github.com/appsmithorg/appsmith/issues/19392 - [x] https://github.com/appsmithorg/appsmith/issues/19393 - [x] https://github.com/appsmithorg/appsmith/issues/19394 - [x] https://github.com/appsmithorg/appsmith/issues/19395 - [x] https://github.com/appsmithorg/appsmith/issues/19396 - [x] https://github.com/appsmithorg/appsmith/issues/19397 - [x] https://github.com/appsmithorg/appsmith/issues/19398 - [x] https://github.com/appsmithorg/appsmith/issues/19399 - [x] https://github.com/appsmithorg/appsmith/issues/19400 - [x] https://github.com/appsmithorg/appsmith/issues/19401 - [x] https://github.com/appsmithorg/appsmith/issues/19402 - [x] https://github.com/appsmithorg/appsmith/issues/19403 - [x] https://github.com/appsmithorg/appsmith/issues/19404 - [x] https://github.com/appsmithorg/appsmith/issues/19405 - [x] https://github.com/appsmithorg/appsmith/issues/19406 - [x] https://github.com/appsmithorg/appsmith/issues/19407 - [x] https://github.com/appsmithorg/appsmith/issues/19408 - [x] https://github.com/appsmithorg/appsmith/issues/19409 Fixes # (issue) > 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 ## How Has This Been Tested? > Please describe the tests that you ran to verify your changes. Provide instructions, so we can reproduce. > Please also list any relevant details for your test configuration. > Delete anything that is not important - Manual - 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: - [ ] Test plan has been approved by relevant developers - [ ] Test plan has been peer reviewed by QA - [ ] Cypress test cases have been added and approved by either SDET or manual QA - [ ] Organized project review call with relevant stakeholders after Round 1/2 of QA - [ ] Added Test Plan Approved label after reveiwing all Cypress test --------- Co-authored-by: Ankita Kinger <ankita@appsmith.com> Co-authored-by: akash-codemonk <67054171+akash-codemonk@users.noreply.github.com> Co-authored-by: Tanvi Bhakta <tanvi@appsmith.com> Co-authored-by: Arsalan <arsalanyaldram0211@outlook.com> Co-authored-by: Aman Agarwal <aman@appsmith.com> Co-authored-by: Rohit Agarwal <rohit_agarwal@live.in> Co-authored-by: Nilesh Sarupriya <nilesh@appsmith.com> Co-authored-by: Nilesh Sarupriya <20905988+nsarupr@users.noreply.github.com> Co-authored-by: Tanvi Bhakta <tanvibhakta@gmail.com> Co-authored-by: Aishwarya UR <aishwarya@appsmith.com> Co-authored-by: Parthvi Goswami <parthvigoswami@Parthvis-MacBook-Pro.local> Co-authored-by: Vijetha-Kaja <vijetha@appsmith.com> Co-authored-by: Parthvi <80334441+Parthvi12@users.noreply.github.com> Co-authored-by: Apple <nandan@thinkify.io> Co-authored-by: Saroj <43822041+sarojsarab@users.noreply.github.com> Co-authored-by: Sangeeth Sivan <74818788+berzerkeer@users.noreply.github.com> Co-authored-by: Ashok Kumar M <35134347+marks0351@users.noreply.github.com> Co-authored-by: Aishwarya-U-R <91450662+Aishwarya-U-R@users.noreply.github.com> Co-authored-by: rahulramesha <rahul@appsmith.com> Co-authored-by: Aswath K <aswath.sana@gmail.com> Co-authored-by: Preet Sidhu <preetsidhu.bits@gmail.com> Co-authored-by: Vijetha-Kaja <119562824+Vijetha-Kaja@users.noreply.github.com> Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com>
2023-05-19 18:37:06 +00:00
"iconName": "pencil-fill-icon",
"buttonVariant": "SECONDARY",
"boxShadow": "NONE"
}
},
"rightColumn": 62,
"textSize": "PARAGRAPH",
"widgetId": "55phbp0vdt",
"isVisibleFilters": true,
"tableData": "{{get_columns.data}}",
"isVisible": true,
"label": "Data",
"searchKey": "",
"version": 3,
"totalRecordsCount": 0,
"parentId": "8t0lhcbfe0",
"renderMode": "CANVAS",
"isLoading": false,
"horizontalAlignment": "LEFT",
"isVisibleSearch": true,
"isVisiblePagination": true,
"verticalAlignment": "CENTER",
"columnSizeMap": {
"task": 245,
"step": 62,
"status": 75,
"customColumn1": 84,
"is_nullable": 164,
"customColumn2": 81
}
},
{
"widgetName": "Button6",
"onClick": "{{showModal(nc_modal.name)}}",
"buttonColor": "#03B365",
"dynamicPropertyPathList": [{ "key": "onClick" }],
"displayName": "Button",
"iconSVG": "/static/media/icon.cca02633.svg",
"topRow": 1,
"bottomRow": 5,
"parentRowSpace": 10,
"type": "BUTTON_WIDGET",
"hideCard": false,
"parentColumnSpace": 16.96875,
"dynamicTriggerPathList": [{ "key": "onClick" }],
"leftColumn": 53,
"dynamicBindingPathList": [],
"text": "New ",
"isDisabled": false,
"key": "i21izwnhjr",
"rightColumn": 62,
"isDefaultClickDisabled": true,
"widgetId": "7qi90ipetx",
"recaptchaV2": false,
"isVisible": true,
"version": 1,
"parentId": "8t0lhcbfe0",
"renderMode": "CANVAS",
"isLoading": false,
"buttonVariant": "PRIMARY"
}
],
"isDisabled": false,
"key": "ntrhdiveck",
"tabName": "Explorer",
"rightColumn": 414.75,
"detachFromLayout": true,
"widgetId": "8t0lhcbfe0",
"isVisible": true,
"version": 1,
"parentId": "16co1tuxst",
"renderMode": "CANVAS",
"isLoading": false
},
{
"tabId": "tab2",
"widgetName": "Canvas2",
"displayName": "Canvas",
"topRow": 0,
"bottomRow": 400,
"parentRowSpace": 1,
"type": "CANVAS_WIDGET",
"canExtend": true,
"hideCard": true,
"shouldScrollContents": false,
"minHeight": 400,
"parentColumnSpace": 1,
"leftColumn": 0,
"children": [],
"isDisabled": false,
"key": "ntrhdiveck",
"tabName": "Tab 2",
"rightColumn": 414.75,
"detachFromLayout": true,
"widgetId": "n4x5w50sxt",
"isVisible": true,
"version": 1,
"parentId": "16co1tuxst",
"renderMode": "CANVAS",
"isLoading": false
}
],
"key": "ge7icppebr",
"rightColumn": 64,
"widgetId": "16co1tuxst",
"defaultTab": "Tab 1",
"shouldShowTabs": true,
"tabsObj": {
"tab1": {
"label": "Explorer",
"id": "tab1",
"widgetId": "8t0lhcbfe0",
"isVisible": true,
"index": 0
},
"tab2": {
"label": "Tab 2",
"id": "tab2",
"widgetId": "n4x5w50sxt",
"isVisible": true,
"index": 1
}
},
"isVisible": true,
"version": 3,
"parentId": "0",
"renderMode": "CANVAS",
"isLoading": false
},
{
"widgetName": "nt_modal",
"isCanvas": true,
"displayName": "Modal",
"iconSVG": "/static/media/icon.4975978e.svg",
"topRow": 26,
"bottomRow": 50,
"parentRowSpace": 10,
"type": "MODAL_WIDGET",
"hideCard": false,
"shouldScrollContents": true,
"parentColumnSpace": 14.2685546875,
"leftColumn": 40,
"children": [
{
"widgetName": "Canvas5",
"displayName": "Canvas",
"topRow": 0,
"bottomRow": 600,
"parentRowSpace": 1,
"type": "CANVAS_WIDGET",
"canExtend": true,
"hideCard": true,
"shouldScrollContents": false,
"minHeight": 610,
"parentColumnSpace": 1,
"dynamicTriggerPathList": [],
"leftColumn": 0,
"dynamicBindingPathList": [],
"children": [
{
"widgetName": "Form1",
"backgroundColor": "white",
"rightColumn": 63,
"isCanvas": true,
"displayName": "Form",
"iconSVG": "/static/media/icon.ea3e08d1.svg",
"widgetId": "zjdcqz1mhk",
"topRow": 2,
"bottomRow": 58,
"parentRowSpace": 10,
"isVisible": true,
"type": "FORM_WIDGET",
"hideCard": false,
"parentId": "a0mnapxp8q",
"renderMode": "CANVAS",
"isLoading": false,
"parentColumnSpace": 5.09375,
"leftColumn": 0,
"children": [
{
"widgetName": "Canvas6",
"rightColumn": 122.25,
"detachFromLayout": true,
"displayName": "Canvas",
"widgetId": "rk9mzsodzg",
"containerStyle": "none",
"topRow": 0,
"bottomRow": 550,
"parentRowSpace": 1,
"isVisible": true,
"type": "CANVAS_WIDGET",
"canExtend": false,
"version": 1,
"hideCard": true,
"parentId": "zjdcqz1mhk",
"minHeight": 400,
"renderMode": "CANVAS",
"isLoading": false,
"parentColumnSpace": 1,
"leftColumn": 0,
"children": [
{
"widgetName": "text",
"rightColumn": 44,
"textAlign": "CENTER",
"displayName": "Text",
"iconSVG": "/static/media/icon.e6c93592.svg",
"widgetId": "r38q10rmkv",
"topRow": 1,
"bottomRow": 5,
"isVisible": true,
"fontStyle": "BOLD",
"type": "TEXT_WIDGET",
"textColor": "#231F20",
"version": 1,
"hideCard": false,
"parentId": "rk9mzsodzg",
"renderMode": "CANVAS",
"isLoading": false,
"dynamicTriggerPathList": [],
"leftColumn": 21,
"dynamicBindingPathList": [],
"fontSize": "HEADING2",
"text": "New Table",
"key": "nyopqdic6f"
},
{
"resetFormOnClick": true,
"widgetName": "FormButton1",
"onClick": "{{create_table.run(()=>\n{get_tables.run();\t\t})}}",
"buttonColor": "#03B365",
"dynamicPropertyPathList": [{ "key": "onClick" }],
"displayName": "FormButton",
"iconSVG": "/static/media/icon.c8f649ed.svg",
"topRow": 49,
"bottomRow": 53,
"type": "FORM_BUTTON_WIDGET",
"hideCard": true,
"dynamicTriggerPathList": [{ "key": "onClick" }],
"leftColumn": 46,
"dynamicBindingPathList": [],
"text": "Submit",
"key": "fhtsccxo4a",
"rightColumn": 62,
"isDefaultClickDisabled": true,
"widgetId": "5q5r94sanb",
"recaptchaV2": false,
"isVisible": true,
"version": 1,
"parentId": "rk9mzsodzg",
"renderMode": "CANVAS",
"isLoading": false,
"disabledWhenInvalid": true,
"buttonVariant": "PRIMARY"
},
{
"resetFormOnClick": true,
"widgetName": "FormButton2",
"onClick": "{{closeModal(nt_modal.name)}}",
"rightColumn": 17,
"isDefaultClickDisabled": true,
"buttonColor": "#03B365",
"displayName": "FormButton",
"iconSVG": "/static/media/icon.c8f649ed.svg",
"widgetId": "1stg0gbcap",
"topRow": 49,
"bottomRow": 53,
"recaptchaV2": false,
"isVisible": true,
"type": "FORM_BUTTON_WIDGET",
"version": 1,
"hideCard": true,
"parentId": "rk9mzsodzg",
"renderMode": "CANVAS",
"isLoading": false,
"disabledWhenInvalid": false,
"leftColumn": 1,
"buttonVariant": "SECONDARY",
"text": "Close",
"key": "fhtsccxo4a"
},
{
"widgetName": "nt_name",
"displayName": "Input",
"iconSVG": "/static/media/icon.9f505595.svg",
"topRow": 14,
"bottomRow": 18,
"parentRowSpace": 10,
"autoFocus": false,
"type": "INPUT_WIDGET_V2",
"hideCard": false,
"parentColumnSpace": 5.40625,
"dynamicTriggerPathList": [],
"resetOnSubmit": true,
"leftColumn": 14,
"dynamicBindingPathList": [],
"labelStyle": "",
"inputType": "TEXT",
"isDisabled": false,
"key": "dj0le3do2m",
"isRequired": false,
"rightColumn": 63,
"widgetId": "n587xw3kmu",
"isVisible": true,
"label": "",
"allowCurrencyChange": false,
"version": 1,
"parentId": "rk9mzsodzg",
"renderMode": "CANVAS",
"isLoading": false,
"iconAlign": "left",
"defaultText": "New Table"
},
{
"widgetName": "Text6",
"displayName": "Text",
"iconSVG": "/static/media/icon.e6c93592.svg",
"topRow": 14,
"bottomRow": 18,
"parentRowSpace": 10,
"type": "TEXT_WIDGET",
"hideCard": false,
"parentColumnSpace": 5.40625,
"dynamicTriggerPathList": [],
"leftColumn": 1,
"dynamicBindingPathList": [],
"text": "Name",
"key": "nyopqdic6f",
"rightColumn": 13,
"textAlign": "LEFT",
"widgetId": "4momzk72x0",
"isVisible": true,
"fontStyle": "BOLD",
"textColor": "#231F20",
"version": 1,
"parentId": "rk9mzsodzg",
"renderMode": "CANVAS",
"isLoading": false,
"fontSize": "PARAGRAPH"
},
{
"widgetName": "Table1",
"defaultPageSize": 0,
"columnOrder": ["name", "dtype", "pkey", "nnull"],
"isVisibleDownload": true,
"dynamicPropertyPathList": [],
"displayName": "Table",
"iconSVG": "/static/media/icon.db8a9cbd.svg",
"topRow": 20,
"bottomRow": 46,
"parentRowSpace": 10,
"type": "TABLE_WIDGET",
"defaultSelectedRow": "0",
"hideCard": false,
"parentColumnSpace": 5.40625,
"dynamicTriggerPathList": [],
"dynamicBindingPathList": [
{ "key": "tableData" },
{
"key": "primaryColumns.name.computedValue"
},
{
"key": "primaryColumns.pkey.computedValue"
},
{
"key": "primaryColumns.nnull.computedValue"
},
{
"key": "primaryColumns.dtype.computedValue"
}
],
"leftColumn": 1,
"primaryColumns": {
"name": {
"index": 0,
"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": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.name))}}"
},
"pkey": {
"index": 2,
"width": 150,
"id": "pkey",
"horizontalAlignment": "LEFT",
"verticalAlignment": "CENTER",
"columnType": "text",
"textSize": "PARAGRAPH",
"enableFilter": true,
"enableSort": true,
"isVisible": true,
"isDisabled": false,
"isCellVisible": true,
"isDerived": false,
"label": "pkey",
"computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.pkey))}}"
},
"nnull": {
"index": 3,
"width": 150,
"id": "nnull",
"horizontalAlignment": "LEFT",
"verticalAlignment": "CENTER",
"columnType": "text",
"textSize": "PARAGRAPH",
"enableFilter": true,
"enableSort": true,
"isVisible": true,
"isDisabled": false,
"isCellVisible": true,
"isDerived": false,
"label": "nnull",
"computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.nnull))}}"
},
"dtype": {
"index": 1,
"width": 150,
"id": "dtype",
"horizontalAlignment": "LEFT",
"verticalAlignment": "CENTER",
"columnType": "text",
"textSize": "PARAGRAPH",
"enableFilter": true,
"enableSort": true,
"isVisible": true,
"isDisabled": false,
"isCellVisible": true,
"isDerived": false,
"label": "dtype",
"computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.dtype))}}"
}
},
"delimiter": ",",
"key": "ss37gliru6",
"derivedColumns": {},
"rightColumn": 63,
"textSize": "PARAGRAPH",
"widgetId": "vurlwzex4n",
"isVisibleFilters": true,
"tableData": "{{appsmith.store.nt_col}}",
"isVisible": true,
"label": "Data",
"searchKey": "",
"version": 3,
"totalRecordsCount": 0,
"parentId": "rk9mzsodzg",
"renderMode": "CANVAS",
"isLoading": false,
"horizontalAlignment": "LEFT",
"isVisibleSearch": true,
"isVisiblePagination": true,
"verticalAlignment": "CENTER",
"columnSizeMap": {
"task": 245,
"step": 62,
"status": 75
}
},
{
"widgetName": "Button4",
"onClick": "{{storeValue('nt_col',[])}}",
"buttonColor": "#03B365",
"dynamicPropertyPathList": [{ "key": "onClick" }],
"displayName": "Button",
"iconSVG": "/static/media/icon.cca02633.svg",
"topRow": 6,
"bottomRow": 10,
"parentRowSpace": 10,
"type": "BUTTON_WIDGET",
"hideCard": false,
"parentColumnSpace": 5.40625,
"dynamicTriggerPathList": [{ "key": "onClick" }],
"leftColumn": 2,
"dynamicBindingPathList": [],
"text": "Reset",
"isDisabled": false,
"key": "1gycutv0md",
"rightColumn": 18,
"isDefaultClickDisabled": true,
"widgetId": "ixsn4od3ng",
"recaptchaV2": false,
"isVisible": true,
"version": 1,
"parentId": "rk9mzsodzg",
"renderMode": "CANVAS",
"isLoading": false,
"buttonVariant": "PRIMARY"
},
{
"widgetName": "Button5",
"onClick": "{{showModal(nt_col_modal.name)}}",
"buttonColor": "#03B365",
"displayName": "Button",
"iconSVG": "/static/media/icon.cca02633.svg",
"topRow": 6,
"bottomRow": 10,
"parentRowSpace": 10,
"type": "BUTTON_WIDGET",
"hideCard": false,
"parentColumnSpace": 5.40625,
"dynamicTriggerPathList": [{ "key": "onClick" }],
"leftColumn": 46,
"dynamicBindingPathList": [],
"text": "Add Column",
"isDisabled": false,
"key": "1gycutv0md",
"rightColumn": 62,
"isDefaultClickDisabled": true,
"widgetId": "76u9o34u0p",
"recaptchaV2": false,
"isVisible": true,
"version": 1,
"parentId": "rk9mzsodzg",
"renderMode": "CANVAS",
"isLoading": false,
"buttonVariant": "PRIMARY"
}
],
"key": "su7c7uiv6x"
}
],
"key": "5eecdffznx"
}
],
"isDisabled": false,
"key": "su7c7uiv6x",
"rightColumn": 342.4453125,
"detachFromLayout": true,
"widgetId": "a0mnapxp8q",
"isVisible": true,
"version": 1,
"parentId": "nxd9td02nv",
"renderMode": "CANVAS",
"isLoading": false
}
],
"key": "6ipc38posc",
"height": 610,
"rightColumn": 64,
"detachFromLayout": true,
"widgetId": "nxd9td02nv",
"canOutsideClickClose": true,
"canEscapeKeyClose": true,
"version": 2,
"parentId": "0",
"renderMode": "CANVAS",
"isLoading": false,
"width": 602
},
{
"widgetName": "nt_col_modal",
"isCanvas": true,
"displayName": "Modal",
"iconSVG": "/static/media/icon.4975978e.svg",
"topRow": 36,
"bottomRow": 60,
"parentRowSpace": 10,
"type": "MODAL_WIDGET",
"hideCard": false,
"shouldScrollContents": false,
"parentColumnSpace": 17.28125,
"dynamicTriggerPathList": [],
"leftColumn": 21,
"dynamicBindingPathList": [],
"children": [
{
"widgetName": "Canvas7",
"displayName": "Canvas",
"topRow": 0,
"bottomRow": 260,
"parentRowSpace": 1,
"type": "CANVAS_WIDGET",
"canExtend": true,
"hideCard": true,
"shouldScrollContents": false,
"minHeight": 254,
"parentColumnSpace": 1,
"dynamicTriggerPathList": [],
"leftColumn": 0,
"dynamicBindingPathList": [],
"children": [
{
"widgetName": "Form2",
"backgroundColor": "white",
"rightColumn": 64,
"isCanvas": true,
"displayName": "Form",
"iconSVG": "/static/media/icon.ea3e08d1.svg",
"widgetId": "xo5r9i9ueg",
"topRow": 2,
"bottomRow": 24,
"parentRowSpace": 10,
"isVisible": true,
"type": "FORM_WIDGET",
"hideCard": false,
"parentId": "54x09ueh2d",
"renderMode": "CANVAS",
"isLoading": false,
"parentColumnSpace": 6.9375,
"leftColumn": 0,
"children": [
{
"widgetName": "Canvas8",
"rightColumn": 166.5,
"detachFromLayout": true,
"displayName": "Canvas",
"widgetId": "yv73tbi3oy",
"containerStyle": "none",
"topRow": 0,
"bottomRow": 390,
"parentRowSpace": 1,
"isVisible": true,
"type": "CANVAS_WIDGET",
"canExtend": false,
"version": 1,
"hideCard": true,
"parentId": "xo5r9i9ueg",
"minHeight": 400,
"renderMode": "CANVAS",
"isLoading": false,
"parentColumnSpace": 1,
"leftColumn": 0,
"children": [
{
"resetFormOnClick": true,
"widgetName": "FormButton3",
"onClick": "{{(()=>{\n\tconst nt_col = appsmith.store.nt_col ||[];\nnt_col.push({\n\t\tname:nt_col_name.text,\ndtype:nt_col_type.selectedOptionValue,\npkey:nt_col_pkey.isSwitchedOn,\nnnull:nt_col_nnull.isSwitchedOn});\nstoreValue('nt_col',nt_col)\n\tshowModal(nt_modal.name)\n})()}}",
"buttonColor": "#03B365",
"dynamicPropertyPathList": [{ "key": "onClick" }],
"displayName": "FormButton",
"iconSVG": "/static/media/icon.c8f649ed.svg",
"topRow": 15,
"bottomRow": 19,
"type": "FORM_BUTTON_WIDGET",
"hideCard": true,
"dynamicTriggerPathList": [{ "key": "onClick" }],
"leftColumn": 41,
"dynamicBindingPathList": [],
"text": "Submit",
"key": "fhtsccxo4a",
"rightColumn": 61,
"isDefaultClickDisabled": true,
"widgetId": "guuhbfmlwx",
"recaptchaV2": false,
"isVisible": true,
"version": 1,
"parentId": "yv73tbi3oy",
"renderMode": "CANVAS",
"isLoading": false,
"disabledWhenInvalid": true,
"buttonVariant": "PRIMARY"
},
{
"resetFormOnClick": true,
"widgetName": "FormButton4",
"rightColumn": 23,
"isDefaultClickDisabled": true,
"buttonColor": "#03B365",
"displayName": "FormButton",
"iconSVG": "/static/media/icon.c8f649ed.svg",
"widgetId": "u4cwx1l1rx",
"topRow": 15,
"bottomRow": 19,
"recaptchaV2": false,
"isVisible": true,
"type": "FORM_BUTTON_WIDGET",
"version": 1,
"hideCard": true,
"parentId": "yv73tbi3oy",
"renderMode": "CANVAS",
"isLoading": false,
"disabledWhenInvalid": false,
"leftColumn": 2,
"buttonVariant": "SECONDARY",
"text": "Reset",
"key": "fhtsccxo4a"
},
{
"widgetName": "nt_col_name",
"displayName": "Input",
"iconSVG": "/static/media/icon.9f505595.svg",
"topRow": 1,
"bottomRow": 5,
"parentRowSpace": 10,
"autoFocus": false,
"type": "INPUT_WIDGET_V2",
"hideCard": false,
"parentColumnSpace": 6.015625,
"resetOnSubmit": true,
"leftColumn": 20,
"labelStyle": "",
"inputType": "TEXT",
"isDisabled": false,
"key": "dj0le3do2m",
"isRequired": false,
"rightColumn": 64,
"widgetId": "3wcynufwc6",
"isVisible": true,
"label": "",
"allowCurrencyChange": false,
"version": 1,
"parentId": "yv73tbi3oy",
"renderMode": "CANVAS",
"isLoading": false,
"iconAlign": "left",
"defaultText": ""
},
{
"widgetName": "Text8",
"displayName": "Text",
"iconSVG": "/static/media/icon.e6c93592.svg",
"topRow": 1,
"bottomRow": 5,
"parentRowSpace": 10,
"type": "TEXT_WIDGET",
"hideCard": false,
"parentColumnSpace": 6.015625,
"dynamicTriggerPathList": [],
"leftColumn": 0,
"dynamicBindingPathList": [],
feat: [epic] appsmith design system version 2 deduplication (#22030) ## Description ### Fixes - [x] https://github.com/appsmithorg/appsmith/issues/19383 - [x] https://github.com/appsmithorg/appsmith/issues/19384 - [x] https://github.com/appsmithorg/appsmith/issues/19385 - [x] https://github.com/appsmithorg/appsmith/issues/19386 - [x] https://github.com/appsmithorg/appsmith/issues/19387 - [x] https://github.com/appsmithorg/appsmith/issues/19388 - [x] https://github.com/appsmithorg/appsmith/issues/19389 - [x] https://github.com/appsmithorg/appsmith/issues/19390 - [x] https://github.com/appsmithorg/appsmith/issues/19391 - [x] https://github.com/appsmithorg/appsmith/issues/19392 - [x] https://github.com/appsmithorg/appsmith/issues/19393 - [x] https://github.com/appsmithorg/appsmith/issues/19394 - [x] https://github.com/appsmithorg/appsmith/issues/19395 - [x] https://github.com/appsmithorg/appsmith/issues/19396 - [x] https://github.com/appsmithorg/appsmith/issues/19397 - [x] https://github.com/appsmithorg/appsmith/issues/19398 - [x] https://github.com/appsmithorg/appsmith/issues/19399 - [x] https://github.com/appsmithorg/appsmith/issues/19400 - [x] https://github.com/appsmithorg/appsmith/issues/19401 - [x] https://github.com/appsmithorg/appsmith/issues/19402 - [x] https://github.com/appsmithorg/appsmith/issues/19403 - [x] https://github.com/appsmithorg/appsmith/issues/19404 - [x] https://github.com/appsmithorg/appsmith/issues/19405 - [x] https://github.com/appsmithorg/appsmith/issues/19406 - [x] https://github.com/appsmithorg/appsmith/issues/19407 - [x] https://github.com/appsmithorg/appsmith/issues/19408 - [x] https://github.com/appsmithorg/appsmith/issues/19409 Fixes # (issue) > 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 ## How Has This Been Tested? > Please describe the tests that you ran to verify your changes. Provide instructions, so we can reproduce. > Please also list any relevant details for your test configuration. > Delete anything that is not important - Manual - 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: - [ ] Test plan has been approved by relevant developers - [ ] Test plan has been peer reviewed by QA - [ ] Cypress test cases have been added and approved by either SDET or manual QA - [ ] Organized project review call with relevant stakeholders after Round 1/2 of QA - [ ] Added Test Plan Approved label after reveiwing all Cypress test --------- Co-authored-by: Ankita Kinger <ankita@appsmith.com> Co-authored-by: akash-codemonk <67054171+akash-codemonk@users.noreply.github.com> Co-authored-by: Tanvi Bhakta <tanvi@appsmith.com> Co-authored-by: Arsalan <arsalanyaldram0211@outlook.com> Co-authored-by: Aman Agarwal <aman@appsmith.com> Co-authored-by: Rohit Agarwal <rohit_agarwal@live.in> Co-authored-by: Nilesh Sarupriya <nilesh@appsmith.com> Co-authored-by: Nilesh Sarupriya <20905988+nsarupr@users.noreply.github.com> Co-authored-by: Tanvi Bhakta <tanvibhakta@gmail.com> Co-authored-by: Aishwarya UR <aishwarya@appsmith.com> Co-authored-by: Parthvi Goswami <parthvigoswami@Parthvis-MacBook-Pro.local> Co-authored-by: Vijetha-Kaja <vijetha@appsmith.com> Co-authored-by: Parthvi <80334441+Parthvi12@users.noreply.github.com> Co-authored-by: Apple <nandan@thinkify.io> Co-authored-by: Saroj <43822041+sarojsarab@users.noreply.github.com> Co-authored-by: Sangeeth Sivan <74818788+berzerkeer@users.noreply.github.com> Co-authored-by: Ashok Kumar M <35134347+marks0351@users.noreply.github.com> Co-authored-by: Aishwarya-U-R <91450662+Aishwarya-U-R@users.noreply.github.com> Co-authored-by: rahulramesha <rahul@appsmith.com> Co-authored-by: Aswath K <aswath.sana@gmail.com> Co-authored-by: Preet Sidhu <preetsidhu.bits@gmail.com> Co-authored-by: Vijetha-Kaja <119562824+Vijetha-Kaja@users.noreply.github.com> Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com>
2023-05-19 18:37:06 +00:00
"text": "Column name",
"key": "nyopqdic6f",
"rightColumn": 16,
"textAlign": "LEFT",
"widgetId": "3psaok4yf6",
"isVisible": true,
"fontStyle": "BOLD",
"textColor": "#231F20",
"version": 1,
"parentId": "yv73tbi3oy",
"renderMode": "CANVAS",
"isLoading": false,
"fontSize": "PARAGRAPH"
},
{
"widgetName": "nt_col_type",
"isFilterable": false,
"displayName": "Select",
"iconSVG": "/static/media/icon.bd99caba.svg",
"topRow": 6,
"bottomRow": 10,
"parentRowSpace": 10,
"type": "DROP_DOWN_WIDGET",
"serverSideFiltering": false,
"hideCard": false,
"defaultOptionValue": "text",
"selectionType": "SINGLE_SELECT",
"parentColumnSpace": 7.1875,
"dynamicTriggerPathList": [],
"leftColumn": 20,
"dynamicBindingPathList": [],
"options": "[{\n\"label\":\"Text\",\n\"value\":\"text\"\n},{\n\"label\":\"Numeric\",\n\"value\":\"numeric\"\n},{\n\"label\":\"JSON\",\n\"value\":\"json\"\n},{\n\"label\":\"Character\",\n\"value\":\"character\"},\n{\n\"label\":\"Varchar\",\n\"value\":\"varchar\"\n}]",
"isDisabled": false,
"key": "xxbr73dj9b",
"isRequired": false,
"rightColumn": 64,
"widgetId": "i4mcad3tnq",
"isVisible": true,
"label": "",
"version": 1,
"parentId": "yv73tbi3oy",
"renderMode": "CANVAS",
"isLoading": false
},
{
"widgetName": "Text9",
"displayName": "Text",
"iconSVG": "/static/media/icon.e6c93592.svg",
"topRow": 6,
"bottomRow": 10,
"parentRowSpace": 10,
"type": "TEXT_WIDGET",
"hideCard": false,
"parentColumnSpace": 7.1875,
"dynamicTriggerPathList": [],
"leftColumn": 0,
"dynamicBindingPathList": [],
"text": "Data Type",
"key": "nyopqdic6f",
"rightColumn": 16,
"textAlign": "LEFT",
"widgetId": "fcqvb766qq",
"isVisible": true,
"fontStyle": "BOLD",
"textColor": "#231F20",
"version": 1,
"parentId": "yv73tbi3oy",
"renderMode": "CANVAS",
"isLoading": false,
"fontSize": "PARAGRAPH"
},
{
"widgetName": "nt_col_pkey",
"displayName": "Switch",
"iconSVG": "/static/media/icon.a3115bc1.svg",
"topRow": 11,
"bottomRow": 15,
"parentRowSpace": 10,
"type": "SWITCH_WIDGET",
"alignWidget": "LEFT",
"hideCard": false,
"parentColumnSpace": 7.1875,
"dynamicTriggerPathList": [],
"leftColumn": 2,
"dynamicBindingPathList": [],
"isDisabled": false,
"key": "n78oxr5bww",
"rightColumn": 23,
"widgetId": "h4n8i0xifk",
"isVisible": true,
"label": "Primary key",
"defaultSwitchState": false,
"version": 1,
"parentId": "yv73tbi3oy",
"renderMode": "CANVAS",
"isLoading": false
},
{
"widgetName": "nt_col_nnull",
"displayName": "Switch",
"iconSVG": "/static/media/icon.a3115bc1.svg",
"topRow": 11,
"bottomRow": 15,
"parentRowSpace": 10,
"type": "SWITCH_WIDGET",
"alignWidget": "LEFT",
"hideCard": false,
"parentColumnSpace": 7.1875,
"dynamicTriggerPathList": [],
"leftColumn": 41,
"dynamicBindingPathList": [],
"isDisabled": false,
"key": "n78oxr5bww",
"rightColumn": 57,
"widgetId": "f8ft61tr5x",
"isVisible": true,
"label": "Not Null",
"defaultSwitchState": false,
"version": 1,
"parentId": "yv73tbi3oy",
"renderMode": "CANVAS",
"isLoading": false
}
],
"key": "su7c7uiv6x"
}
],
"key": "5eecdffznx"
}
],
"isDisabled": false,
"key": "su7c7uiv6x",
"rightColumn": 414.75,
"detachFromLayout": true,
"widgetId": "54x09ueh2d",
"isVisible": true,
"version": 1,
"parentId": "699elgtymn",
"renderMode": "CANVAS",
"isLoading": false
}
],
"key": "6ipc38posc",
"height": 254,
"rightColumn": 45,
"detachFromLayout": true,
"widgetId": "699elgtymn",
"canOutsideClickClose": true,
"canEscapeKeyClose": true,
"version": 2,
"parentId": "0",
"renderMode": "CANVAS",
"isLoading": false,
"width": 492
},
{
"widgetName": "nc_modal",
"isCanvas": true,
"displayName": "Modal",
"iconSVG": "/static/media/icon.4975978e.svg",
"topRow": 76,
"bottomRow": 100,
"parentRowSpace": 10,
"type": "MODAL_WIDGET",
"hideCard": false,
"shouldScrollContents": true,
"parentColumnSpace": 17.28125,
"leftColumn": 19,
"children": [
{
"widgetName": "Canvas9",
"rightColumn": 414.75,
"detachFromLayout": true,
"displayName": "Canvas",
"widgetId": "h003hgljvi",
"topRow": 0,
"bottomRow": 550,
"parentRowSpace": 1,
"isVisible": true,
"type": "CANVAS_WIDGET",
"canExtend": true,
"version": 1,
"hideCard": true,
"parentId": "s2367kbtj6",
"shouldScrollContents": false,
"minHeight": 556,
"renderMode": "CANVAS",
"isLoading": false,
"parentColumnSpace": 1,
"leftColumn": 0,
"children": [
{
"widgetName": "Form3",
"backgroundColor": "white",
"rightColumn": 61,
"isCanvas": true,
"displayName": "Form",
"iconSVG": "/static/media/icon.ea3e08d1.svg",
"widgetId": "wxv4rqlwty",
"topRow": 2,
"bottomRow": 52,
"parentRowSpace": 10,
"isVisible": true,
"type": "FORM_WIDGET",
"hideCard": false,
"parentId": "h003hgljvi",
"renderMode": "CANVAS",
"isLoading": false,
"parentColumnSpace": 6.9375,
"leftColumn": 3,
"children": [
{
"widgetName": "Canvas10",
"rightColumn": 166.5,
"detachFromLayout": true,
"displayName": "Canvas",
"widgetId": "l9d5xlk91a",
"containerStyle": "none",
"topRow": 0,
"bottomRow": 490,
"parentRowSpace": 1,
"isVisible": true,
"type": "CANVAS_WIDGET",
"canExtend": false,
"version": 1,
"hideCard": true,
"parentId": "wxv4rqlwty",
"minHeight": 400,
"renderMode": "CANVAS",
"isLoading": false,
"parentColumnSpace": 1,
"leftColumn": 0,
"children": [
{
"widgetName": "Text10",
"rightColumn": 41,
"textAlign": "LEFT",
"displayName": "Text",
"iconSVG": "/static/media/icon.e6c93592.svg",
"widgetId": "2fusjm9e2b",
"topRow": 0,
"bottomRow": 4,
"isVisible": true,
"fontStyle": "BOLD",
"type": "TEXT_WIDGET",
"textColor": "#231F20",
"version": 1,
"hideCard": false,
"parentId": "l9d5xlk91a",
"renderMode": "CANVAS",
"isLoading": false,
"dynamicTriggerPathList": [],
"leftColumn": 1,
"dynamicBindingPathList": [],
"fontSize": "HEADING1",
"text": "New Entry",
"key": "f18wfa40zh"
},
{
"resetFormOnClick": true,
"widgetName": "FormButton5",
"onClick": "{{create_column.run(()=>{get_columns.run();\ncloseModal(nc_modal.name);\t\t})}}",
"buttonColor": "#03B365",
"dynamicPropertyPathList": [{ "key": "onClick" }],
"displayName": "FormButton",
"iconSVG": "/static/media/icon.c8f649ed.svg",
"topRow": 43,
"bottomRow": 47,
"type": "FORM_BUTTON_WIDGET",
"hideCard": true,
"dynamicTriggerPathList": [{ "key": "onClick" }],
"leftColumn": 46,
"dynamicBindingPathList": [],
"text": "Submit",
"key": "00kfs7jzls",
"rightColumn": 62,
"isDefaultClickDisabled": true,
"widgetId": "ktqdvl05s5",
"recaptchaV2": false,
"isVisible": true,
"version": 1,
"parentId": "l9d5xlk91a",
"renderMode": "CANVAS",
"isLoading": false,
"disabledWhenInvalid": true,
"buttonVariant": "PRIMARY"
},
{
"resetFormOnClick": true,
"widgetName": "FormButton6",
"rightColumn": 16,
"isDefaultClickDisabled": true,
"buttonColor": "#03B365",
"displayName": "FormButton",
"iconSVG": "/static/media/icon.c8f649ed.svg",
"widgetId": "fuzqc77jsq",
"topRow": 43,
"bottomRow": 47,
"recaptchaV2": false,
"isVisible": true,
"type": "FORM_BUTTON_WIDGET",
"version": 1,
"hideCard": true,
"parentId": "l9d5xlk91a",
"renderMode": "CANVAS",
"isLoading": false,
"disabledWhenInvalid": false,
"leftColumn": 0,
"buttonVariant": "SECONDARY",
"text": "Reset",
"key": "00kfs7jzls"
},
{
"template": {
"Text11": {
"isVisible": true,
"text": "{{List2.listData.map((currentItem, currentIndex) => {\n return (function(){\n return currentItem;\n })();\n })}}",
"fontSize": "PARAGRAPH",
"fontStyle": "BOLD",
"textAlign": "LEFT",
"textColor": "#231F20",
"widgetName": "Text11",
"version": 1,
"type": "TEXT_WIDGET",
"hideCard": false,
"displayName": "Text",
"key": "f18wfa40zh",
"iconSVG": "/static/media/icon.e6c93592.svg",
"textStyle": "HEADING",
"dynamicBindingPathList": [{ "key": "text" }],
"dynamicTriggerPathList": [],
"widgetId": "0f9ibtavh9",
"renderMode": "CANVAS",
"isLoading": false,
"leftColumn": 16,
"rightColumn": 28,
"topRow": 0,
"bottomRow": 4,
"parentId": "80qux4rhdl"
},
"Input1": {
"isVisible": true,
"inputType": "TEXT",
"label": "",
"widgetName": "Input1",
"version": 1,
"defaultText": "",
"iconAlign": "left",
"autoFocus": false,
"labelStyle": "BOLD",
"resetOnSubmit": true,
"isRequired": false,
"isDisabled": false,
"allowCurrencyChange": false,
"type": "INPUT_WIDGET_V2",
"hideCard": false,
"displayName": "Input",
"key": "mqy3hiv1cd",
"iconSVG": "/static/media/icon.9f505595.svg",
"widgetId": "tvz5wjma8u",
"renderMode": "CANVAS",
"isLoading": false,
"parentColumnSpace": 4.883636474609375,
"parentRowSpace": 10,
"leftColumn": 29,
"rightColumn": 49,
"topRow": 0,
"bottomRow": 4,
"parentId": "80qux4rhdl",
"logBlackList": {
"isVisible": true,
"inputType": true,
"label": true,
"widgetName": true,
"version": true,
"defaultText": true,
"iconAlign": true,
"autoFocus": true,
"labelStyle": true,
"resetOnSubmit": true,
"isRequired": true,
"isDisabled": true,
"allowCurrencyChange": true,
"type": true,
"hideCard": true,
"displayName": true,
"key": true,
"iconSVG": true,
"isCanvas": true,
"minHeight": true,
"widgetId": true,
"renderMode": true,
"isLoading": true,
"parentColumnSpace": true,
"parentRowSpace": true,
"leftColumn": true,
"rightColumn": true,
"topRow": true,
"bottomRow": true,
"parentId": true
}
}
},
"widgetName": "List2",
"listData": "{{get_table_col_schema.data}}",
"isCanvas": true,
"displayName": "List",
"iconSVG": "/static/media/icon.9925ee17.svg",
"topRow": 7,
"bottomRow": 41,
"parentRowSpace": 10,
"type": "LIST_WIDGET",
"hideCard": false,
"gridGap": 0,
"parentColumnSpace": 5.974609375,
"dynamicTriggerPathList": [],
"leftColumn": 2,
"dynamicBindingPathList": [
{ "key": "template.Text11.text" },
{ "key": "listData" }
],
"gridType": "vertical",
"enhancements": true,
"children": [
{
"widgetName": "Canvas11",
"displayName": "Canvas",
"topRow": 0,
"bottomRow": 390,
"parentRowSpace": 1,
"type": "CANVAS_WIDGET",
"canExtend": false,
"hideCard": true,
"dropDisabled": true,
"openParentPropertyPane": true,
"minHeight": 400,
"noPad": true,
"parentColumnSpace": 1,
"leftColumn": 0,
"children": [
{
"boxShadow": "NONE",
"widgetName": "Container2",
"borderColor": "transparent",
"disallowCopy": true,
"isCanvas": true,
"displayName": "Container",
"iconSVG": "/static/media/icon.1977dca3.svg",
"topRow": 0,
"bottomRow": 6,
"dragDisabled": true,
"type": "CONTAINER_WIDGET",
"hideCard": false,
"openParentPropertyPane": true,
"isDeletable": false,
"leftColumn": 0,
"children": [
{
"widgetName": "Canvas12",
"detachFromLayout": true,
"displayName": "Canvas",
"widgetId": "80qux4rhdl",
"containerStyle": "none",
"topRow": 0,
"bottomRow": 60,
"parentRowSpace": 1,
"isVisible": true,
"type": "CANVAS_WIDGET",
"canExtend": false,
"version": 1,
"hideCard": true,
"parentId": "q585fumu9v",
"renderMode": "CANVAS",
"isLoading": false,
"parentColumnSpace": 1,
"leftColumn": 0,
"children": [
{
"widgetName": "Text11",
"displayName": "Text",
"iconSVG": "/static/media/icon.e6c93592.svg",
"topRow": 0,
"bottomRow": 4,
"type": "TEXT_WIDGET",
"hideCard": false,
"dynamicTriggerPathList": [],
"dynamicBindingPathList": [
{ "key": "text" }
],
"leftColumn": 0,
"text": "{{currentItem}}",
"key": "f18wfa40zh",
"rightColumn": 19,
"textAlign": "LEFT",
"widgetId": "0f9ibtavh9",
"logBlackList": {
"isVisible": true,
"text": true,
"fontSize": true,
"fontStyle": true,
"textAlign": true,
"textColor": true,
"widgetName": true,
"version": true,
"type": true,
"hideCard": true,
"displayName": true,
"key": true,
"iconSVG": true,
"isCanvas": true,
"textStyle": true,
"dynamicBindingPathList": true,
"dynamicTriggerPathList": true,
"minHeight": true,
"widgetId": true,
"renderMode": true,
"isLoading": true,
"parentColumnSpace": true,
"parentRowSpace": true,
"leftColumn": true,
"rightColumn": true,
"topRow": true,
"bottomRow": true,
"parentId": true
},
"isVisible": true,
"fontStyle": "BOLD",
"textColor": "#231F20",
"version": 1,
"parentId": "80qux4rhdl",
"renderMode": "CANVAS",
"isLoading": false,
"fontSize": "PARAGRAPH",
"textStyle": "HEADING"
},
{
"widgetName": "Input1",
"displayName": "Input",
"iconSVG": "/static/media/icon.9f505595.svg",
"topRow": 0,
"bottomRow": 4,
"parentRowSpace": 10,
"autoFocus": false,
"type": "INPUT_WIDGET_V2",
"hideCard": false,
"parentColumnSpace": 4.883636474609375,
"resetOnSubmit": true,
"leftColumn": 25,
"labelStyle": "BOLD",
"inputType": "TEXT",
"isDisabled": false,
"key": "mqy3hiv1cd",
"isRequired": false,
"rightColumn": 62,
"widgetId": "tvz5wjma8u",
"logBlackList": {
"isVisible": true,
"inputType": true,
"label": true,
"widgetName": true,
"version": true,
"defaultText": true,
"iconAlign": true,
"autoFocus": true,
"labelStyle": true,
"resetOnSubmit": true,
"isRequired": true,
"isDisabled": true,
"allowCurrencyChange": true,
"type": true,
"hideCard": true,
"displayName": true,
"key": true,
"iconSVG": true,
"isCanvas": true,
"minHeight": true,
"widgetId": true,
"renderMode": true,
"isLoading": true,
"parentColumnSpace": true,
"parentRowSpace": true,
"leftColumn": true,
"rightColumn": true,
"topRow": true,
"bottomRow": true,
"parentId": true
},
"isVisible": true,
"label": "",
"allowCurrencyChange": false,
"version": 1,
"parentId": "80qux4rhdl",
"renderMode": "CANVAS",
"isLoading": false,
"iconAlign": "left",
"defaultText": ""
}
],
"key": "nk1vero5rv"
}
],
"borderWidth": "0",
"key": "ttqycvencs",
"disablePropertyPane": true,
"backgroundColor": "white",
"rightColumn": 64,
"widgetId": "q585fumu9v",
"containerStyle": "card",
"isVisible": true,
"version": 1,
"parentId": "80fqzdvp48",
"renderMode": "CANVAS",
"isLoading": false,
"borderRadius": "0"
}
],
"key": "nk1vero5rv",
"rightColumn": 143.390625,
"detachFromLayout": true,
"widgetId": "80fqzdvp48",
"containerStyle": "none",
"isVisible": true,
"version": 1,
"parentId": "nzeadgxc25",
"renderMode": "CANVAS",
"isLoading": false
}
],
"key": "qonfaml6l5",
"backgroundColor": "transparent",
"rightColumn": 59,
"itemBackgroundColor": "#FFFFFF",
"widgetId": "nzeadgxc25",
"isVisible": true,
"parentId": "l9d5xlk91a",
"renderMode": "CANVAS",
"isLoading": false
}
],
"key": "nk1vero5rv"
}
],
"key": "oypglutlwc"
}
],
"isDisabled": false,
"key": "nk1vero5rv"
}
],
"key": "uyy595kc2u",
"height": 556,
"rightColumn": 43,
"detachFromLayout": true,
"widgetId": "s2367kbtj6",
"canOutsideClickClose": true,
"canEscapeKeyClose": true,
"version": 2,
"parentId": "0",
"renderMode": "CANVAS",
"isLoading": false,
"width": 456
},
{
"widgetName": "ec_modal",
"isCanvas": true,
"displayName": "Modal",
"iconSVG": "/static/media/icon.4975978e.svg",
"topRow": 79,
"bottomRow": 103,
"parentRowSpace": 10,
"type": "MODAL_WIDGET",
"hideCard": false,
"shouldScrollContents": true,
"parentColumnSpace": 17.28125,
"leftColumn": 18,
"children": [
{
"widgetName": "Canvas13",
"rightColumn": 414.75,
"detachFromLayout": true,
"displayName": "Canvas",
"widgetId": "tge0qe0xv1",
"topRow": 0,
"bottomRow": 520,
"parentRowSpace": 1,
"isVisible": true,
"type": "CANVAS_WIDGET",
"canExtend": true,
"version": 1,
"hideCard": true,
"parentId": "9v9z8kyd7c",
"shouldScrollContents": false,
"minHeight": 522,
"renderMode": "CANVAS",
"isLoading": false,
"parentColumnSpace": 1,
"leftColumn": 0,
"children": [
{
"widgetName": "Form4",
"backgroundColor": "white",
"rightColumn": 62,
"isCanvas": true,
"displayName": "Form",
"iconSVG": "/static/media/icon.ea3e08d1.svg",
"widgetId": "f3owblhs2q",
"topRow": 1,
"bottomRow": 49,
"parentRowSpace": 10,
"isVisible": true,
"type": "FORM_WIDGET",
"hideCard": false,
"parentId": "tge0qe0xv1",
"renderMode": "CANVAS",
"isLoading": false,
"parentColumnSpace": 5.4375,
"leftColumn": 3,
"children": [
{
"widgetName": "Canvas14",
"rightColumn": 130.5,
"detachFromLayout": true,
"displayName": "Canvas",
"widgetId": "1u49mgyrnx",
"containerStyle": "none",
"topRow": 0,
"bottomRow": 470,
"parentRowSpace": 1,
"isVisible": true,
"type": "CANVAS_WIDGET",
"canExtend": false,
"version": 1,
"hideCard": true,
"parentId": "f3owblhs2q",
"minHeight": 400,
"renderMode": "CANVAS",
"isLoading": false,
"parentColumnSpace": 1,
"leftColumn": 0,
"children": [
{
"widgetName": "Text12",
"rightColumn": 37,
"textAlign": "LEFT",
"displayName": "Text",
"iconSVG": "/static/media/icon.e6c93592.svg",
"widgetId": "q0a1s8q183",
"topRow": 0,
"bottomRow": 4,
"isVisible": true,
"fontStyle": "BOLD",
"type": "TEXT_WIDGET",
"textColor": "#231F20",
"version": 1,
"hideCard": false,
"parentId": "1u49mgyrnx",
"renderMode": "CANVAS",
"isLoading": false,
"dynamicTriggerPathList": [],
"leftColumn": 1,
"dynamicBindingPathList": [],
"fontSize": "HEADING1",
"text": "Edit Column",
"key": "h0xpwvbvmu"
},
{
"resetFormOnClick": true,
"widgetName": "FormButton7",
"buttonColor": "#03B365",
"displayName": "FormButton",
"iconSVG": "/static/media/icon.c8f649ed.svg",
"topRow": 41,
"bottomRow": 45,
"type": "FORM_BUTTON_WIDGET",
"hideCard": true,
"dynamicTriggerPathList": [],
"leftColumn": 44,
"dynamicBindingPathList": [],
"text": "Update",
"key": "6d9054ksv7",
"rightColumn": 61,
"isDefaultClickDisabled": true,
"widgetId": "5l53nnj7co",
"recaptchaV2": false,
"isVisible": true,
"version": 1,
"parentId": "1u49mgyrnx",
"renderMode": "CANVAS",
"isLoading": false,
"disabledWhenInvalid": true,
"buttonVariant": "PRIMARY"
},
{
"resetFormOnClick": true,
"widgetName": "FormButton8",
"buttonColor": "#03B365",
"displayName": "FormButton",
"iconSVG": "/static/media/icon.c8f649ed.svg",
"topRow": 41,
"bottomRow": 45,
"type": "FORM_BUTTON_WIDGET",
"hideCard": true,
"dynamicTriggerPathList": [],
"leftColumn": 0,
"dynamicBindingPathList": [],
"text": "Cancel",
"key": "6d9054ksv7",
"rightColumn": 16,
"isDefaultClickDisabled": true,
"widgetId": "ikfy13rwk8",
"recaptchaV2": false,
"isVisible": true,
"version": 1,
"parentId": "1u49mgyrnx",
"renderMode": "CANVAS",
"isLoading": false,
"disabledWhenInvalid": false,
"buttonVariant": "SECONDARY"
}
],
"key": "p2zf8948e0"
}
],
"key": "j0e6rx1xz9"
}
],
"isDisabled": false,
"key": "p2zf8948e0"
}
],
"key": "s7112gkltp",
"height": 522,
"rightColumn": 42,
"detachFromLayout": true,
"widgetId": "9v9z8kyd7c",
"canOutsideClickClose": true,
"canEscapeKeyClose": true,
"version": 2,
"parentId": "0",
"renderMode": "CANVAS",
"isLoading": false,
"width": 360
},
{
"widgetName": "Modal1",
"isCanvas": true,
"dynamicPropertyPathList": [],
"displayName": "Modal",
"iconSVG": "/static/media/icon.4975978e.svg",
"topRow": 84,
"bottomRow": 108,
"parentRowSpace": 10,
"type": "MODAL_WIDGET",
"hideCard": false,
"shouldScrollContents": true,
"parentColumnSpace": 17.28125,
"dynamicTriggerPathList": [{ "key": "onClose" }],
"leftColumn": 16,
"dynamicBindingPathList": [],
"children": [
{
"widgetName": "Canvas15",
"rightColumn": 414.75,
"detachFromLayout": true,
"displayName": "Canvas",
"widgetId": "8mhg8ijjsg",
"topRow": 0,
"bottomRow": 180,
"parentRowSpace": 1,
"isVisible": true,
"type": "CANVAS_WIDGET",
"canExtend": true,
"version": 1,
"hideCard": true,
"parentId": "51pd6zrhu3",
"shouldScrollContents": false,
"minHeight": 172,
"renderMode": "CANVAS",
"isLoading": false,
"parentColumnSpace": 1,
"leftColumn": 0,
"children": [
{
"widgetName": "Icon1",
"rightColumn": 63,
"onClick": "{{closeModal(Modal1.name)}}",
"color": "#040627",
"iconName": "cross",
"displayName": "Icon",
"iconSVG": "/static/media/icon.31d6cfe0.svg",
"widgetId": "v4bkbw7b9o",
"topRow": 1,
"bottomRow": 5,
"isVisible": true,
"type": "ICON_WIDGET",
"version": 1,
"hideCard": true,
"parentId": "8mhg8ijjsg",
"renderMode": "CANVAS",
"isLoading": false,
"leftColumn": 58,
"iconSize": 24,
"key": "1girspt6d3"
},
{
"widgetName": "Text13",
"rightColumn": 30,
"textAlign": "LEFT",
"displayName": "Text",
"iconSVG": "/static/media/icon.e6c93592.svg",
"widgetId": "aqeqsfwbht",
"topRow": 1,
"bottomRow": 5,
"isVisible": true,
"fontStyle": "BOLD",
"type": "TEXT_WIDGET",
"textColor": "#231F20",
"version": 1,
"hideCard": false,
"parentId": "8mhg8ijjsg",
"renderMode": "CANVAS",
"isLoading": false,
"dynamicTriggerPathList": [],
"leftColumn": 3,
"dynamicBindingPathList": [],
"fontSize": "HEADING2",
"text": "Confirm Action",
"key": "jnz1qllnni"
},
{
"widgetName": "Button7",
"onClick": "{{closeModal(Modal1.name)}}",
"buttonColor": "#03B365",
"displayName": "Button",
"iconSVG": "/static/media/icon.cca02633.svg",
"topRow": 12,
"bottomRow": 16,
"type": "BUTTON_WIDGET",
"hideCard": false,
"leftColumn": 34,
"text": "Close",
"isDisabled": false,
"key": "fgtwiielin",
"rightColumn": 46,
"isDefaultClickDisabled": true,
"widgetId": "cgy2x0krxn",
"buttonStyle": "PRIMARY",
"recaptchaV2": false,
"isVisible": true,
"version": 1,
"parentId": "8mhg8ijjsg",
"renderMode": "CANVAS",
"isLoading": false,
"buttonVariant": "SECONDARY"
},
{
"widgetName": "Button8",
"onClick": "{{drop_table.run(() => get_tables.run(), () => {})}}",
"buttonColor": "#03B365",
"dynamicPropertyPathList": [{ "key": "onClick" }],
"displayName": "Button",
"iconSVG": "/static/media/icon.cca02633.svg",
"topRow": 12,
"bottomRow": 16,
"type": "BUTTON_WIDGET",
"hideCard": false,
"dynamicTriggerPathList": [{ "key": "onClick" }],
"leftColumn": 50,
"dynamicBindingPathList": [],
"text": "Confirm",
"isDisabled": false,
"key": "fgtwiielin",
"rightColumn": 62,
"isDefaultClickDisabled": true,
"widgetId": "kkg0zi0xkr",
"buttonStyle": "PRIMARY_BUTTON",
"recaptchaV2": false,
"isVisible": true,
"version": 1,
"parentId": "8mhg8ijjsg",
"renderMode": "CANVAS",
"isLoading": false,
"buttonVariant": "PRIMARY"
},
{
"widgetName": "Text14",
"displayName": "Text",
"iconSVG": "/static/media/icon.e6c93592.svg",
"topRow": 6,
"bottomRow": 10,
"parentRowSpace": 10,
"type": "TEXT_WIDGET",
"hideCard": false,
"parentColumnSpace": 7.25,
"dynamicTriggerPathList": [],
"leftColumn": 3,
"dynamicBindingPathList": [],
"borderWidth": "",
"text": "Are you sure you want to delete this table?",
"key": "jnz1qllnni",
"rightColumn": 55,
"textAlign": "LEFT",
"widgetId": "papzkqbh07",
"isVisible": true,
"fontStyle": "",
"textColor": "#231F20",
"version": 1,
"parentId": "8mhg8ijjsg",
"renderMode": "CANVAS",
"isLoading": false,
"fontSize": "PARAGRAPH"
}
],
"isDisabled": false,
"key": "pgfhctg9oh"
}
],
"key": "w9v4kuchf9",
"height": 172,
"rightColumn": 40,
"detachFromLayout": true,
"widgetId": "51pd6zrhu3",
"canOutsideClickClose": true,
"canEscapeKeyClose": true,
"version": 2,
"parentId": "0",
"renderMode": "CANVAS",
"isLoading": false,
"onClose": "",
"width": 476
}
]
test: Remove unused data in DSL fixtures (#34405) Part of #33724. We have a lot of fixture files in our Cypress tests with DSLs of various kinds. They are used to update the DSL using the `/api/v1/layouts/{layoutId}/pages/{pageId}?applicationId={applicationId}`. This API, is [in this line in `LayoutControllerCE`](https://github.com/appsmithorg/appsmith/blob/c4e5d5e6c8f0428fe4a632333b9f6f13de3267b8/app/server/appsmith-server/src/main/java/com/appsmith/server/controllers/ce/LayoutControllerCE.java#L71), and the request body is parsed as [objects of `LayoutUpdateDTO` record](https://github.com/appsmithorg/appsmith/blob/71bc84fc76e85c49312659d18a7632ad62780583/app/server/appsmith-server/src/main/java/com/appsmith/server/dtos/LayoutUpdateDTO.java#L6). This `record`, accepts _only_ the `dsl` field, and nothing else. List of potential files that have this problem was identified with this command: ```sh cd app/client/cypress rg -Io 'AddDsl\(".+?\)' \ | cut -d\" -f2 \ | sort -u \ | while read line; do if rg -q '"(layoutOnLoadActions|layoutOnLoadActionErrors|userPermissions|new)":' fixtures/"$line".json; then echo $line fi done ``` (For reference, and to use on EE repo, after this is merged). **/test all** <!-- This is an auto-generated comment: Cypress test results --> > [!CAUTION] > 🔴 🔴 🔴 Some tests have failed. > Workflow run: <https://github.com/appsmithorg/appsmith/actions/runs/9633990737> > Commit: 9e848f1ed0c3332177d2e6c4a75e2483f045395f > <a href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=9633990737&attempt=1&selectiontype=test&testsstatus=failed&specsstatus=fail" target="_blank">Cypress dashboard</a>. > Tags: `` > The following are new failures, please fix them before merging the PR: <ol> > <li>cypress/e2e/Regression/ClientSide/Widgets/RTE/RichTextEditor3_spec.ts > <li>cypress/e2e/Regression/ClientSide/Widgets/RTE/RichTextEditor_1_spec.js > <li>cypress/e2e/Regression/ClientSide/Widgets/RTE/RichTextEditor_2_spec.js </ol> > <a href="https://internal.appsmith.com/app/cypress-dashboard/identified-flaky-tests-65890b3c81d7400d08fa9ee3?branch=master" target="_blank">List of identified flaky tests</a>. <!-- end of auto-generated comment: Cypress test results --> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Bug Fixes** - Corrected the file path for loading DSL configuration in the nested list widget scenario. - **Chores** - Streamlined multiple JSON files by removing deprecated `layoutOnLoadActions` arrays and other obsolete fields, resulting in cleaner and more manageable configurations. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-06-24 11:47:43 +00:00
}
}