From 0f8d095955fb3f0f200a1a340240f23ae31bc953 Mon Sep 17 00:00:00 2001 From: ibariss Date: Thu, 15 Jan 2026 09:44:32 +0000 Subject: [PATCH 01/71] Appsmitch test push to git --- pages/Page1/widgets/Text1.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pages/Page1/widgets/Text1.json b/pages/Page1/widgets/Text1.json index 3ac2d99..440d16c 100644 --- a/pages/Page1/widgets/Text1.json +++ b/pages/Page1/widgets/Text1.json @@ -17,6 +17,7 @@ } ], "dynamicHeight": "AUTO_HEIGHT", + "dynamicTriggerPathList": [], "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", "fontSize": "1rem", "fontStyle": "BOLD", @@ -42,7 +43,7 @@ "responsiveBehavior": "fill", "rightColumn": 31, "shouldTruncate": false, - "text": "Hello {{appsmith.user.name || appsmith.user.email}}", + "text": "Hello {{appsmith.user.name || appsmith.user.email}} appsmith test", "textAlign": "LEFT", "textColor": "#231F20", "topRow": 2, From ab003c148d89d68bedf6d0b36d750cb52e9ba092 Mon Sep 17 00:00:00 2001 From: ibariss Date: Thu, 15 Jan 2026 09:49:02 +0000 Subject: [PATCH 02/71] Test connection to database --- datasources/xTuple_Sandbox.json | 6 + pages/Page1/Page1.json | 2 +- .../Insert_mpe_isocountry1.txt | 1 + .../Insert_mpe_isocountry1/metadata.json | 35 ++ .../Select_mpe_isocountry1.txt | 12 + .../Select_mpe_isocountry1/metadata.json | 35 ++ .../Total_record_mpe_isocountry1.txt | 1 + .../metadata.json | 35 ++ .../Update_mpe_isocountry1.txt | 1 + .../Update_mpe_isocountry1/metadata.json | 35 ++ pages/Page1/widgets/Table1.json | 303 ++++++++++++++++++ 11 files changed, 465 insertions(+), 1 deletion(-) create mode 100644 datasources/xTuple_Sandbox.json create mode 100644 pages/Page1/queries/Insert_mpe_isocountry1/Insert_mpe_isocountry1.txt create mode 100644 pages/Page1/queries/Insert_mpe_isocountry1/metadata.json create mode 100644 pages/Page1/queries/Select_mpe_isocountry1/Select_mpe_isocountry1.txt create mode 100644 pages/Page1/queries/Select_mpe_isocountry1/metadata.json create mode 100644 pages/Page1/queries/Total_record_mpe_isocountry1/Total_record_mpe_isocountry1.txt create mode 100644 pages/Page1/queries/Total_record_mpe_isocountry1/metadata.json create mode 100644 pages/Page1/queries/Update_mpe_isocountry1/Update_mpe_isocountry1.txt create mode 100644 pages/Page1/queries/Update_mpe_isocountry1/metadata.json create mode 100644 pages/Page1/widgets/Table1.json diff --git a/datasources/xTuple_Sandbox.json b/datasources/xTuple_Sandbox.json new file mode 100644 index 0000000..c97bd20 --- /dev/null +++ b/datasources/xTuple_Sandbox.json @@ -0,0 +1,6 @@ +{ + "gitSyncId": "630fb8035cd949195181bb2c_65bd1b8d610ad3019f1819d1", + "isAutoGenerated": false, + "name": "xTuple_Sandbox", + "pluginId": "postgres-plugin" +} \ No newline at end of file diff --git a/pages/Page1/Page1.json b/pages/Page1/Page1.json index 7225f36..6acb771 100644 --- a/pages/Page1/Page1.json +++ b/pages/Page1/Page1.json @@ -5,7 +5,7 @@ { "dsl": { "backgroundColor": "none", - "bottomRow": 380, + "bottomRow": 520, "canExtend": true, "containerStyle": "none", "detachFromLayout": true, diff --git a/pages/Page1/queries/Insert_mpe_isocountry1/Insert_mpe_isocountry1.txt b/pages/Page1/queries/Insert_mpe_isocountry1/Insert_mpe_isocountry1.txt new file mode 100644 index 0000000..63fc77c --- /dev/null +++ b/pages/Page1/queries/Insert_mpe_isocountry1/Insert_mpe_isocountry1.txt @@ -0,0 +1 @@ +INSERT INTO mpe.isocountry ("countryname","continent") VALUES ('{{(Table1.newRow || {}).countryname}}','{{(Table1.newRow || {}).continent}}') \ No newline at end of file diff --git a/pages/Page1/queries/Insert_mpe_isocountry1/metadata.json b/pages/Page1/queries/Insert_mpe_isocountry1/metadata.json new file mode 100644 index 0000000..191b75d --- /dev/null +++ b/pages/Page1/queries/Insert_mpe_isocountry1/metadata.json @@ -0,0 +1,35 @@ +{ + "gitSyncId": "6968b6e8271e5e0befde3194_08fc7608-7641-46f3-a322-0265f2bbbc04", + "id": "Page1_Insert_mpe_isocountry1", + "pluginId": "postgres-plugin", + "pluginType": "DB", + "unpublishedAction": { + "actionConfiguration": { + "body": "INSERT INTO mpe.isocountry (\"countryname\",\"continent\") VALUES ('{{(Table1.newRow || {}).countryname}}','{{(Table1.newRow || {}).continent}}')", + "encodeParamsToggle": true, + "paginationType": "NONE", + "pluginSpecifiedTemplates": [ + { + "value": false + } + ], + "timeoutInMillisecond": 10000 + }, + "confirmBeforeExecute": false, + "datasource": { + "id": "xTuple_Sandbox", + "isAutoGenerated": false, + "name": "xTuple_Sandbox", + "pluginId": "postgres-plugin" + }, + "dynamicBindingPathList": [ + { + "key": "body" + } + ], + "name": "Insert_mpe_isocountry1", + "pageId": "Page1", + "runBehaviour": "MANUAL", + "userSetOnLoad": false + } +} \ No newline at end of file diff --git a/pages/Page1/queries/Select_mpe_isocountry1/Select_mpe_isocountry1.txt b/pages/Page1/queries/Select_mpe_isocountry1/Select_mpe_isocountry1.txt new file mode 100644 index 0000000..a124831 --- /dev/null +++ b/pages/Page1/queries/Select_mpe_isocountry1/Select_mpe_isocountry1.txt @@ -0,0 +1,12 @@ +SELECT + * +FROM + mpe.isocountry +WHERE + "iso_id" ilike '%{{Table1.searchText}}%' +ORDER BY + "{{Table1.sortOrder.column || 'iso_id'}}" {{Table1.sortOrder.order !== "desc" ? "" : "DESC"}} +LIMIT + {{Table1.pageSize}} +OFFSET + {{Table1.pageOffset}} \ No newline at end of file diff --git a/pages/Page1/queries/Select_mpe_isocountry1/metadata.json b/pages/Page1/queries/Select_mpe_isocountry1/metadata.json new file mode 100644 index 0000000..465d19d --- /dev/null +++ b/pages/Page1/queries/Select_mpe_isocountry1/metadata.json @@ -0,0 +1,35 @@ +{ + "gitSyncId": "6968b6e8271e5e0befde3194_6ab47e10-a6f8-4be9-9f46-2e01804dfaf8", + "id": "Page1_Select_mpe_isocountry1", + "pluginId": "postgres-plugin", + "pluginType": "DB", + "unpublishedAction": { + "actionConfiguration": { + "body": "SELECT\n *\nFROM\n mpe.isocountry\nWHERE\n \"iso_id\" ilike '%{{Table1.searchText}}%'\nORDER BY\n \"{{Table1.sortOrder.column || 'iso_id'}}\" {{Table1.sortOrder.order !== \"desc\" ? \"\" : \"DESC\"}}\nLIMIT\n {{Table1.pageSize}}\nOFFSET\n {{Table1.pageOffset}}", + "encodeParamsToggle": true, + "paginationType": "NONE", + "pluginSpecifiedTemplates": [ + { + "value": false + } + ], + "timeoutInMillisecond": 10000 + }, + "confirmBeforeExecute": false, + "datasource": { + "id": "xTuple_Sandbox", + "isAutoGenerated": false, + "name": "xTuple_Sandbox", + "pluginId": "postgres-plugin" + }, + "dynamicBindingPathList": [ + { + "key": "body" + } + ], + "name": "Select_mpe_isocountry1", + "pageId": "Page1", + "runBehaviour": "AUTOMATIC", + "userSetOnLoad": false + } +} \ No newline at end of file diff --git a/pages/Page1/queries/Total_record_mpe_isocountry1/Total_record_mpe_isocountry1.txt b/pages/Page1/queries/Total_record_mpe_isocountry1/Total_record_mpe_isocountry1.txt new file mode 100644 index 0000000..4795dce --- /dev/null +++ b/pages/Page1/queries/Total_record_mpe_isocountry1/Total_record_mpe_isocountry1.txt @@ -0,0 +1 @@ +SELECT COUNT(*) from mpe.isocountry where iso_id ilike '%{{Table1.searchText}}%'; \ No newline at end of file diff --git a/pages/Page1/queries/Total_record_mpe_isocountry1/metadata.json b/pages/Page1/queries/Total_record_mpe_isocountry1/metadata.json new file mode 100644 index 0000000..9d2da2c --- /dev/null +++ b/pages/Page1/queries/Total_record_mpe_isocountry1/metadata.json @@ -0,0 +1,35 @@ +{ + "gitSyncId": "6968b6e8271e5e0befde3194_1daa0af7-bfec-48c0-8a6f-00b33b06722c", + "id": "Page1_Total_record_mpe_isocountry1", + "pluginId": "postgres-plugin", + "pluginType": "DB", + "unpublishedAction": { + "actionConfiguration": { + "body": "SELECT COUNT(*) from mpe.isocountry where iso_id ilike '%{{Table1.searchText}}%';", + "encodeParamsToggle": true, + "paginationType": "NONE", + "pluginSpecifiedTemplates": [ + { + "value": false + } + ], + "timeoutInMillisecond": 10000 + }, + "confirmBeforeExecute": false, + "datasource": { + "id": "xTuple_Sandbox", + "isAutoGenerated": false, + "name": "xTuple_Sandbox", + "pluginId": "postgres-plugin" + }, + "dynamicBindingPathList": [ + { + "key": "body" + } + ], + "name": "Total_record_mpe_isocountry1", + "pageId": "Page1", + "runBehaviour": "AUTOMATIC", + "userSetOnLoad": false + } +} \ No newline at end of file diff --git a/pages/Page1/queries/Update_mpe_isocountry1/Update_mpe_isocountry1.txt b/pages/Page1/queries/Update_mpe_isocountry1/Update_mpe_isocountry1.txt new file mode 100644 index 0000000..edf112a --- /dev/null +++ b/pages/Page1/queries/Update_mpe_isocountry1/Update_mpe_isocountry1.txt @@ -0,0 +1 @@ +UPDATE mpe.isocountry SET "countryname"= '{{Table1.updatedRow.countryname}}', "continent"= '{{Table1.updatedRow.continent}}' WHERE "iso_id"= {{Table1.updatedRow.iso_id}}; \ No newline at end of file diff --git a/pages/Page1/queries/Update_mpe_isocountry1/metadata.json b/pages/Page1/queries/Update_mpe_isocountry1/metadata.json new file mode 100644 index 0000000..d7d469f --- /dev/null +++ b/pages/Page1/queries/Update_mpe_isocountry1/metadata.json @@ -0,0 +1,35 @@ +{ + "gitSyncId": "6968b6e8271e5e0befde3194_966f24b4-0187-44b9-ae1b-91384ed62a26", + "id": "Page1_Update_mpe_isocountry1", + "pluginId": "postgres-plugin", + "pluginType": "DB", + "unpublishedAction": { + "actionConfiguration": { + "body": "UPDATE mpe.isocountry SET \"countryname\"= '{{Table1.updatedRow.countryname}}', \"continent\"= '{{Table1.updatedRow.continent}}' WHERE \"iso_id\"= {{Table1.updatedRow.iso_id}};", + "encodeParamsToggle": true, + "paginationType": "NONE", + "pluginSpecifiedTemplates": [ + { + "value": false + } + ], + "timeoutInMillisecond": 10000 + }, + "confirmBeforeExecute": false, + "datasource": { + "id": "xTuple_Sandbox", + "isAutoGenerated": false, + "name": "xTuple_Sandbox", + "pluginId": "postgres-plugin" + }, + "dynamicBindingPathList": [ + { + "key": "body" + } + ], + "name": "Update_mpe_isocountry1", + "pageId": "Page1", + "runBehaviour": "MANUAL", + "userSetOnLoad": false + } +} \ No newline at end of file diff --git a/pages/Page1/widgets/Table1.json b/pages/Page1/widgets/Table1.json new file mode 100644 index 0000000..fb005b6 --- /dev/null +++ b/pages/Page1/widgets/Table1.json @@ -0,0 +1,303 @@ +{ + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "allowAddNewRow": true, + "animateLoading": true, + "borderColor": "#E0DEDE", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "borderWidth": "1", + "bottomRow": 52, + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "cachedTableData": {}, + "canFreezeColumn": true, + "childStylesheet": { + "button": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "editActions": { + "discardBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "discardButtonColor": "{{appsmith.theme.colors.primaryColor}}", + "saveBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "saveButtonColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "iconButton": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "menuButton": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none", + "menuColor": "{{appsmith.theme.colors.primaryColor}}" + } + }, + "columnOrder": [ + "iso_id", + "countryname", + "continent", + "EditActions1" + ], + "columnUpdatedAt": 1768470523594, + "columnWidthMap": {}, + "customIsLoading": false, + "customIsLoadingValue": "", + "defaultPageSize": 0, + "defaultSelectedRowIndex": 0, + "defaultSelectedRowIndices": [ + 0 + ], + "delimiter": ",", + "dynamicBindingPathList": [ + { + "key": "accentColor" + }, + { + "key": "borderRadius" + }, + { + "key": "boxShadow" + }, + { + "key": "tableData" + }, + { + "key": "totalRecordsCount" + }, + { + "key": "primaryColumns.iso_id.computedValue" + }, + { + "key": "primaryColumns.countryname.computedValue" + }, + { + "key": "primaryColumns.continent.computedValue" + }, + { + "key": "primaryColumns.EditActions1.saveButtonColor" + }, + { + "key": "primaryColumns.EditActions1.saveBorderRadius" + }, + { + "key": "primaryColumns.EditActions1.discardBorderRadius" + }, + { + "key": "primaryColumns.EditActions1.isSaveDisabled" + }, + { + "key": "primaryColumns.EditActions1.isDiscardDisabled" + } + ], + "dynamicPropertyPathList": [ + { + "key": "tableData" + }, + { + "key": "primaryColumns.EditActions1.isSaveDisabled" + }, + { + "key": "primaryColumns.EditActions1.isDiscardDisabled" + } + ], + "dynamicTriggerPathList": [ + { + "key": "onPageChange" + }, + { + "key": "onSearchTextChanged" + }, + { + "key": "onSort" + }, + { + "key": "onAddNewRowSave" + }, + { + "key": "primaryColumns.EditActions1.onSave" + } + ], + "enableClientSideSearch": false, + "endOfData": false, + "flexVerticalAlignment": "start", + "horizontalAlignment": "LEFT", + "inlineEditingSaveOption": "ROW_LEVEL", + "isLoading": false, + "isSortable": true, + "isVisible": true, + "isVisibleDownload": false, + "isVisibleFilters": false, + "isVisiblePagination": true, + "isVisibleSearch": true, + "key": "0c6xqzrpky", + "label": "Data", + "leftColumn": 2, + "minWidth": 450, + "mobileBottomRow": 36, + "mobileLeftColumn": 2, + "mobileRightColumn": 36, + "mobileTopRow": 8, + "needsErrorInfo": false, + "onAddNewRowSave": "{{Insert_mpe_isocountry1.run(() => {\n showAlert(\"Successfully created!\");\n Select_mpe_isocountry1.run()\n }, () => {\n showAlert(\"Unable to create!\");\n })}}", + "onPageChange": "{{\n Select_mpe_isocountry1.run();\n Total_record_mpe_isocountry1.run()\n }}", + "onSearchTextChanged": "{{\n Select_mpe_isocountry1.run();\n Total_record_mpe_isocountry1.run()\n }}", + "onSort": "{{\n Select_mpe_isocountry1.run();\n Total_record_mpe_isocountry1.run()\n }}", + "parentColumnSpace": 25.484375, + "parentId": "0", + "parentRowSpace": 10, + "primaryColumnId": "iso_id", + "primaryColumns": { + "EditActions1": { + "alias": "EditActions1", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "buttonStyle": "rgb(3, 179, 101)", + "columnType": "editActions", + "computedValue": "", + "currencyCode": "USD", + "decimals": 0, + "discardActionLabel": "Discard", + "discardBorderRadius": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( (appsmith.theme.borderRadius.appBorderRadius)))}}", + "discardButtonColor": "#F22B2B", + "discardButtonVariant": "TERTIARY", + "discardIconAlign": "left", + "enableFilter": true, + "enableSort": true, + "horizontalAlignment": "LEFT", + "id": "EditActions1", + "index": 3, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": true, + "isDisabled": false, + "isDiscardDisabled": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( !Table1.updatedRowIndices.includes(currentIndex)))}}", + "isDiscardVisible": true, + "isEditable": false, + "isSaveDisabled": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( !Table1.updatedRowIndices.includes(currentIndex)))}}", + "isSaveVisible": true, + "isVisible": true, + "label": "Save / Discard", + "notation": "standard", + "onSave": "{{Update_mpe_isocountry1.run(() => {\n showAlert(\"Successfully saved!\");\n Select_mpe_isocountry1.run()\n }, () => {\n showAlert(\"Unable to save!\");\n })}}", + "originalId": "EditActions1", + "saveActionLabel": "Save", + "saveBorderRadius": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( (appsmith.theme.borderRadius.appBorderRadius)))}}", + "saveButtonColor": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( (appsmith.theme.colors.primaryColor)))}}", + "saveIconAlign": "left", + "sticky": "right", + "textSize": "0.875rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + }, + "continent": { + "alias": "continent", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "columnType": "text", + "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"continent\"])) : continent })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "horizontalAlignment": "LEFT", + "id": "continent", + "index": 2, + "isCellEditable": true, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": true, + "isSaveVisible": true, + "isVisible": true, + "label": "continent", + "notation": "standard", + "originalId": "continent", + "sticky": "", + "textSize": "0.875rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + }, + "countryname": { + "alias": "countryname", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "columnType": "text", + "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"countryname\"])) : countryname })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "horizontalAlignment": "LEFT", + "id": "countryname", + "index": 1, + "isCellEditable": true, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": true, + "isSaveVisible": true, + "isVisible": true, + "label": "countryname", + "notation": "standard", + "originalId": "countryname", + "sticky": "", + "textSize": "0.875rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + }, + "iso_id": { + "alias": "iso_id", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "columnType": "text", + "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"iso_id\"])) : iso_id })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "horizontalAlignment": "LEFT", + "id": "iso_id", + "index": 0, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "iso_id", + "notation": "standard", + "originalId": "iso_id", + "sticky": "", + "textSize": "0.875rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + } + }, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 63, + "searchKey": "", + "serverSidePaginationEnabled": true, + "showInlineEditingOptionDropdown": true, + "tableData": "{{Select_mpe_isocountry1.data}}", + "textSize": "0.875rem", + "topRow": 8, + "totalRecordsCount": "{{Total_record_mpe_isocountry1.data[0].count}}", + "type": "TABLE_WIDGET_V2", + "version": 2, + "verticalAlignment": "CENTER", + "widgetId": "tjhvizl6e1", + "widgetName": "Table1" +} \ No newline at end of file From fd3b3b8e67789c2de61124db2b655a32f7f78f45 Mon Sep 17 00:00:00 2001 From: ibariss Date: Tue, 20 Jan 2026 13:38:25 +0000 Subject: [PATCH 03/71] Base layout and base statistics pages --- application.json | 40 +- pages/Home/Home.json | 31 ++ .../capacity_display_all.txt | 1 + .../capacity_display_all}/metadata.json | 14 +- pages/Home/widgets/Chart1.json | 121 ++++++ pages/Home/widgets/Chart1Copy.json | 122 ++++++ pages/Home/widgets/Chart1CopyCopy.json | 122 ++++++ pages/Home/widgets/Chart2.json | 122 ++++++ pages/Marketing/Marketing.json | 32 ++ .../Capacity_Planning/Capacity_Planning.txt | 1 - .../Insert_mpe_isocountry1.txt | 1 - .../Select_mpe_isocountry1.txt | 12 - .../Select_mpe_isocountry1/metadata.json | 35 -- .../Total_record_mpe_isocountry1.txt | 1 - .../Update_mpe_isocountry1.txt | 1 - .../Update_mpe_isocountry1/metadata.json | 35 -- .../Sales - Capacity Planning.json | 33 ++ .../capacity_display_all.txt | 1 + .../capacity_display_all}/metadata.json | 18 +- .../widgets/Heading.json | 52 +++ .../widgets/Navigation.json | 93 ++++ .../widgets/Table1.json | 269 +++++------- .../Sales - Units Shipped.json} | 7 +- .../metadata.json | 31 ++ .../units_shipped_by_power_input.txt | 33 ++ .../units_shipped_by_series/metadata.json | 31 ++ .../units_shipped_by_series.txt | 25 ++ .../widgets/Heading.json | 52 +++ .../widgets/Navigation.json | 90 ++++ .../widgets/Tabs1/Table1.json | 183 ++++++++ .../widgets/Tabs1/Table1Copy.json | 259 +++++++++++ .../widgets/Tabs1/Tabs1.json | 165 +++++++ .../Sales - Units Shipped/widgets/Text1.json | 52 +++ .../widgets/Text2Copy1.json} | 31 +- .../widgets/Text2CopyCopy.json | 52 +++ .../Sales - Units Shipped/widgets/Text3.json | 52 +++ pages/{Page1/Page1.json => Sales/Sales.json} | 7 +- .../capacity_display_all.txt | 1 + .../capacity_display_all}/metadata.json | 20 +- pages/Sales/widgets/Heading.json | 52 +++ pages/Sales/widgets/Navigation.json | 93 ++++ pages/Sales/widgets/Table1.json | 244 +++++++++++ theme.json | 406 +++++++++++++++++- 43 files changed, 2733 insertions(+), 310 deletions(-) create mode 100644 pages/Home/Home.json create mode 100644 pages/Home/queries/capacity_display_all/capacity_display_all.txt rename pages/{Page1/queries/Capacity_Planning => Home/queries/capacity_display_all}/metadata.json (64%) create mode 100644 pages/Home/widgets/Chart1.json create mode 100644 pages/Home/widgets/Chart1Copy.json create mode 100644 pages/Home/widgets/Chart1CopyCopy.json create mode 100644 pages/Home/widgets/Chart2.json create mode 100644 pages/Marketing/Marketing.json delete mode 100644 pages/Page1/queries/Capacity_Planning/Capacity_Planning.txt delete mode 100644 pages/Page1/queries/Insert_mpe_isocountry1/Insert_mpe_isocountry1.txt delete mode 100644 pages/Page1/queries/Select_mpe_isocountry1/Select_mpe_isocountry1.txt delete mode 100644 pages/Page1/queries/Select_mpe_isocountry1/metadata.json delete mode 100644 pages/Page1/queries/Total_record_mpe_isocountry1/Total_record_mpe_isocountry1.txt delete mode 100644 pages/Page1/queries/Update_mpe_isocountry1/Update_mpe_isocountry1.txt delete mode 100644 pages/Page1/queries/Update_mpe_isocountry1/metadata.json create mode 100644 pages/Sales - Capacity Planning/Sales - Capacity Planning.json create mode 100644 pages/Sales - Capacity Planning/queries/capacity_display_all/capacity_display_all.txt rename pages/{Page1/queries/Total_record_mpe_isocountry1 => Sales - Capacity Planning/queries/capacity_display_all}/metadata.json (57%) create mode 100644 pages/Sales - Capacity Planning/widgets/Heading.json create mode 100644 pages/Sales - Capacity Planning/widgets/Navigation.json rename pages/{Page1 => Sales - Capacity Planning}/widgets/Table1.json (53%) rename pages/{Page2/Page2.json => Sales - Units Shipped/Sales - Units Shipped.json} (85%) create mode 100644 pages/Sales - Units Shipped/queries/units_shipped_by_power_input/metadata.json create mode 100644 pages/Sales - Units Shipped/queries/units_shipped_by_power_input/units_shipped_by_power_input.txt create mode 100644 pages/Sales - Units Shipped/queries/units_shipped_by_series/metadata.json create mode 100644 pages/Sales - Units Shipped/queries/units_shipped_by_series/units_shipped_by_series.txt create mode 100644 pages/Sales - Units Shipped/widgets/Heading.json create mode 100644 pages/Sales - Units Shipped/widgets/Navigation.json create mode 100644 pages/Sales - Units Shipped/widgets/Tabs1/Table1.json create mode 100644 pages/Sales - Units Shipped/widgets/Tabs1/Table1Copy.json create mode 100644 pages/Sales - Units Shipped/widgets/Tabs1/Tabs1.json create mode 100644 pages/Sales - Units Shipped/widgets/Text1.json rename pages/{Page1/widgets/Text1.json => Sales - Units Shipped/widgets/Text2Copy1.json} (68%) create mode 100644 pages/Sales - Units Shipped/widgets/Text2CopyCopy.json create mode 100644 pages/Sales - Units Shipped/widgets/Text3.json rename pages/{Page1/Page1.json => Sales/Sales.json} (89%) create mode 100644 pages/Sales/queries/capacity_display_all/capacity_display_all.txt rename pages/{Page1/queries/Insert_mpe_isocountry1 => Sales/queries/capacity_display_all}/metadata.json (51%) create mode 100644 pages/Sales/widgets/Heading.json create mode 100644 pages/Sales/widgets/Navigation.json create mode 100644 pages/Sales/widgets/Table1.json diff --git a/application.json b/application.json index 2e4d42b..d5a0dff 100644 --- a/application.json +++ b/application.json @@ -4,7 +4,16 @@ "appPositioning": { "type": "FIXED" }, - "navigationSetting": {}, + "navigationSetting": { + "colorStyle": "theme", + "logoAssetId": "", + "logoConfiguration": "logoAndApplicationTitle", + "navStyle": "sidebar", + "orientation": "side", + "position": "static", + "showNavbar": true, + "showSignIn": true + }, "themeSetting": { "appMaxWidth": "LARGE", "density": 1.0, @@ -15,14 +24,26 @@ "collapseInvisibleWidgets": true, "color": "#C7F3F0", "evaluationVersion": 2, - "icon": "flag", + "icon": "calender", "pages": [ { - "id": "Page1", + "id": "Home", "isDefault": true }, { - "id": "Page2", + "id": "Sales", + "isDefault": false + }, + { + "id": "Sales - Capacity Planning", + "isDefault": false + }, + { + "id": "Sales - Units Shipped", + "isDefault": false + }, + { + "id": "Marketing", "isDefault": false } ], @@ -30,7 +51,16 @@ "appPositioning": { "type": "FIXED" }, - "navigationSetting": {}, + "navigationSetting": { + "colorStyle": "theme", + "logoAssetId": "", + "logoConfiguration": "logoAndApplicationTitle", + "navStyle": "sidebar", + "orientation": "side", + "position": "static", + "showNavbar": true, + "showSignIn": true + }, "themeSetting": { "appMaxWidth": "LARGE", "density": 1.0, diff --git a/pages/Home/Home.json b/pages/Home/Home.json new file mode 100644 index 0000000..1f0f76e --- /dev/null +++ b/pages/Home/Home.json @@ -0,0 +1,31 @@ +{ + "gitSyncId": "6968b6e8271e5e0befde3194_4fbad1cb-0bc0-42d0-b1e8-9afb5dda507b", + "unpublishedPage": { + "layouts": [ + { + "dsl": { + "backgroundColor": "none", + "bottomRow": 750, + "canExtend": true, + "containerStyle": "none", + "detachFromLayout": true, + "dynamicBindingPathList": [], + "leftColumn": 0, + "minHeight": 1090, + "parentColumnSpace": 1, + "parentRowSpace": 1, + "rightColumn": 1224, + "snapColumns": 64, + "snapRows": 107, + "topRow": 0, + "type": "CANVAS_WIDGET", + "version": 94, + "widgetId": "0", + "widgetName": "MainContainer" + } + } + ], + "name": "Home", + "slug": "home" + } +} \ No newline at end of file diff --git a/pages/Home/queries/capacity_display_all/capacity_display_all.txt b/pages/Home/queries/capacity_display_all/capacity_display_all.txt new file mode 100644 index 0000000..f70f31d --- /dev/null +++ b/pages/Home/queries/capacity_display_all/capacity_display_all.txt @@ -0,0 +1 @@ +select * from mpe.poormancapacity; \ No newline at end of file diff --git a/pages/Page1/queries/Capacity_Planning/metadata.json b/pages/Home/queries/capacity_display_all/metadata.json similarity index 64% rename from pages/Page1/queries/Capacity_Planning/metadata.json rename to pages/Home/queries/capacity_display_all/metadata.json index 8caf055..7a48088 100644 --- a/pages/Page1/queries/Capacity_Planning/metadata.json +++ b/pages/Home/queries/capacity_display_all/metadata.json @@ -1,11 +1,11 @@ { - "gitSyncId": "6806a8bdc0c8882e5a70d0a0_0a5ed354-c003-4b6e-a9ec-402026a5128a", - "id": "Page1_Capacity_Planning", + "gitSyncId": "6968b6e8271e5e0befde3194_d60005da-e39e-4d62-a1e9-3b2eb7b574ef", + "id": "Home_capacity_display_all", "pluginId": "postgres-plugin", "pluginType": "DB", "unpublishedAction": { "actionConfiguration": { - "body": "select * from mpe.poormancapacity", + "body": "select * from mpe.poormancapacity;", "encodeParamsToggle": true, "paginationType": "NONE", "pluginSpecifiedTemplates": [ @@ -17,14 +17,14 @@ }, "confirmBeforeExecute": false, "datasource": { - "id": "xTuple_GoLive", + "id": "xTuple_Sandbox", "isAutoGenerated": false, - "name": "xTuple_GoLive", + "name": "xTuple_Sandbox", "pluginId": "postgres-plugin" }, "dynamicBindingPathList": [], - "name": "Capacity_Planning", - "pageId": "Page1", + "name": "capacity_display_all", + "pageId": "Home", "runBehaviour": "MANUAL", "userSetOnLoad": false } diff --git a/pages/Home/widgets/Chart1.json b/pages/Home/widgets/Chart1.json new file mode 100644 index 0000000..e03537a --- /dev/null +++ b/pages/Home/widgets/Chart1.json @@ -0,0 +1,121 @@ +{ + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "allowScroll": false, + "animateLoading": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "bottomRow": 37, + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "chartData": { + "amejnorddr": { + "data": [ + { + "x": "Product1", + "y": 20000 + }, + { + "x": "Product2", + "y": 22000 + }, + { + "x": "Product3", + "y": 32000 + } + ], + "seriesName": "2023" + } + }, + "chartName": "Sales Report", + "chartType": "COLUMN_CHART", + "customEChartConfig": "{{\n{\n \"dataset\": {\n \"source\": [\n [\n \"Day\",\n \"Baidu\",\n \"Google\",\n \"Bing\"\n ],\n [\n \"Mon\",\n 620,\n 120,\n 60\n ],\n [\n \"Tue\",\n 732,\n 132,\n 72\n ],\n [\n \"Wed\",\n 701,\n 101,\n 71\n ],\n [\n \"Thu\",\n 734,\n 134,\n 74\n ],\n [\n \"Fri\",\n 1090,\n 290,\n 190\n ],\n [\n \"Sat\",\n 1130,\n 230,\n 130\n ],\n [\n \"Sun\",\n 1120,\n 220,\n 110\n ]\n ]\n },\n \"tooltip\": {\n \"trigger\": \"axis\",\n \"axisPointer\": {\n \"type\": \"shadow\"\n }\n },\n \"title\": {\n \"text\": \"Search Engine Usage\",\n \"left\": \"center\",\n \"textStyle\": {\n \"width\": 200,\n \"overflow\": \"truncate\"\n }\n },\n \"legend\": {\n \"top\": 40,\n \"type\": \"scroll\"\n },\n \"grid\": {\n \"left\": 15,\n \"right\": 15,\n \"bottom\": 30,\n \"top\": 100,\n \"containLabel\": true\n },\n \"xAxis\": [\n {\n \"type\": \"category\"\n }\n ],\n \"yAxis\": [\n {\n \"type\": \"value\"\n }\n ],\n \"series\": [\n {\n \"type\": \"bar\",\n \"stack\": \"Search Engine\"\n },\n {\n \"type\": \"bar\",\n \"stack\": \"Search Engine\"\n },\n {\n \"type\": \"bar\",\n \"stack\": \"Search Engine\"\n }\n ]\n}\n}}", + "customFusionChartConfig": { + "dataSource": { + "chart": { + "alignCaptionWithCanvas": 1, + "canvasPadding": "0", + "caption": "Sales Report", + "captionAlignment": "center", + "captionFontColor": "#231F20", + "captionFontSize": "24", + "captionPadding": "20", + "chartBottomMargin": "10", + "chartLeftMargin": "20", + "chartRightMargin": "40", + "chartTopMargin": "10", + "labelFontColor": "#716e6e", + "labelFontSize": "12", + "legendIconAlpha": "100", + "legendIconBgAlpha": "100", + "legendIconSides": "4", + "legendPosition": "top", + "theme": "fusion", + "xAxisName": "Product Line", + "xAxisNameFontColor": "#716e6e", + "xAxisNameFontSize": "14", + "yAxisName": "Revenue($)", + "yAxisNameFontColor": "#716e6e", + "yAxisNameFontSize": "14", + "yAxisValueFontColor": "#716e6e", + "yAxisValueFontSize": "12" + }, + "data": [ + { + "label": "Product1", + "value": 20000 + }, + { + "label": "Product2", + "value": 22000 + }, + { + "label": "Product3", + "value": 32000 + } + ] + }, + "type": "column2d" + }, + "dynamicBindingPathList": [ + { + "key": "customEChartConfig" + }, + { + "key": "borderRadius" + }, + { + "key": "boxShadow" + }, + { + "key": "accentColor" + }, + { + "key": "fontFamily" + } + ], + "flexVerticalAlignment": "start", + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "isLoading": false, + "isVisible": true, + "key": "ptkjcbqs1e", + "labelOrientation": "auto", + "leftColumn": 3, + "minWidth": 450, + "mobileBottomRow": 35, + "mobileLeftColumn": 1, + "mobileRightColumn": 25, + "mobileTopRow": 3, + "needsErrorInfo": true, + "parentColumnSpace": 25.109375, + "parentId": "0", + "parentRowSpace": 10, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 30, + "showDataPointLabel": false, + "topRow": 5, + "type": "CHART_WIDGET", + "version": 1, + "widgetId": "bkkgqululk", + "widgetName": "Chart1", + "xAxisName": "Product Line", + "yAxisName": "Revenue($)" +} \ No newline at end of file diff --git a/pages/Home/widgets/Chart1Copy.json b/pages/Home/widgets/Chart1Copy.json new file mode 100644 index 0000000..f19a558 --- /dev/null +++ b/pages/Home/widgets/Chart1Copy.json @@ -0,0 +1,122 @@ +{ + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "allowScroll": false, + "animateLoading": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "bottomRow": 75, + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "chartData": { + "amejnorddr": { + "data": [ + { + "x": "Product1", + "y": 20000 + }, + { + "x": "Product2", + "y": 22000 + }, + { + "x": "Product3", + "y": 32000 + } + ], + "seriesName": "2023" + } + }, + "chartName": "Sales Report", + "chartType": "BAR_CHART", + "customEChartConfig": "{{\n{\n \"dataset\": {\n \"source\": [\n [\n \"Day\",\n \"Baidu\",\n \"Google\",\n \"Bing\"\n ],\n [\n \"Mon\",\n 620,\n 120,\n 60\n ],\n [\n \"Tue\",\n 732,\n 132,\n 72\n ],\n [\n \"Wed\",\n 701,\n 101,\n 71\n ],\n [\n \"Thu\",\n 734,\n 134,\n 74\n ],\n [\n \"Fri\",\n 1090,\n 290,\n 190\n ],\n [\n \"Sat\",\n 1130,\n 230,\n 130\n ],\n [\n \"Sun\",\n 1120,\n 220,\n 110\n ]\n ]\n },\n \"tooltip\": {\n \"trigger\": \"axis\",\n \"axisPointer\": {\n \"type\": \"shadow\"\n }\n },\n \"title\": {\n \"text\": \"Search Engine Usage\",\n \"left\": \"center\",\n \"textStyle\": {\n \"width\": 200,\n \"overflow\": \"truncate\"\n }\n },\n \"legend\": {\n \"top\": 40,\n \"type\": \"scroll\"\n },\n \"grid\": {\n \"left\": 15,\n \"right\": 15,\n \"bottom\": 30,\n \"top\": 100,\n \"containLabel\": true\n },\n \"xAxis\": [\n {\n \"type\": \"category\"\n }\n ],\n \"yAxis\": [\n {\n \"type\": \"value\"\n }\n ],\n \"series\": [\n {\n \"type\": \"bar\",\n \"stack\": \"Search Engine\"\n },\n {\n \"type\": \"bar\",\n \"stack\": \"Search Engine\"\n },\n {\n \"type\": \"bar\",\n \"stack\": \"Search Engine\"\n }\n ]\n}\n}}", + "customFusionChartConfig": { + "dataSource": { + "chart": { + "alignCaptionWithCanvas": 1, + "canvasPadding": "0", + "caption": "Sales Report", + "captionAlignment": "center", + "captionFontColor": "#231F20", + "captionFontSize": "24", + "captionPadding": "20", + "chartBottomMargin": "10", + "chartLeftMargin": "20", + "chartRightMargin": "40", + "chartTopMargin": "10", + "labelFontColor": "#716e6e", + "labelFontSize": "12", + "legendIconAlpha": "100", + "legendIconBgAlpha": "100", + "legendIconSides": "4", + "legendPosition": "top", + "theme": "fusion", + "xAxisName": "Product Line", + "xAxisNameFontColor": "#716e6e", + "xAxisNameFontSize": "14", + "yAxisName": "Revenue($)", + "yAxisNameFontColor": "#716e6e", + "yAxisNameFontSize": "14", + "yAxisValueFontColor": "#716e6e", + "yAxisValueFontSize": "12" + }, + "data": [ + { + "label": "Product1", + "value": 20000 + }, + { + "label": "Product2", + "value": 22000 + }, + { + "label": "Product3", + "value": 32000 + } + ] + }, + "type": "column2d" + }, + "dynamicBindingPathList": [ + { + "key": "customEChartConfig" + }, + { + "key": "borderRadius" + }, + { + "key": "boxShadow" + }, + { + "key": "accentColor" + }, + { + "key": "fontFamily" + } + ], + "dynamicTriggerPathList": [], + "flexVerticalAlignment": "start", + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "isLoading": false, + "isVisible": true, + "key": "ptkjcbqs1e", + "labelOrientation": "auto", + "leftColumn": 3, + "minWidth": 450, + "mobileBottomRow": 35, + "mobileLeftColumn": 1, + "mobileRightColumn": 25, + "mobileTopRow": 3, + "needsErrorInfo": true, + "parentColumnSpace": 25.109375, + "parentId": "0", + "parentRowSpace": 10, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 30, + "showDataPointLabel": false, + "topRow": 43, + "type": "CHART_WIDGET", + "version": 1, + "widgetId": "sih5r3hsg7", + "widgetName": "Chart1Copy", + "xAxisName": "Product Line", + "yAxisName": "Revenue($)" +} \ No newline at end of file diff --git a/pages/Home/widgets/Chart1CopyCopy.json b/pages/Home/widgets/Chart1CopyCopy.json new file mode 100644 index 0000000..6fefb31 --- /dev/null +++ b/pages/Home/widgets/Chart1CopyCopy.json @@ -0,0 +1,122 @@ +{ + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "allowScroll": false, + "animateLoading": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "bottomRow": 74, + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "chartData": { + "amejnorddr": { + "data": [ + { + "x": "Product1", + "y": 20000 + }, + { + "x": "Product2", + "y": 22000 + }, + { + "x": "Product3", + "y": 32000 + } + ], + "seriesName": "2023" + } + }, + "chartName": "Sales Report", + "chartType": "PIE_CHART", + "customEChartConfig": "{{\n{\n \"dataset\": {\n \"source\": [\n [\n \"Day\",\n \"Baidu\",\n \"Google\",\n \"Bing\"\n ],\n [\n \"Mon\",\n 620,\n 120,\n 60\n ],\n [\n \"Tue\",\n 732,\n 132,\n 72\n ],\n [\n \"Wed\",\n 701,\n 101,\n 71\n ],\n [\n \"Thu\",\n 734,\n 134,\n 74\n ],\n [\n \"Fri\",\n 1090,\n 290,\n 190\n ],\n [\n \"Sat\",\n 1130,\n 230,\n 130\n ],\n [\n \"Sun\",\n 1120,\n 220,\n 110\n ]\n ]\n },\n \"tooltip\": {\n \"trigger\": \"axis\",\n \"axisPointer\": {\n \"type\": \"shadow\"\n }\n },\n \"title\": {\n \"text\": \"Search Engine Usage\",\n \"left\": \"center\",\n \"textStyle\": {\n \"width\": 200,\n \"overflow\": \"truncate\"\n }\n },\n \"legend\": {\n \"top\": 40,\n \"type\": \"scroll\"\n },\n \"grid\": {\n \"left\": 15,\n \"right\": 15,\n \"bottom\": 30,\n \"top\": 100,\n \"containLabel\": true\n },\n \"xAxis\": [\n {\n \"type\": \"category\"\n }\n ],\n \"yAxis\": [\n {\n \"type\": \"value\"\n }\n ],\n \"series\": [\n {\n \"type\": \"bar\",\n \"stack\": \"Search Engine\"\n },\n {\n \"type\": \"bar\",\n \"stack\": \"Search Engine\"\n },\n {\n \"type\": \"bar\",\n \"stack\": \"Search Engine\"\n }\n ]\n}\n}}", + "customFusionChartConfig": { + "dataSource": { + "chart": { + "alignCaptionWithCanvas": 1, + "canvasPadding": "0", + "caption": "Sales Report", + "captionAlignment": "center", + "captionFontColor": "#231F20", + "captionFontSize": "24", + "captionPadding": "20", + "chartBottomMargin": "10", + "chartLeftMargin": "20", + "chartRightMargin": "40", + "chartTopMargin": "10", + "labelFontColor": "#716e6e", + "labelFontSize": "12", + "legendIconAlpha": "100", + "legendIconBgAlpha": "100", + "legendIconSides": "4", + "legendPosition": "top", + "theme": "fusion", + "xAxisName": "Product Line", + "xAxisNameFontColor": "#716e6e", + "xAxisNameFontSize": "14", + "yAxisName": "Revenue($)", + "yAxisNameFontColor": "#716e6e", + "yAxisNameFontSize": "14", + "yAxisValueFontColor": "#716e6e", + "yAxisValueFontSize": "12" + }, + "data": [ + { + "label": "Product1", + "value": 20000 + }, + { + "label": "Product2", + "value": 22000 + }, + { + "label": "Product3", + "value": 32000 + } + ] + }, + "type": "column2d" + }, + "dynamicBindingPathList": [ + { + "key": "customEChartConfig" + }, + { + "key": "borderRadius" + }, + { + "key": "boxShadow" + }, + { + "key": "accentColor" + }, + { + "key": "fontFamily" + } + ], + "dynamicTriggerPathList": [], + "flexVerticalAlignment": "start", + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "isLoading": false, + "isVisible": true, + "key": "ptkjcbqs1e", + "labelOrientation": "auto", + "leftColumn": 33, + "minWidth": 450, + "mobileBottomRow": 35, + "mobileLeftColumn": 1, + "mobileRightColumn": 25, + "mobileTopRow": 3, + "needsErrorInfo": true, + "parentColumnSpace": 25.109375, + "parentId": "0", + "parentRowSpace": 10, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 61, + "showDataPointLabel": false, + "topRow": 42, + "type": "CHART_WIDGET", + "version": 1, + "widgetId": "9gff40seu4", + "widgetName": "Chart1CopyCopy", + "xAxisName": "Product Line", + "yAxisName": "Revenue($)" +} \ No newline at end of file diff --git a/pages/Home/widgets/Chart2.json b/pages/Home/widgets/Chart2.json new file mode 100644 index 0000000..b345b09 --- /dev/null +++ b/pages/Home/widgets/Chart2.json @@ -0,0 +1,122 @@ +{ + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "allowScroll": false, + "animateLoading": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "bottomRow": 36, + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "chartData": { + "amejnorddr": { + "data": [ + { + "x": "Product1", + "y": 20000 + }, + { + "x": "Product2", + "y": 22000 + }, + { + "x": "Product3", + "y": 32000 + } + ], + "seriesName": "2023" + } + }, + "chartName": "Sales Report", + "chartType": "LINE_CHART", + "customEChartConfig": "{{\n{\n \"dataset\": {\n \"source\": [\n [\n \"Day\",\n \"Baidu\",\n \"Google\",\n \"Bing\"\n ],\n [\n \"Mon\",\n 620,\n 120,\n 60\n ],\n [\n \"Tue\",\n 732,\n 132,\n 72\n ],\n [\n \"Wed\",\n 701,\n 101,\n 71\n ],\n [\n \"Thu\",\n 734,\n 134,\n 74\n ],\n [\n \"Fri\",\n 1090,\n 290,\n 190\n ],\n [\n \"Sat\",\n 1130,\n 230,\n 130\n ],\n [\n \"Sun\",\n 1120,\n 220,\n 110\n ]\n ]\n },\n \"tooltip\": {\n \"trigger\": \"axis\",\n \"axisPointer\": {\n \"type\": \"shadow\"\n }\n },\n \"title\": {\n \"text\": \"Search Engine Usage\",\n \"left\": \"center\",\n \"textStyle\": {\n \"width\": 200,\n \"overflow\": \"truncate\"\n }\n },\n \"legend\": {\n \"top\": 40,\n \"type\": \"scroll\"\n },\n \"grid\": {\n \"left\": 15,\n \"right\": 15,\n \"bottom\": 30,\n \"top\": 100,\n \"containLabel\": true\n },\n \"xAxis\": [\n {\n \"type\": \"category\"\n }\n ],\n \"yAxis\": [\n {\n \"type\": \"value\"\n }\n ],\n \"series\": [\n {\n \"type\": \"bar\",\n \"stack\": \"Search Engine\"\n },\n {\n \"type\": \"bar\",\n \"stack\": \"Search Engine\"\n },\n {\n \"type\": \"bar\",\n \"stack\": \"Search Engine\"\n }\n ]\n}\n}}", + "customFusionChartConfig": { + "dataSource": { + "chart": { + "alignCaptionWithCanvas": 1, + "canvasPadding": "0", + "caption": "Sales Report", + "captionAlignment": "center", + "captionFontColor": "#231F20", + "captionFontSize": "24", + "captionPadding": "20", + "chartBottomMargin": "10", + "chartLeftMargin": "20", + "chartRightMargin": "40", + "chartTopMargin": "10", + "labelFontColor": "#716e6e", + "labelFontSize": "12", + "legendIconAlpha": "100", + "legendIconBgAlpha": "100", + "legendIconSides": "4", + "legendPosition": "top", + "theme": "fusion", + "xAxisName": "Product Line", + "xAxisNameFontColor": "#716e6e", + "xAxisNameFontSize": "14", + "yAxisName": "Revenue($)", + "yAxisNameFontColor": "#716e6e", + "yAxisNameFontSize": "14", + "yAxisValueFontColor": "#716e6e", + "yAxisValueFontSize": "12" + }, + "data": [ + { + "label": "Product1", + "value": 20000 + }, + { + "label": "Product2", + "value": 22000 + }, + { + "label": "Product3", + "value": 32000 + } + ] + }, + "type": "column2d" + }, + "dynamicBindingPathList": [ + { + "key": "customEChartConfig" + }, + { + "key": "borderRadius" + }, + { + "key": "boxShadow" + }, + { + "key": "accentColor" + }, + { + "key": "fontFamily" + } + ], + "dynamicTriggerPathList": [], + "flexVerticalAlignment": "start", + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "isLoading": false, + "isVisible": true, + "key": "ptkjcbqs1e", + "labelOrientation": "auto", + "leftColumn": 33, + "minWidth": 450, + "mobileBottomRow": 36, + "mobileLeftColumn": 34, + "mobileRightColumn": 58, + "mobileTopRow": 4, + "needsErrorInfo": true, + "parentColumnSpace": 25.109375, + "parentId": "0", + "parentRowSpace": 10, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 61, + "showDataPointLabel": false, + "topRow": 4, + "type": "CHART_WIDGET", + "version": 1, + "widgetId": "1d2av7y5u4", + "widgetName": "Chart2", + "xAxisName": "Product Line", + "yAxisName": "Revenue($)" +} \ No newline at end of file diff --git a/pages/Marketing/Marketing.json b/pages/Marketing/Marketing.json new file mode 100644 index 0000000..e4b7b9f --- /dev/null +++ b/pages/Marketing/Marketing.json @@ -0,0 +1,32 @@ +{ + "gitSyncId": "6968b6e8271e5e0befde3194_48a95e4c-7ce4-402d-a992-b5d996b95477", + "unpublishedPage": { + "isHidden": false, + "layouts": [ + { + "dsl": { + "backgroundColor": "none", + "bottomRow": 1080, + "canExtend": true, + "containerStyle": "none", + "detachFromLayout": true, + "dynamicBindingPathList": [], + "leftColumn": 0, + "minHeight": 1090, + "parentColumnSpace": 1, + "parentRowSpace": 1, + "rightColumn": 1224, + "snapColumns": 64, + "snapRows": 107, + "topRow": 0, + "type": "CANVAS_WIDGET", + "version": 94, + "widgetId": "0", + "widgetName": "MainContainer" + } + } + ], + "name": "Marketing", + "slug": "marketing" + } +} \ No newline at end of file diff --git a/pages/Page1/queries/Capacity_Planning/Capacity_Planning.txt b/pages/Page1/queries/Capacity_Planning/Capacity_Planning.txt deleted file mode 100644 index 4f30807..0000000 --- a/pages/Page1/queries/Capacity_Planning/Capacity_Planning.txt +++ /dev/null @@ -1 +0,0 @@ -select * from mpe.poormancapacity \ No newline at end of file diff --git a/pages/Page1/queries/Insert_mpe_isocountry1/Insert_mpe_isocountry1.txt b/pages/Page1/queries/Insert_mpe_isocountry1/Insert_mpe_isocountry1.txt deleted file mode 100644 index 63fc77c..0000000 --- a/pages/Page1/queries/Insert_mpe_isocountry1/Insert_mpe_isocountry1.txt +++ /dev/null @@ -1 +0,0 @@ -INSERT INTO mpe.isocountry ("countryname","continent") VALUES ('{{(Table1.newRow || {}).countryname}}','{{(Table1.newRow || {}).continent}}') \ No newline at end of file diff --git a/pages/Page1/queries/Select_mpe_isocountry1/Select_mpe_isocountry1.txt b/pages/Page1/queries/Select_mpe_isocountry1/Select_mpe_isocountry1.txt deleted file mode 100644 index a124831..0000000 --- a/pages/Page1/queries/Select_mpe_isocountry1/Select_mpe_isocountry1.txt +++ /dev/null @@ -1,12 +0,0 @@ -SELECT - * -FROM - mpe.isocountry -WHERE - "iso_id" ilike '%{{Table1.searchText}}%' -ORDER BY - "{{Table1.sortOrder.column || 'iso_id'}}" {{Table1.sortOrder.order !== "desc" ? "" : "DESC"}} -LIMIT - {{Table1.pageSize}} -OFFSET - {{Table1.pageOffset}} \ No newline at end of file diff --git a/pages/Page1/queries/Select_mpe_isocountry1/metadata.json b/pages/Page1/queries/Select_mpe_isocountry1/metadata.json deleted file mode 100644 index 465d19d..0000000 --- a/pages/Page1/queries/Select_mpe_isocountry1/metadata.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "gitSyncId": "6968b6e8271e5e0befde3194_6ab47e10-a6f8-4be9-9f46-2e01804dfaf8", - "id": "Page1_Select_mpe_isocountry1", - "pluginId": "postgres-plugin", - "pluginType": "DB", - "unpublishedAction": { - "actionConfiguration": { - "body": "SELECT\n *\nFROM\n mpe.isocountry\nWHERE\n \"iso_id\" ilike '%{{Table1.searchText}}%'\nORDER BY\n \"{{Table1.sortOrder.column || 'iso_id'}}\" {{Table1.sortOrder.order !== \"desc\" ? \"\" : \"DESC\"}}\nLIMIT\n {{Table1.pageSize}}\nOFFSET\n {{Table1.pageOffset}}", - "encodeParamsToggle": true, - "paginationType": "NONE", - "pluginSpecifiedTemplates": [ - { - "value": false - } - ], - "timeoutInMillisecond": 10000 - }, - "confirmBeforeExecute": false, - "datasource": { - "id": "xTuple_Sandbox", - "isAutoGenerated": false, - "name": "xTuple_Sandbox", - "pluginId": "postgres-plugin" - }, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "name": "Select_mpe_isocountry1", - "pageId": "Page1", - "runBehaviour": "AUTOMATIC", - "userSetOnLoad": false - } -} \ No newline at end of file diff --git a/pages/Page1/queries/Total_record_mpe_isocountry1/Total_record_mpe_isocountry1.txt b/pages/Page1/queries/Total_record_mpe_isocountry1/Total_record_mpe_isocountry1.txt deleted file mode 100644 index 4795dce..0000000 --- a/pages/Page1/queries/Total_record_mpe_isocountry1/Total_record_mpe_isocountry1.txt +++ /dev/null @@ -1 +0,0 @@ -SELECT COUNT(*) from mpe.isocountry where iso_id ilike '%{{Table1.searchText}}%'; \ No newline at end of file diff --git a/pages/Page1/queries/Update_mpe_isocountry1/Update_mpe_isocountry1.txt b/pages/Page1/queries/Update_mpe_isocountry1/Update_mpe_isocountry1.txt deleted file mode 100644 index edf112a..0000000 --- a/pages/Page1/queries/Update_mpe_isocountry1/Update_mpe_isocountry1.txt +++ /dev/null @@ -1 +0,0 @@ -UPDATE mpe.isocountry SET "countryname"= '{{Table1.updatedRow.countryname}}', "continent"= '{{Table1.updatedRow.continent}}' WHERE "iso_id"= {{Table1.updatedRow.iso_id}}; \ No newline at end of file diff --git a/pages/Page1/queries/Update_mpe_isocountry1/metadata.json b/pages/Page1/queries/Update_mpe_isocountry1/metadata.json deleted file mode 100644 index d7d469f..0000000 --- a/pages/Page1/queries/Update_mpe_isocountry1/metadata.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "gitSyncId": "6968b6e8271e5e0befde3194_966f24b4-0187-44b9-ae1b-91384ed62a26", - "id": "Page1_Update_mpe_isocountry1", - "pluginId": "postgres-plugin", - "pluginType": "DB", - "unpublishedAction": { - "actionConfiguration": { - "body": "UPDATE mpe.isocountry SET \"countryname\"= '{{Table1.updatedRow.countryname}}', \"continent\"= '{{Table1.updatedRow.continent}}' WHERE \"iso_id\"= {{Table1.updatedRow.iso_id}};", - "encodeParamsToggle": true, - "paginationType": "NONE", - "pluginSpecifiedTemplates": [ - { - "value": false - } - ], - "timeoutInMillisecond": 10000 - }, - "confirmBeforeExecute": false, - "datasource": { - "id": "xTuple_Sandbox", - "isAutoGenerated": false, - "name": "xTuple_Sandbox", - "pluginId": "postgres-plugin" - }, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "name": "Update_mpe_isocountry1", - "pageId": "Page1", - "runBehaviour": "MANUAL", - "userSetOnLoad": false - } -} \ No newline at end of file diff --git a/pages/Sales - Capacity Planning/Sales - Capacity Planning.json b/pages/Sales - Capacity Planning/Sales - Capacity Planning.json new file mode 100644 index 0000000..8b647de --- /dev/null +++ b/pages/Sales - Capacity Planning/Sales - Capacity Planning.json @@ -0,0 +1,33 @@ +{ + "gitSyncId": "6968b6e8271e5e0befde3194_6682924a-a29a-409c-b7a9-2f8bceee050f", + "unpublishedPage": { + "isHidden": false, + "layouts": [ + { + "dsl": { + "backgroundColor": "none", + "bottomRow": 1000, + "canExtend": true, + "containerStyle": "none", + "detachFromLayout": true, + "dynamicBindingPathList": [], + "dynamicTriggerPathList": [], + "leftColumn": 0, + "minHeight": 1292, + "parentColumnSpace": 1, + "parentRowSpace": 1, + "rightColumn": 4896, + "snapColumns": 64, + "snapRows": 124, + "topRow": 0, + "type": "CANVAS_WIDGET", + "version": 94, + "widgetId": "0", + "widgetName": "MainContainer" + } + } + ], + "name": "Sales - Capacity Planning", + "slug": "sales-capacity-planning" + } +} \ No newline at end of file diff --git a/pages/Sales - Capacity Planning/queries/capacity_display_all/capacity_display_all.txt b/pages/Sales - Capacity Planning/queries/capacity_display_all/capacity_display_all.txt new file mode 100644 index 0000000..f70f31d --- /dev/null +++ b/pages/Sales - Capacity Planning/queries/capacity_display_all/capacity_display_all.txt @@ -0,0 +1 @@ +select * from mpe.poormancapacity; \ No newline at end of file diff --git a/pages/Page1/queries/Total_record_mpe_isocountry1/metadata.json b/pages/Sales - Capacity Planning/queries/capacity_display_all/metadata.json similarity index 57% rename from pages/Page1/queries/Total_record_mpe_isocountry1/metadata.json rename to pages/Sales - Capacity Planning/queries/capacity_display_all/metadata.json index 9d2da2c..8b13fd0 100644 --- a/pages/Page1/queries/Total_record_mpe_isocountry1/metadata.json +++ b/pages/Sales - Capacity Planning/queries/capacity_display_all/metadata.json @@ -1,16 +1,16 @@ { - "gitSyncId": "6968b6e8271e5e0befde3194_1daa0af7-bfec-48c0-8a6f-00b33b06722c", - "id": "Page1_Total_record_mpe_isocountry1", + "gitSyncId": "6968b6e8271e5e0befde3194_b08e8e8d-3da7-45d6-b038-d06b2bafa9e4", + "id": "Sales - Capacity Planning_capacity_display_all", "pluginId": "postgres-plugin", "pluginType": "DB", "unpublishedAction": { "actionConfiguration": { - "body": "SELECT COUNT(*) from mpe.isocountry where iso_id ilike '%{{Table1.searchText}}%';", + "body": "select * from mpe.poormancapacity;", "encodeParamsToggle": true, "paginationType": "NONE", "pluginSpecifiedTemplates": [ { - "value": false + "value": true } ], "timeoutInMillisecond": 10000 @@ -22,13 +22,9 @@ "name": "xTuple_Sandbox", "pluginId": "postgres-plugin" }, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "name": "Total_record_mpe_isocountry1", - "pageId": "Page1", + "dynamicBindingPathList": [], + "name": "capacity_display_all", + "pageId": "Sales - Capacity Planning", "runBehaviour": "AUTOMATIC", "userSetOnLoad": false } diff --git a/pages/Sales - Capacity Planning/widgets/Heading.json b/pages/Sales - Capacity Planning/widgets/Heading.json new file mode 100644 index 0000000..b9a3a99 --- /dev/null +++ b/pages/Sales - Capacity Planning/widgets/Heading.json @@ -0,0 +1,52 @@ +{ + "animateLoading": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "bottomRow": 7, + "dynamicBindingPathList": [ + { + "key": "truncateButtonColor" + }, + { + "key": "fontFamily" + }, + { + "key": "borderRadius" + } + ], + "dynamicHeight": "AUTO_HEIGHT", + "dynamicTriggerPathList": [], + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "fontSize": "1.875rem", + "fontStyle": "BOLD", + "isLoading": false, + "isVisible": true, + "key": "pii8e5rbru", + "leftColumn": 1, + "maxDynamicHeight": 9000, + "minDynamicHeight": 4, + "minWidth": 450, + "mobileBottomRow": 5, + "mobileLeftColumn": 1, + "mobileRightColumn": 17, + "mobileTopRow": 1, + "needsErrorInfo": false, + "originalBottomRow": 7, + "originalTopRow": 2, + "overflow": "NONE", + "parentColumnSpace": 25.109375, + "parentId": "0", + "parentRowSpace": 10, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 17, + "shouldTruncate": false, + "text": "Sales / Capacity Planning", + "textAlign": "LEFT", + "textColor": "#231F20", + "topRow": 2, + "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", + "type": "TEXT_WIDGET", + "version": 1, + "widgetId": "mt8rmbyqnn", + "widgetName": "Heading" +} \ No newline at end of file diff --git a/pages/Sales - Capacity Planning/widgets/Navigation.json b/pages/Sales - Capacity Planning/widgets/Navigation.json new file mode 100644 index 0000000..61919d5 --- /dev/null +++ b/pages/Sales - Capacity Planning/widgets/Navigation.json @@ -0,0 +1,93 @@ +{ + "animateLoading": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "bottomRow": 13, + "boxShadow": "none", + "buttonVariant": "PRIMARY", + "childStylesheet": { + "button": { + "buttonColor": "{{appsmith.theme.colors.primaryColor}}" + } + }, + "dynamicBindingPathList": [ + { + "key": "borderRadius" + }, + { + "key": "groupButtons.groupButton3.buttonColor" + } + ], + "dynamicTriggerPathList": [ + { + "key": "groupButtons.groupButton1.onClick" + }, + { + "key": "groupButtons.groupButton3.onClick" + } + ], + "groupButtons": { + "groupButton1": { + "buttonColor": "#d4d4d8", + "buttonType": "SIMPLE", + "disabledWhenInvalid": false, + "iconAlign": "right", + "id": "groupButton1", + "index": 0, + "isDisabled": false, + "isVisible": true, + "label": "Capacity Planning", + "menuItems": {}, + "onClick": "{{navigateTo('Sales', {}, 'SAME_WINDOW');}}", + "placement": "CENTER", + "widgetId": "" + }, + "groupButton3": { + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonType": "SIMPLE", + "disabledWhenInvalid": false, + "id": "groupButton3", + "index": 1, + "isDisabled": false, + "isVisible": true, + "label": "Units Shipped", + "menuItems": { + "menuItemr01yri5nag": { + "id": "menuItemr01yri5nag", + "index": 0, + "isDisabled": false, + "isVisible": true, + "label": "Menu Item", + "widgetId": "z3w4r50nta" + } + }, + "onClick": "{{navigateTo('Sales - Units Shipped', {}, 'SAME_WINDOW');}}", + "placement": "CENTER", + "widgetId": "" + } + }, + "isCanvas": false, + "isLoading": false, + "isVisible": true, + "key": "f10t84z5gq", + "leftColumn": 1, + "minWidth": 450, + "mobileBottomRow": 12, + "mobileLeftColumn": 1, + "mobileRightColumn": 25, + "mobileTopRow": 8, + "needsErrorInfo": false, + "orientation": "horizontal", + "originalBottomRow": 12, + "originalTopRow": 8, + "parentColumnSpace": 25.109375, + "parentId": "0", + "parentRowSpace": 10, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 25, + "topRow": 9, + "type": "BUTTON_GROUP_WIDGET", + "version": 1, + "widgetId": "d8f8txmi5z", + "widgetName": "Navigation" +} \ No newline at end of file diff --git a/pages/Page1/widgets/Table1.json b/pages/Sales - Capacity Planning/widgets/Table1.json similarity index 53% rename from pages/Page1/widgets/Table1.json rename to pages/Sales - Capacity Planning/widgets/Table1.json index fb005b6..9cf05c5 100644 --- a/pages/Page1/widgets/Table1.json +++ b/pages/Sales - Capacity Planning/widgets/Table1.json @@ -1,11 +1,10 @@ { "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "allowAddNewRow": true, "animateLoading": true, "borderColor": "#E0DEDE", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "borderWidth": "1", - "bottomRow": 52, + "bottomRow": 100, "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "cachedTableData": {}, "canFreezeColumn": true, @@ -33,13 +32,14 @@ } }, "columnOrder": [ - "iso_id", - "countryname", - "continent", - "EditActions1" + "line_type", + "start_date", + "end_date", + "used_blocks" ], - "columnUpdatedAt": 1768470523594, + "columnUpdatedAt": 1768910474559, "columnWidthMap": {}, + "compactMode": "DEFAULT", "customIsLoading": false, "customIsLoadingValue": "", "defaultPageSize": 0, @@ -62,62 +62,21 @@ "key": "tableData" }, { - "key": "totalRecordsCount" + "key": "primaryColumns.line_type.computedValue" }, { - "key": "primaryColumns.iso_id.computedValue" + "key": "primaryColumns.start_date.computedValue" }, { - "key": "primaryColumns.countryname.computedValue" + "key": "primaryColumns.end_date.computedValue" }, { - "key": "primaryColumns.continent.computedValue" - }, - { - "key": "primaryColumns.EditActions1.saveButtonColor" - }, - { - "key": "primaryColumns.EditActions1.saveBorderRadius" - }, - { - "key": "primaryColumns.EditActions1.discardBorderRadius" - }, - { - "key": "primaryColumns.EditActions1.isSaveDisabled" - }, - { - "key": "primaryColumns.EditActions1.isDiscardDisabled" + "key": "primaryColumns.used_blocks.computedValue" } ], - "dynamicPropertyPathList": [ - { - "key": "tableData" - }, - { - "key": "primaryColumns.EditActions1.isSaveDisabled" - }, - { - "key": "primaryColumns.EditActions1.isDiscardDisabled" - } - ], - "dynamicTriggerPathList": [ - { - "key": "onPageChange" - }, - { - "key": "onSearchTextChanged" - }, - { - "key": "onSort" - }, - { - "key": "onAddNewRowSave" - }, - { - "key": "primaryColumns.EditActions1.onSave" - } - ], - "enableClientSideSearch": false, + "dynamicPropertyPathList": [], + "dynamicTriggerPathList": [], + "enableClientSideSearch": true, "endOfData": false, "flexVerticalAlignment": "start", "horizontalAlignment": "LEFT", @@ -125,96 +84,49 @@ "isLoading": false, "isSortable": true, "isVisible": true, - "isVisibleDownload": false, + "isVisibleDownload": true, "isVisibleFilters": false, "isVisiblePagination": true, "isVisibleSearch": true, - "key": "0c6xqzrpky", + "key": "o9k9wp97q1", "label": "Data", - "leftColumn": 2, + "leftColumn": 1, "minWidth": 450, - "mobileBottomRow": 36, - "mobileLeftColumn": 2, - "mobileRightColumn": 36, - "mobileTopRow": 8, + "mobileBottomRow": 31, + "mobileLeftColumn": 1, + "mobileRightColumn": 35, + "mobileTopRow": 3, "needsErrorInfo": false, - "onAddNewRowSave": "{{Insert_mpe_isocountry1.run(() => {\n showAlert(\"Successfully created!\");\n Select_mpe_isocountry1.run()\n }, () => {\n showAlert(\"Unable to create!\");\n })}}", - "onPageChange": "{{\n Select_mpe_isocountry1.run();\n Total_record_mpe_isocountry1.run()\n }}", - "onSearchTextChanged": "{{\n Select_mpe_isocountry1.run();\n Total_record_mpe_isocountry1.run()\n }}", - "onSort": "{{\n Select_mpe_isocountry1.run();\n Total_record_mpe_isocountry1.run()\n }}", - "parentColumnSpace": 25.484375, + "originalBottomRow": 99, + "originalTopRow": 15, + "parentColumnSpace": 11.265625, "parentId": "0", "parentRowSpace": 10, - "primaryColumnId": "iso_id", "primaryColumns": { - "EditActions1": { - "alias": "EditActions1", + "end_date": { + "alias": "end_date", "allowCellWrapping": false, "allowSameOptionsInNewRow": true, - "buttonStyle": "rgb(3, 179, 101)", - "columnType": "editActions", - "computedValue": "", + "columnType": "date", + "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"end_date\"])) : end_date })()}}", "currencyCode": "USD", "decimals": 0, - "discardActionLabel": "Discard", - "discardBorderRadius": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( (appsmith.theme.borderRadius.appBorderRadius)))}}", - "discardButtonColor": "#F22B2B", - "discardButtonVariant": "TERTIARY", - "discardIconAlign": "left", "enableFilter": true, "enableSort": true, "horizontalAlignment": "LEFT", - "id": "EditActions1", - "index": 3, + "id": "end_date", + "index": 2, "isCellEditable": false, "isCellVisible": true, - "isDerived": true, + "isDerived": false, "isDisabled": false, - "isDiscardDisabled": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( !Table1.updatedRowIndices.includes(currentIndex)))}}", "isDiscardVisible": true, "isEditable": false, - "isSaveDisabled": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( !Table1.updatedRowIndices.includes(currentIndex)))}}", "isSaveVisible": true, "isVisible": true, - "label": "Save / Discard", + "label": "end_date", "notation": "standard", - "onSave": "{{Update_mpe_isocountry1.run(() => {\n showAlert(\"Successfully saved!\");\n Select_mpe_isocountry1.run()\n }, () => {\n showAlert(\"Unable to save!\");\n })}}", - "originalId": "EditActions1", - "saveActionLabel": "Save", - "saveBorderRadius": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( (appsmith.theme.borderRadius.appBorderRadius)))}}", - "saveButtonColor": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( (appsmith.theme.colors.primaryColor)))}}", - "saveIconAlign": "left", - "sticky": "right", - "textSize": "0.875rem", - "thousandSeparator": true, - "validation": {}, - "verticalAlignment": "CENTER", - "width": 150 - }, - "continent": { - "alias": "continent", - "allowCellWrapping": false, - "allowSameOptionsInNewRow": true, - "columnType": "text", - "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"continent\"])) : continent })()}}", - "currencyCode": "USD", - "decimals": 0, - "enableFilter": true, - "enableSort": true, - "horizontalAlignment": "LEFT", - "id": "continent", - "index": 2, - "isCellEditable": true, - "isCellVisible": true, - "isDerived": false, - "isDisabled": false, - "isDiscardVisible": true, - "isEditable": true, - "isSaveVisible": true, - "isVisible": true, - "label": "continent", - "notation": "standard", - "originalId": "continent", + "originalId": "end_date", "sticky": "", "textSize": "0.875rem", "thousandSeparator": true, @@ -222,49 +134,18 @@ "verticalAlignment": "CENTER", "width": 150 }, - "countryname": { - "alias": "countryname", + "line_type": { + "alias": "line_type", "allowCellWrapping": false, "allowSameOptionsInNewRow": true, "columnType": "text", - "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"countryname\"])) : countryname })()}}", + "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"line_type\"])) : line_type })()}}", "currencyCode": "USD", "decimals": 0, "enableFilter": true, "enableSort": true, "horizontalAlignment": "LEFT", - "id": "countryname", - "index": 1, - "isCellEditable": true, - "isCellVisible": true, - "isDerived": false, - "isDisabled": false, - "isDiscardVisible": true, - "isEditable": true, - "isSaveVisible": true, - "isVisible": true, - "label": "countryname", - "notation": "standard", - "originalId": "countryname", - "sticky": "", - "textSize": "0.875rem", - "thousandSeparator": true, - "validation": {}, - "verticalAlignment": "CENTER", - "width": 150 - }, - "iso_id": { - "alias": "iso_id", - "allowCellWrapping": false, - "allowSameOptionsInNewRow": true, - "columnType": "text", - "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"iso_id\"])) : iso_id })()}}", - "currencyCode": "USD", - "decimals": 0, - "enableFilter": true, - "enableSort": true, - "horizontalAlignment": "LEFT", - "id": "iso_id", + "id": "line_type", "index": 0, "isCellEditable": false, "isCellVisible": true, @@ -274,9 +155,71 @@ "isEditable": false, "isSaveVisible": true, "isVisible": true, - "label": "iso_id", + "label": "line_type", "notation": "standard", - "originalId": "iso_id", + "originalId": "line_type", + "sticky": "", + "textSize": "0.875rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + }, + "start_date": { + "alias": "start_date", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "columnType": "date", + "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"start_date\"])) : start_date })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "horizontalAlignment": "LEFT", + "id": "start_date", + "index": 1, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "start_date", + "notation": "standard", + "originalId": "start_date", + "sticky": "", + "textSize": "0.875rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + }, + "used_blocks": { + "alias": "used_blocks", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "columnType": "number", + "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"used_blocks\"])) : used_blocks })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "horizontalAlignment": "LEFT", + "id": "used_blocks", + "index": 3, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "used_blocks", + "notation": "standard", + "originalId": "used_blocks", "sticky": "", "textSize": "0.875rem", "thousandSeparator": true, @@ -289,15 +232,13 @@ "responsiveBehavior": "fill", "rightColumn": 63, "searchKey": "", - "serverSidePaginationEnabled": true, - "showInlineEditingOptionDropdown": true, - "tableData": "{{Select_mpe_isocountry1.data}}", + "tableData": "{{capacity_display_all.data}}", "textSize": "0.875rem", - "topRow": 8, - "totalRecordsCount": "{{Total_record_mpe_isocountry1.data[0].count}}", + "topRow": 16, + "totalRecordsCount": 0, "type": "TABLE_WIDGET_V2", "version": 2, "verticalAlignment": "CENTER", - "widgetId": "tjhvizl6e1", + "widgetId": "7i9t3ugouj", "widgetName": "Table1" } \ No newline at end of file diff --git a/pages/Page2/Page2.json b/pages/Sales - Units Shipped/Sales - Units Shipped.json similarity index 85% rename from pages/Page2/Page2.json rename to pages/Sales - Units Shipped/Sales - Units Shipped.json index 5dd06dd..7de9a00 100644 --- a/pages/Page2/Page2.json +++ b/pages/Sales - Units Shipped/Sales - Units Shipped.json @@ -1,11 +1,12 @@ { "gitSyncId": "6806a8bdc0c8882e5a70d0a0_5431d255-7eef-429a-9b5c-fd512fa27280", "unpublishedPage": { + "isHidden": false, "layouts": [ { "dsl": { "backgroundColor": "none", - "bottomRow": 380, + "bottomRow": 3200, "canExtend": true, "containerStyle": "none", "detachFromLayout": true, @@ -25,7 +26,7 @@ } } ], - "name": "Page2", - "slug": "page2" + "name": "Sales - Units Shipped", + "slug": "sales-units-shipped" } } \ No newline at end of file diff --git a/pages/Sales - Units Shipped/queries/units_shipped_by_power_input/metadata.json b/pages/Sales - Units Shipped/queries/units_shipped_by_power_input/metadata.json new file mode 100644 index 0000000..aa806fe --- /dev/null +++ b/pages/Sales - Units Shipped/queries/units_shipped_by_power_input/metadata.json @@ -0,0 +1,31 @@ +{ + "gitSyncId": "6968b6e8271e5e0befde3194_98c37e6e-a601-42f5-891b-1f5d43184f50", + "id": "Sales - Units Shipped_units_shipped_by_power_input", + "pluginId": "postgres-plugin", + "pluginType": "DB", + "unpublishedAction": { + "actionConfiguration": { + "body": "SELECT \nCASE WHEN item_number IN ('16688','25020') THEN 'XR Series'\nWHEN item_number IN ('22351','24952') THEN 'SL Series'\nWHEN item_number IN ('17861','25021','29243','29752') THEN 'TS Series'\nWHEN item_number IN ('17862') THEN 'MS Series'\nWHEN item_number IN ('17863') THEN 'MT Series'\nWHEN item_number IN ('17873') THEN 'Harmonic Neutralizer'\n\nELSE 'None'\nEND AS \"Product\",\nreportpower.charass_value as \"Power Output\", reportinput.charass_value || ' ' || reportphases.charass_value AS \"Input\", ROUND(SUM(coitem_qtyord),0) as \"Qty Ordered\"\nFROM coitem LEFT OUTER JOIN cohead ON cohead_id=coitem_cohead_id\nLEFT OUTER JOIN itemsite ON coitem_itemsite_id = itemsite_id\nLEFT OUTER JOIN item ON item_id = itemsite_item_id\nLEFT OUTER JOIN charass AS reportpower ON \n(coitem_id = reportpower.charass_target_id \nAND reportpower.charass_target_type = 'SI'\nAND reportpower.charass_char_id = 25)\nLEFT OUTER JOIN charass AS reportinput ON \n(coitem_id = reportinput.charass_target_id \nAND reportinput.charass_target_type = 'SI'\nAND reportinput.charass_char_id = 36)\nLEFT OUTER JOIN charass AS reportphases ON \n(coitem_id = reportphases.charass_target_id \nAND reportphases.charass_target_type = 'SI'\nAND reportphases.charass_char_id = 18)\nWHERE item_number IN ('16688','17861','17862','17863','22351','25020','25144','25147','25021','24952','17873','29243','29752')\nAND (coitem_status <> 'X') \nAND cohead_id NOT IN(SELECT cohead_id from rahead LEFT OUTER JOIN cohead ON rahead_new_cohead_id=cohead_id WHERE cohead_id IS NOT NULL)\nAND coitem_price != 0\nAND reportpower.charass_value IS NOT NULL\nGROUP BY reportpower.charass_value, \"Product\", \"Input\"\nORDER BY \"Product\", reportpower.charass_value", + "encodeParamsToggle": true, + "paginationType": "NONE", + "pluginSpecifiedTemplates": [ + { + "value": true + } + ], + "timeoutInMillisecond": 10000 + }, + "confirmBeforeExecute": false, + "datasource": { + "id": "xTuple_Sandbox", + "isAutoGenerated": false, + "name": "xTuple_Sandbox", + "pluginId": "postgres-plugin" + }, + "dynamicBindingPathList": [], + "name": "units_shipped_by_power_input", + "pageId": "Sales - Units Shipped", + "runBehaviour": "AUTOMATIC", + "userSetOnLoad": false + } +} \ No newline at end of file diff --git a/pages/Sales - Units Shipped/queries/units_shipped_by_power_input/units_shipped_by_power_input.txt b/pages/Sales - Units Shipped/queries/units_shipped_by_power_input/units_shipped_by_power_input.txt new file mode 100644 index 0000000..7cf33fe --- /dev/null +++ b/pages/Sales - Units Shipped/queries/units_shipped_by_power_input/units_shipped_by_power_input.txt @@ -0,0 +1,33 @@ +SELECT +CASE WHEN item_number IN ('16688','25020') THEN 'XR Series' +WHEN item_number IN ('22351','24952') THEN 'SL Series' +WHEN item_number IN ('17861','25021','29243','29752') THEN 'TS Series' +WHEN item_number IN ('17862') THEN 'MS Series' +WHEN item_number IN ('17863') THEN 'MT Series' +WHEN item_number IN ('17873') THEN 'Harmonic Neutralizer' + +ELSE 'None' +END AS "Product", +reportpower.charass_value as "Power Output", reportinput.charass_value || ' ' || reportphases.charass_value AS "Input", ROUND(SUM(coitem_qtyord),0) as "Qty Ordered" +FROM coitem LEFT OUTER JOIN cohead ON cohead_id=coitem_cohead_id +LEFT OUTER JOIN itemsite ON coitem_itemsite_id = itemsite_id +LEFT OUTER JOIN item ON item_id = itemsite_item_id +LEFT OUTER JOIN charass AS reportpower ON +(coitem_id = reportpower.charass_target_id +AND reportpower.charass_target_type = 'SI' +AND reportpower.charass_char_id = 25) +LEFT OUTER JOIN charass AS reportinput ON +(coitem_id = reportinput.charass_target_id +AND reportinput.charass_target_type = 'SI' +AND reportinput.charass_char_id = 36) +LEFT OUTER JOIN charass AS reportphases ON +(coitem_id = reportphases.charass_target_id +AND reportphases.charass_target_type = 'SI' +AND reportphases.charass_char_id = 18) +WHERE item_number IN ('16688','17861','17862','17863','22351','25020','25144','25147','25021','24952','17873','29243','29752') +AND (coitem_status <> 'X') +AND cohead_id NOT IN(SELECT cohead_id from rahead LEFT OUTER JOIN cohead ON rahead_new_cohead_id=cohead_id WHERE cohead_id IS NOT NULL) +AND coitem_price != 0 +AND reportpower.charass_value IS NOT NULL +GROUP BY reportpower.charass_value, "Product", "Input" +ORDER BY "Product", reportpower.charass_value \ No newline at end of file diff --git a/pages/Sales - Units Shipped/queries/units_shipped_by_series/metadata.json b/pages/Sales - Units Shipped/queries/units_shipped_by_series/metadata.json new file mode 100644 index 0000000..1c6b21e --- /dev/null +++ b/pages/Sales - Units Shipped/queries/units_shipped_by_series/metadata.json @@ -0,0 +1,31 @@ +{ + "gitSyncId": "6968b6e8271e5e0befde3194_5de92824-82c7-4bcd-b6d9-418ce79d7c71", + "id": "Sales - Units Shipped_units_shipped_by_series", + "pluginId": "postgres-plugin", + "pluginType": "DB", + "unpublishedAction": { + "actionConfiguration": { + "body": "SELECT \nCASE WHEN item_number IN ('16688','25020') THEN 'XR Series'\nWHEN item_number IN ('22351','24952') THEN 'SL Series'\nWHEN item_number IN ('17861','25021','29243','29752') THEN 'TS Series'\nWHEN item_number IN ('17862') THEN 'MS Series'\nWHEN item_number IN ('17863') THEN 'MT Series'\nWHEN item_number IN ('17873') THEN 'Harmonic Neutralizer'\n\nELSE 'None'\nEND AS \"Product\",\nROUND(SUM(coitem_qtyord),0) as \"Qty Ordered\"\nFROM coitem LEFT OUTER JOIN cohead ON cohead_id=coitem_cohead_id\nLEFT OUTER JOIN itemsite ON coitem_itemsite_id = itemsite_id\nLEFT OUTER JOIN item ON item_id = itemsite_item_id\nLEFT OUTER JOIN charass AS reportpower ON \n(coitem_id = reportpower.charass_target_id \nAND reportpower.charass_target_type = 'SI'\nAND reportpower.charass_char_id = 25)\nWHERE item_number IN ('16688','17861','17862','17863','22351','25020','25144','25147','25021','24952','17873','29243','29752')\nAND (coitem_status <> 'X') \nAND cohead_id NOT IN(SELECT cohead_id from rahead LEFT OUTER JOIN cohead ON rahead_new_cohead_id=cohead_id WHERE cohead_id IS NOT NULL)\nAND coitem_price != 0\nAND reportpower.charass_value IS NOT NULL\nGROUP BY \"Product\"\nORDER BY \"Product\"", + "encodeParamsToggle": true, + "paginationType": "NONE", + "pluginSpecifiedTemplates": [ + { + "value": true + } + ], + "timeoutInMillisecond": 10000 + }, + "confirmBeforeExecute": false, + "datasource": { + "id": "xTuple_Sandbox", + "isAutoGenerated": false, + "name": "xTuple_Sandbox", + "pluginId": "postgres-plugin" + }, + "dynamicBindingPathList": [], + "name": "units_shipped_by_series", + "pageId": "Sales - Units Shipped", + "runBehaviour": "AUTOMATIC", + "userSetOnLoad": false + } +} \ No newline at end of file diff --git a/pages/Sales - Units Shipped/queries/units_shipped_by_series/units_shipped_by_series.txt b/pages/Sales - Units Shipped/queries/units_shipped_by_series/units_shipped_by_series.txt new file mode 100644 index 0000000..727253d --- /dev/null +++ b/pages/Sales - Units Shipped/queries/units_shipped_by_series/units_shipped_by_series.txt @@ -0,0 +1,25 @@ +SELECT +CASE WHEN item_number IN ('16688','25020') THEN 'XR Series' +WHEN item_number IN ('22351','24952') THEN 'SL Series' +WHEN item_number IN ('17861','25021','29243','29752') THEN 'TS Series' +WHEN item_number IN ('17862') THEN 'MS Series' +WHEN item_number IN ('17863') THEN 'MT Series' +WHEN item_number IN ('17873') THEN 'Harmonic Neutralizer' + +ELSE 'None' +END AS "Product", +ROUND(SUM(coitem_qtyord),0) as "Qty Ordered" +FROM coitem LEFT OUTER JOIN cohead ON cohead_id=coitem_cohead_id +LEFT OUTER JOIN itemsite ON coitem_itemsite_id = itemsite_id +LEFT OUTER JOIN item ON item_id = itemsite_item_id +LEFT OUTER JOIN charass AS reportpower ON +(coitem_id = reportpower.charass_target_id +AND reportpower.charass_target_type = 'SI' +AND reportpower.charass_char_id = 25) +WHERE item_number IN ('16688','17861','17862','17863','22351','25020','25144','25147','25021','24952','17873','29243','29752') +AND (coitem_status <> 'X') +AND cohead_id NOT IN(SELECT cohead_id from rahead LEFT OUTER JOIN cohead ON rahead_new_cohead_id=cohead_id WHERE cohead_id IS NOT NULL) +AND coitem_price != 0 +AND reportpower.charass_value IS NOT NULL +GROUP BY "Product" +ORDER BY "Product" \ No newline at end of file diff --git a/pages/Sales - Units Shipped/widgets/Heading.json b/pages/Sales - Units Shipped/widgets/Heading.json new file mode 100644 index 0000000..97f6d97 --- /dev/null +++ b/pages/Sales - Units Shipped/widgets/Heading.json @@ -0,0 +1,52 @@ +{ + "animateLoading": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "bottomRow": 7, + "dynamicBindingPathList": [ + { + "key": "truncateButtonColor" + }, + { + "key": "fontFamily" + }, + { + "key": "borderRadius" + } + ], + "dynamicHeight": "AUTO_HEIGHT", + "dynamicTriggerPathList": [], + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "fontSize": "1.875rem", + "fontStyle": "BOLD", + "isLoading": false, + "isVisible": true, + "key": "pii8e5rbru", + "leftColumn": 1, + "maxDynamicHeight": 9000, + "minDynamicHeight": 4, + "minWidth": 450, + "mobileBottomRow": 5, + "mobileLeftColumn": 1, + "mobileRightColumn": 17, + "mobileTopRow": 1, + "needsErrorInfo": false, + "originalBottomRow": 7, + "originalTopRow": 2, + "overflow": "NONE", + "parentColumnSpace": 25.109375, + "parentId": "0", + "parentRowSpace": 10, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 17, + "shouldTruncate": false, + "text": "Sales / Units Shipped", + "textAlign": "LEFT", + "textColor": "#231F20", + "topRow": 2, + "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", + "type": "TEXT_WIDGET", + "version": 1, + "widgetId": "250t24g0mo", + "widgetName": "Heading" +} \ No newline at end of file diff --git a/pages/Sales - Units Shipped/widgets/Navigation.json b/pages/Sales - Units Shipped/widgets/Navigation.json new file mode 100644 index 0000000..1a37532 --- /dev/null +++ b/pages/Sales - Units Shipped/widgets/Navigation.json @@ -0,0 +1,90 @@ +{ + "animateLoading": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "bottomRow": 13, + "boxShadow": "none", + "buttonVariant": "PRIMARY", + "childStylesheet": { + "button": { + "buttonColor": "{{appsmith.theme.colors.primaryColor}}" + } + }, + "dynamicBindingPathList": [ + { + "key": "borderRadius" + } + ], + "dynamicTriggerPathList": [ + { + "key": "groupButtons.groupButton1.onClick" + }, + { + "key": "groupButtons.groupButton3.onClick" + } + ], + "groupButtons": { + "groupButton1": { + "buttonColor": "#231f20", + "buttonType": "SIMPLE", + "disabledWhenInvalid": false, + "iconAlign": "right", + "id": "groupButton1", + "index": 0, + "isDisabled": false, + "isVisible": true, + "label": "Capacity Planning", + "menuItems": {}, + "onClick": "{{navigateTo('Sales', {}, 'SAME_WINDOW');}}", + "placement": "CENTER", + "widgetId": "" + }, + "groupButton3": { + "buttonColor": "#e0dede", + "buttonType": "SIMPLE", + "disabledWhenInvalid": false, + "id": "groupButton3", + "index": 1, + "isDisabled": false, + "isVisible": true, + "label": "Units Shipped", + "menuItems": { + "menuItemr01yri5nag": { + "id": "menuItemr01yri5nag", + "index": 0, + "isDisabled": false, + "isVisible": true, + "label": "Menu Item", + "widgetId": "z3w4r50nta" + } + }, + "onClick": "{{navigateTo('Sales - Units Shipped', {}, 'SAME_WINDOW');}}", + "placement": "CENTER", + "widgetId": "" + } + }, + "isCanvas": false, + "isLoading": false, + "isVisible": true, + "key": "f10t84z5gq", + "leftColumn": 1, + "minWidth": 450, + "mobileBottomRow": 12, + "mobileLeftColumn": 1, + "mobileRightColumn": 25, + "mobileTopRow": 8, + "needsErrorInfo": false, + "orientation": "horizontal", + "originalBottomRow": 13, + "originalTopRow": 9, + "parentColumnSpace": 25.109375, + "parentId": "0", + "parentRowSpace": 10, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 25, + "topRow": 9, + "type": "BUTTON_GROUP_WIDGET", + "version": 1, + "widgetId": "b9izyy0tmr", + "widgetName": "Navigation" +} \ No newline at end of file diff --git a/pages/Sales - Units Shipped/widgets/Tabs1/Table1.json b/pages/Sales - Units Shipped/widgets/Tabs1/Table1.json new file mode 100644 index 0000000..726b20f --- /dev/null +++ b/pages/Sales - Units Shipped/widgets/Tabs1/Table1.json @@ -0,0 +1,183 @@ +{ + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "animateLoading": true, + "borderColor": "#E0DEDE", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "borderWidth": "1", + "bottomRow": 102, + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "cachedTableData": {}, + "canFreezeColumn": true, + "childStylesheet": { + "button": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "editActions": { + "discardBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "discardButtonColor": "{{appsmith.theme.colors.primaryColor}}", + "saveBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "saveButtonColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "iconButton": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "menuButton": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none", + "menuColor": "{{appsmith.theme.colors.primaryColor}}" + } + }, + "columnOrder": [ + "Product", + "Qty_Ordered" + ], + "columnUpdatedAt": 1768911391236, + "columnWidthMap": {}, + "customIsLoading": false, + "customIsLoadingValue": "", + "defaultPageSize": 0, + "defaultSelectedRowIndex": 0, + "defaultSelectedRowIndices": [ + 0 + ], + "delimiter": ",", + "dynamicBindingPathList": [ + { + "key": "accentColor" + }, + { + "key": "borderRadius" + }, + { + "key": "boxShadow" + }, + { + "key": "tableData" + }, + { + "key": "primaryColumns.Product.computedValue" + }, + { + "key": "primaryColumns.Qty_Ordered.computedValue" + } + ], + "dynamicPropertyPathList": [ + { + "key": "tableData" + } + ], + "dynamicTriggerPathList": [], + "enableClientSideSearch": true, + "endOfData": false, + "flexVerticalAlignment": "start", + "horizontalAlignment": "LEFT", + "inlineEditingSaveOption": "ROW_LEVEL", + "isLoading": false, + "isSortable": true, + "isVisible": true, + "isVisibleDownload": true, + "isVisibleFilters": false, + "isVisiblePagination": true, + "isVisibleSearch": true, + "key": "9mn8k38jb0", + "label": "Data", + "leftColumn": 1, + "minWidth": 450, + "mobileBottomRow": 33, + "mobileLeftColumn": 1, + "mobileRightColumn": 35, + "mobileTopRow": 5, + "needsErrorInfo": false, + "originalBottomRow": 41, + "originalTopRow": 5, + "parentColumnSpace": 11.265625, + "parentId": "o7m1w5vrow", + "parentRowSpace": 10, + "primaryColumns": { + "Product": { + "alias": "Product", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "cellBackground": "", + "columnType": "text", + "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"Product\"])) : Product })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "fontStyle": "", + "horizontalAlignment": "LEFT", + "id": "Product", + "index": 0, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "Product", + "notation": "standard", + "originalId": "Product", + "sticky": "", + "textColor": "", + "textSize": "0.875rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + }, + "Qty_Ordered": { + "alias": "Qty Ordered", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "cellBackground": "", + "columnType": "number", + "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"Qty Ordered\"])) : Qty Ordered })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "fontStyle": "", + "horizontalAlignment": "LEFT", + "id": "Qty_Ordered", + "index": 1, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "Qty Ordered", + "notation": "standard", + "originalId": "Qty Ordered", + "sticky": "", + "textColor": "", + "textSize": "0.875rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + } + }, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 63, + "searchKey": "", + "tableData": "{{units_shipped_by_series.data}}", + "textSize": "0.875rem", + "topRow": 2, + "totalRecordsCount": 0, + "type": "TABLE_WIDGET_V2", + "version": 2, + "verticalAlignment": "CENTER", + "widgetId": "09qniwp9nt", + "widgetName": "Table1" +} \ No newline at end of file diff --git a/pages/Sales - Units Shipped/widgets/Tabs1/Table1Copy.json b/pages/Sales - Units Shipped/widgets/Tabs1/Table1Copy.json new file mode 100644 index 0000000..cbd83f4 --- /dev/null +++ b/pages/Sales - Units Shipped/widgets/Tabs1/Table1Copy.json @@ -0,0 +1,259 @@ +{ + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "animateLoading": true, + "borderColor": "#E0DEDE", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "borderWidth": "1", + "bottomRow": 167, + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "cachedTableData": {}, + "canFreezeColumn": true, + "childStylesheet": { + "button": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "editActions": { + "discardBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "discardButtonColor": "{{appsmith.theme.colors.primaryColor}}", + "saveBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "saveButtonColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "iconButton": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "menuButton": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none", + "menuColor": "{{appsmith.theme.colors.primaryColor}}" + } + }, + "columnOrder": [ + "Product", + "Power_Output", + "Input", + "Qty_Ordered" + ], + "columnUpdatedAt": 1768911810804, + "columnWidthMap": {}, + "customIsLoading": false, + "customIsLoadingValue": "", + "defaultPageSize": 0, + "defaultSelectedRowIndex": 0, + "defaultSelectedRowIndices": [ + 0 + ], + "delimiter": ",", + "dynamicBindingPathList": [ + { + "key": "accentColor" + }, + { + "key": "borderRadius" + }, + { + "key": "boxShadow" + }, + { + "key": "primaryColumns.Product.computedValue" + }, + { + "key": "primaryColumns.Qty_Ordered.computedValue" + }, + { + "key": "tableData" + }, + { + "key": "primaryColumns.Power_Output.computedValue" + }, + { + "key": "primaryColumns.Input.computedValue" + } + ], + "dynamicPropertyPathList": [ + { + "key": "tableData" + } + ], + "dynamicTriggerPathList": [], + "enableClientSideSearch": true, + "endOfData": false, + "flexVerticalAlignment": "start", + "horizontalAlignment": "LEFT", + "inlineEditingSaveOption": "ROW_LEVEL", + "isLoading": false, + "isSortable": true, + "isVisible": true, + "isVisibleDownload": true, + "isVisibleFilters": false, + "isVisiblePagination": true, + "isVisibleSearch": true, + "key": "9mn8k38jb0", + "label": "Data", + "leftColumn": 1, + "minWidth": 450, + "mobileBottomRow": 33, + "mobileLeftColumn": 1, + "mobileRightColumn": 35, + "mobileTopRow": 5, + "needsErrorInfo": false, + "originalBottomRow": 42, + "originalTopRow": 6, + "parentColumnSpace": 11.265625, + "parentId": "5ghij529ih", + "parentRowSpace": 10, + "primaryColumns": { + "Input": { + "alias": "Input", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "cellBackground": "", + "columnType": "text", + "computedValue": "{{(() => { const tableData = Table1Copy.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"Input\"])) : Input })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "fontStyle": "", + "horizontalAlignment": "LEFT", + "id": "Input", + "index": 2, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "Input", + "notation": "standard", + "originalId": "Input", + "sticky": "", + "textColor": "", + "textSize": "0.875rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + }, + "Power_Output": { + "alias": "Power Output", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "cellBackground": "", + "columnType": "text", + "computedValue": "{{(() => { const tableData = Table1Copy.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"Power Output\"])) : Power Output })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "fontStyle": "", + "horizontalAlignment": "LEFT", + "id": "Power_Output", + "index": 1, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "Power Output", + "notation": "standard", + "originalId": "Power Output", + "sticky": "", + "textColor": "", + "textSize": "0.875rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + }, + "Product": { + "alias": "Product", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "cellBackground": "", + "columnType": "text", + "computedValue": "{{(() => { const tableData = Table1Copy.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"Product\"])) : Product })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "fontStyle": "", + "horizontalAlignment": "LEFT", + "id": "Product", + "index": 0, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "Product", + "notation": "standard", + "originalId": "Product", + "sticky": "", + "textColor": "", + "textSize": "0.875rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + }, + "Qty_Ordered": { + "alias": "Qty Ordered", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "cellBackground": "", + "columnType": "number", + "computedValue": "{{(() => { const tableData = Table1Copy.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"Qty Ordered\"])) : Qty Ordered })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "fontStyle": "", + "horizontalAlignment": "LEFT", + "id": "Qty_Ordered", + "index": 1, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "Qty Shipped", + "notation": "standard", + "originalId": "Qty Ordered", + "sticky": "", + "textColor": "", + "textSize": "0.875rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + } + }, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 63, + "searchKey": "", + "tableData": "{{units_shipped_by_power_input.data}}", + "textSize": "0.875rem", + "topRow": 2, + "totalRecordsCount": 0, + "type": "TABLE_WIDGET_V2", + "version": 2, + "verticalAlignment": "CENTER", + "widgetId": "sxi5n9a1yp", + "widgetName": "Table1Copy" +} \ No newline at end of file diff --git a/pages/Sales - Units Shipped/widgets/Tabs1/Tabs1.json b/pages/Sales - Units Shipped/widgets/Tabs1/Tabs1.json new file mode 100644 index 0000000..ca02b62 --- /dev/null +++ b/pages/Sales - Units Shipped/widgets/Tabs1/Tabs1.json @@ -0,0 +1,165 @@ +{ + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "animateLoading": true, + "backgroundColor": "#FFFFFF", + "borderColor": "#E0DEDE", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "borderWidth": 1, + "bottomRow": 123, + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "children": [ + { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "bottomRow": 1040, + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "canExtend": true, + "detachFromLayout": true, + "dynamicBindingPathList": [ + { + "key": "borderRadius" + }, + { + "key": "boxShadow" + } + ], + "dynamicHeight": "AUTO_HEIGHT", + "dynamicTriggerPathList": [], + "flexLayers": [], + "isDisabled": false, + "isLoading": false, + "isVisible": true, + "key": "fye1v5uu19", + "leftColumn": 0, + "maxDynamicHeight": 9000, + "minDynamicHeight": 4, + "minHeight": 150, + "minWidth": 450, + "mobileBottomRow": 150, + "mobileLeftColumn": 0, + "mobileRightColumn": 602.625, + "mobileTopRow": 0, + "needsErrorInfo": false, + "parentColumnSpace": 1, + "parentId": "cgiukoz6f7", + "parentRowSpace": 1, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 602.625, + "shouldScrollContents": false, + "tabId": "tab1", + "tabName": "Series", + "topRow": 0, + "type": "CANVAS_WIDGET", + "version": 1, + "widgetId": "o7m1w5vrow", + "widgetName": "Canvas1" + }, + { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "bottomRow": 1670, + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "canExtend": true, + "detachFromLayout": true, + "dynamicBindingPathList": [ + { + "key": "borderRadius" + }, + { + "key": "boxShadow" + } + ], + "dynamicHeight": "AUTO_HEIGHT", + "dynamicTriggerPathList": [], + "flexLayers": [], + "isDisabled": false, + "isLoading": false, + "isVisible": true, + "key": "fye1v5uu19", + "leftColumn": 0, + "maxDynamicHeight": 9000, + "minDynamicHeight": 4, + "minHeight": 150, + "minWidth": 450, + "mobileBottomRow": 150, + "mobileLeftColumn": 0, + "mobileRightColumn": 602.625, + "mobileTopRow": 0, + "needsErrorInfo": false, + "parentColumnSpace": 1, + "parentId": "cgiukoz6f7", + "parentRowSpace": 1, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 602.625, + "shouldScrollContents": false, + "tabId": "tab2", + "tabName": "Power Level, Input Voltage", + "topRow": 0, + "type": "CANVAS_WIDGET", + "version": 1, + "widgetId": "5ghij529ih", + "widgetName": "Canvas2" + } + ], + "defaultTab": "By Series", + "dynamicBindingPathList": [ + { + "key": "accentColor" + }, + { + "key": "borderRadius" + }, + { + "key": "boxShadow" + } + ], + "dynamicHeight": "AUTO_HEIGHT", + "dynamicTriggerPathList": [], + "flexVerticalAlignment": "stretch", + "isCanvas": true, + "isLoading": false, + "isVisible": true, + "key": "r7d08pu9q8", + "leftColumn": 1, + "maxDynamicHeight": 9000, + "minDynamicHeight": 15, + "minWidth": 450, + "mobileBottomRow": 76, + "mobileLeftColumn": 2, + "mobileRightColumn": 26, + "mobileTopRow": 61, + "needsErrorInfo": false, + "originalBottomRow": 188, + "originalTopRow": 15, + "parentColumnSpace": 25.109375, + "parentId": "0", + "parentRowSpace": 10, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 61, + "shouldScrollContents": true, + "shouldShowTabs": true, + "tabsObj": { + "tab1": { + "id": "tab1", + "index": 0, + "isVisible": true, + "label": "Series", + "positioning": "vertical", + "widgetId": "o7m1w5vrow" + }, + "tab2": { + "id": "tab2", + "index": 1, + "isVisible": true, + "label": "Power Level, Input Voltage", + "positioning": "vertical", + "widgetId": "5ghij529ih" + } + }, + "topRow": 15, + "type": "TABS_WIDGET", + "version": 3, + "widgetId": "cgiukoz6f7", + "widgetName": "Tabs1" +} \ No newline at end of file diff --git a/pages/Sales - Units Shipped/widgets/Text1.json b/pages/Sales - Units Shipped/widgets/Text1.json new file mode 100644 index 0000000..d1647f0 --- /dev/null +++ b/pages/Sales - Units Shipped/widgets/Text1.json @@ -0,0 +1,52 @@ +{ + "animateLoading": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "bottomRow": 320, + "dynamicBindingPathList": [ + { + "key": "truncateButtonColor" + }, + { + "key": "fontFamily" + }, + { + "key": "borderRadius" + } + ], + "dynamicHeight": "AUTO_HEIGHT", + "dynamicTriggerPathList": [], + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "fontSize": "0.875rem", + "fontStyle": "BOLD", + "isLoading": false, + "isVisible": true, + "key": "aibuaup6p0", + "leftColumn": 3, + "maxDynamicHeight": 9000, + "minDynamicHeight": 4, + "minWidth": 450, + "mobileBottomRow": 39, + "mobileLeftColumn": 1, + "mobileRightColumn": 17, + "mobileTopRow": 35, + "needsErrorInfo": false, + "originalBottomRow": 385, + "originalTopRow": 338, + "overflow": "NONE", + "parentColumnSpace": 11.265625, + "parentId": "0", + "parentRowSpace": 10, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 37, + "shouldTruncate": false, + "text": "SELECT \nCASE WHEN item_number IN ('16688','25020') THEN 'XR Series'\nWHEN item_number IN ('22351','24952') THEN 'SL Series'\nWHEN item_number IN ('17861','25021','29243','29752') THEN 'TS Series'\nWHEN item_number IN ('17862') THEN 'MS Series'\nWHEN item_number IN ('17863') THEN 'MT Series'\nWHEN item_number IN ('17873') THEN 'Harmonic Neutralizer'\n\nELSE 'None'\nEND AS \"Product\",\nROUND(SUM(coitem_qtyord),0) as \"Qty Ordered\"\nFROM coitem LEFT OUTER JOIN cohead ON cohead_id=coitem_cohead_id\nLEFT OUTER JOIN itemsite ON coitem_itemsite_id = itemsite_id\nLEFT OUTER JOIN item ON item_id = itemsite_item_id\nLEFT OUTER JOIN charass AS reportpower ON \n(coitem_id = reportpower.charass_target_id \nAND reportpower.charass_target_type = 'SI'\nAND reportpower.charass_char_id = 25)\nWHERE item_number IN ('16688','17861','17862','17863','22351','25020','25144','25147','25021','24952','17873','29243','29752')\nAND (coitem_status <> 'X') \nAND cohead_id NOT IN(SELECT cohead_id from rahead LEFT OUTER JOIN cohead ON rahead_new_cohead_id=cohead_id WHERE cohead_id IS NOT NULL)\nAND coitem_price != 0\nAND cohead_orderdate BETWEEN '$param1'::date AND '$param2'::date\nAND reportpower.charass_value IS NOT NULL\nGROUP BY \"Product\"\nORDER BY \"Product\"", + "textAlign": "LEFT", + "textColor": "#231F20", + "topRow": 273, + "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", + "type": "TEXT_WIDGET", + "version": 1, + "widgetId": "2srkyaefvd", + "widgetName": "Text1" +} \ No newline at end of file diff --git a/pages/Page1/widgets/Text1.json b/pages/Sales - Units Shipped/widgets/Text2Copy1.json similarity index 68% rename from pages/Page1/widgets/Text1.json rename to pages/Sales - Units Shipped/widgets/Text2Copy1.json index 440d16c..3732787 100644 --- a/pages/Page1/widgets/Text1.json +++ b/pages/Sales - Units Shipped/widgets/Text2Copy1.json @@ -1,7 +1,7 @@ { "animateLoading": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 6, + "bottomRow": 271, "dynamicBindingPathList": [ { "key": "truncateButtonColor" @@ -11,9 +11,6 @@ }, { "key": "borderRadius" - }, - { - "key": "text" } ], "dynamicHeight": "AUTO_HEIGHT", @@ -23,33 +20,33 @@ "fontStyle": "BOLD", "isLoading": false, "isVisible": true, - "key": "mddnm65lel", - "leftColumn": 2, + "key": "aibuaup6p0", + "leftColumn": 3, "maxDynamicHeight": 9000, "minDynamicHeight": 4, "minWidth": 450, - "mobileBottomRow": 6, - "mobileLeftColumn": 2, - "mobileRightColumn": 18, - "mobileTopRow": 2, + "mobileBottomRow": 4, + "mobileLeftColumn": 4, + "mobileRightColumn": 20, + "mobileTopRow": 0, "needsErrorInfo": false, - "originalBottomRow": 9, - "originalTopRow": 2, + "originalBottomRow": 336, + "originalTopRow": 332, "overflow": "NONE", - "parentColumnSpace": 9.609375, + "parentColumnSpace": 11.265625, "parentId": "0", "parentRowSpace": 10, "renderMode": "CANVAS", "responsiveBehavior": "fill", "rightColumn": 31, "shouldTruncate": false, - "text": "Hello {{appsmith.user.name || appsmith.user.email}} appsmith test", + "text": "Units Ordered - By Series", "textAlign": "LEFT", "textColor": "#231F20", - "topRow": 2, + "topRow": 267, "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", "type": "TEXT_WIDGET", "version": 1, - "widgetId": "ddyu1bw8fg", - "widgetName": "Text1" + "widgetId": "bz71a9t109", + "widgetName": "Text2Copy1" } \ No newline at end of file diff --git a/pages/Sales - Units Shipped/widgets/Text2CopyCopy.json b/pages/Sales - Units Shipped/widgets/Text2CopyCopy.json new file mode 100644 index 0000000..9e7e27b --- /dev/null +++ b/pages/Sales - Units Shipped/widgets/Text2CopyCopy.json @@ -0,0 +1,52 @@ +{ + "animateLoading": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "bottomRow": 217, + "dynamicBindingPathList": [ + { + "key": "truncateButtonColor" + }, + { + "key": "fontFamily" + }, + { + "key": "borderRadius" + } + ], + "dynamicHeight": "AUTO_HEIGHT", + "dynamicTriggerPathList": [], + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "fontSize": "1rem", + "fontStyle": "BOLD", + "isLoading": false, + "isVisible": true, + "key": "aibuaup6p0", + "leftColumn": 39, + "maxDynamicHeight": 9000, + "minDynamicHeight": 4, + "minWidth": 450, + "mobileBottomRow": 4, + "mobileLeftColumn": 4, + "mobileRightColumn": 20, + "mobileTopRow": 0, + "needsErrorInfo": false, + "originalBottomRow": 282, + "originalTopRow": 278, + "overflow": "NONE", + "parentColumnSpace": 11.265625, + "parentId": "0", + "parentRowSpace": 10, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 64, + "shouldTruncate": false, + "text": "Units Ordered - By Series", + "textAlign": "LEFT", + "textColor": "#231F20", + "topRow": 213, + "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", + "type": "TEXT_WIDGET", + "version": 1, + "widgetId": "mri175k85g", + "widgetName": "Text2CopyCopy" +} \ No newline at end of file diff --git a/pages/Sales - Units Shipped/widgets/Text3.json b/pages/Sales - Units Shipped/widgets/Text3.json new file mode 100644 index 0000000..9bedbbf --- /dev/null +++ b/pages/Sales - Units Shipped/widgets/Text3.json @@ -0,0 +1,52 @@ +{ + "animateLoading": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "bottomRow": 284, + "dynamicBindingPathList": [ + { + "key": "truncateButtonColor" + }, + { + "key": "fontFamily" + }, + { + "key": "borderRadius" + } + ], + "dynamicHeight": "AUTO_HEIGHT", + "dynamicTriggerPathList": [], + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "fontSize": "0.875rem", + "fontStyle": "BOLD", + "isLoading": false, + "isVisible": true, + "key": "aibuaup6p0", + "leftColumn": 39, + "maxDynamicHeight": 9000, + "minDynamicHeight": 4, + "minWidth": 450, + "mobileBottomRow": 111, + "mobileLeftColumn": 39, + "mobileRightColumn": 55, + "mobileTopRow": 107, + "needsErrorInfo": false, + "originalBottomRow": 349, + "originalTopRow": 282, + "overflow": "NONE", + "parentColumnSpace": 11.265625, + "parentId": "0", + "parentRowSpace": 10, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 63, + "shouldTruncate": false, + "text": "SELECT \nCASE WHEN item_number IN ('16688','25020') THEN 'XR Series'\nWHEN item_number IN ('22351','24952') THEN 'SL Series'\nWHEN item_number IN ('17861','25021','29243','29752') THEN 'TS Series'\nWHEN item_number IN ('17862') THEN 'MS Series'\nWHEN item_number IN ('17863') THEN 'MT Series'\nWHEN item_number IN ('17873') THEN 'Harmonic Neutralizer'\n\nELSE 'None'\nEND AS \"Product\",\nreportpower.charass_value as \"Power Output\", reportinput.charass_value || ' ' || reportphases.charass_value AS \"Input\", ROUND(SUM(coitem_qtyord),0) as \"Qty Ordered\"\nFROM coitem LEFT OUTER JOIN cohead ON cohead_id=coitem_cohead_id\nLEFT OUTER JOIN itemsite ON coitem_itemsite_id = itemsite_id\nLEFT OUTER JOIN item ON item_id = itemsite_item_id\nLEFT OUTER JOIN charass AS reportpower ON \n(coitem_id = reportpower.charass_target_id \nAND reportpower.charass_target_type = 'SI'\nAND reportpower.charass_char_id = 25)\nLEFT OUTER JOIN charass AS reportinput ON \n(coitem_id = reportinput.charass_target_id \nAND reportinput.charass_target_type = 'SI'\nAND reportinput.charass_char_id = 36)\nLEFT OUTER JOIN charass AS reportphases ON \n(coitem_id = reportphases.charass_target_id \nAND reportphases.charass_target_type = 'SI'\nAND reportphases.charass_char_id = 18)\nWHERE item_number IN ('16688','17861','17862','17863','22351','25020','25144','25147','25021','24952','17873','29243','29752')\nAND (coitem_status <> 'X') \nAND cohead_id NOT IN(SELECT cohead_id from rahead LEFT OUTER JOIN cohead ON rahead_new_cohead_id=cohead_id WHERE cohead_id IS NOT NULL)\nAND coitem_price != 0\nAND cohead_orderdate BETWEEN '$param1'::date AND '$param2'::date\nAND reportpower.charass_value IS NOT NULL\nGROUP BY reportpower.charass_value, \"Product\", \"Input\"\nORDER BY \"Product\", reportpower.charass_value", + "textAlign": "LEFT", + "textColor": "#231F20", + "topRow": 217, + "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", + "type": "TEXT_WIDGET", + "version": 1, + "widgetId": "d78hnl6fvy", + "widgetName": "Text3" +} \ No newline at end of file diff --git a/pages/Page1/Page1.json b/pages/Sales/Sales.json similarity index 89% rename from pages/Page1/Page1.json rename to pages/Sales/Sales.json index 6acb771..130d944 100644 --- a/pages/Page1/Page1.json +++ b/pages/Sales/Sales.json @@ -1,11 +1,12 @@ { "gitSyncId": "6806a8bdc0c8882e5a70d0a0_9043b637-52ad-46a6-aeaf-e5d6bd81183b", "unpublishedPage": { + "isHidden": false, "layouts": [ { "dsl": { "backgroundColor": "none", - "bottomRow": 520, + "bottomRow": 1080, "canExtend": true, "containerStyle": "none", "detachFromLayout": true, @@ -26,7 +27,7 @@ } } ], - "name": "Page1", - "slug": "page1" + "name": "Sales", + "slug": "sales" } } \ No newline at end of file diff --git a/pages/Sales/queries/capacity_display_all/capacity_display_all.txt b/pages/Sales/queries/capacity_display_all/capacity_display_all.txt new file mode 100644 index 0000000..f70f31d --- /dev/null +++ b/pages/Sales/queries/capacity_display_all/capacity_display_all.txt @@ -0,0 +1 @@ +select * from mpe.poormancapacity; \ No newline at end of file diff --git a/pages/Page1/queries/Insert_mpe_isocountry1/metadata.json b/pages/Sales/queries/capacity_display_all/metadata.json similarity index 51% rename from pages/Page1/queries/Insert_mpe_isocountry1/metadata.json rename to pages/Sales/queries/capacity_display_all/metadata.json index 191b75d..925fab7 100644 --- a/pages/Page1/queries/Insert_mpe_isocountry1/metadata.json +++ b/pages/Sales/queries/capacity_display_all/metadata.json @@ -1,16 +1,16 @@ { - "gitSyncId": "6968b6e8271e5e0befde3194_08fc7608-7641-46f3-a322-0265f2bbbc04", - "id": "Page1_Insert_mpe_isocountry1", + "gitSyncId": "6968b6e8271e5e0befde3194_eeefcf86-aa72-417c-8e6c-bebacc100964", + "id": "Sales_capacity_display_all", "pluginId": "postgres-plugin", "pluginType": "DB", "unpublishedAction": { "actionConfiguration": { - "body": "INSERT INTO mpe.isocountry (\"countryname\",\"continent\") VALUES ('{{(Table1.newRow || {}).countryname}}','{{(Table1.newRow || {}).continent}}')", + "body": "select * from mpe.poormancapacity;", "encodeParamsToggle": true, "paginationType": "NONE", "pluginSpecifiedTemplates": [ { - "value": false + "value": true } ], "timeoutInMillisecond": 10000 @@ -22,14 +22,10 @@ "name": "xTuple_Sandbox", "pluginId": "postgres-plugin" }, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "name": "Insert_mpe_isocountry1", - "pageId": "Page1", - "runBehaviour": "MANUAL", + "dynamicBindingPathList": [], + "name": "capacity_display_all", + "pageId": "Sales", + "runBehaviour": "AUTOMATIC", "userSetOnLoad": false } } \ No newline at end of file diff --git a/pages/Sales/widgets/Heading.json b/pages/Sales/widgets/Heading.json new file mode 100644 index 0000000..b9a3a99 --- /dev/null +++ b/pages/Sales/widgets/Heading.json @@ -0,0 +1,52 @@ +{ + "animateLoading": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "bottomRow": 7, + "dynamicBindingPathList": [ + { + "key": "truncateButtonColor" + }, + { + "key": "fontFamily" + }, + { + "key": "borderRadius" + } + ], + "dynamicHeight": "AUTO_HEIGHT", + "dynamicTriggerPathList": [], + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "fontSize": "1.875rem", + "fontStyle": "BOLD", + "isLoading": false, + "isVisible": true, + "key": "pii8e5rbru", + "leftColumn": 1, + "maxDynamicHeight": 9000, + "minDynamicHeight": 4, + "minWidth": 450, + "mobileBottomRow": 5, + "mobileLeftColumn": 1, + "mobileRightColumn": 17, + "mobileTopRow": 1, + "needsErrorInfo": false, + "originalBottomRow": 7, + "originalTopRow": 2, + "overflow": "NONE", + "parentColumnSpace": 25.109375, + "parentId": "0", + "parentRowSpace": 10, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 17, + "shouldTruncate": false, + "text": "Sales / Capacity Planning", + "textAlign": "LEFT", + "textColor": "#231F20", + "topRow": 2, + "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", + "type": "TEXT_WIDGET", + "version": 1, + "widgetId": "mt8rmbyqnn", + "widgetName": "Heading" +} \ No newline at end of file diff --git a/pages/Sales/widgets/Navigation.json b/pages/Sales/widgets/Navigation.json new file mode 100644 index 0000000..1dbad60 --- /dev/null +++ b/pages/Sales/widgets/Navigation.json @@ -0,0 +1,93 @@ +{ + "animateLoading": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "bottomRow": 13, + "boxShadow": "none", + "buttonVariant": "PRIMARY", + "childStylesheet": { + "button": { + "buttonColor": "{{appsmith.theme.colors.primaryColor}}" + } + }, + "dynamicBindingPathList": [ + { + "key": "borderRadius" + }, + { + "key": "groupButtons.groupButton3.buttonColor" + } + ], + "dynamicTriggerPathList": [ + { + "key": "groupButtons.groupButton1.onClick" + }, + { + "key": "groupButtons.groupButton3.onClick" + } + ], + "groupButtons": { + "groupButton1": { + "buttonColor": "#d4d4d8", + "buttonType": "SIMPLE", + "disabledWhenInvalid": false, + "iconAlign": "right", + "id": "groupButton1", + "index": 0, + "isDisabled": false, + "isVisible": true, + "label": "Capacity Planning", + "menuItems": {}, + "onClick": "{{navigateTo('Sales', {}, 'SAME_WINDOW');}}", + "placement": "CENTER", + "widgetId": "" + }, + "groupButton3": { + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonType": "SIMPLE", + "disabledWhenInvalid": false, + "id": "groupButton3", + "index": 1, + "isDisabled": false, + "isVisible": true, + "label": "Units Shipped", + "menuItems": { + "menuItemr01yri5nag": { + "id": "menuItemr01yri5nag", + "index": 0, + "isDisabled": false, + "isVisible": true, + "label": "Menu Item", + "widgetId": "z3w4r50nta" + } + }, + "onClick": "{{navigateTo('Sales - Units Shipped', {}, 'SAME_WINDOW');}}", + "placement": "CENTER", + "widgetId": "" + } + }, + "isCanvas": false, + "isLoading": false, + "isVisible": true, + "key": "f10t84z5gq", + "leftColumn": 1, + "minWidth": 450, + "mobileBottomRow": 12, + "mobileLeftColumn": 1, + "mobileRightColumn": 25, + "mobileTopRow": 8, + "needsErrorInfo": false, + "orientation": "horizontal", + "originalBottomRow": 13, + "originalTopRow": 9, + "parentColumnSpace": 25.109375, + "parentId": "0", + "parentRowSpace": 10, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 25, + "topRow": 9, + "type": "BUTTON_GROUP_WIDGET", + "version": 1, + "widgetId": "6tlhfmvijp", + "widgetName": "Navigation" +} \ No newline at end of file diff --git a/pages/Sales/widgets/Table1.json b/pages/Sales/widgets/Table1.json new file mode 100644 index 0000000..4ae8ade --- /dev/null +++ b/pages/Sales/widgets/Table1.json @@ -0,0 +1,244 @@ +{ + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "animateLoading": true, + "borderColor": "#E0DEDE", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "borderWidth": "1", + "bottomRow": 99, + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "cachedTableData": {}, + "canFreezeColumn": true, + "childStylesheet": { + "button": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "editActions": { + "discardBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "discardButtonColor": "{{appsmith.theme.colors.primaryColor}}", + "saveBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "saveButtonColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "iconButton": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "menuButton": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none", + "menuColor": "{{appsmith.theme.colors.primaryColor}}" + } + }, + "columnOrder": [ + "line_type", + "start_date", + "end_date", + "used_blocks" + ], + "columnUpdatedAt": 1768910474559, + "columnWidthMap": {}, + "compactMode": "DEFAULT", + "customIsLoading": false, + "customIsLoadingValue": "", + "defaultPageSize": 0, + "defaultSelectedRowIndex": 0, + "defaultSelectedRowIndices": [ + 0 + ], + "delimiter": ",", + "dynamicBindingPathList": [ + { + "key": "accentColor" + }, + { + "key": "borderRadius" + }, + { + "key": "boxShadow" + }, + { + "key": "tableData" + }, + { + "key": "primaryColumns.line_type.computedValue" + }, + { + "key": "primaryColumns.start_date.computedValue" + }, + { + "key": "primaryColumns.end_date.computedValue" + }, + { + "key": "primaryColumns.used_blocks.computedValue" + } + ], + "dynamicPropertyPathList": [], + "dynamicTriggerPathList": [], + "enableClientSideSearch": true, + "endOfData": false, + "flexVerticalAlignment": "start", + "horizontalAlignment": "LEFT", + "inlineEditingSaveOption": "ROW_LEVEL", + "isLoading": false, + "isSortable": true, + "isVisible": true, + "isVisibleDownload": true, + "isVisibleFilters": false, + "isVisiblePagination": true, + "isVisibleSearch": true, + "key": "o9k9wp97q1", + "label": "Data", + "leftColumn": 1, + "minWidth": 450, + "mobileBottomRow": 31, + "mobileLeftColumn": 1, + "mobileRightColumn": 35, + "mobileTopRow": 3, + "needsErrorInfo": false, + "originalBottomRow": 99, + "originalTopRow": 15, + "parentColumnSpace": 11.265625, + "parentId": "0", + "parentRowSpace": 10, + "primaryColumns": { + "end_date": { + "alias": "end_date", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "columnType": "date", + "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"end_date\"])) : end_date })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "horizontalAlignment": "LEFT", + "id": "end_date", + "index": 2, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "end_date", + "notation": "standard", + "originalId": "end_date", + "sticky": "", + "textSize": "0.875rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + }, + "line_type": { + "alias": "line_type", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "columnType": "text", + "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"line_type\"])) : line_type })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "horizontalAlignment": "LEFT", + "id": "line_type", + "index": 0, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "line_type", + "notation": "standard", + "originalId": "line_type", + "sticky": "", + "textSize": "0.875rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + }, + "start_date": { + "alias": "start_date", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "columnType": "date", + "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"start_date\"])) : start_date })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "horizontalAlignment": "LEFT", + "id": "start_date", + "index": 1, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "start_date", + "notation": "standard", + "originalId": "start_date", + "sticky": "", + "textSize": "0.875rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + }, + "used_blocks": { + "alias": "used_blocks", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "columnType": "number", + "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"used_blocks\"])) : used_blocks })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "horizontalAlignment": "LEFT", + "id": "used_blocks", + "index": 3, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "used_blocks", + "notation": "standard", + "originalId": "used_blocks", + "sticky": "", + "textSize": "0.875rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + } + }, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 63, + "searchKey": "", + "tableData": "{{capacity_display_all.data}}", + "textSize": "0.875rem", + "topRow": 15, + "totalRecordsCount": 0, + "type": "TABLE_WIDGET_V2", + "version": 2, + "verticalAlignment": "CENTER", + "widgetId": "7i9t3ugouj", + "widgetName": "Table1" +} \ No newline at end of file diff --git a/theme.json b/theme.json index 245e0db..bd29237 100644 --- a/theme.json +++ b/theme.json @@ -1,5 +1,407 @@ { + "config": { + "borderRadius": { + "appBorderRadius": { + "L": "1.5rem", + "M": "0.375rem", + "none": "0px" + } + }, + "boxShadow": { + "appBoxShadow": { + "L": "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)", + "M": "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)", + "S": "0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)", + "none": "none" + } + }, + "colors": { + "backgroundColor": "#F8FAFC", + "primaryColor": "#553DE9" + }, + "fontFamily": { + "appFont": [ + "System Default", + "Nunito Sans", + "Poppins", + "Inter", + "Montserrat", + "Noto Sans", + "Open Sans", + "Roboto", + "Rubik", + "Ubuntu" + ] + }, + "order": 1 + }, "displayName": "Modern", - "isSystemTheme": true, - "name": "Default-New" + "isSystemTheme": false, + "name": "Default-New", + "properties": { + "borderRadius": { + "appBorderRadius": "1.5rem" + }, + "boxShadow": { + "appBoxShadow": "none" + }, + "colors": { + "backgroundColor": "#f4f4f5", + "primaryColor": "#020618" + }, + "fontFamily": { + "appFont": "Inter" + } + }, + "stylesheet": { + "AUDIO_RECORDER_WIDGET": { + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none" + }, + "BUTTON_GROUP_WIDGET": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none", + "childStylesheet": { + "button": { + "buttonColor": "{{appsmith.theme.colors.primaryColor}}" + } + } + }, + "BUTTON_WIDGET": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "CAMERA_WIDGET": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none" + }, + "CATEGORY_SLIDER_WIDGET": { + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "CHART_WIDGET": { + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}" + }, + "CHECKBOX_GROUP_WIDGET": { + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}" + }, + "CHECKBOX_WIDGET": { + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}" + }, + "CIRCULAR_PROGRESS_WIDGET": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "fillColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "CODE_SCANNER_WIDGET": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "CONTAINER_WIDGET": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}" + }, + "CURRENCY_INPUT_WIDGET": { + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none" + }, + "DATE_PICKER_WIDGET2": { + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none" + }, + "DROP_DOWN_WIDGET": { + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none" + }, + "FILE_PICKER_WIDGET_V2": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "FORM_BUTTON_WIDGET": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "FORM_WIDGET": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}" + }, + "ICON_BUTTON_WIDGET": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "IFRAME_WIDGET": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}" + }, + "IMAGE_WIDGET": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none" + }, + "INPUT_WIDGET": { + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none" + }, + "INPUT_WIDGET_V2": { + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none" + }, + "JSON_FORM_WIDGET": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "childStylesheet": { + "ARRAY": { + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none", + "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "cellBoxShadow": "none" + }, + "CHECKBOX": { + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}" + }, + "CURRENCY_INPUT": { + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none" + }, + "DATEPICKER": { + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none" + }, + "EMAIL_INPUT": { + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none" + }, + "MULTILINE_TEXT_INPUT": { + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none" + }, + "MULTISELECT": { + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none" + }, + "NUMBER_INPUT": { + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none" + }, + "OBJECT": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none", + "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "cellBoxShadow": "none" + }, + "PASSWORD_INPUT": { + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none" + }, + "PHONE_NUMBER_INPUT": { + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none" + }, + "RADIO_GROUP": { + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "boxShadow": "none" + }, + "SELECT": { + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none" + }, + "SWITCH": { + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "boxShadow": "none" + }, + "TEXT_INPUT": { + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none" + } + }, + "resetButtonStyles": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "submitButtonStyles": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}" + } + }, + "LIST_WIDGET": { + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}" + }, + "MAP_CHART_WIDGET": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}" + }, + "MAP_WIDGET": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}" + }, + "MENU_BUTTON_WIDGET": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none", + "menuColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "MODAL_WIDGET": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none" + }, + "MULTI_SELECT_TREE_WIDGET": { + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none" + }, + "MULTI_SELECT_WIDGET": { + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none" + }, + "MULTI_SELECT_WIDGET_V2": { + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none" + }, + "NUMBER_SLIDER_WIDGET": { + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "PHONE_INPUT_WIDGET": { + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none" + }, + "PROGRESSBAR_WIDGET": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "fillColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "PROGRESS_WIDGET": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "fillColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "RADIO_GROUP_WIDGET": { + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "boxShadow": "none" + }, + "RANGE_SLIDER_WIDGET": { + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "RATE_WIDGET": { + "activeColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "RICH_TEXT_EDITOR_WIDGET": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}" + }, + "SELECT_WIDGET": { + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none" + }, + "SINGLE_SELECT_TREE_WIDGET": { + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none" + }, + "STATBOX_WIDGET": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}" + }, + "SWITCH_GROUP_WIDGET": { + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "SWITCH_WIDGET": { + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "boxShadow": "none" + }, + "TABLE_WIDGET": { + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "childStylesheet": { + "button": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "iconButton": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "menuButton": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none", + "menuColor": "{{appsmith.theme.colors.primaryColor}}" + } + } + }, + "TABLE_WIDGET_V2": { + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "childStylesheet": { + "button": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "editActions": { + "discardBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "discardButtonColor": "{{appsmith.theme.colors.primaryColor}}", + "saveBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "saveButtonColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "iconButton": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "menuButton": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none", + "menuColor": "{{appsmith.theme.colors.primaryColor}}" + } + } + }, + "TABS_WIDGET": { + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}" + }, + "TEXT_WIDGET": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "VIDEO_WIDGET": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}" + } + } } \ No newline at end of file From 91915207274190bb694c165ea1aeb27a15e4111c Mon Sep 17 00:00:00 2001 From: ibariss Date: Tue, 27 Jan 2026 11:02:36 +0000 Subject: [PATCH 04/71] Improved navigation and filtering implementation --- datasources/xTuple_GoLive.json | 6 -- .../Sales - Capacity Planning.json | 2 +- .../widgets/Heading.json | 4 +- .../widgets/Navigation.json | 93 ------------------- .../widgets/Table1.json | 8 +- .../Sales - Units Shipped.json | 2 +- .../metadata.json | 8 +- .../units_shipped_by_power_input.txt | 19 ++-- .../units_shipped_by_series/metadata.json | 8 +- .../units_shipped_by_series.txt | 11 ++- .../widgets/Navigation.json | 90 ------------------ .../widgets/Tabs1/PowerDateFrom.json | 55 +++++++++++ .../widgets/Tabs1/PowerDateTo.json | 55 +++++++++++ .../widgets/Tabs1/SeriesDateFrom.json | 55 +++++++++++ .../widgets/Tabs1/SeriesDateTo.json | 55 +++++++++++ .../widgets/Tabs1/Table1.json | 4 +- .../widgets/Tabs1/Table1Copy.json | 10 +- .../widgets/Tabs1/Tabs1.json | 12 +-- .../Sales - Units Shipped/widgets/Text1.json | 8 +- .../widgets/Text2Copy1.json | 8 +- .../widgets/Text2CopyCopy.json | 8 +- .../Sales - Units Shipped/widgets/Text3.json | 8 +- pages/Sales/Sales.json | 2 +- pages/Sales/widgets/Heading.json | 8 +- pages/Sales/widgets/Navigation.json | 93 ------------------- pages/Sales/widgets/Table1.json | 8 +- 26 files changed, 300 insertions(+), 340 deletions(-) delete mode 100644 datasources/xTuple_GoLive.json delete mode 100644 pages/Sales - Capacity Planning/widgets/Navigation.json delete mode 100644 pages/Sales - Units Shipped/widgets/Navigation.json create mode 100644 pages/Sales - Units Shipped/widgets/Tabs1/PowerDateFrom.json create mode 100644 pages/Sales - Units Shipped/widgets/Tabs1/PowerDateTo.json create mode 100644 pages/Sales - Units Shipped/widgets/Tabs1/SeriesDateFrom.json create mode 100644 pages/Sales - Units Shipped/widgets/Tabs1/SeriesDateTo.json delete mode 100644 pages/Sales/widgets/Navigation.json diff --git a/datasources/xTuple_GoLive.json b/datasources/xTuple_GoLive.json deleted file mode 100644 index 66dbc70..0000000 --- a/datasources/xTuple_GoLive.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "gitSyncId": "630fb8035cd949195181bb2c_632495194e38ed35d7b64c16", - "isAutoGenerated": false, - "name": "xTuple_GoLive", - "pluginId": "postgres-plugin" -} \ No newline at end of file diff --git a/pages/Sales - Capacity Planning/Sales - Capacity Planning.json b/pages/Sales - Capacity Planning/Sales - Capacity Planning.json index 8b647de..97d677a 100644 --- a/pages/Sales - Capacity Planning/Sales - Capacity Planning.json +++ b/pages/Sales - Capacity Planning/Sales - Capacity Planning.json @@ -6,7 +6,7 @@ { "dsl": { "backgroundColor": "none", - "bottomRow": 1000, + "bottomRow": 960, "canExtend": true, "containerStyle": "none", "detachFromLayout": true, diff --git a/pages/Sales - Capacity Planning/widgets/Heading.json b/pages/Sales - Capacity Planning/widgets/Heading.json index b9a3a99..f39c0c7 100644 --- a/pages/Sales - Capacity Planning/widgets/Heading.json +++ b/pages/Sales - Capacity Planning/widgets/Heading.json @@ -1,7 +1,7 @@ { "animateLoading": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 7, + "bottomRow": 10, "dynamicBindingPathList": [ { "key": "truncateButtonColor" @@ -30,7 +30,7 @@ "mobileRightColumn": 17, "mobileTopRow": 1, "needsErrorInfo": false, - "originalBottomRow": 7, + "originalBottomRow": 10, "originalTopRow": 2, "overflow": "NONE", "parentColumnSpace": 25.109375, diff --git a/pages/Sales - Capacity Planning/widgets/Navigation.json b/pages/Sales - Capacity Planning/widgets/Navigation.json deleted file mode 100644 index 61919d5..0000000 --- a/pages/Sales - Capacity Planning/widgets/Navigation.json +++ /dev/null @@ -1,93 +0,0 @@ -{ - "animateLoading": true, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 13, - "boxShadow": "none", - "buttonVariant": "PRIMARY", - "childStylesheet": { - "button": { - "buttonColor": "{{appsmith.theme.colors.primaryColor}}" - } - }, - "dynamicBindingPathList": [ - { - "key": "borderRadius" - }, - { - "key": "groupButtons.groupButton3.buttonColor" - } - ], - "dynamicTriggerPathList": [ - { - "key": "groupButtons.groupButton1.onClick" - }, - { - "key": "groupButtons.groupButton3.onClick" - } - ], - "groupButtons": { - "groupButton1": { - "buttonColor": "#d4d4d8", - "buttonType": "SIMPLE", - "disabledWhenInvalid": false, - "iconAlign": "right", - "id": "groupButton1", - "index": 0, - "isDisabled": false, - "isVisible": true, - "label": "Capacity Planning", - "menuItems": {}, - "onClick": "{{navigateTo('Sales', {}, 'SAME_WINDOW');}}", - "placement": "CENTER", - "widgetId": "" - }, - "groupButton3": { - "buttonColor": "{{appsmith.theme.colors.primaryColor}}", - "buttonType": "SIMPLE", - "disabledWhenInvalid": false, - "id": "groupButton3", - "index": 1, - "isDisabled": false, - "isVisible": true, - "label": "Units Shipped", - "menuItems": { - "menuItemr01yri5nag": { - "id": "menuItemr01yri5nag", - "index": 0, - "isDisabled": false, - "isVisible": true, - "label": "Menu Item", - "widgetId": "z3w4r50nta" - } - }, - "onClick": "{{navigateTo('Sales - Units Shipped', {}, 'SAME_WINDOW');}}", - "placement": "CENTER", - "widgetId": "" - } - }, - "isCanvas": false, - "isLoading": false, - "isVisible": true, - "key": "f10t84z5gq", - "leftColumn": 1, - "minWidth": 450, - "mobileBottomRow": 12, - "mobileLeftColumn": 1, - "mobileRightColumn": 25, - "mobileTopRow": 8, - "needsErrorInfo": false, - "orientation": "horizontal", - "originalBottomRow": 12, - "originalTopRow": 8, - "parentColumnSpace": 25.109375, - "parentId": "0", - "parentRowSpace": 10, - "renderMode": "CANVAS", - "responsiveBehavior": "fill", - "rightColumn": 25, - "topRow": 9, - "type": "BUTTON_GROUP_WIDGET", - "version": 1, - "widgetId": "d8f8txmi5z", - "widgetName": "Navigation" -} \ No newline at end of file diff --git a/pages/Sales - Capacity Planning/widgets/Table1.json b/pages/Sales - Capacity Planning/widgets/Table1.json index 9cf05c5..30a8652 100644 --- a/pages/Sales - Capacity Planning/widgets/Table1.json +++ b/pages/Sales - Capacity Planning/widgets/Table1.json @@ -4,7 +4,7 @@ "borderColor": "#E0DEDE", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "borderWidth": "1", - "bottomRow": 100, + "bottomRow": 96, "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "cachedTableData": {}, "canFreezeColumn": true, @@ -97,8 +97,8 @@ "mobileRightColumn": 35, "mobileTopRow": 3, "needsErrorInfo": false, - "originalBottomRow": 99, - "originalTopRow": 15, + "originalBottomRow": 97, + "originalTopRow": 13, "parentColumnSpace": 11.265625, "parentId": "0", "parentRowSpace": 10, @@ -234,7 +234,7 @@ "searchKey": "", "tableData": "{{capacity_display_all.data}}", "textSize": "0.875rem", - "topRow": 16, + "topRow": 12, "totalRecordsCount": 0, "type": "TABLE_WIDGET_V2", "version": 2, diff --git a/pages/Sales - Units Shipped/Sales - Units Shipped.json b/pages/Sales - Units Shipped/Sales - Units Shipped.json index 7de9a00..ef0deac 100644 --- a/pages/Sales - Units Shipped/Sales - Units Shipped.json +++ b/pages/Sales - Units Shipped/Sales - Units Shipped.json @@ -6,7 +6,7 @@ { "dsl": { "backgroundColor": "none", - "bottomRow": 3200, + "bottomRow": 3940, "canExtend": true, "containerStyle": "none", "detachFromLayout": true, diff --git a/pages/Sales - Units Shipped/queries/units_shipped_by_power_input/metadata.json b/pages/Sales - Units Shipped/queries/units_shipped_by_power_input/metadata.json index aa806fe..567fa50 100644 --- a/pages/Sales - Units Shipped/queries/units_shipped_by_power_input/metadata.json +++ b/pages/Sales - Units Shipped/queries/units_shipped_by_power_input/metadata.json @@ -5,7 +5,7 @@ "pluginType": "DB", "unpublishedAction": { "actionConfiguration": { - "body": "SELECT \nCASE WHEN item_number IN ('16688','25020') THEN 'XR Series'\nWHEN item_number IN ('22351','24952') THEN 'SL Series'\nWHEN item_number IN ('17861','25021','29243','29752') THEN 'TS Series'\nWHEN item_number IN ('17862') THEN 'MS Series'\nWHEN item_number IN ('17863') THEN 'MT Series'\nWHEN item_number IN ('17873') THEN 'Harmonic Neutralizer'\n\nELSE 'None'\nEND AS \"Product\",\nreportpower.charass_value as \"Power Output\", reportinput.charass_value || ' ' || reportphases.charass_value AS \"Input\", ROUND(SUM(coitem_qtyord),0) as \"Qty Ordered\"\nFROM coitem LEFT OUTER JOIN cohead ON cohead_id=coitem_cohead_id\nLEFT OUTER JOIN itemsite ON coitem_itemsite_id = itemsite_id\nLEFT OUTER JOIN item ON item_id = itemsite_item_id\nLEFT OUTER JOIN charass AS reportpower ON \n(coitem_id = reportpower.charass_target_id \nAND reportpower.charass_target_type = 'SI'\nAND reportpower.charass_char_id = 25)\nLEFT OUTER JOIN charass AS reportinput ON \n(coitem_id = reportinput.charass_target_id \nAND reportinput.charass_target_type = 'SI'\nAND reportinput.charass_char_id = 36)\nLEFT OUTER JOIN charass AS reportphases ON \n(coitem_id = reportphases.charass_target_id \nAND reportphases.charass_target_type = 'SI'\nAND reportphases.charass_char_id = 18)\nWHERE item_number IN ('16688','17861','17862','17863','22351','25020','25144','25147','25021','24952','17873','29243','29752')\nAND (coitem_status <> 'X') \nAND cohead_id NOT IN(SELECT cohead_id from rahead LEFT OUTER JOIN cohead ON rahead_new_cohead_id=cohead_id WHERE cohead_id IS NOT NULL)\nAND coitem_price != 0\nAND reportpower.charass_value IS NOT NULL\nGROUP BY reportpower.charass_value, \"Product\", \"Input\"\nORDER BY \"Product\", reportpower.charass_value", + "body": "SELECT \nCASE WHEN item_number IN ('16688','25020') THEN 'XR Series'\nWHEN item_number IN ('22351','24952') THEN 'SL Series'\nWHEN item_number IN ('17861','25021','29243','29752') THEN 'TS Series'\nWHEN item_number IN ('17862') THEN 'MS Series'\nWHEN item_number IN ('17863') THEN 'MT Series'\nWHEN item_number IN ('17873') THEN 'Harmonic Neutralizer'\n\nELSE 'None'\nEND AS \"Product\",\nreportpower.charass_value as \"Power Output\", reportinput.charass_value || ' ' || reportphases.charass_value AS \"Input\", ROUND(SUM(coitem_qtyord),0) as \"Qty Ordered\"\nFROM coitem LEFT OUTER JOIN cohead ON cohead_id=coitem_cohead_id\nLEFT OUTER JOIN itemsite ON coitem_itemsite_id = itemsite_id\nLEFT OUTER JOIN item ON item_id = itemsite_item_id\nLEFT OUTER JOIN charass AS reportpower ON \n(coitem_id = reportpower.charass_target_id \n AND reportpower.charass_target_type = 'SI'\n AND reportpower.charass_char_id = 25)\nLEFT OUTER JOIN charass AS reportinput ON \n(coitem_id = reportinput.charass_target_id \n AND reportinput.charass_target_type = 'SI'\n AND reportinput.charass_char_id = 36)\nLEFT OUTER JOIN charass AS reportphases ON \n(coitem_id = reportphases.charass_target_id \n AND reportphases.charass_target_type = 'SI'\n AND reportphases.charass_char_id = 18)\nWHERE item_number IN ('16688','17861','17862','17863','22351','25020','25144','25147','25021','24952','17873','29243','29752')\nAND (coitem_status <> 'X') \nAND cohead_id NOT IN(SELECT cohead_id from rahead LEFT OUTER JOIN cohead ON rahead_new_cohead_id=cohead_id WHERE cohead_id IS NOT NULL)\nAND coitem_price != 0\nAND (\n\tNULLIF('{{PowerDateFrom.selectedDate}}','') IS NULL\n\tOR NULLIF('{{PowerDateTo.selectedDate}}','') IS NULL\n\tOR cohead_orderdate BETWEEN\n\tNULLIF('{{PowerDateFrom.selectedDate}}','')::date\n\tAND NULLIF('{{PowerDateTo.selectedDate}}','')::date\n)\nAND reportpower.charass_value IS NOT NULL\nGROUP BY reportpower.charass_value, \"Product\", \"Input\"\nORDER BY \"Product\", reportpower.charass_value", "encodeParamsToggle": true, "paginationType": "NONE", "pluginSpecifiedTemplates": [ @@ -22,7 +22,11 @@ "name": "xTuple_Sandbox", "pluginId": "postgres-plugin" }, - "dynamicBindingPathList": [], + "dynamicBindingPathList": [ + { + "key": "body" + } + ], "name": "units_shipped_by_power_input", "pageId": "Sales - Units Shipped", "runBehaviour": "AUTOMATIC", diff --git a/pages/Sales - Units Shipped/queries/units_shipped_by_power_input/units_shipped_by_power_input.txt b/pages/Sales - Units Shipped/queries/units_shipped_by_power_input/units_shipped_by_power_input.txt index 7cf33fe..4ab3ead 100644 --- a/pages/Sales - Units Shipped/queries/units_shipped_by_power_input/units_shipped_by_power_input.txt +++ b/pages/Sales - Units Shipped/queries/units_shipped_by_power_input/units_shipped_by_power_input.txt @@ -14,20 +14,27 @@ LEFT OUTER JOIN itemsite ON coitem_itemsite_id = itemsite_id LEFT OUTER JOIN item ON item_id = itemsite_item_id LEFT OUTER JOIN charass AS reportpower ON (coitem_id = reportpower.charass_target_id -AND reportpower.charass_target_type = 'SI' -AND reportpower.charass_char_id = 25) + AND reportpower.charass_target_type = 'SI' + AND reportpower.charass_char_id = 25) LEFT OUTER JOIN charass AS reportinput ON (coitem_id = reportinput.charass_target_id -AND reportinput.charass_target_type = 'SI' -AND reportinput.charass_char_id = 36) + AND reportinput.charass_target_type = 'SI' + AND reportinput.charass_char_id = 36) LEFT OUTER JOIN charass AS reportphases ON (coitem_id = reportphases.charass_target_id -AND reportphases.charass_target_type = 'SI' -AND reportphases.charass_char_id = 18) + AND reportphases.charass_target_type = 'SI' + AND reportphases.charass_char_id = 18) WHERE item_number IN ('16688','17861','17862','17863','22351','25020','25144','25147','25021','24952','17873','29243','29752') AND (coitem_status <> 'X') AND cohead_id NOT IN(SELECT cohead_id from rahead LEFT OUTER JOIN cohead ON rahead_new_cohead_id=cohead_id WHERE cohead_id IS NOT NULL) AND coitem_price != 0 +AND ( + NULLIF('{{PowerDateFrom.selectedDate}}','') IS NULL + OR NULLIF('{{PowerDateTo.selectedDate}}','') IS NULL + OR cohead_orderdate BETWEEN + NULLIF('{{PowerDateFrom.selectedDate}}','')::date + AND NULLIF('{{PowerDateTo.selectedDate}}','')::date +) AND reportpower.charass_value IS NOT NULL GROUP BY reportpower.charass_value, "Product", "Input" ORDER BY "Product", reportpower.charass_value \ No newline at end of file diff --git a/pages/Sales - Units Shipped/queries/units_shipped_by_series/metadata.json b/pages/Sales - Units Shipped/queries/units_shipped_by_series/metadata.json index 1c6b21e..50b7a12 100644 --- a/pages/Sales - Units Shipped/queries/units_shipped_by_series/metadata.json +++ b/pages/Sales - Units Shipped/queries/units_shipped_by_series/metadata.json @@ -5,7 +5,7 @@ "pluginType": "DB", "unpublishedAction": { "actionConfiguration": { - "body": "SELECT \nCASE WHEN item_number IN ('16688','25020') THEN 'XR Series'\nWHEN item_number IN ('22351','24952') THEN 'SL Series'\nWHEN item_number IN ('17861','25021','29243','29752') THEN 'TS Series'\nWHEN item_number IN ('17862') THEN 'MS Series'\nWHEN item_number IN ('17863') THEN 'MT Series'\nWHEN item_number IN ('17873') THEN 'Harmonic Neutralizer'\n\nELSE 'None'\nEND AS \"Product\",\nROUND(SUM(coitem_qtyord),0) as \"Qty Ordered\"\nFROM coitem LEFT OUTER JOIN cohead ON cohead_id=coitem_cohead_id\nLEFT OUTER JOIN itemsite ON coitem_itemsite_id = itemsite_id\nLEFT OUTER JOIN item ON item_id = itemsite_item_id\nLEFT OUTER JOIN charass AS reportpower ON \n(coitem_id = reportpower.charass_target_id \nAND reportpower.charass_target_type = 'SI'\nAND reportpower.charass_char_id = 25)\nWHERE item_number IN ('16688','17861','17862','17863','22351','25020','25144','25147','25021','24952','17873','29243','29752')\nAND (coitem_status <> 'X') \nAND cohead_id NOT IN(SELECT cohead_id from rahead LEFT OUTER JOIN cohead ON rahead_new_cohead_id=cohead_id WHERE cohead_id IS NOT NULL)\nAND coitem_price != 0\nAND reportpower.charass_value IS NOT NULL\nGROUP BY \"Product\"\nORDER BY \"Product\"", + "body": "SELECT \nCASE WHEN item_number IN ('16688','25020') THEN 'XR Series'\nWHEN item_number IN ('22351','24952') THEN 'SL Series'\nWHEN item_number IN ('17861','25021','29243','29752') THEN 'TS Series'\nWHEN item_number IN ('17862') THEN 'MS Series'\nWHEN item_number IN ('17863') THEN 'MT Series'\nWHEN item_number IN ('17873') THEN 'Harmonic Neutralizer'\n\nELSE 'None'\nEND AS \"Product\",\nROUND(SUM(coitem_qtyord),0) as \"Qty Ordered\"\nFROM coitem LEFT OUTER JOIN cohead ON cohead_id=coitem_cohead_id\nLEFT OUTER JOIN itemsite ON coitem_itemsite_id = itemsite_id\nLEFT OUTER JOIN item ON item_id = itemsite_item_id\nLEFT OUTER JOIN charass AS reportpower ON \n(coitem_id = reportpower.charass_target_id \n AND reportpower.charass_target_type = 'SI'\n AND reportpower.charass_char_id = 25)\nWHERE item_number IN ('16688','17861','17862','17863','22351','25020','25144','25147','25021','24952','17873','29243','29752')\nAND (coitem_status <> 'X') \nAND cohead_id NOT IN(SELECT cohead_id from rahead LEFT OUTER JOIN cohead ON rahead_new_cohead_id=cohead_id WHERE cohead_id IS NOT NULL)\nAND coitem_price != 0\nAND reportpower.charass_value IS NOT NULL\nAND (\n\tNULLIF('{{SeriesDateFrom.selectedDate}}','') IS NULL\n\tOR NULLIF('{{SeriesDateTo.selectedDate}}','') IS NULL\n\tOR cohead_orderdate BETWEEN\n\tNULLIF('{{SeriesDateFrom.selectedDate}}','')::date\n\tAND NULLIF('{{SeriesDateTo.selectedDate}}','')::date\n)\nGROUP BY \"Product\"\nORDER BY \"Product\"", "encodeParamsToggle": true, "paginationType": "NONE", "pluginSpecifiedTemplates": [ @@ -22,7 +22,11 @@ "name": "xTuple_Sandbox", "pluginId": "postgres-plugin" }, - "dynamicBindingPathList": [], + "dynamicBindingPathList": [ + { + "key": "body" + } + ], "name": "units_shipped_by_series", "pageId": "Sales - Units Shipped", "runBehaviour": "AUTOMATIC", diff --git a/pages/Sales - Units Shipped/queries/units_shipped_by_series/units_shipped_by_series.txt b/pages/Sales - Units Shipped/queries/units_shipped_by_series/units_shipped_by_series.txt index 727253d..dc70a79 100644 --- a/pages/Sales - Units Shipped/queries/units_shipped_by_series/units_shipped_by_series.txt +++ b/pages/Sales - Units Shipped/queries/units_shipped_by_series/units_shipped_by_series.txt @@ -14,12 +14,19 @@ LEFT OUTER JOIN itemsite ON coitem_itemsite_id = itemsite_id LEFT OUTER JOIN item ON item_id = itemsite_item_id LEFT OUTER JOIN charass AS reportpower ON (coitem_id = reportpower.charass_target_id -AND reportpower.charass_target_type = 'SI' -AND reportpower.charass_char_id = 25) + AND reportpower.charass_target_type = 'SI' + AND reportpower.charass_char_id = 25) WHERE item_number IN ('16688','17861','17862','17863','22351','25020','25144','25147','25021','24952','17873','29243','29752') AND (coitem_status <> 'X') AND cohead_id NOT IN(SELECT cohead_id from rahead LEFT OUTER JOIN cohead ON rahead_new_cohead_id=cohead_id WHERE cohead_id IS NOT NULL) AND coitem_price != 0 AND reportpower.charass_value IS NOT NULL +AND ( + NULLIF('{{SeriesDateFrom.selectedDate}}','') IS NULL + OR NULLIF('{{SeriesDateTo.selectedDate}}','') IS NULL + OR cohead_orderdate BETWEEN + NULLIF('{{SeriesDateFrom.selectedDate}}','')::date + AND NULLIF('{{SeriesDateTo.selectedDate}}','')::date +) GROUP BY "Product" ORDER BY "Product" \ No newline at end of file diff --git a/pages/Sales - Units Shipped/widgets/Navigation.json b/pages/Sales - Units Shipped/widgets/Navigation.json deleted file mode 100644 index 1a37532..0000000 --- a/pages/Sales - Units Shipped/widgets/Navigation.json +++ /dev/null @@ -1,90 +0,0 @@ -{ - "animateLoading": true, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 13, - "boxShadow": "none", - "buttonVariant": "PRIMARY", - "childStylesheet": { - "button": { - "buttonColor": "{{appsmith.theme.colors.primaryColor}}" - } - }, - "dynamicBindingPathList": [ - { - "key": "borderRadius" - } - ], - "dynamicTriggerPathList": [ - { - "key": "groupButtons.groupButton1.onClick" - }, - { - "key": "groupButtons.groupButton3.onClick" - } - ], - "groupButtons": { - "groupButton1": { - "buttonColor": "#231f20", - "buttonType": "SIMPLE", - "disabledWhenInvalid": false, - "iconAlign": "right", - "id": "groupButton1", - "index": 0, - "isDisabled": false, - "isVisible": true, - "label": "Capacity Planning", - "menuItems": {}, - "onClick": "{{navigateTo('Sales', {}, 'SAME_WINDOW');}}", - "placement": "CENTER", - "widgetId": "" - }, - "groupButton3": { - "buttonColor": "#e0dede", - "buttonType": "SIMPLE", - "disabledWhenInvalid": false, - "id": "groupButton3", - "index": 1, - "isDisabled": false, - "isVisible": true, - "label": "Units Shipped", - "menuItems": { - "menuItemr01yri5nag": { - "id": "menuItemr01yri5nag", - "index": 0, - "isDisabled": false, - "isVisible": true, - "label": "Menu Item", - "widgetId": "z3w4r50nta" - } - }, - "onClick": "{{navigateTo('Sales - Units Shipped', {}, 'SAME_WINDOW');}}", - "placement": "CENTER", - "widgetId": "" - } - }, - "isCanvas": false, - "isLoading": false, - "isVisible": true, - "key": "f10t84z5gq", - "leftColumn": 1, - "minWidth": 450, - "mobileBottomRow": 12, - "mobileLeftColumn": 1, - "mobileRightColumn": 25, - "mobileTopRow": 8, - "needsErrorInfo": false, - "orientation": "horizontal", - "originalBottomRow": 13, - "originalTopRow": 9, - "parentColumnSpace": 25.109375, - "parentId": "0", - "parentRowSpace": 10, - "renderMode": "CANVAS", - "responsiveBehavior": "fill", - "rightColumn": 25, - "topRow": 9, - "type": "BUTTON_GROUP_WIDGET", - "version": 1, - "widgetId": "b9izyy0tmr", - "widgetName": "Navigation" -} \ No newline at end of file diff --git a/pages/Sales - Units Shipped/widgets/Tabs1/PowerDateFrom.json b/pages/Sales - Units Shipped/widgets/Tabs1/PowerDateFrom.json new file mode 100644 index 0000000..c47ac71 --- /dev/null +++ b/pages/Sales - Units Shipped/widgets/Tabs1/PowerDateFrom.json @@ -0,0 +1,55 @@ +{ + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "animateLoading": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "bottomRow": 8, + "boxShadow": "none", + "closeOnSelection": true, + "dateFormat": "YYYY-MM-DD HH:mm", + "datePickerType": "DATE_PICKER", + "dynamicBindingPathList": [ + { + "key": "accentColor" + }, + { + "key": "borderRadius" + } + ], + "dynamicHeight": "FIXED", + "dynamicTriggerPathList": [], + "firstDayOfWeek": 0, + "isDisabled": false, + "isLoading": false, + "isRequired": false, + "isVisible": true, + "key": "1n4gn1ssf4", + "label": "Start Date", + "labelAlignment": "left", + "labelPosition": "Top", + "labelTextSize": "0.875rem", + "labelWidth": 5, + "leftColumn": 1, + "maxDate": "2121-12-31T18:29:00.000Z", + "maxDynamicHeight": 9000, + "minDate": "1920-12-31T18:30:00.000Z", + "minDynamicHeight": 4, + "minWidth": 450, + "mobileBottomRow": 8, + "mobileLeftColumn": 1, + "mobileRightColumn": 21, + "mobileTopRow": 1, + "needsErrorInfo": false, + "parentColumnSpace": 10.263671875, + "parentId": "5ghij529ih", + "parentRowSpace": 10, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 21, + "shortcuts": false, + "timePrecision": "minute", + "topRow": 1, + "type": "DATE_PICKER_WIDGET2", + "version": 2, + "widgetId": "uflt0124wq", + "widgetName": "PowerDateFrom" +} \ No newline at end of file diff --git a/pages/Sales - Units Shipped/widgets/Tabs1/PowerDateTo.json b/pages/Sales - Units Shipped/widgets/Tabs1/PowerDateTo.json new file mode 100644 index 0000000..9a439ba --- /dev/null +++ b/pages/Sales - Units Shipped/widgets/Tabs1/PowerDateTo.json @@ -0,0 +1,55 @@ +{ + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "animateLoading": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "bottomRow": 8, + "boxShadow": "none", + "closeOnSelection": true, + "dateFormat": "YYYY-MM-DD HH:mm", + "datePickerType": "DATE_PICKER", + "dynamicBindingPathList": [ + { + "key": "accentColor" + }, + { + "key": "borderRadius" + } + ], + "dynamicHeight": "FIXED", + "dynamicTriggerPathList": [], + "firstDayOfWeek": 0, + "isDisabled": false, + "isLoading": false, + "isRequired": false, + "isVisible": true, + "key": "1n4gn1ssf4", + "label": "End Date", + "labelAlignment": "left", + "labelPosition": "Top", + "labelTextSize": "0.875rem", + "labelWidth": 5, + "leftColumn": 23, + "maxDate": "2121-12-31T18:29:00.000Z", + "maxDynamicHeight": 9000, + "minDate": "1920-12-31T18:30:00.000Z", + "minDynamicHeight": 4, + "minWidth": 450, + "mobileBottomRow": 8, + "mobileLeftColumn": 1, + "mobileRightColumn": 21, + "mobileTopRow": 1, + "needsErrorInfo": false, + "parentColumnSpace": 10.263671875, + "parentId": "5ghij529ih", + "parentRowSpace": 10, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 43, + "shortcuts": false, + "timePrecision": "minute", + "topRow": 1, + "type": "DATE_PICKER_WIDGET2", + "version": 2, + "widgetId": "w69wh9oixl", + "widgetName": "PowerDateTo" +} \ No newline at end of file diff --git a/pages/Sales - Units Shipped/widgets/Tabs1/SeriesDateFrom.json b/pages/Sales - Units Shipped/widgets/Tabs1/SeriesDateFrom.json new file mode 100644 index 0000000..43b0f72 --- /dev/null +++ b/pages/Sales - Units Shipped/widgets/Tabs1/SeriesDateFrom.json @@ -0,0 +1,55 @@ +{ + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "animateLoading": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "bottomRow": 8, + "boxShadow": "none", + "closeOnSelection": true, + "dateFormat": "YYYY-MM-DD HH:mm", + "datePickerType": "DATE_PICKER", + "dynamicBindingPathList": [ + { + "key": "accentColor" + }, + { + "key": "borderRadius" + } + ], + "dynamicHeight": "FIXED", + "dynamicTriggerPathList": [], + "firstDayOfWeek": 0, + "isDisabled": false, + "isLoading": false, + "isRequired": false, + "isVisible": true, + "key": "1n4gn1ssf4", + "label": "Start Date", + "labelAlignment": "left", + "labelPosition": "Top", + "labelTextSize": "0.875rem", + "labelWidth": 5, + "leftColumn": 1, + "maxDate": "2121-12-31T18:29:00.000Z", + "maxDynamicHeight": 9000, + "minDate": "1920-12-31T18:30:00.000Z", + "minDynamicHeight": 4, + "minWidth": 450, + "mobileBottomRow": 8, + "mobileLeftColumn": 1, + "mobileRightColumn": 21, + "mobileTopRow": 1, + "needsErrorInfo": false, + "parentColumnSpace": 10.263671875, + "parentId": "o7m1w5vrow", + "parentRowSpace": 10, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 21, + "shortcuts": false, + "timePrecision": "minute", + "topRow": 1, + "type": "DATE_PICKER_WIDGET2", + "version": 2, + "widgetId": "35qo2qtt26", + "widgetName": "SeriesDateFrom" +} \ No newline at end of file diff --git a/pages/Sales - Units Shipped/widgets/Tabs1/SeriesDateTo.json b/pages/Sales - Units Shipped/widgets/Tabs1/SeriesDateTo.json new file mode 100644 index 0000000..a37c643 --- /dev/null +++ b/pages/Sales - Units Shipped/widgets/Tabs1/SeriesDateTo.json @@ -0,0 +1,55 @@ +{ + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "animateLoading": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "bottomRow": 8, + "boxShadow": "none", + "closeOnSelection": true, + "dateFormat": "YYYY-MM-DD HH:mm", + "datePickerType": "DATE_PICKER", + "dynamicBindingPathList": [ + { + "key": "accentColor" + }, + { + "key": "borderRadius" + } + ], + "dynamicHeight": "FIXED", + "dynamicTriggerPathList": [], + "firstDayOfWeek": 0, + "isDisabled": false, + "isLoading": false, + "isRequired": false, + "isVisible": true, + "key": "1n4gn1ssf4", + "label": "End Date", + "labelAlignment": "left", + "labelPosition": "Top", + "labelTextSize": "0.875rem", + "labelWidth": 5, + "leftColumn": 23, + "maxDate": "2121-12-31T18:29:00.000Z", + "maxDynamicHeight": 9000, + "minDate": "1920-12-31T18:30:00.000Z", + "minDynamicHeight": 4, + "minWidth": 450, + "mobileBottomRow": 8, + "mobileLeftColumn": 1, + "mobileRightColumn": 21, + "mobileTopRow": 1, + "needsErrorInfo": false, + "parentColumnSpace": 10.263671875, + "parentId": "o7m1w5vrow", + "parentRowSpace": 10, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 43, + "shortcuts": false, + "timePrecision": "minute", + "topRow": 1, + "type": "DATE_PICKER_WIDGET2", + "version": 2, + "widgetId": "33mzf7ghwq", + "widgetName": "SeriesDateTo" +} \ No newline at end of file diff --git a/pages/Sales - Units Shipped/widgets/Tabs1/Table1.json b/pages/Sales - Units Shipped/widgets/Tabs1/Table1.json index 726b20f..f63f02f 100644 --- a/pages/Sales - Units Shipped/widgets/Tabs1/Table1.json +++ b/pages/Sales - Units Shipped/widgets/Tabs1/Table1.json @@ -4,7 +4,7 @@ "borderColor": "#E0DEDE", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "borderWidth": "1", - "bottomRow": 102, + "bottomRow": 110, "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "cachedTableData": {}, "canFreezeColumn": true, @@ -173,7 +173,7 @@ "searchKey": "", "tableData": "{{units_shipped_by_series.data}}", "textSize": "0.875rem", - "topRow": 2, + "topRow": 10, "totalRecordsCount": 0, "type": "TABLE_WIDGET_V2", "version": 2, diff --git a/pages/Sales - Units Shipped/widgets/Tabs1/Table1Copy.json b/pages/Sales - Units Shipped/widgets/Tabs1/Table1Copy.json index cbd83f4..5eb394e 100644 --- a/pages/Sales - Units Shipped/widgets/Tabs1/Table1Copy.json +++ b/pages/Sales - Units Shipped/widgets/Tabs1/Table1Copy.json @@ -4,7 +4,7 @@ "borderColor": "#E0DEDE", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "borderWidth": "1", - "bottomRow": 167, + "bottomRow": 175, "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "cachedTableData": {}, "canFreezeColumn": true, @@ -33,11 +33,11 @@ }, "columnOrder": [ "Product", + "Qty_Ordered", "Power_Output", - "Input", - "Qty_Ordered" + "Input" ], - "columnUpdatedAt": 1768911810804, + "columnUpdatedAt": 1769094100515, "columnWidthMap": {}, "customIsLoading": false, "customIsLoadingValue": "", @@ -249,7 +249,7 @@ "searchKey": "", "tableData": "{{units_shipped_by_power_input.data}}", "textSize": "0.875rem", - "topRow": 2, + "topRow": 10, "totalRecordsCount": 0, "type": "TABLE_WIDGET_V2", "version": 2, diff --git a/pages/Sales - Units Shipped/widgets/Tabs1/Tabs1.json b/pages/Sales - Units Shipped/widgets/Tabs1/Tabs1.json index ca02b62..d379c14 100644 --- a/pages/Sales - Units Shipped/widgets/Tabs1/Tabs1.json +++ b/pages/Sales - Units Shipped/widgets/Tabs1/Tabs1.json @@ -5,12 +5,12 @@ "borderColor": "#E0DEDE", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "borderWidth": 1, - "bottomRow": 123, + "bottomRow": 190, "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "children": [ { "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 1040, + "bottomRow": 1770, "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "canExtend": true, "detachFromLayout": true, @@ -56,7 +56,7 @@ }, { "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 1670, + "bottomRow": 1770, "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "canExtend": true, "detachFromLayout": true, @@ -129,8 +129,8 @@ "mobileRightColumn": 26, "mobileTopRow": 61, "needsErrorInfo": false, - "originalBottomRow": 188, - "originalTopRow": 15, + "originalBottomRow": 125, + "originalTopRow": 9, "parentColumnSpace": 25.109375, "parentId": "0", "parentRowSpace": 10, @@ -157,7 +157,7 @@ "widgetId": "5ghij529ih" } }, - "topRow": 15, + "topRow": 9, "type": "TABS_WIDGET", "version": 3, "widgetId": "cgiukoz6f7", diff --git a/pages/Sales - Units Shipped/widgets/Text1.json b/pages/Sales - Units Shipped/widgets/Text1.json index d1647f0..041eedc 100644 --- a/pages/Sales - Units Shipped/widgets/Text1.json +++ b/pages/Sales - Units Shipped/widgets/Text1.json @@ -1,7 +1,7 @@ { "animateLoading": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 320, + "bottomRow": 394, "dynamicBindingPathList": [ { "key": "truncateButtonColor" @@ -30,8 +30,8 @@ "mobileRightColumn": 17, "mobileTopRow": 35, "needsErrorInfo": false, - "originalBottomRow": 385, - "originalTopRow": 338, + "originalBottomRow": 329, + "originalTopRow": 281, "overflow": "NONE", "parentColumnSpace": 11.265625, "parentId": "0", @@ -43,7 +43,7 @@ "text": "SELECT \nCASE WHEN item_number IN ('16688','25020') THEN 'XR Series'\nWHEN item_number IN ('22351','24952') THEN 'SL Series'\nWHEN item_number IN ('17861','25021','29243','29752') THEN 'TS Series'\nWHEN item_number IN ('17862') THEN 'MS Series'\nWHEN item_number IN ('17863') THEN 'MT Series'\nWHEN item_number IN ('17873') THEN 'Harmonic Neutralizer'\n\nELSE 'None'\nEND AS \"Product\",\nROUND(SUM(coitem_qtyord),0) as \"Qty Ordered\"\nFROM coitem LEFT OUTER JOIN cohead ON cohead_id=coitem_cohead_id\nLEFT OUTER JOIN itemsite ON coitem_itemsite_id = itemsite_id\nLEFT OUTER JOIN item ON item_id = itemsite_item_id\nLEFT OUTER JOIN charass AS reportpower ON \n(coitem_id = reportpower.charass_target_id \nAND reportpower.charass_target_type = 'SI'\nAND reportpower.charass_char_id = 25)\nWHERE item_number IN ('16688','17861','17862','17863','22351','25020','25144','25147','25021','24952','17873','29243','29752')\nAND (coitem_status <> 'X') \nAND cohead_id NOT IN(SELECT cohead_id from rahead LEFT OUTER JOIN cohead ON rahead_new_cohead_id=cohead_id WHERE cohead_id IS NOT NULL)\nAND coitem_price != 0\nAND cohead_orderdate BETWEEN '$param1'::date AND '$param2'::date\nAND reportpower.charass_value IS NOT NULL\nGROUP BY \"Product\"\nORDER BY \"Product\"", "textAlign": "LEFT", "textColor": "#231F20", - "topRow": 273, + "topRow": 346, "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", "type": "TEXT_WIDGET", "version": 1, diff --git a/pages/Sales - Units Shipped/widgets/Text2Copy1.json b/pages/Sales - Units Shipped/widgets/Text2Copy1.json index 3732787..94015dc 100644 --- a/pages/Sales - Units Shipped/widgets/Text2Copy1.json +++ b/pages/Sales - Units Shipped/widgets/Text2Copy1.json @@ -1,7 +1,7 @@ { "animateLoading": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 271, + "bottomRow": 344, "dynamicBindingPathList": [ { "key": "truncateButtonColor" @@ -30,8 +30,8 @@ "mobileRightColumn": 20, "mobileTopRow": 0, "needsErrorInfo": false, - "originalBottomRow": 336, - "originalTopRow": 332, + "originalBottomRow": 279, + "originalTopRow": 275, "overflow": "NONE", "parentColumnSpace": 11.265625, "parentId": "0", @@ -43,7 +43,7 @@ "text": "Units Ordered - By Series", "textAlign": "LEFT", "textColor": "#231F20", - "topRow": 267, + "topRow": 340, "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", "type": "TEXT_WIDGET", "version": 1, diff --git a/pages/Sales - Units Shipped/widgets/Text2CopyCopy.json b/pages/Sales - Units Shipped/widgets/Text2CopyCopy.json index 9e7e27b..f7ada49 100644 --- a/pages/Sales - Units Shipped/widgets/Text2CopyCopy.json +++ b/pages/Sales - Units Shipped/widgets/Text2CopyCopy.json @@ -1,7 +1,7 @@ { "animateLoading": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 217, + "bottomRow": 290, "dynamicBindingPathList": [ { "key": "truncateButtonColor" @@ -30,8 +30,8 @@ "mobileRightColumn": 20, "mobileTopRow": 0, "needsErrorInfo": false, - "originalBottomRow": 282, - "originalTopRow": 278, + "originalBottomRow": 225, + "originalTopRow": 221, "overflow": "NONE", "parentColumnSpace": 11.265625, "parentId": "0", @@ -43,7 +43,7 @@ "text": "Units Ordered - By Series", "textAlign": "LEFT", "textColor": "#231F20", - "topRow": 213, + "topRow": 286, "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", "type": "TEXT_WIDGET", "version": 1, diff --git a/pages/Sales - Units Shipped/widgets/Text3.json b/pages/Sales - Units Shipped/widgets/Text3.json index 9bedbbf..29eb849 100644 --- a/pages/Sales - Units Shipped/widgets/Text3.json +++ b/pages/Sales - Units Shipped/widgets/Text3.json @@ -1,7 +1,7 @@ { "animateLoading": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 284, + "bottomRow": 360, "dynamicBindingPathList": [ { "key": "truncateButtonColor" @@ -30,8 +30,8 @@ "mobileRightColumn": 55, "mobileTopRow": 107, "needsErrorInfo": false, - "originalBottomRow": 349, - "originalTopRow": 282, + "originalBottomRow": 295, + "originalTopRow": 225, "overflow": "NONE", "parentColumnSpace": 11.265625, "parentId": "0", @@ -43,7 +43,7 @@ "text": "SELECT \nCASE WHEN item_number IN ('16688','25020') THEN 'XR Series'\nWHEN item_number IN ('22351','24952') THEN 'SL Series'\nWHEN item_number IN ('17861','25021','29243','29752') THEN 'TS Series'\nWHEN item_number IN ('17862') THEN 'MS Series'\nWHEN item_number IN ('17863') THEN 'MT Series'\nWHEN item_number IN ('17873') THEN 'Harmonic Neutralizer'\n\nELSE 'None'\nEND AS \"Product\",\nreportpower.charass_value as \"Power Output\", reportinput.charass_value || ' ' || reportphases.charass_value AS \"Input\", ROUND(SUM(coitem_qtyord),0) as \"Qty Ordered\"\nFROM coitem LEFT OUTER JOIN cohead ON cohead_id=coitem_cohead_id\nLEFT OUTER JOIN itemsite ON coitem_itemsite_id = itemsite_id\nLEFT OUTER JOIN item ON item_id = itemsite_item_id\nLEFT OUTER JOIN charass AS reportpower ON \n(coitem_id = reportpower.charass_target_id \nAND reportpower.charass_target_type = 'SI'\nAND reportpower.charass_char_id = 25)\nLEFT OUTER JOIN charass AS reportinput ON \n(coitem_id = reportinput.charass_target_id \nAND reportinput.charass_target_type = 'SI'\nAND reportinput.charass_char_id = 36)\nLEFT OUTER JOIN charass AS reportphases ON \n(coitem_id = reportphases.charass_target_id \nAND reportphases.charass_target_type = 'SI'\nAND reportphases.charass_char_id = 18)\nWHERE item_number IN ('16688','17861','17862','17863','22351','25020','25144','25147','25021','24952','17873','29243','29752')\nAND (coitem_status <> 'X') \nAND cohead_id NOT IN(SELECT cohead_id from rahead LEFT OUTER JOIN cohead ON rahead_new_cohead_id=cohead_id WHERE cohead_id IS NOT NULL)\nAND coitem_price != 0\nAND cohead_orderdate BETWEEN '$param1'::date AND '$param2'::date\nAND reportpower.charass_value IS NOT NULL\nGROUP BY reportpower.charass_value, \"Product\", \"Input\"\nORDER BY \"Product\", reportpower.charass_value", "textAlign": "LEFT", "textColor": "#231F20", - "topRow": 217, + "topRow": 290, "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", "type": "TEXT_WIDGET", "version": 1, diff --git a/pages/Sales/Sales.json b/pages/Sales/Sales.json index 130d944..ca1faf3 100644 --- a/pages/Sales/Sales.json +++ b/pages/Sales/Sales.json @@ -6,7 +6,7 @@ { "dsl": { "backgroundColor": "none", - "bottomRow": 1080, + "bottomRow": 970, "canExtend": true, "containerStyle": "none", "detachFromLayout": true, diff --git a/pages/Sales/widgets/Heading.json b/pages/Sales/widgets/Heading.json index b9a3a99..c71dd73 100644 --- a/pages/Sales/widgets/Heading.json +++ b/pages/Sales/widgets/Heading.json @@ -1,7 +1,7 @@ { "animateLoading": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 7, + "bottomRow": 11, "dynamicBindingPathList": [ { "key": "truncateButtonColor" @@ -30,8 +30,8 @@ "mobileRightColumn": 17, "mobileTopRow": 1, "needsErrorInfo": false, - "originalBottomRow": 7, - "originalTopRow": 2, + "originalBottomRow": 11, + "originalTopRow": 3, "overflow": "NONE", "parentColumnSpace": 25.109375, "parentId": "0", @@ -43,7 +43,7 @@ "text": "Sales / Capacity Planning", "textAlign": "LEFT", "textColor": "#231F20", - "topRow": 2, + "topRow": 3, "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", "type": "TEXT_WIDGET", "version": 1, diff --git a/pages/Sales/widgets/Navigation.json b/pages/Sales/widgets/Navigation.json deleted file mode 100644 index 1dbad60..0000000 --- a/pages/Sales/widgets/Navigation.json +++ /dev/null @@ -1,93 +0,0 @@ -{ - "animateLoading": true, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 13, - "boxShadow": "none", - "buttonVariant": "PRIMARY", - "childStylesheet": { - "button": { - "buttonColor": "{{appsmith.theme.colors.primaryColor}}" - } - }, - "dynamicBindingPathList": [ - { - "key": "borderRadius" - }, - { - "key": "groupButtons.groupButton3.buttonColor" - } - ], - "dynamicTriggerPathList": [ - { - "key": "groupButtons.groupButton1.onClick" - }, - { - "key": "groupButtons.groupButton3.onClick" - } - ], - "groupButtons": { - "groupButton1": { - "buttonColor": "#d4d4d8", - "buttonType": "SIMPLE", - "disabledWhenInvalid": false, - "iconAlign": "right", - "id": "groupButton1", - "index": 0, - "isDisabled": false, - "isVisible": true, - "label": "Capacity Planning", - "menuItems": {}, - "onClick": "{{navigateTo('Sales', {}, 'SAME_WINDOW');}}", - "placement": "CENTER", - "widgetId": "" - }, - "groupButton3": { - "buttonColor": "{{appsmith.theme.colors.primaryColor}}", - "buttonType": "SIMPLE", - "disabledWhenInvalid": false, - "id": "groupButton3", - "index": 1, - "isDisabled": false, - "isVisible": true, - "label": "Units Shipped", - "menuItems": { - "menuItemr01yri5nag": { - "id": "menuItemr01yri5nag", - "index": 0, - "isDisabled": false, - "isVisible": true, - "label": "Menu Item", - "widgetId": "z3w4r50nta" - } - }, - "onClick": "{{navigateTo('Sales - Units Shipped', {}, 'SAME_WINDOW');}}", - "placement": "CENTER", - "widgetId": "" - } - }, - "isCanvas": false, - "isLoading": false, - "isVisible": true, - "key": "f10t84z5gq", - "leftColumn": 1, - "minWidth": 450, - "mobileBottomRow": 12, - "mobileLeftColumn": 1, - "mobileRightColumn": 25, - "mobileTopRow": 8, - "needsErrorInfo": false, - "orientation": "horizontal", - "originalBottomRow": 13, - "originalTopRow": 9, - "parentColumnSpace": 25.109375, - "parentId": "0", - "parentRowSpace": 10, - "renderMode": "CANVAS", - "responsiveBehavior": "fill", - "rightColumn": 25, - "topRow": 9, - "type": "BUTTON_GROUP_WIDGET", - "version": 1, - "widgetId": "6tlhfmvijp", - "widgetName": "Navigation" -} \ No newline at end of file diff --git a/pages/Sales/widgets/Table1.json b/pages/Sales/widgets/Table1.json index 4ae8ade..e856323 100644 --- a/pages/Sales/widgets/Table1.json +++ b/pages/Sales/widgets/Table1.json @@ -4,7 +4,7 @@ "borderColor": "#E0DEDE", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "borderWidth": "1", - "bottomRow": 99, + "bottomRow": 97, "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "cachedTableData": {}, "canFreezeColumn": true, @@ -97,8 +97,8 @@ "mobileRightColumn": 35, "mobileTopRow": 3, "needsErrorInfo": false, - "originalBottomRow": 99, - "originalTopRow": 15, + "originalBottomRow": 98, + "originalTopRow": 14, "parentColumnSpace": 11.265625, "parentId": "0", "parentRowSpace": 10, @@ -234,7 +234,7 @@ "searchKey": "", "tableData": "{{capacity_display_all.data}}", "textSize": "0.875rem", - "topRow": 15, + "topRow": 13, "totalRecordsCount": 0, "type": "TABLE_WIDGET_V2", "version": 2, From b8befc428ee45ba7a4ec77ce6e6dde94bededf19 Mon Sep 17 00:00:00 2001 From: ivarsbariss Date: Tue, 27 Jan 2026 12:22:09 +0100 Subject: [PATCH 05/71] Test sub-navigation items --- application.json | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/application.json b/application.json index d5a0dff..e4ee74a 100644 --- a/application.json +++ b/application.json @@ -31,16 +31,22 @@ "isDefault": true }, { - "id": "Sales", - "isDefault": false - }, - { - "id": "Sales - Capacity Planning", - "isDefault": false - }, - { - "id": "Sales - Units Shipped", - "isDefault": false + "type": "folder", + "name": "Sales", + "pages": [ + { + "id": "Sales", + "isDefault": false + }, + { + "id": "Sales - Capacity Planning", + "isDefault": false + }, + { + "id": "Sales - Units Shipped", + "isDefault": false + } + ] }, { "id": "Marketing", From 9356e6893f534a0fce97ce3f67107bcb3aea9e80 Mon Sep 17 00:00:00 2001 From: ivarsbariss Date: Tue, 27 Jan 2026 12:30:53 +0100 Subject: [PATCH 06/71] Separate navigation as the global navigation --- application.json | 26 ++-- pages/Home/widgets/Navigation.json | 133 ++++++++++++++++++ pages/Marketing/widgets/Navigation.json | 133 ++++++++++++++++++ .../widgets/Navigation.json | 133 ++++++++++++++++++ .../widgets/Navigation.json | 133 ++++++++++++++++++ pages/Sales/widgets/Navigation.json | 133 ++++++++++++++++++ 6 files changed, 675 insertions(+), 16 deletions(-) create mode 100644 pages/Home/widgets/Navigation.json create mode 100644 pages/Marketing/widgets/Navigation.json create mode 100644 pages/Sales - Capacity Planning/widgets/Navigation.json create mode 100644 pages/Sales - Units Shipped/widgets/Navigation.json create mode 100644 pages/Sales/widgets/Navigation.json diff --git a/application.json b/application.json index e4ee74a..d5a0dff 100644 --- a/application.json +++ b/application.json @@ -31,22 +31,16 @@ "isDefault": true }, { - "type": "folder", - "name": "Sales", - "pages": [ - { - "id": "Sales", - "isDefault": false - }, - { - "id": "Sales - Capacity Planning", - "isDefault": false - }, - { - "id": "Sales - Units Shipped", - "isDefault": false - } - ] + "id": "Sales", + "isDefault": false + }, + { + "id": "Sales - Capacity Planning", + "isDefault": false + }, + { + "id": "Sales - Units Shipped", + "isDefault": false }, { "id": "Marketing", diff --git a/pages/Home/widgets/Navigation.json b/pages/Home/widgets/Navigation.json new file mode 100644 index 0000000..9d61f73 --- /dev/null +++ b/pages/Home/widgets/Navigation.json @@ -0,0 +1,133 @@ +{ + "animateLoading": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "bottomRow": 5, + "boxShadow": "none", + "buttonVariant": "TERTIARY", + "childStylesheet": { + "button": { + "buttonColor": "{{appsmith.theme.colors.primaryColor}}" + } + }, + "dynamicBindingPathList": [ + { + "key": "borderRadius" + } + ], + "dynamicTriggerPathList": [ + { + "key": "groupButtons.homeBtn.onClick" + }, + { + "key": "groupButtons.salesMenu.menuItems.salesOverview.onClick" + }, + { + "key": "groupButtons.salesMenu.menuItems.capacityPlanning.onClick" + }, + { + "key": "groupButtons.salesMenu.menuItems.unitsShipped.onClick" + }, + { + "key": "groupButtons.marketingBtn.onClick" + } + ], + "flexVerticalAlignment": "start", + "groupButtons": { + "homeBtn": { + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonType": "SIMPLE", + "iconName": "home", + "id": "homeBtn", + "index": 0, + "isDisabled": false, + "isVisible": true, + "label": "Home", + "menuItems": {}, + "onClick": "{{navigateTo('Home', {}, 'SAME_WINDOW')}}" + }, + "salesMenu": { + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonType": "MENU", + "iconName": "trending-up", + "id": "salesMenu", + "index": 1, + "isDisabled": false, + "isVisible": true, + "label": "Sales", + "menuItems": { + "salesOverview": { + "backgroundColor": "#FFFFFF", + "iconAlign": "left", + "iconColor": "#040627", + "iconName": "dashboard", + "id": "salesOverview", + "index": 0, + "isDisabled": false, + "isVisible": true, + "label": "Overview", + "onClick": "{{navigateTo('Sales', {}, 'SAME_WINDOW')}}", + "textColor": "#040627" + }, + "capacityPlanning": { + "backgroundColor": "#FFFFFF", + "iconAlign": "left", + "iconColor": "#040627", + "iconName": "calendar", + "id": "capacityPlanning", + "index": 1, + "isDisabled": false, + "isVisible": true, + "label": "Capacity Planning", + "onClick": "{{navigateTo('Sales - Capacity Planning', {}, 'SAME_WINDOW')}}", + "textColor": "#040627" + }, + "unitsShipped": { + "backgroundColor": "#FFFFFF", + "iconAlign": "left", + "iconColor": "#040627", + "iconName": "box", + "id": "unitsShipped", + "index": 2, + "isDisabled": false, + "isVisible": true, + "label": "Units Shipped", + "onClick": "{{navigateTo('Sales - Units Shipped', {}, 'SAME_WINDOW')}}", + "textColor": "#040627" + } + } + }, + "marketingBtn": { + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonType": "SIMPLE", + "iconName": "megaphone", + "id": "marketingBtn", + "index": 2, + "isDisabled": false, + "isVisible": true, + "label": "Marketing", + "menuItems": {}, + "onClick": "{{navigateTo('Marketing', {}, 'SAME_WINDOW')}}" + } + }, + "isLoading": false, + "isVisible": true, + "key": "nav1btngrp", + "leftColumn": 0, + "minWidth": 450, + "mobileBottomRow": 5, + "mobileLeftColumn": 0, + "mobileRightColumn": 64, + "mobileTopRow": 0, + "orientation": "horizontal", + "parentColumnSpace": 25.109375, + "parentId": "0", + "parentRowSpace": 10, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 64, + "topRow": 0, + "type": "BUTTON_GROUP_WIDGET", + "version": 1, + "widgetId": "nav1btngrp001", + "widgetName": "Navigation" +} diff --git a/pages/Marketing/widgets/Navigation.json b/pages/Marketing/widgets/Navigation.json new file mode 100644 index 0000000..4d13b76 --- /dev/null +++ b/pages/Marketing/widgets/Navigation.json @@ -0,0 +1,133 @@ +{ + "animateLoading": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "bottomRow": 5, + "boxShadow": "none", + "buttonVariant": "TERTIARY", + "childStylesheet": { + "button": { + "buttonColor": "{{appsmith.theme.colors.primaryColor}}" + } + }, + "dynamicBindingPathList": [ + { + "key": "borderRadius" + } + ], + "dynamicTriggerPathList": [ + { + "key": "groupButtons.homeBtn.onClick" + }, + { + "key": "groupButtons.salesMenu.menuItems.salesOverview.onClick" + }, + { + "key": "groupButtons.salesMenu.menuItems.capacityPlanning.onClick" + }, + { + "key": "groupButtons.salesMenu.menuItems.unitsShipped.onClick" + }, + { + "key": "groupButtons.marketingBtn.onClick" + } + ], + "flexVerticalAlignment": "start", + "groupButtons": { + "homeBtn": { + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonType": "SIMPLE", + "iconName": "home", + "id": "homeBtn", + "index": 0, + "isDisabled": false, + "isVisible": true, + "label": "Home", + "menuItems": {}, + "onClick": "{{navigateTo('Home', {}, 'SAME_WINDOW')}}" + }, + "salesMenu": { + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonType": "MENU", + "iconName": "trending-up", + "id": "salesMenu", + "index": 1, + "isDisabled": false, + "isVisible": true, + "label": "Sales", + "menuItems": { + "salesOverview": { + "backgroundColor": "#FFFFFF", + "iconAlign": "left", + "iconColor": "#040627", + "iconName": "dashboard", + "id": "salesOverview", + "index": 0, + "isDisabled": false, + "isVisible": true, + "label": "Overview", + "onClick": "{{navigateTo('Sales', {}, 'SAME_WINDOW')}}", + "textColor": "#040627" + }, + "capacityPlanning": { + "backgroundColor": "#FFFFFF", + "iconAlign": "left", + "iconColor": "#040627", + "iconName": "calendar", + "id": "capacityPlanning", + "index": 1, + "isDisabled": false, + "isVisible": true, + "label": "Capacity Planning", + "onClick": "{{navigateTo('Sales - Capacity Planning', {}, 'SAME_WINDOW')}}", + "textColor": "#040627" + }, + "unitsShipped": { + "backgroundColor": "#FFFFFF", + "iconAlign": "left", + "iconColor": "#040627", + "iconName": "box", + "id": "unitsShipped", + "index": 2, + "isDisabled": false, + "isVisible": true, + "label": "Units Shipped", + "onClick": "{{navigateTo('Sales - Units Shipped', {}, 'SAME_WINDOW')}}", + "textColor": "#040627" + } + } + }, + "marketingBtn": { + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonType": "SIMPLE", + "iconName": "megaphone", + "id": "marketingBtn", + "index": 2, + "isDisabled": false, + "isVisible": true, + "label": "Marketing", + "menuItems": {}, + "onClick": "{{navigateTo('Marketing', {}, 'SAME_WINDOW')}}" + } + }, + "isLoading": false, + "isVisible": true, + "key": "nav5btngrp", + "leftColumn": 0, + "minWidth": 450, + "mobileBottomRow": 5, + "mobileLeftColumn": 0, + "mobileRightColumn": 64, + "mobileTopRow": 0, + "orientation": "horizontal", + "parentColumnSpace": 25.109375, + "parentId": "0", + "parentRowSpace": 10, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 64, + "topRow": 0, + "type": "BUTTON_GROUP_WIDGET", + "version": 1, + "widgetId": "nav5btngrp005", + "widgetName": "Navigation" +} diff --git a/pages/Sales - Capacity Planning/widgets/Navigation.json b/pages/Sales - Capacity Planning/widgets/Navigation.json new file mode 100644 index 0000000..da99c00 --- /dev/null +++ b/pages/Sales - Capacity Planning/widgets/Navigation.json @@ -0,0 +1,133 @@ +{ + "animateLoading": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "bottomRow": 5, + "boxShadow": "none", + "buttonVariant": "TERTIARY", + "childStylesheet": { + "button": { + "buttonColor": "{{appsmith.theme.colors.primaryColor}}" + } + }, + "dynamicBindingPathList": [ + { + "key": "borderRadius" + } + ], + "dynamicTriggerPathList": [ + { + "key": "groupButtons.homeBtn.onClick" + }, + { + "key": "groupButtons.salesMenu.menuItems.salesOverview.onClick" + }, + { + "key": "groupButtons.salesMenu.menuItems.capacityPlanning.onClick" + }, + { + "key": "groupButtons.salesMenu.menuItems.unitsShipped.onClick" + }, + { + "key": "groupButtons.marketingBtn.onClick" + } + ], + "flexVerticalAlignment": "start", + "groupButtons": { + "homeBtn": { + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonType": "SIMPLE", + "iconName": "home", + "id": "homeBtn", + "index": 0, + "isDisabled": false, + "isVisible": true, + "label": "Home", + "menuItems": {}, + "onClick": "{{navigateTo('Home', {}, 'SAME_WINDOW')}}" + }, + "salesMenu": { + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonType": "MENU", + "iconName": "trending-up", + "id": "salesMenu", + "index": 1, + "isDisabled": false, + "isVisible": true, + "label": "Sales", + "menuItems": { + "salesOverview": { + "backgroundColor": "#FFFFFF", + "iconAlign": "left", + "iconColor": "#040627", + "iconName": "dashboard", + "id": "salesOverview", + "index": 0, + "isDisabled": false, + "isVisible": true, + "label": "Overview", + "onClick": "{{navigateTo('Sales', {}, 'SAME_WINDOW')}}", + "textColor": "#040627" + }, + "capacityPlanning": { + "backgroundColor": "#FFFFFF", + "iconAlign": "left", + "iconColor": "#040627", + "iconName": "calendar", + "id": "capacityPlanning", + "index": 1, + "isDisabled": false, + "isVisible": true, + "label": "Capacity Planning", + "onClick": "{{navigateTo('Sales - Capacity Planning', {}, 'SAME_WINDOW')}}", + "textColor": "#040627" + }, + "unitsShipped": { + "backgroundColor": "#FFFFFF", + "iconAlign": "left", + "iconColor": "#040627", + "iconName": "box", + "id": "unitsShipped", + "index": 2, + "isDisabled": false, + "isVisible": true, + "label": "Units Shipped", + "onClick": "{{navigateTo('Sales - Units Shipped', {}, 'SAME_WINDOW')}}", + "textColor": "#040627" + } + } + }, + "marketingBtn": { + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonType": "SIMPLE", + "iconName": "megaphone", + "id": "marketingBtn", + "index": 2, + "isDisabled": false, + "isVisible": true, + "label": "Marketing", + "menuItems": {}, + "onClick": "{{navigateTo('Marketing', {}, 'SAME_WINDOW')}}" + } + }, + "isLoading": false, + "isVisible": true, + "key": "nav3btngrp", + "leftColumn": 0, + "minWidth": 450, + "mobileBottomRow": 5, + "mobileLeftColumn": 0, + "mobileRightColumn": 64, + "mobileTopRow": 0, + "orientation": "horizontal", + "parentColumnSpace": 25.109375, + "parentId": "0", + "parentRowSpace": 10, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 64, + "topRow": 0, + "type": "BUTTON_GROUP_WIDGET", + "version": 1, + "widgetId": "nav3btngrp003", + "widgetName": "Navigation" +} diff --git a/pages/Sales - Units Shipped/widgets/Navigation.json b/pages/Sales - Units Shipped/widgets/Navigation.json new file mode 100644 index 0000000..f8241a2 --- /dev/null +++ b/pages/Sales - Units Shipped/widgets/Navigation.json @@ -0,0 +1,133 @@ +{ + "animateLoading": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "bottomRow": 5, + "boxShadow": "none", + "buttonVariant": "TERTIARY", + "childStylesheet": { + "button": { + "buttonColor": "{{appsmith.theme.colors.primaryColor}}" + } + }, + "dynamicBindingPathList": [ + { + "key": "borderRadius" + } + ], + "dynamicTriggerPathList": [ + { + "key": "groupButtons.homeBtn.onClick" + }, + { + "key": "groupButtons.salesMenu.menuItems.salesOverview.onClick" + }, + { + "key": "groupButtons.salesMenu.menuItems.capacityPlanning.onClick" + }, + { + "key": "groupButtons.salesMenu.menuItems.unitsShipped.onClick" + }, + { + "key": "groupButtons.marketingBtn.onClick" + } + ], + "flexVerticalAlignment": "start", + "groupButtons": { + "homeBtn": { + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonType": "SIMPLE", + "iconName": "home", + "id": "homeBtn", + "index": 0, + "isDisabled": false, + "isVisible": true, + "label": "Home", + "menuItems": {}, + "onClick": "{{navigateTo('Home', {}, 'SAME_WINDOW')}}" + }, + "salesMenu": { + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonType": "MENU", + "iconName": "trending-up", + "id": "salesMenu", + "index": 1, + "isDisabled": false, + "isVisible": true, + "label": "Sales", + "menuItems": { + "salesOverview": { + "backgroundColor": "#FFFFFF", + "iconAlign": "left", + "iconColor": "#040627", + "iconName": "dashboard", + "id": "salesOverview", + "index": 0, + "isDisabled": false, + "isVisible": true, + "label": "Overview", + "onClick": "{{navigateTo('Sales', {}, 'SAME_WINDOW')}}", + "textColor": "#040627" + }, + "capacityPlanning": { + "backgroundColor": "#FFFFFF", + "iconAlign": "left", + "iconColor": "#040627", + "iconName": "calendar", + "id": "capacityPlanning", + "index": 1, + "isDisabled": false, + "isVisible": true, + "label": "Capacity Planning", + "onClick": "{{navigateTo('Sales - Capacity Planning', {}, 'SAME_WINDOW')}}", + "textColor": "#040627" + }, + "unitsShipped": { + "backgroundColor": "#FFFFFF", + "iconAlign": "left", + "iconColor": "#040627", + "iconName": "box", + "id": "unitsShipped", + "index": 2, + "isDisabled": false, + "isVisible": true, + "label": "Units Shipped", + "onClick": "{{navigateTo('Sales - Units Shipped', {}, 'SAME_WINDOW')}}", + "textColor": "#040627" + } + } + }, + "marketingBtn": { + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonType": "SIMPLE", + "iconName": "megaphone", + "id": "marketingBtn", + "index": 2, + "isDisabled": false, + "isVisible": true, + "label": "Marketing", + "menuItems": {}, + "onClick": "{{navigateTo('Marketing', {}, 'SAME_WINDOW')}}" + } + }, + "isLoading": false, + "isVisible": true, + "key": "nav4btngrp", + "leftColumn": 0, + "minWidth": 450, + "mobileBottomRow": 5, + "mobileLeftColumn": 0, + "mobileRightColumn": 64, + "mobileTopRow": 0, + "orientation": "horizontal", + "parentColumnSpace": 25.109375, + "parentId": "0", + "parentRowSpace": 10, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 64, + "topRow": 0, + "type": "BUTTON_GROUP_WIDGET", + "version": 1, + "widgetId": "nav4btngrp004", + "widgetName": "Navigation" +} diff --git a/pages/Sales/widgets/Navigation.json b/pages/Sales/widgets/Navigation.json new file mode 100644 index 0000000..e2f892d --- /dev/null +++ b/pages/Sales/widgets/Navigation.json @@ -0,0 +1,133 @@ +{ + "animateLoading": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "bottomRow": 5, + "boxShadow": "none", + "buttonVariant": "TERTIARY", + "childStylesheet": { + "button": { + "buttonColor": "{{appsmith.theme.colors.primaryColor}}" + } + }, + "dynamicBindingPathList": [ + { + "key": "borderRadius" + } + ], + "dynamicTriggerPathList": [ + { + "key": "groupButtons.homeBtn.onClick" + }, + { + "key": "groupButtons.salesMenu.menuItems.salesOverview.onClick" + }, + { + "key": "groupButtons.salesMenu.menuItems.capacityPlanning.onClick" + }, + { + "key": "groupButtons.salesMenu.menuItems.unitsShipped.onClick" + }, + { + "key": "groupButtons.marketingBtn.onClick" + } + ], + "flexVerticalAlignment": "start", + "groupButtons": { + "homeBtn": { + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonType": "SIMPLE", + "iconName": "home", + "id": "homeBtn", + "index": 0, + "isDisabled": false, + "isVisible": true, + "label": "Home", + "menuItems": {}, + "onClick": "{{navigateTo('Home', {}, 'SAME_WINDOW')}}" + }, + "salesMenu": { + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonType": "MENU", + "iconName": "trending-up", + "id": "salesMenu", + "index": 1, + "isDisabled": false, + "isVisible": true, + "label": "Sales", + "menuItems": { + "salesOverview": { + "backgroundColor": "#FFFFFF", + "iconAlign": "left", + "iconColor": "#040627", + "iconName": "dashboard", + "id": "salesOverview", + "index": 0, + "isDisabled": false, + "isVisible": true, + "label": "Overview", + "onClick": "{{navigateTo('Sales', {}, 'SAME_WINDOW')}}", + "textColor": "#040627" + }, + "capacityPlanning": { + "backgroundColor": "#FFFFFF", + "iconAlign": "left", + "iconColor": "#040627", + "iconName": "calendar", + "id": "capacityPlanning", + "index": 1, + "isDisabled": false, + "isVisible": true, + "label": "Capacity Planning", + "onClick": "{{navigateTo('Sales - Capacity Planning', {}, 'SAME_WINDOW')}}", + "textColor": "#040627" + }, + "unitsShipped": { + "backgroundColor": "#FFFFFF", + "iconAlign": "left", + "iconColor": "#040627", + "iconName": "box", + "id": "unitsShipped", + "index": 2, + "isDisabled": false, + "isVisible": true, + "label": "Units Shipped", + "onClick": "{{navigateTo('Sales - Units Shipped', {}, 'SAME_WINDOW')}}", + "textColor": "#040627" + } + } + }, + "marketingBtn": { + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonType": "SIMPLE", + "iconName": "megaphone", + "id": "marketingBtn", + "index": 2, + "isDisabled": false, + "isVisible": true, + "label": "Marketing", + "menuItems": {}, + "onClick": "{{navigateTo('Marketing', {}, 'SAME_WINDOW')}}" + } + }, + "isLoading": false, + "isVisible": true, + "key": "nav2btngrp", + "leftColumn": 0, + "minWidth": 450, + "mobileBottomRow": 5, + "mobileLeftColumn": 0, + "mobileRightColumn": 64, + "mobileTopRow": 0, + "orientation": "horizontal", + "parentColumnSpace": 25.109375, + "parentId": "0", + "parentRowSpace": 10, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 64, + "topRow": 0, + "type": "BUTTON_GROUP_WIDGET", + "version": 1, + "widgetId": "nav2btngrp002", + "widgetName": "Navigation" +} From 2958b129ce04871826c32597f72db8dc6abd4fd0 Mon Sep 17 00:00:00 2001 From: ivarsbariss Date: Tue, 27 Jan 2026 12:38:48 +0100 Subject: [PATCH 07/71] Separate navigation as the global navigation --- pages/Home/widgets/Navigation.json | 32 +++++++++---------- pages/Marketing/widgets/Navigation.json | 32 +++++++++---------- .../widgets/Navigation.json | 32 +++++++++---------- .../widgets/Navigation.json | 32 +++++++++---------- pages/Sales/widgets/Navigation.json | 32 +++++++++---------- 5 files changed, 80 insertions(+), 80 deletions(-) diff --git a/pages/Home/widgets/Navigation.json b/pages/Home/widgets/Navigation.json index 9d61f73..801e327 100644 --- a/pages/Home/widgets/Navigation.json +++ b/pages/Home/widgets/Navigation.json @@ -1,12 +1,12 @@ { "animateLoading": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 5, + "bottomRow": 7, "boxShadow": "none", - "buttonVariant": "TERTIARY", + "buttonVariant": "PRIMARY", "childStylesheet": { "button": { - "buttonColor": "{{appsmith.theme.colors.primaryColor}}" + "buttonColor": "#020618" } }, "dynamicBindingPathList": [ @@ -34,7 +34,7 @@ "flexVerticalAlignment": "start", "groupButtons": { "homeBtn": { - "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonColor": "#020618", "buttonType": "SIMPLE", "iconName": "home", "id": "homeBtn", @@ -46,7 +46,7 @@ "onClick": "{{navigateTo('Home', {}, 'SAME_WINDOW')}}" }, "salesMenu": { - "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonColor": "#020618", "buttonType": "MENU", "iconName": "trending-up", "id": "salesMenu", @@ -56,9 +56,9 @@ "label": "Sales", "menuItems": { "salesOverview": { - "backgroundColor": "#FFFFFF", + "backgroundColor": "#020618", "iconAlign": "left", - "iconColor": "#040627", + "iconColor": "#FFFFFF", "iconName": "dashboard", "id": "salesOverview", "index": 0, @@ -66,12 +66,12 @@ "isVisible": true, "label": "Overview", "onClick": "{{navigateTo('Sales', {}, 'SAME_WINDOW')}}", - "textColor": "#040627" + "textColor": "#FFFFFF" }, "capacityPlanning": { - "backgroundColor": "#FFFFFF", + "backgroundColor": "#020618", "iconAlign": "left", - "iconColor": "#040627", + "iconColor": "#FFFFFF", "iconName": "calendar", "id": "capacityPlanning", "index": 1, @@ -79,12 +79,12 @@ "isVisible": true, "label": "Capacity Planning", "onClick": "{{navigateTo('Sales - Capacity Planning', {}, 'SAME_WINDOW')}}", - "textColor": "#040627" + "textColor": "#FFFFFF" }, "unitsShipped": { - "backgroundColor": "#FFFFFF", + "backgroundColor": "#020618", "iconAlign": "left", - "iconColor": "#040627", + "iconColor": "#FFFFFF", "iconName": "box", "id": "unitsShipped", "index": 2, @@ -92,12 +92,12 @@ "isVisible": true, "label": "Units Shipped", "onClick": "{{navigateTo('Sales - Units Shipped', {}, 'SAME_WINDOW')}}", - "textColor": "#040627" + "textColor": "#FFFFFF" } } }, "marketingBtn": { - "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonColor": "#020618", "buttonType": "SIMPLE", "iconName": "megaphone", "id": "marketingBtn", @@ -114,7 +114,7 @@ "key": "nav1btngrp", "leftColumn": 0, "minWidth": 450, - "mobileBottomRow": 5, + "mobileBottomRow": 7, "mobileLeftColumn": 0, "mobileRightColumn": 64, "mobileTopRow": 0, diff --git a/pages/Marketing/widgets/Navigation.json b/pages/Marketing/widgets/Navigation.json index 4d13b76..1431c10 100644 --- a/pages/Marketing/widgets/Navigation.json +++ b/pages/Marketing/widgets/Navigation.json @@ -1,12 +1,12 @@ { "animateLoading": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 5, + "bottomRow": 7, "boxShadow": "none", - "buttonVariant": "TERTIARY", + "buttonVariant": "PRIMARY", "childStylesheet": { "button": { - "buttonColor": "{{appsmith.theme.colors.primaryColor}}" + "buttonColor": "#020618" } }, "dynamicBindingPathList": [ @@ -34,7 +34,7 @@ "flexVerticalAlignment": "start", "groupButtons": { "homeBtn": { - "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonColor": "#020618", "buttonType": "SIMPLE", "iconName": "home", "id": "homeBtn", @@ -46,7 +46,7 @@ "onClick": "{{navigateTo('Home', {}, 'SAME_WINDOW')}}" }, "salesMenu": { - "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonColor": "#020618", "buttonType": "MENU", "iconName": "trending-up", "id": "salesMenu", @@ -56,9 +56,9 @@ "label": "Sales", "menuItems": { "salesOverview": { - "backgroundColor": "#FFFFFF", + "backgroundColor": "#020618", "iconAlign": "left", - "iconColor": "#040627", + "iconColor": "#FFFFFF", "iconName": "dashboard", "id": "salesOverview", "index": 0, @@ -66,12 +66,12 @@ "isVisible": true, "label": "Overview", "onClick": "{{navigateTo('Sales', {}, 'SAME_WINDOW')}}", - "textColor": "#040627" + "textColor": "#FFFFFF" }, "capacityPlanning": { - "backgroundColor": "#FFFFFF", + "backgroundColor": "#020618", "iconAlign": "left", - "iconColor": "#040627", + "iconColor": "#FFFFFF", "iconName": "calendar", "id": "capacityPlanning", "index": 1, @@ -79,12 +79,12 @@ "isVisible": true, "label": "Capacity Planning", "onClick": "{{navigateTo('Sales - Capacity Planning', {}, 'SAME_WINDOW')}}", - "textColor": "#040627" + "textColor": "#FFFFFF" }, "unitsShipped": { - "backgroundColor": "#FFFFFF", + "backgroundColor": "#020618", "iconAlign": "left", - "iconColor": "#040627", + "iconColor": "#FFFFFF", "iconName": "box", "id": "unitsShipped", "index": 2, @@ -92,12 +92,12 @@ "isVisible": true, "label": "Units Shipped", "onClick": "{{navigateTo('Sales - Units Shipped', {}, 'SAME_WINDOW')}}", - "textColor": "#040627" + "textColor": "#FFFFFF" } } }, "marketingBtn": { - "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonColor": "#020618", "buttonType": "SIMPLE", "iconName": "megaphone", "id": "marketingBtn", @@ -114,7 +114,7 @@ "key": "nav5btngrp", "leftColumn": 0, "minWidth": 450, - "mobileBottomRow": 5, + "mobileBottomRow": 7, "mobileLeftColumn": 0, "mobileRightColumn": 64, "mobileTopRow": 0, diff --git a/pages/Sales - Capacity Planning/widgets/Navigation.json b/pages/Sales - Capacity Planning/widgets/Navigation.json index da99c00..713eda9 100644 --- a/pages/Sales - Capacity Planning/widgets/Navigation.json +++ b/pages/Sales - Capacity Planning/widgets/Navigation.json @@ -1,12 +1,12 @@ { "animateLoading": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 5, + "bottomRow": 7, "boxShadow": "none", - "buttonVariant": "TERTIARY", + "buttonVariant": "PRIMARY", "childStylesheet": { "button": { - "buttonColor": "{{appsmith.theme.colors.primaryColor}}" + "buttonColor": "#020618" } }, "dynamicBindingPathList": [ @@ -34,7 +34,7 @@ "flexVerticalAlignment": "start", "groupButtons": { "homeBtn": { - "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonColor": "#020618", "buttonType": "SIMPLE", "iconName": "home", "id": "homeBtn", @@ -46,7 +46,7 @@ "onClick": "{{navigateTo('Home', {}, 'SAME_WINDOW')}}" }, "salesMenu": { - "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonColor": "#020618", "buttonType": "MENU", "iconName": "trending-up", "id": "salesMenu", @@ -56,9 +56,9 @@ "label": "Sales", "menuItems": { "salesOverview": { - "backgroundColor": "#FFFFFF", + "backgroundColor": "#020618", "iconAlign": "left", - "iconColor": "#040627", + "iconColor": "#FFFFFF", "iconName": "dashboard", "id": "salesOverview", "index": 0, @@ -66,12 +66,12 @@ "isVisible": true, "label": "Overview", "onClick": "{{navigateTo('Sales', {}, 'SAME_WINDOW')}}", - "textColor": "#040627" + "textColor": "#FFFFFF" }, "capacityPlanning": { - "backgroundColor": "#FFFFFF", + "backgroundColor": "#020618", "iconAlign": "left", - "iconColor": "#040627", + "iconColor": "#FFFFFF", "iconName": "calendar", "id": "capacityPlanning", "index": 1, @@ -79,12 +79,12 @@ "isVisible": true, "label": "Capacity Planning", "onClick": "{{navigateTo('Sales - Capacity Planning', {}, 'SAME_WINDOW')}}", - "textColor": "#040627" + "textColor": "#FFFFFF" }, "unitsShipped": { - "backgroundColor": "#FFFFFF", + "backgroundColor": "#020618", "iconAlign": "left", - "iconColor": "#040627", + "iconColor": "#FFFFFF", "iconName": "box", "id": "unitsShipped", "index": 2, @@ -92,12 +92,12 @@ "isVisible": true, "label": "Units Shipped", "onClick": "{{navigateTo('Sales - Units Shipped', {}, 'SAME_WINDOW')}}", - "textColor": "#040627" + "textColor": "#FFFFFF" } } }, "marketingBtn": { - "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonColor": "#020618", "buttonType": "SIMPLE", "iconName": "megaphone", "id": "marketingBtn", @@ -114,7 +114,7 @@ "key": "nav3btngrp", "leftColumn": 0, "minWidth": 450, - "mobileBottomRow": 5, + "mobileBottomRow": 7, "mobileLeftColumn": 0, "mobileRightColumn": 64, "mobileTopRow": 0, diff --git a/pages/Sales - Units Shipped/widgets/Navigation.json b/pages/Sales - Units Shipped/widgets/Navigation.json index f8241a2..60849aa 100644 --- a/pages/Sales - Units Shipped/widgets/Navigation.json +++ b/pages/Sales - Units Shipped/widgets/Navigation.json @@ -1,12 +1,12 @@ { "animateLoading": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 5, + "bottomRow": 7, "boxShadow": "none", - "buttonVariant": "TERTIARY", + "buttonVariant": "PRIMARY", "childStylesheet": { "button": { - "buttonColor": "{{appsmith.theme.colors.primaryColor}}" + "buttonColor": "#020618" } }, "dynamicBindingPathList": [ @@ -34,7 +34,7 @@ "flexVerticalAlignment": "start", "groupButtons": { "homeBtn": { - "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonColor": "#020618", "buttonType": "SIMPLE", "iconName": "home", "id": "homeBtn", @@ -46,7 +46,7 @@ "onClick": "{{navigateTo('Home', {}, 'SAME_WINDOW')}}" }, "salesMenu": { - "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonColor": "#020618", "buttonType": "MENU", "iconName": "trending-up", "id": "salesMenu", @@ -56,9 +56,9 @@ "label": "Sales", "menuItems": { "salesOverview": { - "backgroundColor": "#FFFFFF", + "backgroundColor": "#020618", "iconAlign": "left", - "iconColor": "#040627", + "iconColor": "#FFFFFF", "iconName": "dashboard", "id": "salesOverview", "index": 0, @@ -66,12 +66,12 @@ "isVisible": true, "label": "Overview", "onClick": "{{navigateTo('Sales', {}, 'SAME_WINDOW')}}", - "textColor": "#040627" + "textColor": "#FFFFFF" }, "capacityPlanning": { - "backgroundColor": "#FFFFFF", + "backgroundColor": "#020618", "iconAlign": "left", - "iconColor": "#040627", + "iconColor": "#FFFFFF", "iconName": "calendar", "id": "capacityPlanning", "index": 1, @@ -79,12 +79,12 @@ "isVisible": true, "label": "Capacity Planning", "onClick": "{{navigateTo('Sales - Capacity Planning', {}, 'SAME_WINDOW')}}", - "textColor": "#040627" + "textColor": "#FFFFFF" }, "unitsShipped": { - "backgroundColor": "#FFFFFF", + "backgroundColor": "#020618", "iconAlign": "left", - "iconColor": "#040627", + "iconColor": "#FFFFFF", "iconName": "box", "id": "unitsShipped", "index": 2, @@ -92,12 +92,12 @@ "isVisible": true, "label": "Units Shipped", "onClick": "{{navigateTo('Sales - Units Shipped', {}, 'SAME_WINDOW')}}", - "textColor": "#040627" + "textColor": "#FFFFFF" } } }, "marketingBtn": { - "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonColor": "#020618", "buttonType": "SIMPLE", "iconName": "megaphone", "id": "marketingBtn", @@ -114,7 +114,7 @@ "key": "nav4btngrp", "leftColumn": 0, "minWidth": 450, - "mobileBottomRow": 5, + "mobileBottomRow": 7, "mobileLeftColumn": 0, "mobileRightColumn": 64, "mobileTopRow": 0, diff --git a/pages/Sales/widgets/Navigation.json b/pages/Sales/widgets/Navigation.json index e2f892d..5efe8f0 100644 --- a/pages/Sales/widgets/Navigation.json +++ b/pages/Sales/widgets/Navigation.json @@ -1,12 +1,12 @@ { "animateLoading": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 5, + "bottomRow": 7, "boxShadow": "none", - "buttonVariant": "TERTIARY", + "buttonVariant": "PRIMARY", "childStylesheet": { "button": { - "buttonColor": "{{appsmith.theme.colors.primaryColor}}" + "buttonColor": "#020618" } }, "dynamicBindingPathList": [ @@ -34,7 +34,7 @@ "flexVerticalAlignment": "start", "groupButtons": { "homeBtn": { - "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonColor": "#020618", "buttonType": "SIMPLE", "iconName": "home", "id": "homeBtn", @@ -46,7 +46,7 @@ "onClick": "{{navigateTo('Home', {}, 'SAME_WINDOW')}}" }, "salesMenu": { - "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonColor": "#020618", "buttonType": "MENU", "iconName": "trending-up", "id": "salesMenu", @@ -56,9 +56,9 @@ "label": "Sales", "menuItems": { "salesOverview": { - "backgroundColor": "#FFFFFF", + "backgroundColor": "#020618", "iconAlign": "left", - "iconColor": "#040627", + "iconColor": "#FFFFFF", "iconName": "dashboard", "id": "salesOverview", "index": 0, @@ -66,12 +66,12 @@ "isVisible": true, "label": "Overview", "onClick": "{{navigateTo('Sales', {}, 'SAME_WINDOW')}}", - "textColor": "#040627" + "textColor": "#FFFFFF" }, "capacityPlanning": { - "backgroundColor": "#FFFFFF", + "backgroundColor": "#020618", "iconAlign": "left", - "iconColor": "#040627", + "iconColor": "#FFFFFF", "iconName": "calendar", "id": "capacityPlanning", "index": 1, @@ -79,12 +79,12 @@ "isVisible": true, "label": "Capacity Planning", "onClick": "{{navigateTo('Sales - Capacity Planning', {}, 'SAME_WINDOW')}}", - "textColor": "#040627" + "textColor": "#FFFFFF" }, "unitsShipped": { - "backgroundColor": "#FFFFFF", + "backgroundColor": "#020618", "iconAlign": "left", - "iconColor": "#040627", + "iconColor": "#FFFFFF", "iconName": "box", "id": "unitsShipped", "index": 2, @@ -92,12 +92,12 @@ "isVisible": true, "label": "Units Shipped", "onClick": "{{navigateTo('Sales - Units Shipped', {}, 'SAME_WINDOW')}}", - "textColor": "#040627" + "textColor": "#FFFFFF" } } }, "marketingBtn": { - "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonColor": "#020618", "buttonType": "SIMPLE", "iconName": "megaphone", "id": "marketingBtn", @@ -114,7 +114,7 @@ "key": "nav2btngrp", "leftColumn": 0, "minWidth": 450, - "mobileBottomRow": 5, + "mobileBottomRow": 7, "mobileLeftColumn": 0, "mobileRightColumn": 64, "mobileTopRow": 0, From 1704a08d8920e71049f2c6f2d0dcc1f4305c53a2 Mon Sep 17 00:00:00 2001 From: ibariss Date: Tue, 27 Jan 2026 11:47:51 +0000 Subject: [PATCH 08/71] Various nav options for decision making --- application.json | 8 ++++---- pages/Sales/Sales.json | 2 +- pages/Sales/widgets/Heading.json | 8 ++++---- pages/Sales/widgets/Table1.json | 8 ++++---- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/application.json b/application.json index d5a0dff..cb463fc 100644 --- a/application.json +++ b/application.json @@ -8,8 +8,8 @@ "colorStyle": "theme", "logoAssetId": "", "logoConfiguration": "logoAndApplicationTitle", - "navStyle": "sidebar", - "orientation": "side", + "navStyle": "stacked", + "orientation": "top", "position": "static", "showNavbar": true, "showSignIn": true @@ -55,8 +55,8 @@ "colorStyle": "theme", "logoAssetId": "", "logoConfiguration": "logoAndApplicationTitle", - "navStyle": "sidebar", - "orientation": "side", + "navStyle": "stacked", + "orientation": "top", "position": "static", "showNavbar": true, "showSignIn": true diff --git a/pages/Sales/Sales.json b/pages/Sales/Sales.json index ca1faf3..f7e4318 100644 --- a/pages/Sales/Sales.json +++ b/pages/Sales/Sales.json @@ -6,7 +6,7 @@ { "dsl": { "backgroundColor": "none", - "bottomRow": 970, + "bottomRow": 1040, "canExtend": true, "containerStyle": "none", "detachFromLayout": true, diff --git a/pages/Sales/widgets/Heading.json b/pages/Sales/widgets/Heading.json index c71dd73..30d58ef 100644 --- a/pages/Sales/widgets/Heading.json +++ b/pages/Sales/widgets/Heading.json @@ -1,7 +1,7 @@ { "animateLoading": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 11, + "bottomRow": 18, "dynamicBindingPathList": [ { "key": "truncateButtonColor" @@ -30,8 +30,8 @@ "mobileRightColumn": 17, "mobileTopRow": 1, "needsErrorInfo": false, - "originalBottomRow": 11, - "originalTopRow": 3, + "originalBottomRow": 18, + "originalTopRow": 10, "overflow": "NONE", "parentColumnSpace": 25.109375, "parentId": "0", @@ -43,7 +43,7 @@ "text": "Sales / Capacity Planning", "textAlign": "LEFT", "textColor": "#231F20", - "topRow": 3, + "topRow": 10, "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", "type": "TEXT_WIDGET", "version": 1, diff --git a/pages/Sales/widgets/Table1.json b/pages/Sales/widgets/Table1.json index e856323..069a42c 100644 --- a/pages/Sales/widgets/Table1.json +++ b/pages/Sales/widgets/Table1.json @@ -4,7 +4,7 @@ "borderColor": "#E0DEDE", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "borderWidth": "1", - "bottomRow": 97, + "bottomRow": 104, "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "cachedTableData": {}, "canFreezeColumn": true, @@ -97,8 +97,8 @@ "mobileRightColumn": 35, "mobileTopRow": 3, "needsErrorInfo": false, - "originalBottomRow": 98, - "originalTopRow": 14, + "originalBottomRow": 104, + "originalTopRow": 20, "parentColumnSpace": 11.265625, "parentId": "0", "parentRowSpace": 10, @@ -234,7 +234,7 @@ "searchKey": "", "tableData": "{{capacity_display_all.data}}", "textSize": "0.875rem", - "topRow": 13, + "topRow": 20, "totalRecordsCount": 0, "type": "TABLE_WIDGET_V2", "version": 2, From f4b500220f2aac139462773ebbaa52c5009d89d1 Mon Sep 17 00:00:00 2001 From: ibariss Date: Tue, 27 Jan 2026 11:53:04 +0000 Subject: [PATCH 09/71] Pushed Sales Capacity Heading closer to nav for debugging --- pages/Sales/widgets/Heading.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pages/Sales/widgets/Heading.json b/pages/Sales/widgets/Heading.json index 30d58ef..c64c6f9 100644 --- a/pages/Sales/widgets/Heading.json +++ b/pages/Sales/widgets/Heading.json @@ -1,7 +1,7 @@ { "animateLoading": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 18, + "bottomRow": 16, "dynamicBindingPathList": [ { "key": "truncateButtonColor" @@ -30,8 +30,8 @@ "mobileRightColumn": 17, "mobileTopRow": 1, "needsErrorInfo": false, - "originalBottomRow": 18, - "originalTopRow": 10, + "originalBottomRow": 16, + "originalTopRow": 8, "overflow": "NONE", "parentColumnSpace": 25.109375, "parentId": "0", @@ -43,7 +43,7 @@ "text": "Sales / Capacity Planning", "textAlign": "LEFT", "textColor": "#231F20", - "topRow": 10, + "topRow": 8, "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", "type": "TEXT_WIDGET", "version": 1, From e9e953b829d89957960a0287f22d8b0288e1a0bf Mon Sep 17 00:00:00 2001 From: ivarsbariss Date: Tue, 27 Jan 2026 13:02:31 +0100 Subject: [PATCH 10/71] Unify navigation and heading positioning --- .gitignore | 2 ++ pages/Home/widgets/Chart1.json | 2 +- pages/Home/widgets/Chart2.json | 2 +- pages/Sales - Units Shipped/widgets/Heading.json | 4 ++-- pages/Sales/widgets/Heading.json | 10 +++++----- 5 files changed, 11 insertions(+), 9 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8c6d268 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +# Cursor AI reference documentation (internal use only) +.cursor/ diff --git a/pages/Home/widgets/Chart1.json b/pages/Home/widgets/Chart1.json index e03537a..76b5171 100644 --- a/pages/Home/widgets/Chart1.json +++ b/pages/Home/widgets/Chart1.json @@ -111,7 +111,7 @@ "responsiveBehavior": "fill", "rightColumn": 30, "showDataPointLabel": false, - "topRow": 5, + "topRow": 2, "type": "CHART_WIDGET", "version": 1, "widgetId": "bkkgqululk", diff --git a/pages/Home/widgets/Chart2.json b/pages/Home/widgets/Chart2.json index b345b09..849cfe1 100644 --- a/pages/Home/widgets/Chart2.json +++ b/pages/Home/widgets/Chart2.json @@ -112,7 +112,7 @@ "responsiveBehavior": "fill", "rightColumn": 61, "showDataPointLabel": false, - "topRow": 4, + "topRow": 2, "type": "CHART_WIDGET", "version": 1, "widgetId": "1d2av7y5u4", diff --git a/pages/Sales - Units Shipped/widgets/Heading.json b/pages/Sales - Units Shipped/widgets/Heading.json index 97f6d97..e23646e 100644 --- a/pages/Sales - Units Shipped/widgets/Heading.json +++ b/pages/Sales - Units Shipped/widgets/Heading.json @@ -1,7 +1,7 @@ { "animateLoading": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 7, + "bottomRow": 10, "dynamicBindingPathList": [ { "key": "truncateButtonColor" @@ -30,7 +30,7 @@ "mobileRightColumn": 17, "mobileTopRow": 1, "needsErrorInfo": false, - "originalBottomRow": 7, + "originalBottomRow": 10, "originalTopRow": 2, "overflow": "NONE", "parentColumnSpace": 25.109375, diff --git a/pages/Sales/widgets/Heading.json b/pages/Sales/widgets/Heading.json index c64c6f9..61183d3 100644 --- a/pages/Sales/widgets/Heading.json +++ b/pages/Sales/widgets/Heading.json @@ -1,7 +1,7 @@ { "animateLoading": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 16, + "bottomRow": 10, "dynamicBindingPathList": [ { "key": "truncateButtonColor" @@ -30,8 +30,8 @@ "mobileRightColumn": 17, "mobileTopRow": 1, "needsErrorInfo": false, - "originalBottomRow": 16, - "originalTopRow": 8, + "originalBottomRow": 10, + "originalTopRow": 2, "overflow": "NONE", "parentColumnSpace": 25.109375, "parentId": "0", @@ -40,10 +40,10 @@ "responsiveBehavior": "fill", "rightColumn": 17, "shouldTruncate": false, - "text": "Sales / Capacity Planning", + "text": "Sales", "textAlign": "LEFT", "textColor": "#231F20", - "topRow": 8, + "topRow": 2, "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", "type": "TEXT_WIDGET", "version": 1, From 60f87fbb718acbc763f28254527de8102f6c5d19 Mon Sep 17 00:00:00 2001 From: ivarsbariss Date: Tue, 27 Jan 2026 13:09:30 +0100 Subject: [PATCH 11/71] Unify navigation and heading positioning --- pages/Home/widgets/Chart1.json | 2 +- pages/Home/widgets/Chart2.json | 2 +- pages/Sales - Capacity Planning/widgets/Heading.json | 8 ++++---- pages/Sales - Units Shipped/widgets/Heading.json | 8 ++++---- pages/Sales/widgets/Heading.json | 10 +++++----- 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/pages/Home/widgets/Chart1.json b/pages/Home/widgets/Chart1.json index 76b5171..f08011b 100644 --- a/pages/Home/widgets/Chart1.json +++ b/pages/Home/widgets/Chart1.json @@ -111,7 +111,7 @@ "responsiveBehavior": "fill", "rightColumn": 30, "showDataPointLabel": false, - "topRow": 2, + "topRow": 8, "type": "CHART_WIDGET", "version": 1, "widgetId": "bkkgqululk", diff --git a/pages/Home/widgets/Chart2.json b/pages/Home/widgets/Chart2.json index 849cfe1..7eaa086 100644 --- a/pages/Home/widgets/Chart2.json +++ b/pages/Home/widgets/Chart2.json @@ -112,7 +112,7 @@ "responsiveBehavior": "fill", "rightColumn": 61, "showDataPointLabel": false, - "topRow": 2, + "topRow": 8, "type": "CHART_WIDGET", "version": 1, "widgetId": "1d2av7y5u4", diff --git a/pages/Sales - Capacity Planning/widgets/Heading.json b/pages/Sales - Capacity Planning/widgets/Heading.json index f39c0c7..c64c6f9 100644 --- a/pages/Sales - Capacity Planning/widgets/Heading.json +++ b/pages/Sales - Capacity Planning/widgets/Heading.json @@ -1,7 +1,7 @@ { "animateLoading": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 10, + "bottomRow": 16, "dynamicBindingPathList": [ { "key": "truncateButtonColor" @@ -30,8 +30,8 @@ "mobileRightColumn": 17, "mobileTopRow": 1, "needsErrorInfo": false, - "originalBottomRow": 10, - "originalTopRow": 2, + "originalBottomRow": 16, + "originalTopRow": 8, "overflow": "NONE", "parentColumnSpace": 25.109375, "parentId": "0", @@ -43,7 +43,7 @@ "text": "Sales / Capacity Planning", "textAlign": "LEFT", "textColor": "#231F20", - "topRow": 2, + "topRow": 8, "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", "type": "TEXT_WIDGET", "version": 1, diff --git a/pages/Sales - Units Shipped/widgets/Heading.json b/pages/Sales - Units Shipped/widgets/Heading.json index e23646e..ba1d570 100644 --- a/pages/Sales - Units Shipped/widgets/Heading.json +++ b/pages/Sales - Units Shipped/widgets/Heading.json @@ -1,7 +1,7 @@ { "animateLoading": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 10, + "bottomRow": 16, "dynamicBindingPathList": [ { "key": "truncateButtonColor" @@ -30,8 +30,8 @@ "mobileRightColumn": 17, "mobileTopRow": 1, "needsErrorInfo": false, - "originalBottomRow": 10, - "originalTopRow": 2, + "originalBottomRow": 16, + "originalTopRow": 8, "overflow": "NONE", "parentColumnSpace": 25.109375, "parentId": "0", @@ -43,7 +43,7 @@ "text": "Sales / Units Shipped", "textAlign": "LEFT", "textColor": "#231F20", - "topRow": 2, + "topRow": 8, "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", "type": "TEXT_WIDGET", "version": 1, diff --git a/pages/Sales/widgets/Heading.json b/pages/Sales/widgets/Heading.json index 61183d3..c64c6f9 100644 --- a/pages/Sales/widgets/Heading.json +++ b/pages/Sales/widgets/Heading.json @@ -1,7 +1,7 @@ { "animateLoading": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 10, + "bottomRow": 16, "dynamicBindingPathList": [ { "key": "truncateButtonColor" @@ -30,8 +30,8 @@ "mobileRightColumn": 17, "mobileTopRow": 1, "needsErrorInfo": false, - "originalBottomRow": 10, - "originalTopRow": 2, + "originalBottomRow": 16, + "originalTopRow": 8, "overflow": "NONE", "parentColumnSpace": 25.109375, "parentId": "0", @@ -40,10 +40,10 @@ "responsiveBehavior": "fill", "rightColumn": 17, "shouldTruncate": false, - "text": "Sales", + "text": "Sales / Capacity Planning", "textAlign": "LEFT", "textColor": "#231F20", - "topRow": 2, + "topRow": 8, "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", "type": "TEXT_WIDGET", "version": 1, From 904fe5daa236ecbe80c76e203f3fd76793f5b30c Mon Sep 17 00:00:00 2001 From: ivarsbariss Date: Tue, 27 Jan 2026 13:20:38 +0100 Subject: [PATCH 12/71] Document components spacing --- README.md | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/README.md b/README.md index 2b7d47e..6fd8af1 100644 --- a/README.md +++ b/README.md @@ -9,3 +9,51 @@ This app is built using Appsmith. Turn any datasource into an internal app in mi ##### You can visit the application using the below link ###### [![](https://assets.appsmith.com/git-sync/Buttons.svg) ](https://appsmith.mpeapp.com/applications/6947cc068872ae1d129983a0/pages/6947cc068872ae1d129983a3) [![](https://assets.appsmith.com/git-sync/Buttons2.svg)](https://appsmith.mpeapp.com/applications/6947cc068872ae1d129983a0/pages/6947cc068872ae1d129983a3/edit) + +--- + +## Widget Positioning & Spacing + +Appsmith uses a **grid-based layout system** for widget positioning. + +### Grid Basics + +| Property | Description | Default | +|----------|-------------|---------| +| `topRow` | Starting row position (0-based) | - | +| `bottomRow` | Ending row position | - | +| `leftColumn` | Starting column (0-based) | - | +| `rightColumn` | Ending column | - | +| `parentRowSpace` | Pixels per row | 10px | +| `parentColumnSpace` | Pixels per column | ~25px | + +The canvas is **64 columns wide**. Each row is **10 pixels tall**. + +### Calculating Size + +``` +Height = (bottomRow - topRow) × 10px +Width = (rightColumn - leftColumn) × 25px +``` + +### Visual Example + +``` +Row 0 ┌────────────────────────────────────────┐ + │ Navigation (topRow: 0) │ +Row 7 └────────────────────────────────────────┘ ← bottomRow: 7 +Row 8 ┌────────────────────────────────────────┐ ← topRow: 8 (1 row gap = 10px) + │ Content Widget │ +Row 16 └────────────────────────────────────────┘ +``` + +### This Project's Standard + +| Widget | topRow | bottomRow | Notes | +|--------|--------|-----------|-------| +| Navigation | 0 | 7 | 70px tall | +| First Content | 8 | 16 | 10px gap below nav | + +### Dynamic Height + +Widgets with `"dynamicHeight": "AUTO_HEIGHT"` adjust height based on content. The `bottomRow` serves as an initial guide, and `originalTopRow`/`originalBottomRow` store the original placement values. From 11bac2ad67c25435055a33e6f21d53486b20e554 Mon Sep 17 00:00:00 2001 From: ivarsbariss Date: Wed, 28 Jan 2026 13:08:09 +0100 Subject: [PATCH 13/71] Test vertical navigation --- pages/Sales/widgets/SidebarNavigation.json | 133 +++++++++++++++++++++ 1 file changed, 133 insertions(+) create mode 100644 pages/Sales/widgets/SidebarNavigation.json diff --git a/pages/Sales/widgets/SidebarNavigation.json b/pages/Sales/widgets/SidebarNavigation.json new file mode 100644 index 0000000..4cd1004 --- /dev/null +++ b/pages/Sales/widgets/SidebarNavigation.json @@ -0,0 +1,133 @@ +{ + "animateLoading": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "bottomRow": 80, + "boxShadow": "none", + "buttonVariant": "PRIMARY", + "childStylesheet": { + "button": { + "buttonColor": "#020618" + } + }, + "dynamicBindingPathList": [ + { + "key": "borderRadius" + } + ], + "dynamicTriggerPathList": [ + { + "key": "groupButtons.homeBtn.onClick" + }, + { + "key": "groupButtons.salesMenu.menuItems.salesOverview.onClick" + }, + { + "key": "groupButtons.salesMenu.menuItems.capacityPlanning.onClick" + }, + { + "key": "groupButtons.salesMenu.menuItems.unitsShipped.onClick" + }, + { + "key": "groupButtons.marketingBtn.onClick" + } + ], + "flexVerticalAlignment": "start", + "groupButtons": { + "homeBtn": { + "buttonColor": "#020618", + "buttonType": "SIMPLE", + "iconName": "home", + "id": "homeBtn", + "index": 0, + "isDisabled": false, + "isVisible": true, + "label": "Home", + "menuItems": {}, + "onClick": "{{navigateTo('Home', {}, 'SAME_WINDOW')}}" + }, + "salesMenu": { + "buttonColor": "#020618", + "buttonType": "MENU", + "iconName": "trending-up", + "id": "salesMenu", + "index": 1, + "isDisabled": false, + "isVisible": true, + "label": "Sales", + "menuItems": { + "salesOverview": { + "backgroundColor": "#020618", + "iconAlign": "left", + "iconColor": "#FFFFFF", + "iconName": "dashboard", + "id": "salesOverview", + "index": 0, + "isDisabled": false, + "isVisible": true, + "label": "Overview", + "onClick": "{{navigateTo('Sales', {}, 'SAME_WINDOW')}}", + "textColor": "#FFFFFF" + }, + "capacityPlanning": { + "backgroundColor": "#020618", + "iconAlign": "left", + "iconColor": "#FFFFFF", + "iconName": "calendar", + "id": "capacityPlanning", + "index": 1, + "isDisabled": false, + "isVisible": true, + "label": "Capacity Planning", + "onClick": "{{navigateTo('Sales - Capacity Planning', {}, 'SAME_WINDOW')}}", + "textColor": "#FFFFFF" + }, + "unitsShipped": { + "backgroundColor": "#020618", + "iconAlign": "left", + "iconColor": "#FFFFFF", + "iconName": "box", + "id": "unitsShipped", + "index": 2, + "isDisabled": false, + "isVisible": true, + "label": "Units Shipped", + "onClick": "{{navigateTo('Sales - Units Shipped', {}, 'SAME_WINDOW')}}", + "textColor": "#FFFFFF" + } + } + }, + "marketingBtn": { + "buttonColor": "#020618", + "buttonType": "SIMPLE", + "iconName": "megaphone", + "id": "marketingBtn", + "index": 2, + "isDisabled": false, + "isVisible": true, + "label": "Marketing", + "menuItems": {}, + "onClick": "{{navigateTo('Marketing', {}, 'SAME_WINDOW')}}" + } + }, + "isLoading": false, + "isVisible": true, + "key": "sidenavbtngrp", + "leftColumn": 0, + "minWidth": 120, + "mobileBottomRow": 80, + "mobileLeftColumn": 0, + "mobileRightColumn": 12, + "mobileTopRow": 0, + "orientation": "vertical", + "parentColumnSpace": 25.109375, + "parentId": "0", + "parentRowSpace": 10, + "renderMode": "CANVAS", + "responsiveBehavior": "hug", + "rightColumn": 12, + "topRow": 0, + "type": "BUTTON_GROUP_WIDGET", + "version": 1, + "widgetId": "sidenav001", + "widgetName": "SidebarNavigation" +} From 45568082fac6fcff62938e25d1608956f0eb138f Mon Sep 17 00:00:00 2001 From: ivarsbariss Date: Wed, 28 Jan 2026 13:14:00 +0100 Subject: [PATCH 14/71] Vertical navigation styling adjustments --- pages/Sales/widgets/SidebarNavigation.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/Sales/widgets/SidebarNavigation.json b/pages/Sales/widgets/SidebarNavigation.json index 4cd1004..6a5f476 100644 --- a/pages/Sales/widgets/SidebarNavigation.json +++ b/pages/Sales/widgets/SidebarNavigation.json @@ -1,7 +1,7 @@ { "animateLoading": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 80, + "bottomRow": 21, "boxShadow": "none", "buttonVariant": "PRIMARY", "childStylesheet": { @@ -114,7 +114,7 @@ "key": "sidenavbtngrp", "leftColumn": 0, "minWidth": 120, - "mobileBottomRow": 80, + "mobileBottomRow": 21, "mobileLeftColumn": 0, "mobileRightColumn": 12, "mobileTopRow": 0, From 3fe2fd8a79c2f99b78fce0fabff6058a921ed16a Mon Sep 17 00:00:00 2001 From: ivarsbariss Date: Wed, 28 Jan 2026 13:18:26 +0100 Subject: [PATCH 15/71] Vertical navigation styling adjustments --- pages/Sales/widgets/Heading.json | 18 +-- pages/Sales/widgets/Navigation.json | 133 --------------------- pages/Sales/widgets/SidebarNavigation.json | 4 +- pages/Sales/widgets/Table1.json | 12 +- 4 files changed, 17 insertions(+), 150 deletions(-) delete mode 100644 pages/Sales/widgets/Navigation.json diff --git a/pages/Sales/widgets/Heading.json b/pages/Sales/widgets/Heading.json index c64c6f9..c4b7888 100644 --- a/pages/Sales/widgets/Heading.json +++ b/pages/Sales/widgets/Heading.json @@ -1,7 +1,7 @@ { "animateLoading": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 16, + "bottomRow": 9, "dynamicBindingPathList": [ { "key": "truncateButtonColor" @@ -21,29 +21,29 @@ "isLoading": false, "isVisible": true, "key": "pii8e5rbru", - "leftColumn": 1, + "leftColumn": 13, "maxDynamicHeight": 9000, "minDynamicHeight": 4, "minWidth": 450, "mobileBottomRow": 5, - "mobileLeftColumn": 1, - "mobileRightColumn": 17, + "mobileLeftColumn": 13, + "mobileRightColumn": 64, "mobileTopRow": 1, "needsErrorInfo": false, - "originalBottomRow": 16, - "originalTopRow": 8, + "originalBottomRow": 9, + "originalTopRow": 1, "overflow": "NONE", "parentColumnSpace": 25.109375, "parentId": "0", "parentRowSpace": 10, "renderMode": "CANVAS", "responsiveBehavior": "fill", - "rightColumn": 17, + "rightColumn": 64, "shouldTruncate": false, - "text": "Sales / Capacity Planning", + "text": "Sales", "textAlign": "LEFT", "textColor": "#231F20", - "topRow": 8, + "topRow": 1, "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", "type": "TEXT_WIDGET", "version": 1, diff --git a/pages/Sales/widgets/Navigation.json b/pages/Sales/widgets/Navigation.json deleted file mode 100644 index 5efe8f0..0000000 --- a/pages/Sales/widgets/Navigation.json +++ /dev/null @@ -1,133 +0,0 @@ -{ - "animateLoading": true, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 7, - "boxShadow": "none", - "buttonVariant": "PRIMARY", - "childStylesheet": { - "button": { - "buttonColor": "#020618" - } - }, - "dynamicBindingPathList": [ - { - "key": "borderRadius" - } - ], - "dynamicTriggerPathList": [ - { - "key": "groupButtons.homeBtn.onClick" - }, - { - "key": "groupButtons.salesMenu.menuItems.salesOverview.onClick" - }, - { - "key": "groupButtons.salesMenu.menuItems.capacityPlanning.onClick" - }, - { - "key": "groupButtons.salesMenu.menuItems.unitsShipped.onClick" - }, - { - "key": "groupButtons.marketingBtn.onClick" - } - ], - "flexVerticalAlignment": "start", - "groupButtons": { - "homeBtn": { - "buttonColor": "#020618", - "buttonType": "SIMPLE", - "iconName": "home", - "id": "homeBtn", - "index": 0, - "isDisabled": false, - "isVisible": true, - "label": "Home", - "menuItems": {}, - "onClick": "{{navigateTo('Home', {}, 'SAME_WINDOW')}}" - }, - "salesMenu": { - "buttonColor": "#020618", - "buttonType": "MENU", - "iconName": "trending-up", - "id": "salesMenu", - "index": 1, - "isDisabled": false, - "isVisible": true, - "label": "Sales", - "menuItems": { - "salesOverview": { - "backgroundColor": "#020618", - "iconAlign": "left", - "iconColor": "#FFFFFF", - "iconName": "dashboard", - "id": "salesOverview", - "index": 0, - "isDisabled": false, - "isVisible": true, - "label": "Overview", - "onClick": "{{navigateTo('Sales', {}, 'SAME_WINDOW')}}", - "textColor": "#FFFFFF" - }, - "capacityPlanning": { - "backgroundColor": "#020618", - "iconAlign": "left", - "iconColor": "#FFFFFF", - "iconName": "calendar", - "id": "capacityPlanning", - "index": 1, - "isDisabled": false, - "isVisible": true, - "label": "Capacity Planning", - "onClick": "{{navigateTo('Sales - Capacity Planning', {}, 'SAME_WINDOW')}}", - "textColor": "#FFFFFF" - }, - "unitsShipped": { - "backgroundColor": "#020618", - "iconAlign": "left", - "iconColor": "#FFFFFF", - "iconName": "box", - "id": "unitsShipped", - "index": 2, - "isDisabled": false, - "isVisible": true, - "label": "Units Shipped", - "onClick": "{{navigateTo('Sales - Units Shipped', {}, 'SAME_WINDOW')}}", - "textColor": "#FFFFFF" - } - } - }, - "marketingBtn": { - "buttonColor": "#020618", - "buttonType": "SIMPLE", - "iconName": "megaphone", - "id": "marketingBtn", - "index": 2, - "isDisabled": false, - "isVisible": true, - "label": "Marketing", - "menuItems": {}, - "onClick": "{{navigateTo('Marketing', {}, 'SAME_WINDOW')}}" - } - }, - "isLoading": false, - "isVisible": true, - "key": "nav2btngrp", - "leftColumn": 0, - "minWidth": 450, - "mobileBottomRow": 7, - "mobileLeftColumn": 0, - "mobileRightColumn": 64, - "mobileTopRow": 0, - "orientation": "horizontal", - "parentColumnSpace": 25.109375, - "parentId": "0", - "parentRowSpace": 10, - "renderMode": "CANVAS", - "responsiveBehavior": "fill", - "rightColumn": 64, - "topRow": 0, - "type": "BUTTON_GROUP_WIDGET", - "version": 1, - "widgetId": "nav2btngrp002", - "widgetName": "Navigation" -} diff --git a/pages/Sales/widgets/SidebarNavigation.json b/pages/Sales/widgets/SidebarNavigation.json index 6a5f476..d23d210 100644 --- a/pages/Sales/widgets/SidebarNavigation.json +++ b/pages/Sales/widgets/SidebarNavigation.json @@ -1,7 +1,7 @@ { "animateLoading": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 21, + "bottomRow": 100, "boxShadow": "none", "buttonVariant": "PRIMARY", "childStylesheet": { @@ -114,7 +114,7 @@ "key": "sidenavbtngrp", "leftColumn": 0, "minWidth": 120, - "mobileBottomRow": 21, + "mobileBottomRow": 100, "mobileLeftColumn": 0, "mobileRightColumn": 12, "mobileTopRow": 0, diff --git a/pages/Sales/widgets/Table1.json b/pages/Sales/widgets/Table1.json index 069a42c..e8b3892 100644 --- a/pages/Sales/widgets/Table1.json +++ b/pages/Sales/widgets/Table1.json @@ -90,15 +90,15 @@ "isVisibleSearch": true, "key": "o9k9wp97q1", "label": "Data", - "leftColumn": 1, + "leftColumn": 13, "minWidth": 450, "mobileBottomRow": 31, - "mobileLeftColumn": 1, - "mobileRightColumn": 35, + "mobileLeftColumn": 13, + "mobileRightColumn": 64, "mobileTopRow": 3, "needsErrorInfo": false, - "originalBottomRow": 104, - "originalTopRow": 20, + "originalBottomRow": 94, + "originalTopRow": 10, "parentColumnSpace": 11.265625, "parentId": "0", "parentRowSpace": 10, @@ -234,7 +234,7 @@ "searchKey": "", "tableData": "{{capacity_display_all.data}}", "textSize": "0.875rem", - "topRow": 20, + "topRow": 10, "totalRecordsCount": 0, "type": "TABLE_WIDGET_V2", "version": 2, From fcf16a7f6eeb6a7804fd33fac5c2d6f9562ab1b5 Mon Sep 17 00:00:00 2001 From: ivarsbariss Date: Wed, 28 Jan 2026 13:22:15 +0100 Subject: [PATCH 16/71] Vertical navigation styling adjustments --- pages/Sales/widgets/SidebarNavigation.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/Sales/widgets/SidebarNavigation.json b/pages/Sales/widgets/SidebarNavigation.json index d23d210..78b234f 100644 --- a/pages/Sales/widgets/SidebarNavigation.json +++ b/pages/Sales/widgets/SidebarNavigation.json @@ -1,7 +1,7 @@ { "animateLoading": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 100, + "bottomRow": 124, "boxShadow": "none", "buttonVariant": "PRIMARY", "childStylesheet": { @@ -114,7 +114,7 @@ "key": "sidenavbtngrp", "leftColumn": 0, "minWidth": 120, - "mobileBottomRow": 100, + "mobileBottomRow": 124, "mobileLeftColumn": 0, "mobileRightColumn": 12, "mobileTopRow": 0, @@ -123,7 +123,7 @@ "parentId": "0", "parentRowSpace": 10, "renderMode": "CANVAS", - "responsiveBehavior": "hug", + "responsiveBehavior": "fill", "rightColumn": 12, "topRow": 0, "type": "BUTTON_GROUP_WIDGET", From 1c28eae620218d8c772c16fb6771240d729e23cc Mon Sep 17 00:00:00 2001 From: ivarsbariss Date: Wed, 28 Jan 2026 13:25:27 +0100 Subject: [PATCH 17/71] Vertical navigation styling adjustments --- pages/Sales/widgets/SidebarNavigation.json | 1 + 1 file changed, 1 insertion(+) diff --git a/pages/Sales/widgets/SidebarNavigation.json b/pages/Sales/widgets/SidebarNavigation.json index 78b234f..99fd263 100644 --- a/pages/Sales/widgets/SidebarNavigation.json +++ b/pages/Sales/widgets/SidebarNavigation.json @@ -113,6 +113,7 @@ "isVisible": true, "key": "sidenavbtngrp", "leftColumn": 0, + "minHeight": 600, "minWidth": 120, "mobileBottomRow": 124, "mobileLeftColumn": 0, From b8421b9d6698c0334fc73faa0c3fe50d9f4a415a Mon Sep 17 00:00:00 2001 From: ivarsbariss Date: Wed, 28 Jan 2026 13:27:24 +0100 Subject: [PATCH 18/71] Vertical navigation styling adjustments --- pages/Sales/widgets/Heading.json | 18 +-- pages/Sales/widgets/Navigation.json | 133 +++++++++++++++++++++ pages/Sales/widgets/SidebarNavigation.json | 7 +- pages/Sales/widgets/Table1.json | 12 +- 4 files changed, 151 insertions(+), 19 deletions(-) create mode 100644 pages/Sales/widgets/Navigation.json diff --git a/pages/Sales/widgets/Heading.json b/pages/Sales/widgets/Heading.json index c4b7888..c64c6f9 100644 --- a/pages/Sales/widgets/Heading.json +++ b/pages/Sales/widgets/Heading.json @@ -1,7 +1,7 @@ { "animateLoading": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 9, + "bottomRow": 16, "dynamicBindingPathList": [ { "key": "truncateButtonColor" @@ -21,29 +21,29 @@ "isLoading": false, "isVisible": true, "key": "pii8e5rbru", - "leftColumn": 13, + "leftColumn": 1, "maxDynamicHeight": 9000, "minDynamicHeight": 4, "minWidth": 450, "mobileBottomRow": 5, - "mobileLeftColumn": 13, - "mobileRightColumn": 64, + "mobileLeftColumn": 1, + "mobileRightColumn": 17, "mobileTopRow": 1, "needsErrorInfo": false, - "originalBottomRow": 9, - "originalTopRow": 1, + "originalBottomRow": 16, + "originalTopRow": 8, "overflow": "NONE", "parentColumnSpace": 25.109375, "parentId": "0", "parentRowSpace": 10, "renderMode": "CANVAS", "responsiveBehavior": "fill", - "rightColumn": 64, + "rightColumn": 17, "shouldTruncate": false, - "text": "Sales", + "text": "Sales / Capacity Planning", "textAlign": "LEFT", "textColor": "#231F20", - "topRow": 1, + "topRow": 8, "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", "type": "TEXT_WIDGET", "version": 1, diff --git a/pages/Sales/widgets/Navigation.json b/pages/Sales/widgets/Navigation.json new file mode 100644 index 0000000..5efe8f0 --- /dev/null +++ b/pages/Sales/widgets/Navigation.json @@ -0,0 +1,133 @@ +{ + "animateLoading": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "bottomRow": 7, + "boxShadow": "none", + "buttonVariant": "PRIMARY", + "childStylesheet": { + "button": { + "buttonColor": "#020618" + } + }, + "dynamicBindingPathList": [ + { + "key": "borderRadius" + } + ], + "dynamicTriggerPathList": [ + { + "key": "groupButtons.homeBtn.onClick" + }, + { + "key": "groupButtons.salesMenu.menuItems.salesOverview.onClick" + }, + { + "key": "groupButtons.salesMenu.menuItems.capacityPlanning.onClick" + }, + { + "key": "groupButtons.salesMenu.menuItems.unitsShipped.onClick" + }, + { + "key": "groupButtons.marketingBtn.onClick" + } + ], + "flexVerticalAlignment": "start", + "groupButtons": { + "homeBtn": { + "buttonColor": "#020618", + "buttonType": "SIMPLE", + "iconName": "home", + "id": "homeBtn", + "index": 0, + "isDisabled": false, + "isVisible": true, + "label": "Home", + "menuItems": {}, + "onClick": "{{navigateTo('Home', {}, 'SAME_WINDOW')}}" + }, + "salesMenu": { + "buttonColor": "#020618", + "buttonType": "MENU", + "iconName": "trending-up", + "id": "salesMenu", + "index": 1, + "isDisabled": false, + "isVisible": true, + "label": "Sales", + "menuItems": { + "salesOverview": { + "backgroundColor": "#020618", + "iconAlign": "left", + "iconColor": "#FFFFFF", + "iconName": "dashboard", + "id": "salesOverview", + "index": 0, + "isDisabled": false, + "isVisible": true, + "label": "Overview", + "onClick": "{{navigateTo('Sales', {}, 'SAME_WINDOW')}}", + "textColor": "#FFFFFF" + }, + "capacityPlanning": { + "backgroundColor": "#020618", + "iconAlign": "left", + "iconColor": "#FFFFFF", + "iconName": "calendar", + "id": "capacityPlanning", + "index": 1, + "isDisabled": false, + "isVisible": true, + "label": "Capacity Planning", + "onClick": "{{navigateTo('Sales - Capacity Planning', {}, 'SAME_WINDOW')}}", + "textColor": "#FFFFFF" + }, + "unitsShipped": { + "backgroundColor": "#020618", + "iconAlign": "left", + "iconColor": "#FFFFFF", + "iconName": "box", + "id": "unitsShipped", + "index": 2, + "isDisabled": false, + "isVisible": true, + "label": "Units Shipped", + "onClick": "{{navigateTo('Sales - Units Shipped', {}, 'SAME_WINDOW')}}", + "textColor": "#FFFFFF" + } + } + }, + "marketingBtn": { + "buttonColor": "#020618", + "buttonType": "SIMPLE", + "iconName": "megaphone", + "id": "marketingBtn", + "index": 2, + "isDisabled": false, + "isVisible": true, + "label": "Marketing", + "menuItems": {}, + "onClick": "{{navigateTo('Marketing', {}, 'SAME_WINDOW')}}" + } + }, + "isLoading": false, + "isVisible": true, + "key": "nav2btngrp", + "leftColumn": 0, + "minWidth": 450, + "mobileBottomRow": 7, + "mobileLeftColumn": 0, + "mobileRightColumn": 64, + "mobileTopRow": 0, + "orientation": "horizontal", + "parentColumnSpace": 25.109375, + "parentId": "0", + "parentRowSpace": 10, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 64, + "topRow": 0, + "type": "BUTTON_GROUP_WIDGET", + "version": 1, + "widgetId": "nav2btngrp002", + "widgetName": "Navigation" +} diff --git a/pages/Sales/widgets/SidebarNavigation.json b/pages/Sales/widgets/SidebarNavigation.json index 99fd263..4cd1004 100644 --- a/pages/Sales/widgets/SidebarNavigation.json +++ b/pages/Sales/widgets/SidebarNavigation.json @@ -1,7 +1,7 @@ { "animateLoading": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 124, + "bottomRow": 80, "boxShadow": "none", "buttonVariant": "PRIMARY", "childStylesheet": { @@ -113,9 +113,8 @@ "isVisible": true, "key": "sidenavbtngrp", "leftColumn": 0, - "minHeight": 600, "minWidth": 120, - "mobileBottomRow": 124, + "mobileBottomRow": 80, "mobileLeftColumn": 0, "mobileRightColumn": 12, "mobileTopRow": 0, @@ -124,7 +123,7 @@ "parentId": "0", "parentRowSpace": 10, "renderMode": "CANVAS", - "responsiveBehavior": "fill", + "responsiveBehavior": "hug", "rightColumn": 12, "topRow": 0, "type": "BUTTON_GROUP_WIDGET", diff --git a/pages/Sales/widgets/Table1.json b/pages/Sales/widgets/Table1.json index e8b3892..069a42c 100644 --- a/pages/Sales/widgets/Table1.json +++ b/pages/Sales/widgets/Table1.json @@ -90,15 +90,15 @@ "isVisibleSearch": true, "key": "o9k9wp97q1", "label": "Data", - "leftColumn": 13, + "leftColumn": 1, "minWidth": 450, "mobileBottomRow": 31, - "mobileLeftColumn": 13, - "mobileRightColumn": 64, + "mobileLeftColumn": 1, + "mobileRightColumn": 35, "mobileTopRow": 3, "needsErrorInfo": false, - "originalBottomRow": 94, - "originalTopRow": 10, + "originalBottomRow": 104, + "originalTopRow": 20, "parentColumnSpace": 11.265625, "parentId": "0", "parentRowSpace": 10, @@ -234,7 +234,7 @@ "searchKey": "", "tableData": "{{capacity_display_all.data}}", "textSize": "0.875rem", - "topRow": 10, + "topRow": 20, "totalRecordsCount": 0, "type": "TABLE_WIDGET_V2", "version": 2, From 3288b3b37a1f2d954518cda786a13834c8e81d89 Mon Sep 17 00:00:00 2001 From: ivarsbariss Date: Wed, 28 Jan 2026 13:28:50 +0100 Subject: [PATCH 19/71] Vertical navigation styling adjustments --- pages/Sales/widgets/SidebarNavigation.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/Sales/widgets/SidebarNavigation.json b/pages/Sales/widgets/SidebarNavigation.json index 4cd1004..6a5f476 100644 --- a/pages/Sales/widgets/SidebarNavigation.json +++ b/pages/Sales/widgets/SidebarNavigation.json @@ -1,7 +1,7 @@ { "animateLoading": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 80, + "bottomRow": 21, "boxShadow": "none", "buttonVariant": "PRIMARY", "childStylesheet": { @@ -114,7 +114,7 @@ "key": "sidenavbtngrp", "leftColumn": 0, "minWidth": 120, - "mobileBottomRow": 80, + "mobileBottomRow": 21, "mobileLeftColumn": 0, "mobileRightColumn": 12, "mobileTopRow": 0, From e8572902707e79e4273c8fb5ea7f25907f010726 Mon Sep 17 00:00:00 2001 From: ivarsbariss Date: Wed, 28 Jan 2026 13:33:44 +0100 Subject: [PATCH 20/71] Vertical navigation styling adjustments --- pages/Sales/widgets/Heading.json | 18 ++-- pages/Sales/widgets/Navigation.json | 133 ---------------------------- pages/Sales/widgets/Table1.json | 18 ++-- 3 files changed, 18 insertions(+), 151 deletions(-) delete mode 100644 pages/Sales/widgets/Navigation.json diff --git a/pages/Sales/widgets/Heading.json b/pages/Sales/widgets/Heading.json index c64c6f9..46b1c93 100644 --- a/pages/Sales/widgets/Heading.json +++ b/pages/Sales/widgets/Heading.json @@ -1,7 +1,7 @@ { "animateLoading": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 16, + "bottomRow": 8, "dynamicBindingPathList": [ { "key": "truncateButtonColor" @@ -21,29 +21,29 @@ "isLoading": false, "isVisible": true, "key": "pii8e5rbru", - "leftColumn": 1, + "leftColumn": 13, "maxDynamicHeight": 9000, "minDynamicHeight": 4, "minWidth": 450, "mobileBottomRow": 5, - "mobileLeftColumn": 1, - "mobileRightColumn": 17, + "mobileLeftColumn": 13, + "mobileRightColumn": 64, "mobileTopRow": 1, "needsErrorInfo": false, - "originalBottomRow": 16, - "originalTopRow": 8, + "originalBottomRow": 8, + "originalTopRow": 0, "overflow": "NONE", "parentColumnSpace": 25.109375, "parentId": "0", "parentRowSpace": 10, "renderMode": "CANVAS", "responsiveBehavior": "fill", - "rightColumn": 17, + "rightColumn": 64, "shouldTruncate": false, - "text": "Sales / Capacity Planning", + "text": "Sales", "textAlign": "LEFT", "textColor": "#231F20", - "topRow": 8, + "topRow": 0, "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", "type": "TEXT_WIDGET", "version": 1, diff --git a/pages/Sales/widgets/Navigation.json b/pages/Sales/widgets/Navigation.json deleted file mode 100644 index 5efe8f0..0000000 --- a/pages/Sales/widgets/Navigation.json +++ /dev/null @@ -1,133 +0,0 @@ -{ - "animateLoading": true, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 7, - "boxShadow": "none", - "buttonVariant": "PRIMARY", - "childStylesheet": { - "button": { - "buttonColor": "#020618" - } - }, - "dynamicBindingPathList": [ - { - "key": "borderRadius" - } - ], - "dynamicTriggerPathList": [ - { - "key": "groupButtons.homeBtn.onClick" - }, - { - "key": "groupButtons.salesMenu.menuItems.salesOverview.onClick" - }, - { - "key": "groupButtons.salesMenu.menuItems.capacityPlanning.onClick" - }, - { - "key": "groupButtons.salesMenu.menuItems.unitsShipped.onClick" - }, - { - "key": "groupButtons.marketingBtn.onClick" - } - ], - "flexVerticalAlignment": "start", - "groupButtons": { - "homeBtn": { - "buttonColor": "#020618", - "buttonType": "SIMPLE", - "iconName": "home", - "id": "homeBtn", - "index": 0, - "isDisabled": false, - "isVisible": true, - "label": "Home", - "menuItems": {}, - "onClick": "{{navigateTo('Home', {}, 'SAME_WINDOW')}}" - }, - "salesMenu": { - "buttonColor": "#020618", - "buttonType": "MENU", - "iconName": "trending-up", - "id": "salesMenu", - "index": 1, - "isDisabled": false, - "isVisible": true, - "label": "Sales", - "menuItems": { - "salesOverview": { - "backgroundColor": "#020618", - "iconAlign": "left", - "iconColor": "#FFFFFF", - "iconName": "dashboard", - "id": "salesOverview", - "index": 0, - "isDisabled": false, - "isVisible": true, - "label": "Overview", - "onClick": "{{navigateTo('Sales', {}, 'SAME_WINDOW')}}", - "textColor": "#FFFFFF" - }, - "capacityPlanning": { - "backgroundColor": "#020618", - "iconAlign": "left", - "iconColor": "#FFFFFF", - "iconName": "calendar", - "id": "capacityPlanning", - "index": 1, - "isDisabled": false, - "isVisible": true, - "label": "Capacity Planning", - "onClick": "{{navigateTo('Sales - Capacity Planning', {}, 'SAME_WINDOW')}}", - "textColor": "#FFFFFF" - }, - "unitsShipped": { - "backgroundColor": "#020618", - "iconAlign": "left", - "iconColor": "#FFFFFF", - "iconName": "box", - "id": "unitsShipped", - "index": 2, - "isDisabled": false, - "isVisible": true, - "label": "Units Shipped", - "onClick": "{{navigateTo('Sales - Units Shipped', {}, 'SAME_WINDOW')}}", - "textColor": "#FFFFFF" - } - } - }, - "marketingBtn": { - "buttonColor": "#020618", - "buttonType": "SIMPLE", - "iconName": "megaphone", - "id": "marketingBtn", - "index": 2, - "isDisabled": false, - "isVisible": true, - "label": "Marketing", - "menuItems": {}, - "onClick": "{{navigateTo('Marketing', {}, 'SAME_WINDOW')}}" - } - }, - "isLoading": false, - "isVisible": true, - "key": "nav2btngrp", - "leftColumn": 0, - "minWidth": 450, - "mobileBottomRow": 7, - "mobileLeftColumn": 0, - "mobileRightColumn": 64, - "mobileTopRow": 0, - "orientation": "horizontal", - "parentColumnSpace": 25.109375, - "parentId": "0", - "parentRowSpace": 10, - "renderMode": "CANVAS", - "responsiveBehavior": "fill", - "rightColumn": 64, - "topRow": 0, - "type": "BUTTON_GROUP_WIDGET", - "version": 1, - "widgetId": "nav2btngrp002", - "widgetName": "Navigation" -} diff --git a/pages/Sales/widgets/Table1.json b/pages/Sales/widgets/Table1.json index 069a42c..d76ca87 100644 --- a/pages/Sales/widgets/Table1.json +++ b/pages/Sales/widgets/Table1.json @@ -4,7 +4,7 @@ "borderColor": "#E0DEDE", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "borderWidth": "1", - "bottomRow": 104, + "bottomRow": 94, "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "cachedTableData": {}, "canFreezeColumn": true, @@ -90,15 +90,15 @@ "isVisibleSearch": true, "key": "o9k9wp97q1", "label": "Data", - "leftColumn": 1, + "leftColumn": 13, "minWidth": 450, "mobileBottomRow": 31, - "mobileLeftColumn": 1, - "mobileRightColumn": 35, - "mobileTopRow": 3, + "mobileLeftColumn": 13, + "mobileRightColumn": 64, + "mobileTopRow": 10, "needsErrorInfo": false, - "originalBottomRow": 104, - "originalTopRow": 20, + "originalBottomRow": 94, + "originalTopRow": 10, "parentColumnSpace": 11.265625, "parentId": "0", "parentRowSpace": 10, @@ -230,11 +230,11 @@ }, "renderMode": "CANVAS", "responsiveBehavior": "fill", - "rightColumn": 63, + "rightColumn": 64, "searchKey": "", "tableData": "{{capacity_display_all.data}}", "textSize": "0.875rem", - "topRow": 20, + "topRow": 10, "totalRecordsCount": 0, "type": "TABLE_WIDGET_V2", "version": 2, From 0a030c4edf0d600bd4b528d0b52444683ede0d31 Mon Sep 17 00:00:00 2001 From: ivarsbariss Date: Wed, 28 Jan 2026 13:38:49 +0100 Subject: [PATCH 21/71] Vertical navigation styling adjustments --- pages/Sales/widgets/SidebarNavigation.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pages/Sales/widgets/SidebarNavigation.json b/pages/Sales/widgets/SidebarNavigation.json index 6a5f476..630e79f 100644 --- a/pages/Sales/widgets/SidebarNavigation.json +++ b/pages/Sales/widgets/SidebarNavigation.json @@ -54,6 +54,7 @@ "isDisabled": false, "isVisible": true, "label": "Sales", + "placement": "rightStart", "menuItems": { "salesOverview": { "backgroundColor": "#020618", @@ -113,7 +114,7 @@ "isVisible": true, "key": "sidenavbtngrp", "leftColumn": 0, - "minWidth": 120, + "minWidth": 300, "mobileBottomRow": 21, "mobileLeftColumn": 0, "mobileRightColumn": 12, From ad3678c680f0a9fec00861ab2ecc6b129baf04a2 Mon Sep 17 00:00:00 2001 From: ivarsbariss Date: Wed, 28 Jan 2026 13:42:28 +0100 Subject: [PATCH 22/71] Vertical navigation styling adjustments --- pages/Sales/widgets/Heading.json | 4 ++-- pages/Sales/widgets/SidebarNavigation.json | 6 +++--- pages/Sales/widgets/Table1.json | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/pages/Sales/widgets/Heading.json b/pages/Sales/widgets/Heading.json index 46b1c93..d274e1a 100644 --- a/pages/Sales/widgets/Heading.json +++ b/pages/Sales/widgets/Heading.json @@ -21,12 +21,12 @@ "isLoading": false, "isVisible": true, "key": "pii8e5rbru", - "leftColumn": 13, + "leftColumn": 15, "maxDynamicHeight": 9000, "minDynamicHeight": 4, "minWidth": 450, "mobileBottomRow": 5, - "mobileLeftColumn": 13, + "mobileLeftColumn": 15, "mobileRightColumn": 64, "mobileTopRow": 1, "needsErrorInfo": false, diff --git a/pages/Sales/widgets/SidebarNavigation.json b/pages/Sales/widgets/SidebarNavigation.json index 630e79f..7d976c7 100644 --- a/pages/Sales/widgets/SidebarNavigation.json +++ b/pages/Sales/widgets/SidebarNavigation.json @@ -114,10 +114,10 @@ "isVisible": true, "key": "sidenavbtngrp", "leftColumn": 0, - "minWidth": 300, + "minWidth": 350, "mobileBottomRow": 21, "mobileLeftColumn": 0, - "mobileRightColumn": 12, + "mobileRightColumn": 14, "mobileTopRow": 0, "orientation": "vertical", "parentColumnSpace": 25.109375, @@ -125,7 +125,7 @@ "parentRowSpace": 10, "renderMode": "CANVAS", "responsiveBehavior": "hug", - "rightColumn": 12, + "rightColumn": 14, "topRow": 0, "type": "BUTTON_GROUP_WIDGET", "version": 1, diff --git a/pages/Sales/widgets/Table1.json b/pages/Sales/widgets/Table1.json index d76ca87..07acd84 100644 --- a/pages/Sales/widgets/Table1.json +++ b/pages/Sales/widgets/Table1.json @@ -90,10 +90,10 @@ "isVisibleSearch": true, "key": "o9k9wp97q1", "label": "Data", - "leftColumn": 13, + "leftColumn": 15, "minWidth": 450, "mobileBottomRow": 31, - "mobileLeftColumn": 13, + "mobileLeftColumn": 15, "mobileRightColumn": 64, "mobileTopRow": 10, "needsErrorInfo": false, From 75fb3eadf0442ada60b3abbf85f8335b9a1f1008 Mon Sep 17 00:00:00 2001 From: ibariss Date: Wed, 28 Jan 2026 12:50:48 +0000 Subject: [PATCH 23/71] Hide global nav --- application.json | 4 ++-- .../Sales - Units Shipped/Sales - Units Shipped.json | 2 +- pages/Sales - Units Shipped/widgets/Tabs1/Tabs1.json | 12 ++++++------ pages/Sales - Units Shipped/widgets/Text1.json | 8 ++++---- pages/Sales - Units Shipped/widgets/Text2Copy1.json | 8 ++++---- .../Sales - Units Shipped/widgets/Text2CopyCopy.json | 8 ++++---- pages/Sales - Units Shipped/widgets/Text3.json | 8 ++++---- 7 files changed, 25 insertions(+), 25 deletions(-) diff --git a/application.json b/application.json index cb463fc..17b7ed0 100644 --- a/application.json +++ b/application.json @@ -11,7 +11,7 @@ "navStyle": "stacked", "orientation": "top", "position": "static", - "showNavbar": true, + "showNavbar": false, "showSignIn": true }, "themeSetting": { @@ -58,7 +58,7 @@ "navStyle": "stacked", "orientation": "top", "position": "static", - "showNavbar": true, + "showNavbar": false, "showSignIn": true }, "themeSetting": { diff --git a/pages/Sales - Units Shipped/Sales - Units Shipped.json b/pages/Sales - Units Shipped/Sales - Units Shipped.json index ef0deac..cea2205 100644 --- a/pages/Sales - Units Shipped/Sales - Units Shipped.json +++ b/pages/Sales - Units Shipped/Sales - Units Shipped.json @@ -6,7 +6,7 @@ { "dsl": { "backgroundColor": "none", - "bottomRow": 3940, + "bottomRow": 3380, "canExtend": true, "containerStyle": "none", "detachFromLayout": true, diff --git a/pages/Sales - Units Shipped/widgets/Tabs1/Tabs1.json b/pages/Sales - Units Shipped/widgets/Tabs1/Tabs1.json index d379c14..45d3d34 100644 --- a/pages/Sales - Units Shipped/widgets/Tabs1/Tabs1.json +++ b/pages/Sales - Units Shipped/widgets/Tabs1/Tabs1.json @@ -5,12 +5,12 @@ "borderColor": "#E0DEDE", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "borderWidth": 1, - "bottomRow": 190, + "bottomRow": 132, "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "children": [ { "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 1770, + "bottomRow": 1120, "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "canExtend": true, "detachFromLayout": true, @@ -56,7 +56,7 @@ }, { "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 1770, + "bottomRow": 1750, "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "canExtend": true, "detachFromLayout": true, @@ -129,8 +129,8 @@ "mobileRightColumn": 26, "mobileTopRow": 61, "needsErrorInfo": false, - "originalBottomRow": 125, - "originalTopRow": 9, + "originalBottomRow": 132, + "originalTopRow": 16, "parentColumnSpace": 25.109375, "parentId": "0", "parentRowSpace": 10, @@ -157,7 +157,7 @@ "widgetId": "5ghij529ih" } }, - "topRow": 9, + "topRow": 16, "type": "TABS_WIDGET", "version": 3, "widgetId": "cgiukoz6f7", diff --git a/pages/Sales - Units Shipped/widgets/Text1.json b/pages/Sales - Units Shipped/widgets/Text1.json index 041eedc..41425b0 100644 --- a/pages/Sales - Units Shipped/widgets/Text1.json +++ b/pages/Sales - Units Shipped/widgets/Text1.json @@ -1,7 +1,7 @@ { "animateLoading": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 394, + "bottomRow": 338, "dynamicBindingPathList": [ { "key": "truncateButtonColor" @@ -30,8 +30,8 @@ "mobileRightColumn": 17, "mobileTopRow": 35, "needsErrorInfo": false, - "originalBottomRow": 329, - "originalTopRow": 281, + "originalBottomRow": 338, + "originalTopRow": 288, "overflow": "NONE", "parentColumnSpace": 11.265625, "parentId": "0", @@ -43,7 +43,7 @@ "text": "SELECT \nCASE WHEN item_number IN ('16688','25020') THEN 'XR Series'\nWHEN item_number IN ('22351','24952') THEN 'SL Series'\nWHEN item_number IN ('17861','25021','29243','29752') THEN 'TS Series'\nWHEN item_number IN ('17862') THEN 'MS Series'\nWHEN item_number IN ('17863') THEN 'MT Series'\nWHEN item_number IN ('17873') THEN 'Harmonic Neutralizer'\n\nELSE 'None'\nEND AS \"Product\",\nROUND(SUM(coitem_qtyord),0) as \"Qty Ordered\"\nFROM coitem LEFT OUTER JOIN cohead ON cohead_id=coitem_cohead_id\nLEFT OUTER JOIN itemsite ON coitem_itemsite_id = itemsite_id\nLEFT OUTER JOIN item ON item_id = itemsite_item_id\nLEFT OUTER JOIN charass AS reportpower ON \n(coitem_id = reportpower.charass_target_id \nAND reportpower.charass_target_type = 'SI'\nAND reportpower.charass_char_id = 25)\nWHERE item_number IN ('16688','17861','17862','17863','22351','25020','25144','25147','25021','24952','17873','29243','29752')\nAND (coitem_status <> 'X') \nAND cohead_id NOT IN(SELECT cohead_id from rahead LEFT OUTER JOIN cohead ON rahead_new_cohead_id=cohead_id WHERE cohead_id IS NOT NULL)\nAND coitem_price != 0\nAND cohead_orderdate BETWEEN '$param1'::date AND '$param2'::date\nAND reportpower.charass_value IS NOT NULL\nGROUP BY \"Product\"\nORDER BY \"Product\"", "textAlign": "LEFT", "textColor": "#231F20", - "topRow": 346, + "topRow": 288, "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", "type": "TEXT_WIDGET", "version": 1, diff --git a/pages/Sales - Units Shipped/widgets/Text2Copy1.json b/pages/Sales - Units Shipped/widgets/Text2Copy1.json index 94015dc..7d3251e 100644 --- a/pages/Sales - Units Shipped/widgets/Text2Copy1.json +++ b/pages/Sales - Units Shipped/widgets/Text2Copy1.json @@ -1,7 +1,7 @@ { "animateLoading": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 344, + "bottomRow": 286, "dynamicBindingPathList": [ { "key": "truncateButtonColor" @@ -30,8 +30,8 @@ "mobileRightColumn": 20, "mobileTopRow": 0, "needsErrorInfo": false, - "originalBottomRow": 279, - "originalTopRow": 275, + "originalBottomRow": 286, + "originalTopRow": 282, "overflow": "NONE", "parentColumnSpace": 11.265625, "parentId": "0", @@ -43,7 +43,7 @@ "text": "Units Ordered - By Series", "textAlign": "LEFT", "textColor": "#231F20", - "topRow": 340, + "topRow": 282, "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", "type": "TEXT_WIDGET", "version": 1, diff --git a/pages/Sales - Units Shipped/widgets/Text2CopyCopy.json b/pages/Sales - Units Shipped/widgets/Text2CopyCopy.json index f7ada49..3c9d25d 100644 --- a/pages/Sales - Units Shipped/widgets/Text2CopyCopy.json +++ b/pages/Sales - Units Shipped/widgets/Text2CopyCopy.json @@ -1,7 +1,7 @@ { "animateLoading": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 290, + "bottomRow": 232, "dynamicBindingPathList": [ { "key": "truncateButtonColor" @@ -30,8 +30,8 @@ "mobileRightColumn": 20, "mobileTopRow": 0, "needsErrorInfo": false, - "originalBottomRow": 225, - "originalTopRow": 221, + "originalBottomRow": 232, + "originalTopRow": 228, "overflow": "NONE", "parentColumnSpace": 11.265625, "parentId": "0", @@ -43,7 +43,7 @@ "text": "Units Ordered - By Series", "textAlign": "LEFT", "textColor": "#231F20", - "topRow": 286, + "topRow": 228, "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", "type": "TEXT_WIDGET", "version": 1, diff --git a/pages/Sales - Units Shipped/widgets/Text3.json b/pages/Sales - Units Shipped/widgets/Text3.json index 29eb849..1ba1161 100644 --- a/pages/Sales - Units Shipped/widgets/Text3.json +++ b/pages/Sales - Units Shipped/widgets/Text3.json @@ -1,7 +1,7 @@ { "animateLoading": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 360, + "bottomRow": 314, "dynamicBindingPathList": [ { "key": "truncateButtonColor" @@ -30,8 +30,8 @@ "mobileRightColumn": 55, "mobileTopRow": 107, "needsErrorInfo": false, - "originalBottomRow": 295, - "originalTopRow": 225, + "originalBottomRow": 314, + "originalTopRow": 232, "overflow": "NONE", "parentColumnSpace": 11.265625, "parentId": "0", @@ -43,7 +43,7 @@ "text": "SELECT \nCASE WHEN item_number IN ('16688','25020') THEN 'XR Series'\nWHEN item_number IN ('22351','24952') THEN 'SL Series'\nWHEN item_number IN ('17861','25021','29243','29752') THEN 'TS Series'\nWHEN item_number IN ('17862') THEN 'MS Series'\nWHEN item_number IN ('17863') THEN 'MT Series'\nWHEN item_number IN ('17873') THEN 'Harmonic Neutralizer'\n\nELSE 'None'\nEND AS \"Product\",\nreportpower.charass_value as \"Power Output\", reportinput.charass_value || ' ' || reportphases.charass_value AS \"Input\", ROUND(SUM(coitem_qtyord),0) as \"Qty Ordered\"\nFROM coitem LEFT OUTER JOIN cohead ON cohead_id=coitem_cohead_id\nLEFT OUTER JOIN itemsite ON coitem_itemsite_id = itemsite_id\nLEFT OUTER JOIN item ON item_id = itemsite_item_id\nLEFT OUTER JOIN charass AS reportpower ON \n(coitem_id = reportpower.charass_target_id \nAND reportpower.charass_target_type = 'SI'\nAND reportpower.charass_char_id = 25)\nLEFT OUTER JOIN charass AS reportinput ON \n(coitem_id = reportinput.charass_target_id \nAND reportinput.charass_target_type = 'SI'\nAND reportinput.charass_char_id = 36)\nLEFT OUTER JOIN charass AS reportphases ON \n(coitem_id = reportphases.charass_target_id \nAND reportphases.charass_target_type = 'SI'\nAND reportphases.charass_char_id = 18)\nWHERE item_number IN ('16688','17861','17862','17863','22351','25020','25144','25147','25021','24952','17873','29243','29752')\nAND (coitem_status <> 'X') \nAND cohead_id NOT IN(SELECT cohead_id from rahead LEFT OUTER JOIN cohead ON rahead_new_cohead_id=cohead_id WHERE cohead_id IS NOT NULL)\nAND coitem_price != 0\nAND cohead_orderdate BETWEEN '$param1'::date AND '$param2'::date\nAND reportpower.charass_value IS NOT NULL\nGROUP BY reportpower.charass_value, \"Product\", \"Input\"\nORDER BY \"Product\", reportpower.charass_value", "textAlign": "LEFT", "textColor": "#231F20", - "topRow": 290, + "topRow": 232, "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", "type": "TEXT_WIDGET", "version": 1, From d51352f0c33aa4ca3d58e0da1d664133e1198a45 Mon Sep 17 00:00:00 2001 From: ibariss Date: Thu, 29 Jan 2026 11:54:15 +0000 Subject: [PATCH 24/71] Revised version with the new container and buttons based navigation --- application.json | 20 +- pages/Home/Home.json | 31 --- .../capacity_display_all.txt | 1 - .../capacity_display_all/metadata.json | 31 --- pages/Home/widgets/Chart1.json | 121 --------- pages/Home/widgets/Chart1Copy.json | 122 --------- pages/Home/widgets/Chart1CopyCopy.json | 122 --------- pages/Home/widgets/Chart2.json | 122 --------- pages/Home/widgets/Navigation.json | 133 ---------- pages/Marketing/Marketing.json | 32 --- pages/Marketing/widgets/Navigation.json | 133 ---------- .../Sales - Capacity Planning.json | 2 +- .../widgets/Container1/Button1.json | 47 ++++ .../widgets/Container1/Button1Copy.json | 43 +++ .../widgets/Container1/Container1.json | 87 +++++++ .../widgets/Container1/Text1.json} | 26 +- .../widgets/Heading.json | 14 +- .../widgets/Navigation.json | 133 ---------- .../widgets/Table1.json | 51 ++-- .../Sales - Units Shipped.json | 2 +- .../widgets/Container1/Button1.json | 43 +++ .../widgets/Container1/Button1Copy.json | 47 ++++ .../widgets/Container1/Container1.json | 87 +++++++ .../widgets/Container1/Text1Copy.json | 52 ++++ .../widgets/Heading.json | 14 +- .../widgets/Navigation.json | 133 ---------- .../widgets/Tabs1/PowerDateFrom.json | 8 +- .../widgets/Tabs1/PowerDateTo.json | 8 +- .../widgets/Tabs1/SeriesDateFrom.json | 8 +- .../widgets/Tabs1/SeriesDateTo.json | 8 +- .../widgets/Tabs1/Table1.json | 29 ++- .../widgets/Tabs1/Table1Copy.json | 35 +-- .../widgets/Tabs1/Tabs1.json | 21 +- .../Sales - Units Shipped/widgets/Text1.json | 8 +- .../widgets/Text2Copy1.json | 8 +- .../widgets/Text2CopyCopy.json | 8 +- .../Sales - Units Shipped/widgets/Text3.json | 8 +- pages/Sales/Sales.json | 33 --- .../capacity_display_all.txt | 1 - .../capacity_display_all/metadata.json | 31 --- pages/Sales/widgets/SidebarNavigation.json | 134 ---------- pages/Sales/widgets/Table1.json | 244 ------------------ 42 files changed, 547 insertions(+), 1694 deletions(-) delete mode 100644 pages/Home/Home.json delete mode 100644 pages/Home/queries/capacity_display_all/capacity_display_all.txt delete mode 100644 pages/Home/queries/capacity_display_all/metadata.json delete mode 100644 pages/Home/widgets/Chart1.json delete mode 100644 pages/Home/widgets/Chart1Copy.json delete mode 100644 pages/Home/widgets/Chart1CopyCopy.json delete mode 100644 pages/Home/widgets/Chart2.json delete mode 100644 pages/Home/widgets/Navigation.json delete mode 100644 pages/Marketing/Marketing.json delete mode 100644 pages/Marketing/widgets/Navigation.json create mode 100644 pages/Sales - Capacity Planning/widgets/Container1/Button1.json create mode 100644 pages/Sales - Capacity Planning/widgets/Container1/Button1Copy.json create mode 100644 pages/Sales - Capacity Planning/widgets/Container1/Container1.json rename pages/{Sales/widgets/Heading.json => Sales - Capacity Planning/widgets/Container1/Text1.json} (73%) delete mode 100644 pages/Sales - Capacity Planning/widgets/Navigation.json create mode 100644 pages/Sales - Units Shipped/widgets/Container1/Button1.json create mode 100644 pages/Sales - Units Shipped/widgets/Container1/Button1Copy.json create mode 100644 pages/Sales - Units Shipped/widgets/Container1/Container1.json create mode 100644 pages/Sales - Units Shipped/widgets/Container1/Text1Copy.json delete mode 100644 pages/Sales - Units Shipped/widgets/Navigation.json delete mode 100644 pages/Sales/Sales.json delete mode 100644 pages/Sales/queries/capacity_display_all/capacity_display_all.txt delete mode 100644 pages/Sales/queries/capacity_display_all/metadata.json delete mode 100644 pages/Sales/widgets/SidebarNavigation.json delete mode 100644 pages/Sales/widgets/Table1.json diff --git a/application.json b/application.json index 17b7ed0..2f3e1cb 100644 --- a/application.json +++ b/application.json @@ -1,5 +1,8 @@ { "appIsExample": false, + "appLayout": { + "type": "FLUID" + }, "applicationDetail": { "appPositioning": { "type": "FIXED" @@ -26,27 +29,18 @@ "evaluationVersion": 2, "icon": "calender", "pages": [ - { - "id": "Home", - "isDefault": true - }, - { - "id": "Sales", - "isDefault": false - }, { "id": "Sales - Capacity Planning", - "isDefault": false + "isDefault": true }, { "id": "Sales - Units Shipped", "isDefault": false - }, - { - "id": "Marketing", - "isDefault": false } ], + "unpublishedAppLayout": { + "type": "FLUID" + }, "unpublishedApplicationDetail": { "appPositioning": { "type": "FIXED" diff --git a/pages/Home/Home.json b/pages/Home/Home.json deleted file mode 100644 index 1f0f76e..0000000 --- a/pages/Home/Home.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "gitSyncId": "6968b6e8271e5e0befde3194_4fbad1cb-0bc0-42d0-b1e8-9afb5dda507b", - "unpublishedPage": { - "layouts": [ - { - "dsl": { - "backgroundColor": "none", - "bottomRow": 750, - "canExtend": true, - "containerStyle": "none", - "detachFromLayout": true, - "dynamicBindingPathList": [], - "leftColumn": 0, - "minHeight": 1090, - "parentColumnSpace": 1, - "parentRowSpace": 1, - "rightColumn": 1224, - "snapColumns": 64, - "snapRows": 107, - "topRow": 0, - "type": "CANVAS_WIDGET", - "version": 94, - "widgetId": "0", - "widgetName": "MainContainer" - } - } - ], - "name": "Home", - "slug": "home" - } -} \ No newline at end of file diff --git a/pages/Home/queries/capacity_display_all/capacity_display_all.txt b/pages/Home/queries/capacity_display_all/capacity_display_all.txt deleted file mode 100644 index f70f31d..0000000 --- a/pages/Home/queries/capacity_display_all/capacity_display_all.txt +++ /dev/null @@ -1 +0,0 @@ -select * from mpe.poormancapacity; \ No newline at end of file diff --git a/pages/Home/queries/capacity_display_all/metadata.json b/pages/Home/queries/capacity_display_all/metadata.json deleted file mode 100644 index 7a48088..0000000 --- a/pages/Home/queries/capacity_display_all/metadata.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "gitSyncId": "6968b6e8271e5e0befde3194_d60005da-e39e-4d62-a1e9-3b2eb7b574ef", - "id": "Home_capacity_display_all", - "pluginId": "postgres-plugin", - "pluginType": "DB", - "unpublishedAction": { - "actionConfiguration": { - "body": "select * from mpe.poormancapacity;", - "encodeParamsToggle": true, - "paginationType": "NONE", - "pluginSpecifiedTemplates": [ - { - "value": true - } - ], - "timeoutInMillisecond": 10000 - }, - "confirmBeforeExecute": false, - "datasource": { - "id": "xTuple_Sandbox", - "isAutoGenerated": false, - "name": "xTuple_Sandbox", - "pluginId": "postgres-plugin" - }, - "dynamicBindingPathList": [], - "name": "capacity_display_all", - "pageId": "Home", - "runBehaviour": "MANUAL", - "userSetOnLoad": false - } -} \ No newline at end of file diff --git a/pages/Home/widgets/Chart1.json b/pages/Home/widgets/Chart1.json deleted file mode 100644 index f08011b..0000000 --- a/pages/Home/widgets/Chart1.json +++ /dev/null @@ -1,121 +0,0 @@ -{ - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "allowScroll": false, - "animateLoading": true, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 37, - "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", - "chartData": { - "amejnorddr": { - "data": [ - { - "x": "Product1", - "y": 20000 - }, - { - "x": "Product2", - "y": 22000 - }, - { - "x": "Product3", - "y": 32000 - } - ], - "seriesName": "2023" - } - }, - "chartName": "Sales Report", - "chartType": "COLUMN_CHART", - "customEChartConfig": "{{\n{\n \"dataset\": {\n \"source\": [\n [\n \"Day\",\n \"Baidu\",\n \"Google\",\n \"Bing\"\n ],\n [\n \"Mon\",\n 620,\n 120,\n 60\n ],\n [\n \"Tue\",\n 732,\n 132,\n 72\n ],\n [\n \"Wed\",\n 701,\n 101,\n 71\n ],\n [\n \"Thu\",\n 734,\n 134,\n 74\n ],\n [\n \"Fri\",\n 1090,\n 290,\n 190\n ],\n [\n \"Sat\",\n 1130,\n 230,\n 130\n ],\n [\n \"Sun\",\n 1120,\n 220,\n 110\n ]\n ]\n },\n \"tooltip\": {\n \"trigger\": \"axis\",\n \"axisPointer\": {\n \"type\": \"shadow\"\n }\n },\n \"title\": {\n \"text\": \"Search Engine Usage\",\n \"left\": \"center\",\n \"textStyle\": {\n \"width\": 200,\n \"overflow\": \"truncate\"\n }\n },\n \"legend\": {\n \"top\": 40,\n \"type\": \"scroll\"\n },\n \"grid\": {\n \"left\": 15,\n \"right\": 15,\n \"bottom\": 30,\n \"top\": 100,\n \"containLabel\": true\n },\n \"xAxis\": [\n {\n \"type\": \"category\"\n }\n ],\n \"yAxis\": [\n {\n \"type\": \"value\"\n }\n ],\n \"series\": [\n {\n \"type\": \"bar\",\n \"stack\": \"Search Engine\"\n },\n {\n \"type\": \"bar\",\n \"stack\": \"Search Engine\"\n },\n {\n \"type\": \"bar\",\n \"stack\": \"Search Engine\"\n }\n ]\n}\n}}", - "customFusionChartConfig": { - "dataSource": { - "chart": { - "alignCaptionWithCanvas": 1, - "canvasPadding": "0", - "caption": "Sales Report", - "captionAlignment": "center", - "captionFontColor": "#231F20", - "captionFontSize": "24", - "captionPadding": "20", - "chartBottomMargin": "10", - "chartLeftMargin": "20", - "chartRightMargin": "40", - "chartTopMargin": "10", - "labelFontColor": "#716e6e", - "labelFontSize": "12", - "legendIconAlpha": "100", - "legendIconBgAlpha": "100", - "legendIconSides": "4", - "legendPosition": "top", - "theme": "fusion", - "xAxisName": "Product Line", - "xAxisNameFontColor": "#716e6e", - "xAxisNameFontSize": "14", - "yAxisName": "Revenue($)", - "yAxisNameFontColor": "#716e6e", - "yAxisNameFontSize": "14", - "yAxisValueFontColor": "#716e6e", - "yAxisValueFontSize": "12" - }, - "data": [ - { - "label": "Product1", - "value": 20000 - }, - { - "label": "Product2", - "value": 22000 - }, - { - "label": "Product3", - "value": 32000 - } - ] - }, - "type": "column2d" - }, - "dynamicBindingPathList": [ - { - "key": "customEChartConfig" - }, - { - "key": "borderRadius" - }, - { - "key": "boxShadow" - }, - { - "key": "accentColor" - }, - { - "key": "fontFamily" - } - ], - "flexVerticalAlignment": "start", - "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", - "isLoading": false, - "isVisible": true, - "key": "ptkjcbqs1e", - "labelOrientation": "auto", - "leftColumn": 3, - "minWidth": 450, - "mobileBottomRow": 35, - "mobileLeftColumn": 1, - "mobileRightColumn": 25, - "mobileTopRow": 3, - "needsErrorInfo": true, - "parentColumnSpace": 25.109375, - "parentId": "0", - "parentRowSpace": 10, - "renderMode": "CANVAS", - "responsiveBehavior": "fill", - "rightColumn": 30, - "showDataPointLabel": false, - "topRow": 8, - "type": "CHART_WIDGET", - "version": 1, - "widgetId": "bkkgqululk", - "widgetName": "Chart1", - "xAxisName": "Product Line", - "yAxisName": "Revenue($)" -} \ No newline at end of file diff --git a/pages/Home/widgets/Chart1Copy.json b/pages/Home/widgets/Chart1Copy.json deleted file mode 100644 index f19a558..0000000 --- a/pages/Home/widgets/Chart1Copy.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "allowScroll": false, - "animateLoading": true, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 75, - "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", - "chartData": { - "amejnorddr": { - "data": [ - { - "x": "Product1", - "y": 20000 - }, - { - "x": "Product2", - "y": 22000 - }, - { - "x": "Product3", - "y": 32000 - } - ], - "seriesName": "2023" - } - }, - "chartName": "Sales Report", - "chartType": "BAR_CHART", - "customEChartConfig": "{{\n{\n \"dataset\": {\n \"source\": [\n [\n \"Day\",\n \"Baidu\",\n \"Google\",\n \"Bing\"\n ],\n [\n \"Mon\",\n 620,\n 120,\n 60\n ],\n [\n \"Tue\",\n 732,\n 132,\n 72\n ],\n [\n \"Wed\",\n 701,\n 101,\n 71\n ],\n [\n \"Thu\",\n 734,\n 134,\n 74\n ],\n [\n \"Fri\",\n 1090,\n 290,\n 190\n ],\n [\n \"Sat\",\n 1130,\n 230,\n 130\n ],\n [\n \"Sun\",\n 1120,\n 220,\n 110\n ]\n ]\n },\n \"tooltip\": {\n \"trigger\": \"axis\",\n \"axisPointer\": {\n \"type\": \"shadow\"\n }\n },\n \"title\": {\n \"text\": \"Search Engine Usage\",\n \"left\": \"center\",\n \"textStyle\": {\n \"width\": 200,\n \"overflow\": \"truncate\"\n }\n },\n \"legend\": {\n \"top\": 40,\n \"type\": \"scroll\"\n },\n \"grid\": {\n \"left\": 15,\n \"right\": 15,\n \"bottom\": 30,\n \"top\": 100,\n \"containLabel\": true\n },\n \"xAxis\": [\n {\n \"type\": \"category\"\n }\n ],\n \"yAxis\": [\n {\n \"type\": \"value\"\n }\n ],\n \"series\": [\n {\n \"type\": \"bar\",\n \"stack\": \"Search Engine\"\n },\n {\n \"type\": \"bar\",\n \"stack\": \"Search Engine\"\n },\n {\n \"type\": \"bar\",\n \"stack\": \"Search Engine\"\n }\n ]\n}\n}}", - "customFusionChartConfig": { - "dataSource": { - "chart": { - "alignCaptionWithCanvas": 1, - "canvasPadding": "0", - "caption": "Sales Report", - "captionAlignment": "center", - "captionFontColor": "#231F20", - "captionFontSize": "24", - "captionPadding": "20", - "chartBottomMargin": "10", - "chartLeftMargin": "20", - "chartRightMargin": "40", - "chartTopMargin": "10", - "labelFontColor": "#716e6e", - "labelFontSize": "12", - "legendIconAlpha": "100", - "legendIconBgAlpha": "100", - "legendIconSides": "4", - "legendPosition": "top", - "theme": "fusion", - "xAxisName": "Product Line", - "xAxisNameFontColor": "#716e6e", - "xAxisNameFontSize": "14", - "yAxisName": "Revenue($)", - "yAxisNameFontColor": "#716e6e", - "yAxisNameFontSize": "14", - "yAxisValueFontColor": "#716e6e", - "yAxisValueFontSize": "12" - }, - "data": [ - { - "label": "Product1", - "value": 20000 - }, - { - "label": "Product2", - "value": 22000 - }, - { - "label": "Product3", - "value": 32000 - } - ] - }, - "type": "column2d" - }, - "dynamicBindingPathList": [ - { - "key": "customEChartConfig" - }, - { - "key": "borderRadius" - }, - { - "key": "boxShadow" - }, - { - "key": "accentColor" - }, - { - "key": "fontFamily" - } - ], - "dynamicTriggerPathList": [], - "flexVerticalAlignment": "start", - "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", - "isLoading": false, - "isVisible": true, - "key": "ptkjcbqs1e", - "labelOrientation": "auto", - "leftColumn": 3, - "minWidth": 450, - "mobileBottomRow": 35, - "mobileLeftColumn": 1, - "mobileRightColumn": 25, - "mobileTopRow": 3, - "needsErrorInfo": true, - "parentColumnSpace": 25.109375, - "parentId": "0", - "parentRowSpace": 10, - "renderMode": "CANVAS", - "responsiveBehavior": "fill", - "rightColumn": 30, - "showDataPointLabel": false, - "topRow": 43, - "type": "CHART_WIDGET", - "version": 1, - "widgetId": "sih5r3hsg7", - "widgetName": "Chart1Copy", - "xAxisName": "Product Line", - "yAxisName": "Revenue($)" -} \ No newline at end of file diff --git a/pages/Home/widgets/Chart1CopyCopy.json b/pages/Home/widgets/Chart1CopyCopy.json deleted file mode 100644 index 6fefb31..0000000 --- a/pages/Home/widgets/Chart1CopyCopy.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "allowScroll": false, - "animateLoading": true, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 74, - "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", - "chartData": { - "amejnorddr": { - "data": [ - { - "x": "Product1", - "y": 20000 - }, - { - "x": "Product2", - "y": 22000 - }, - { - "x": "Product3", - "y": 32000 - } - ], - "seriesName": "2023" - } - }, - "chartName": "Sales Report", - "chartType": "PIE_CHART", - "customEChartConfig": "{{\n{\n \"dataset\": {\n \"source\": [\n [\n \"Day\",\n \"Baidu\",\n \"Google\",\n \"Bing\"\n ],\n [\n \"Mon\",\n 620,\n 120,\n 60\n ],\n [\n \"Tue\",\n 732,\n 132,\n 72\n ],\n [\n \"Wed\",\n 701,\n 101,\n 71\n ],\n [\n \"Thu\",\n 734,\n 134,\n 74\n ],\n [\n \"Fri\",\n 1090,\n 290,\n 190\n ],\n [\n \"Sat\",\n 1130,\n 230,\n 130\n ],\n [\n \"Sun\",\n 1120,\n 220,\n 110\n ]\n ]\n },\n \"tooltip\": {\n \"trigger\": \"axis\",\n \"axisPointer\": {\n \"type\": \"shadow\"\n }\n },\n \"title\": {\n \"text\": \"Search Engine Usage\",\n \"left\": \"center\",\n \"textStyle\": {\n \"width\": 200,\n \"overflow\": \"truncate\"\n }\n },\n \"legend\": {\n \"top\": 40,\n \"type\": \"scroll\"\n },\n \"grid\": {\n \"left\": 15,\n \"right\": 15,\n \"bottom\": 30,\n \"top\": 100,\n \"containLabel\": true\n },\n \"xAxis\": [\n {\n \"type\": \"category\"\n }\n ],\n \"yAxis\": [\n {\n \"type\": \"value\"\n }\n ],\n \"series\": [\n {\n \"type\": \"bar\",\n \"stack\": \"Search Engine\"\n },\n {\n \"type\": \"bar\",\n \"stack\": \"Search Engine\"\n },\n {\n \"type\": \"bar\",\n \"stack\": \"Search Engine\"\n }\n ]\n}\n}}", - "customFusionChartConfig": { - "dataSource": { - "chart": { - "alignCaptionWithCanvas": 1, - "canvasPadding": "0", - "caption": "Sales Report", - "captionAlignment": "center", - "captionFontColor": "#231F20", - "captionFontSize": "24", - "captionPadding": "20", - "chartBottomMargin": "10", - "chartLeftMargin": "20", - "chartRightMargin": "40", - "chartTopMargin": "10", - "labelFontColor": "#716e6e", - "labelFontSize": "12", - "legendIconAlpha": "100", - "legendIconBgAlpha": "100", - "legendIconSides": "4", - "legendPosition": "top", - "theme": "fusion", - "xAxisName": "Product Line", - "xAxisNameFontColor": "#716e6e", - "xAxisNameFontSize": "14", - "yAxisName": "Revenue($)", - "yAxisNameFontColor": "#716e6e", - "yAxisNameFontSize": "14", - "yAxisValueFontColor": "#716e6e", - "yAxisValueFontSize": "12" - }, - "data": [ - { - "label": "Product1", - "value": 20000 - }, - { - "label": "Product2", - "value": 22000 - }, - { - "label": "Product3", - "value": 32000 - } - ] - }, - "type": "column2d" - }, - "dynamicBindingPathList": [ - { - "key": "customEChartConfig" - }, - { - "key": "borderRadius" - }, - { - "key": "boxShadow" - }, - { - "key": "accentColor" - }, - { - "key": "fontFamily" - } - ], - "dynamicTriggerPathList": [], - "flexVerticalAlignment": "start", - "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", - "isLoading": false, - "isVisible": true, - "key": "ptkjcbqs1e", - "labelOrientation": "auto", - "leftColumn": 33, - "minWidth": 450, - "mobileBottomRow": 35, - "mobileLeftColumn": 1, - "mobileRightColumn": 25, - "mobileTopRow": 3, - "needsErrorInfo": true, - "parentColumnSpace": 25.109375, - "parentId": "0", - "parentRowSpace": 10, - "renderMode": "CANVAS", - "responsiveBehavior": "fill", - "rightColumn": 61, - "showDataPointLabel": false, - "topRow": 42, - "type": "CHART_WIDGET", - "version": 1, - "widgetId": "9gff40seu4", - "widgetName": "Chart1CopyCopy", - "xAxisName": "Product Line", - "yAxisName": "Revenue($)" -} \ No newline at end of file diff --git a/pages/Home/widgets/Chart2.json b/pages/Home/widgets/Chart2.json deleted file mode 100644 index 7eaa086..0000000 --- a/pages/Home/widgets/Chart2.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "allowScroll": false, - "animateLoading": true, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 36, - "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", - "chartData": { - "amejnorddr": { - "data": [ - { - "x": "Product1", - "y": 20000 - }, - { - "x": "Product2", - "y": 22000 - }, - { - "x": "Product3", - "y": 32000 - } - ], - "seriesName": "2023" - } - }, - "chartName": "Sales Report", - "chartType": "LINE_CHART", - "customEChartConfig": "{{\n{\n \"dataset\": {\n \"source\": [\n [\n \"Day\",\n \"Baidu\",\n \"Google\",\n \"Bing\"\n ],\n [\n \"Mon\",\n 620,\n 120,\n 60\n ],\n [\n \"Tue\",\n 732,\n 132,\n 72\n ],\n [\n \"Wed\",\n 701,\n 101,\n 71\n ],\n [\n \"Thu\",\n 734,\n 134,\n 74\n ],\n [\n \"Fri\",\n 1090,\n 290,\n 190\n ],\n [\n \"Sat\",\n 1130,\n 230,\n 130\n ],\n [\n \"Sun\",\n 1120,\n 220,\n 110\n ]\n ]\n },\n \"tooltip\": {\n \"trigger\": \"axis\",\n \"axisPointer\": {\n \"type\": \"shadow\"\n }\n },\n \"title\": {\n \"text\": \"Search Engine Usage\",\n \"left\": \"center\",\n \"textStyle\": {\n \"width\": 200,\n \"overflow\": \"truncate\"\n }\n },\n \"legend\": {\n \"top\": 40,\n \"type\": \"scroll\"\n },\n \"grid\": {\n \"left\": 15,\n \"right\": 15,\n \"bottom\": 30,\n \"top\": 100,\n \"containLabel\": true\n },\n \"xAxis\": [\n {\n \"type\": \"category\"\n }\n ],\n \"yAxis\": [\n {\n \"type\": \"value\"\n }\n ],\n \"series\": [\n {\n \"type\": \"bar\",\n \"stack\": \"Search Engine\"\n },\n {\n \"type\": \"bar\",\n \"stack\": \"Search Engine\"\n },\n {\n \"type\": \"bar\",\n \"stack\": \"Search Engine\"\n }\n ]\n}\n}}", - "customFusionChartConfig": { - "dataSource": { - "chart": { - "alignCaptionWithCanvas": 1, - "canvasPadding": "0", - "caption": "Sales Report", - "captionAlignment": "center", - "captionFontColor": "#231F20", - "captionFontSize": "24", - "captionPadding": "20", - "chartBottomMargin": "10", - "chartLeftMargin": "20", - "chartRightMargin": "40", - "chartTopMargin": "10", - "labelFontColor": "#716e6e", - "labelFontSize": "12", - "legendIconAlpha": "100", - "legendIconBgAlpha": "100", - "legendIconSides": "4", - "legendPosition": "top", - "theme": "fusion", - "xAxisName": "Product Line", - "xAxisNameFontColor": "#716e6e", - "xAxisNameFontSize": "14", - "yAxisName": "Revenue($)", - "yAxisNameFontColor": "#716e6e", - "yAxisNameFontSize": "14", - "yAxisValueFontColor": "#716e6e", - "yAxisValueFontSize": "12" - }, - "data": [ - { - "label": "Product1", - "value": 20000 - }, - { - "label": "Product2", - "value": 22000 - }, - { - "label": "Product3", - "value": 32000 - } - ] - }, - "type": "column2d" - }, - "dynamicBindingPathList": [ - { - "key": "customEChartConfig" - }, - { - "key": "borderRadius" - }, - { - "key": "boxShadow" - }, - { - "key": "accentColor" - }, - { - "key": "fontFamily" - } - ], - "dynamicTriggerPathList": [], - "flexVerticalAlignment": "start", - "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", - "isLoading": false, - "isVisible": true, - "key": "ptkjcbqs1e", - "labelOrientation": "auto", - "leftColumn": 33, - "minWidth": 450, - "mobileBottomRow": 36, - "mobileLeftColumn": 34, - "mobileRightColumn": 58, - "mobileTopRow": 4, - "needsErrorInfo": true, - "parentColumnSpace": 25.109375, - "parentId": "0", - "parentRowSpace": 10, - "renderMode": "CANVAS", - "responsiveBehavior": "fill", - "rightColumn": 61, - "showDataPointLabel": false, - "topRow": 8, - "type": "CHART_WIDGET", - "version": 1, - "widgetId": "1d2av7y5u4", - "widgetName": "Chart2", - "xAxisName": "Product Line", - "yAxisName": "Revenue($)" -} \ No newline at end of file diff --git a/pages/Home/widgets/Navigation.json b/pages/Home/widgets/Navigation.json deleted file mode 100644 index 801e327..0000000 --- a/pages/Home/widgets/Navigation.json +++ /dev/null @@ -1,133 +0,0 @@ -{ - "animateLoading": true, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 7, - "boxShadow": "none", - "buttonVariant": "PRIMARY", - "childStylesheet": { - "button": { - "buttonColor": "#020618" - } - }, - "dynamicBindingPathList": [ - { - "key": "borderRadius" - } - ], - "dynamicTriggerPathList": [ - { - "key": "groupButtons.homeBtn.onClick" - }, - { - "key": "groupButtons.salesMenu.menuItems.salesOverview.onClick" - }, - { - "key": "groupButtons.salesMenu.menuItems.capacityPlanning.onClick" - }, - { - "key": "groupButtons.salesMenu.menuItems.unitsShipped.onClick" - }, - { - "key": "groupButtons.marketingBtn.onClick" - } - ], - "flexVerticalAlignment": "start", - "groupButtons": { - "homeBtn": { - "buttonColor": "#020618", - "buttonType": "SIMPLE", - "iconName": "home", - "id": "homeBtn", - "index": 0, - "isDisabled": false, - "isVisible": true, - "label": "Home", - "menuItems": {}, - "onClick": "{{navigateTo('Home', {}, 'SAME_WINDOW')}}" - }, - "salesMenu": { - "buttonColor": "#020618", - "buttonType": "MENU", - "iconName": "trending-up", - "id": "salesMenu", - "index": 1, - "isDisabled": false, - "isVisible": true, - "label": "Sales", - "menuItems": { - "salesOverview": { - "backgroundColor": "#020618", - "iconAlign": "left", - "iconColor": "#FFFFFF", - "iconName": "dashboard", - "id": "salesOverview", - "index": 0, - "isDisabled": false, - "isVisible": true, - "label": "Overview", - "onClick": "{{navigateTo('Sales', {}, 'SAME_WINDOW')}}", - "textColor": "#FFFFFF" - }, - "capacityPlanning": { - "backgroundColor": "#020618", - "iconAlign": "left", - "iconColor": "#FFFFFF", - "iconName": "calendar", - "id": "capacityPlanning", - "index": 1, - "isDisabled": false, - "isVisible": true, - "label": "Capacity Planning", - "onClick": "{{navigateTo('Sales - Capacity Planning', {}, 'SAME_WINDOW')}}", - "textColor": "#FFFFFF" - }, - "unitsShipped": { - "backgroundColor": "#020618", - "iconAlign": "left", - "iconColor": "#FFFFFF", - "iconName": "box", - "id": "unitsShipped", - "index": 2, - "isDisabled": false, - "isVisible": true, - "label": "Units Shipped", - "onClick": "{{navigateTo('Sales - Units Shipped', {}, 'SAME_WINDOW')}}", - "textColor": "#FFFFFF" - } - } - }, - "marketingBtn": { - "buttonColor": "#020618", - "buttonType": "SIMPLE", - "iconName": "megaphone", - "id": "marketingBtn", - "index": 2, - "isDisabled": false, - "isVisible": true, - "label": "Marketing", - "menuItems": {}, - "onClick": "{{navigateTo('Marketing', {}, 'SAME_WINDOW')}}" - } - }, - "isLoading": false, - "isVisible": true, - "key": "nav1btngrp", - "leftColumn": 0, - "minWidth": 450, - "mobileBottomRow": 7, - "mobileLeftColumn": 0, - "mobileRightColumn": 64, - "mobileTopRow": 0, - "orientation": "horizontal", - "parentColumnSpace": 25.109375, - "parentId": "0", - "parentRowSpace": 10, - "renderMode": "CANVAS", - "responsiveBehavior": "fill", - "rightColumn": 64, - "topRow": 0, - "type": "BUTTON_GROUP_WIDGET", - "version": 1, - "widgetId": "nav1btngrp001", - "widgetName": "Navigation" -} diff --git a/pages/Marketing/Marketing.json b/pages/Marketing/Marketing.json deleted file mode 100644 index e4b7b9f..0000000 --- a/pages/Marketing/Marketing.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "gitSyncId": "6968b6e8271e5e0befde3194_48a95e4c-7ce4-402d-a992-b5d996b95477", - "unpublishedPage": { - "isHidden": false, - "layouts": [ - { - "dsl": { - "backgroundColor": "none", - "bottomRow": 1080, - "canExtend": true, - "containerStyle": "none", - "detachFromLayout": true, - "dynamicBindingPathList": [], - "leftColumn": 0, - "minHeight": 1090, - "parentColumnSpace": 1, - "parentRowSpace": 1, - "rightColumn": 1224, - "snapColumns": 64, - "snapRows": 107, - "topRow": 0, - "type": "CANVAS_WIDGET", - "version": 94, - "widgetId": "0", - "widgetName": "MainContainer" - } - } - ], - "name": "Marketing", - "slug": "marketing" - } -} \ No newline at end of file diff --git a/pages/Marketing/widgets/Navigation.json b/pages/Marketing/widgets/Navigation.json deleted file mode 100644 index 1431c10..0000000 --- a/pages/Marketing/widgets/Navigation.json +++ /dev/null @@ -1,133 +0,0 @@ -{ - "animateLoading": true, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 7, - "boxShadow": "none", - "buttonVariant": "PRIMARY", - "childStylesheet": { - "button": { - "buttonColor": "#020618" - } - }, - "dynamicBindingPathList": [ - { - "key": "borderRadius" - } - ], - "dynamicTriggerPathList": [ - { - "key": "groupButtons.homeBtn.onClick" - }, - { - "key": "groupButtons.salesMenu.menuItems.salesOverview.onClick" - }, - { - "key": "groupButtons.salesMenu.menuItems.capacityPlanning.onClick" - }, - { - "key": "groupButtons.salesMenu.menuItems.unitsShipped.onClick" - }, - { - "key": "groupButtons.marketingBtn.onClick" - } - ], - "flexVerticalAlignment": "start", - "groupButtons": { - "homeBtn": { - "buttonColor": "#020618", - "buttonType": "SIMPLE", - "iconName": "home", - "id": "homeBtn", - "index": 0, - "isDisabled": false, - "isVisible": true, - "label": "Home", - "menuItems": {}, - "onClick": "{{navigateTo('Home', {}, 'SAME_WINDOW')}}" - }, - "salesMenu": { - "buttonColor": "#020618", - "buttonType": "MENU", - "iconName": "trending-up", - "id": "salesMenu", - "index": 1, - "isDisabled": false, - "isVisible": true, - "label": "Sales", - "menuItems": { - "salesOverview": { - "backgroundColor": "#020618", - "iconAlign": "left", - "iconColor": "#FFFFFF", - "iconName": "dashboard", - "id": "salesOverview", - "index": 0, - "isDisabled": false, - "isVisible": true, - "label": "Overview", - "onClick": "{{navigateTo('Sales', {}, 'SAME_WINDOW')}}", - "textColor": "#FFFFFF" - }, - "capacityPlanning": { - "backgroundColor": "#020618", - "iconAlign": "left", - "iconColor": "#FFFFFF", - "iconName": "calendar", - "id": "capacityPlanning", - "index": 1, - "isDisabled": false, - "isVisible": true, - "label": "Capacity Planning", - "onClick": "{{navigateTo('Sales - Capacity Planning', {}, 'SAME_WINDOW')}}", - "textColor": "#FFFFFF" - }, - "unitsShipped": { - "backgroundColor": "#020618", - "iconAlign": "left", - "iconColor": "#FFFFFF", - "iconName": "box", - "id": "unitsShipped", - "index": 2, - "isDisabled": false, - "isVisible": true, - "label": "Units Shipped", - "onClick": "{{navigateTo('Sales - Units Shipped', {}, 'SAME_WINDOW')}}", - "textColor": "#FFFFFF" - } - } - }, - "marketingBtn": { - "buttonColor": "#020618", - "buttonType": "SIMPLE", - "iconName": "megaphone", - "id": "marketingBtn", - "index": 2, - "isDisabled": false, - "isVisible": true, - "label": "Marketing", - "menuItems": {}, - "onClick": "{{navigateTo('Marketing', {}, 'SAME_WINDOW')}}" - } - }, - "isLoading": false, - "isVisible": true, - "key": "nav5btngrp", - "leftColumn": 0, - "minWidth": 450, - "mobileBottomRow": 7, - "mobileLeftColumn": 0, - "mobileRightColumn": 64, - "mobileTopRow": 0, - "orientation": "horizontal", - "parentColumnSpace": 25.109375, - "parentId": "0", - "parentRowSpace": 10, - "renderMode": "CANVAS", - "responsiveBehavior": "fill", - "rightColumn": 64, - "topRow": 0, - "type": "BUTTON_GROUP_WIDGET", - "version": 1, - "widgetId": "nav5btngrp005", - "widgetName": "Navigation" -} diff --git a/pages/Sales - Capacity Planning/Sales - Capacity Planning.json b/pages/Sales - Capacity Planning/Sales - Capacity Planning.json index 97d677a..5285fd3 100644 --- a/pages/Sales - Capacity Planning/Sales - Capacity Planning.json +++ b/pages/Sales - Capacity Planning/Sales - Capacity Planning.json @@ -6,7 +6,7 @@ { "dsl": { "backgroundColor": "none", - "bottomRow": 960, + "bottomRow": 1240, "canExtend": true, "containerStyle": "none", "detachFromLayout": true, diff --git a/pages/Sales - Capacity Planning/widgets/Container1/Button1.json b/pages/Sales - Capacity Planning/widgets/Container1/Button1.json new file mode 100644 index 0000000..49e0c8a --- /dev/null +++ b/pages/Sales - Capacity Planning/widgets/Container1/Button1.json @@ -0,0 +1,47 @@ +{ + "animateLoading": true, + "borderRadius": "0.375rem", + "bottomRow": 8, + "boxShadow": "none", + "buttonColor": "{{appsmith.theme.colors.backgroundColor}}", + "buttonVariant": "PRIMARY", + "disabledWhenInvalid": false, + "dynamicBindingPathList": [ + { + "key": "buttonColor" + } + ], + "dynamicTriggerPathList": [ + { + "key": "onClick" + } + ], + "isDefaultClickDisabled": true, + "isDisabled": false, + "isLoading": false, + "isVisible": true, + "key": "0k5ucqsuin", + "leftColumn": 0, + "minWidth": 120, + "mobileBottomRow": 8, + "mobileLeftColumn": 0, + "mobileRightColumn": 16, + "mobileTopRow": 4, + "needsErrorInfo": false, + "onClick": "{{navigateTo('Sales - Capacity Planning', {}, 'SAME_WINDOW');}}", + "parentColumnSpace": 3.841796875, + "parentId": "x3pc17vp6q", + "parentRowSpace": 10, + "placement": "START", + "recaptchaType": "V3", + "renderMode": "CANVAS", + "resetFormOnClick": false, + "responsiveBehavior": "hug", + "rightColumn": 64, + "text": "Capacity Planning", + "topRow": 4, + "type": "BUTTON_WIDGET", + "version": 1, + "widgetId": "s188sbgcao", + "widgetName": "Button1" +} \ No newline at end of file diff --git a/pages/Sales - Capacity Planning/widgets/Container1/Button1Copy.json b/pages/Sales - Capacity Planning/widgets/Container1/Button1Copy.json new file mode 100644 index 0000000..9889851 --- /dev/null +++ b/pages/Sales - Capacity Planning/widgets/Container1/Button1Copy.json @@ -0,0 +1,43 @@ +{ + "animateLoading": true, + "borderRadius": "0.375rem", + "bottomRow": 12, + "boxShadow": "none", + "buttonColor": "#ffffff", + "buttonVariant": "PRIMARY", + "disabledWhenInvalid": false, + "dynamicBindingPathList": [], + "dynamicTriggerPathList": [ + { + "key": "onClick" + } + ], + "isDefaultClickDisabled": true, + "isDisabled": false, + "isLoading": false, + "isVisible": true, + "key": "0k5ucqsuin", + "leftColumn": 0, + "minWidth": 120, + "mobileBottomRow": 8, + "mobileLeftColumn": 0, + "mobileRightColumn": 16, + "mobileTopRow": 4, + "needsErrorInfo": false, + "onClick": "{{navigateTo('Sales - Units Shipped', {}, 'SAME_WINDOW');}}", + "parentColumnSpace": 3.841796875, + "parentId": "x3pc17vp6q", + "parentRowSpace": 10, + "placement": "START", + "recaptchaType": "V3", + "renderMode": "CANVAS", + "resetFormOnClick": false, + "responsiveBehavior": "hug", + "rightColumn": 64, + "text": "Units Shipped", + "topRow": 8, + "type": "BUTTON_WIDGET", + "version": 1, + "widgetId": "6r4m823fno", + "widgetName": "Button1Copy" +} \ No newline at end of file diff --git a/pages/Sales - Capacity Planning/widgets/Container1/Container1.json b/pages/Sales - Capacity Planning/widgets/Container1/Container1.json new file mode 100644 index 0000000..53d4f32 --- /dev/null +++ b/pages/Sales - Capacity Planning/widgets/Container1/Container1.json @@ -0,0 +1,87 @@ +{ + "animateLoading": true, + "backgroundColor": "#FFFFFF", + "borderColor": "#E0DEDE", + "borderRadius": "0px", + "borderWidth": "1", + "bottomRow": 124, + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "children": [ + { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "bottomRow": 1240, + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "canExtend": false, + "containerStyle": "none", + "detachFromLayout": true, + "dynamicBindingPathList": [ + { + "key": "borderRadius" + }, + { + "key": "boxShadow" + } + ], + "dynamicHeight": "AUTO_HEIGHT", + "flexLayers": [], + "isLoading": false, + "isVisible": true, + "key": "xorz42kdhi", + "leftColumn": 0, + "maxDynamicHeight": 9000, + "minDynamicHeight": 4, + "minHeight": 100, + "minWidth": 450, + "mobileBottomRow": 100, + "mobileLeftColumn": 0, + "mobileRightColumn": 132.9375, + "mobileTopRow": 0, + "needsErrorInfo": false, + "parentColumnSpace": 1, + "parentId": "4ric55du8p", + "parentRowSpace": 1, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 132.9375, + "topRow": 0, + "type": "CANVAS_WIDGET", + "version": 1, + "widgetId": "x3pc17vp6q", + "widgetName": "Canvas1" + } + ], + "containerStyle": "card", + "dynamicBindingPathList": [ + { + "key": "boxShadow" + } + ], + "dynamicHeight": "FIXED", + "dynamicTriggerPathList": [], + "flexVerticalAlignment": "stretch", + "isCanvas": true, + "isLoading": false, + "isVisible": true, + "key": "36jaq5m9iy", + "leftColumn": 0, + "maxDynamicHeight": 12, + "minDynamicHeight": 10, + "minWidth": 450, + "mobileBottomRow": 10, + "mobileLeftColumn": 0, + "mobileRightColumn": 3, + "mobileTopRow": 0, + "needsErrorInfo": false, + "parentColumnSpace": 44.3125, + "parentId": "0", + "parentRowSpace": 10, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 6, + "shouldScrollContents": true, + "topRow": 0, + "type": "CONTAINER_WIDGET", + "version": 1, + "widgetId": "4ric55du8p", + "widgetName": "Container1" +} \ No newline at end of file diff --git a/pages/Sales/widgets/Heading.json b/pages/Sales - Capacity Planning/widgets/Container1/Text1.json similarity index 73% rename from pages/Sales/widgets/Heading.json rename to pages/Sales - Capacity Planning/widgets/Container1/Text1.json index d274e1a..79e1aa1 100644 --- a/pages/Sales/widgets/Heading.json +++ b/pages/Sales - Capacity Planning/widgets/Container1/Text1.json @@ -1,7 +1,7 @@ { "animateLoading": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 8, + "bottomRow": 4, "dynamicBindingPathList": [ { "key": "truncateButtonColor" @@ -16,25 +16,25 @@ "dynamicHeight": "AUTO_HEIGHT", "dynamicTriggerPathList": [], "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", - "fontSize": "1.875rem", + "fontSize": "1rem", "fontStyle": "BOLD", "isLoading": false, "isVisible": true, - "key": "pii8e5rbru", - "leftColumn": 15, + "key": "01n8bhu9n6", + "leftColumn": 0, "maxDynamicHeight": 9000, "minDynamicHeight": 4, "minWidth": 450, - "mobileBottomRow": 5, - "mobileLeftColumn": 15, - "mobileRightColumn": 64, - "mobileTopRow": 1, + "mobileBottomRow": 6, + "mobileLeftColumn": 10, + "mobileRightColumn": 26, + "mobileTopRow": 2, "needsErrorInfo": false, - "originalBottomRow": 8, + "originalBottomRow": 7, "originalTopRow": 0, "overflow": "NONE", - "parentColumnSpace": 25.109375, - "parentId": "0", + "parentColumnSpace": 3.841796875, + "parentId": "x3pc17vp6q", "parentRowSpace": 10, "renderMode": "CANVAS", "responsiveBehavior": "fill", @@ -47,6 +47,6 @@ "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", "type": "TEXT_WIDGET", "version": 1, - "widgetId": "mt8rmbyqnn", - "widgetName": "Heading" + "widgetId": "20hjkxb0im", + "widgetName": "Text1" } \ No newline at end of file diff --git a/pages/Sales - Capacity Planning/widgets/Heading.json b/pages/Sales - Capacity Planning/widgets/Heading.json index c64c6f9..f3742e2 100644 --- a/pages/Sales - Capacity Planning/widgets/Heading.json +++ b/pages/Sales - Capacity Planning/widgets/Heading.json @@ -1,7 +1,7 @@ { "animateLoading": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 16, + "bottomRow": 5, "dynamicBindingPathList": [ { "key": "truncateButtonColor" @@ -21,7 +21,7 @@ "isLoading": false, "isVisible": true, "key": "pii8e5rbru", - "leftColumn": 1, + "leftColumn": 6, "maxDynamicHeight": 9000, "minDynamicHeight": 4, "minWidth": 450, @@ -30,20 +30,20 @@ "mobileRightColumn": 17, "mobileTopRow": 1, "needsErrorInfo": false, - "originalBottomRow": 16, - "originalTopRow": 8, + "originalBottomRow": 5, + "originalTopRow": 0, "overflow": "NONE", "parentColumnSpace": 25.109375, "parentId": "0", "parentRowSpace": 10, "renderMode": "CANVAS", "responsiveBehavior": "fill", - "rightColumn": 17, + "rightColumn": 22, "shouldTruncate": false, - "text": "Sales / Capacity Planning", + "text": "Sales - Capacity Planning", "textAlign": "LEFT", "textColor": "#231F20", - "topRow": 8, + "topRow": 0, "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", "type": "TEXT_WIDGET", "version": 1, diff --git a/pages/Sales - Capacity Planning/widgets/Navigation.json b/pages/Sales - Capacity Planning/widgets/Navigation.json deleted file mode 100644 index 713eda9..0000000 --- a/pages/Sales - Capacity Planning/widgets/Navigation.json +++ /dev/null @@ -1,133 +0,0 @@ -{ - "animateLoading": true, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 7, - "boxShadow": "none", - "buttonVariant": "PRIMARY", - "childStylesheet": { - "button": { - "buttonColor": "#020618" - } - }, - "dynamicBindingPathList": [ - { - "key": "borderRadius" - } - ], - "dynamicTriggerPathList": [ - { - "key": "groupButtons.homeBtn.onClick" - }, - { - "key": "groupButtons.salesMenu.menuItems.salesOverview.onClick" - }, - { - "key": "groupButtons.salesMenu.menuItems.capacityPlanning.onClick" - }, - { - "key": "groupButtons.salesMenu.menuItems.unitsShipped.onClick" - }, - { - "key": "groupButtons.marketingBtn.onClick" - } - ], - "flexVerticalAlignment": "start", - "groupButtons": { - "homeBtn": { - "buttonColor": "#020618", - "buttonType": "SIMPLE", - "iconName": "home", - "id": "homeBtn", - "index": 0, - "isDisabled": false, - "isVisible": true, - "label": "Home", - "menuItems": {}, - "onClick": "{{navigateTo('Home', {}, 'SAME_WINDOW')}}" - }, - "salesMenu": { - "buttonColor": "#020618", - "buttonType": "MENU", - "iconName": "trending-up", - "id": "salesMenu", - "index": 1, - "isDisabled": false, - "isVisible": true, - "label": "Sales", - "menuItems": { - "salesOverview": { - "backgroundColor": "#020618", - "iconAlign": "left", - "iconColor": "#FFFFFF", - "iconName": "dashboard", - "id": "salesOverview", - "index": 0, - "isDisabled": false, - "isVisible": true, - "label": "Overview", - "onClick": "{{navigateTo('Sales', {}, 'SAME_WINDOW')}}", - "textColor": "#FFFFFF" - }, - "capacityPlanning": { - "backgroundColor": "#020618", - "iconAlign": "left", - "iconColor": "#FFFFFF", - "iconName": "calendar", - "id": "capacityPlanning", - "index": 1, - "isDisabled": false, - "isVisible": true, - "label": "Capacity Planning", - "onClick": "{{navigateTo('Sales - Capacity Planning', {}, 'SAME_WINDOW')}}", - "textColor": "#FFFFFF" - }, - "unitsShipped": { - "backgroundColor": "#020618", - "iconAlign": "left", - "iconColor": "#FFFFFF", - "iconName": "box", - "id": "unitsShipped", - "index": 2, - "isDisabled": false, - "isVisible": true, - "label": "Units Shipped", - "onClick": "{{navigateTo('Sales - Units Shipped', {}, 'SAME_WINDOW')}}", - "textColor": "#FFFFFF" - } - } - }, - "marketingBtn": { - "buttonColor": "#020618", - "buttonType": "SIMPLE", - "iconName": "megaphone", - "id": "marketingBtn", - "index": 2, - "isDisabled": false, - "isVisible": true, - "label": "Marketing", - "menuItems": {}, - "onClick": "{{navigateTo('Marketing', {}, 'SAME_WINDOW')}}" - } - }, - "isLoading": false, - "isVisible": true, - "key": "nav3btngrp", - "leftColumn": 0, - "minWidth": 450, - "mobileBottomRow": 7, - "mobileLeftColumn": 0, - "mobileRightColumn": 64, - "mobileTopRow": 0, - "orientation": "horizontal", - "parentColumnSpace": 25.109375, - "parentId": "0", - "parentRowSpace": 10, - "renderMode": "CANVAS", - "responsiveBehavior": "fill", - "rightColumn": 64, - "topRow": 0, - "type": "BUTTON_GROUP_WIDGET", - "version": 1, - "widgetId": "nav3btngrp003", - "widgetName": "Navigation" -} diff --git a/pages/Sales - Capacity Planning/widgets/Table1.json b/pages/Sales - Capacity Planning/widgets/Table1.json index 30a8652..ddb72e5 100644 --- a/pages/Sales - Capacity Planning/widgets/Table1.json +++ b/pages/Sales - Capacity Planning/widgets/Table1.json @@ -2,9 +2,9 @@ "accentColor": "{{appsmith.theme.colors.primaryColor}}", "animateLoading": true, "borderColor": "#E0DEDE", - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "borderRadius": "0.375rem", "borderWidth": "1", - "bottomRow": 96, + "bottomRow": 67, "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "cachedTableData": {}, "canFreezeColumn": true, @@ -38,8 +38,12 @@ "used_blocks" ], "columnUpdatedAt": 1768910474559, - "columnWidthMap": {}, - "compactMode": "DEFAULT", + "columnWidthMap": { + "end_date": 207, + "line_type": 103, + "start_date": 211 + }, + "compactMode": "SHORT", "customIsLoading": false, "customIsLoadingValue": "", "defaultPageSize": 0, @@ -52,9 +56,6 @@ { "key": "accentColor" }, - { - "key": "borderRadius" - }, { "key": "boxShadow" }, @@ -74,7 +75,11 @@ "key": "primaryColumns.used_blocks.computedValue" } ], - "dynamicPropertyPathList": [], + "dynamicPropertyPathList": [ + { + "key": "textSize" + } + ], "dynamicTriggerPathList": [], "enableClientSideSearch": true, "endOfData": false, @@ -87,18 +92,18 @@ "isVisibleDownload": true, "isVisibleFilters": false, "isVisiblePagination": true, - "isVisibleSearch": true, + "isVisibleSearch": false, "key": "o9k9wp97q1", "label": "Data", - "leftColumn": 1, + "leftColumn": 6, "minWidth": 450, "mobileBottomRow": 31, - "mobileLeftColumn": 1, - "mobileRightColumn": 35, - "mobileTopRow": 3, + "mobileLeftColumn": 15, + "mobileRightColumn": 64, + "mobileTopRow": 10, "needsErrorInfo": false, - "originalBottomRow": 97, - "originalTopRow": 13, + "originalBottomRow": 67, + "originalTopRow": 5, "parentColumnSpace": 11.265625, "parentId": "0", "parentRowSpace": 10, @@ -128,7 +133,7 @@ "notation": "standard", "originalId": "end_date", "sticky": "", - "textSize": "0.875rem", + "textSize": "0.775rem", "thousandSeparator": true, "validation": {}, "verticalAlignment": "CENTER", @@ -159,7 +164,7 @@ "notation": "standard", "originalId": "line_type", "sticky": "", - "textSize": "0.875rem", + "textSize": "0.775rem", "thousandSeparator": true, "validation": {}, "verticalAlignment": "CENTER", @@ -190,7 +195,7 @@ "notation": "standard", "originalId": "start_date", "sticky": "", - "textSize": "0.875rem", + "textSize": "0.775rem", "thousandSeparator": true, "validation": {}, "verticalAlignment": "CENTER", @@ -221,7 +226,7 @@ "notation": "standard", "originalId": "used_blocks", "sticky": "", - "textSize": "0.875rem", + "textSize": "0.775rem", "thousandSeparator": true, "validation": {}, "verticalAlignment": "CENTER", @@ -230,15 +235,15 @@ }, "renderMode": "CANVAS", "responsiveBehavior": "fill", - "rightColumn": 63, + "rightColumn": 55, "searchKey": "", "tableData": "{{capacity_display_all.data}}", - "textSize": "0.875rem", - "topRow": 12, + "textSize": "0.775rem", + "topRow": 5, "totalRecordsCount": 0, "type": "TABLE_WIDGET_V2", "version": 2, "verticalAlignment": "CENTER", - "widgetId": "7i9t3ugouj", + "widgetId": "auy6rk2yfa", "widgetName": "Table1" } \ No newline at end of file diff --git a/pages/Sales - Units Shipped/Sales - Units Shipped.json b/pages/Sales - Units Shipped/Sales - Units Shipped.json index cea2205..af98eee 100644 --- a/pages/Sales - Units Shipped/Sales - Units Shipped.json +++ b/pages/Sales - Units Shipped/Sales - Units Shipped.json @@ -6,7 +6,7 @@ { "dsl": { "backgroundColor": "none", - "bottomRow": 3380, + "bottomRow": 3870, "canExtend": true, "containerStyle": "none", "detachFromLayout": true, diff --git a/pages/Sales - Units Shipped/widgets/Container1/Button1.json b/pages/Sales - Units Shipped/widgets/Container1/Button1.json new file mode 100644 index 0000000..ec9d78a --- /dev/null +++ b/pages/Sales - Units Shipped/widgets/Container1/Button1.json @@ -0,0 +1,43 @@ +{ + "animateLoading": true, + "borderRadius": "0.375rem", + "bottomRow": 8, + "boxShadow": "none", + "buttonColor": "#ffffff", + "buttonVariant": "PRIMARY", + "disabledWhenInvalid": false, + "dynamicBindingPathList": [], + "dynamicTriggerPathList": [ + { + "key": "onClick" + } + ], + "isDefaultClickDisabled": true, + "isDisabled": false, + "isLoading": false, + "isVisible": true, + "key": "0k5ucqsuin", + "leftColumn": 0, + "minWidth": 120, + "mobileBottomRow": 8, + "mobileLeftColumn": 0, + "mobileRightColumn": 16, + "mobileTopRow": 4, + "needsErrorInfo": false, + "onClick": "{{navigateTo('Sales - Capacity Planning', {}, 'SAME_WINDOW');}}", + "parentColumnSpace": 3.841796875, + "parentId": "wj6fxg5wpg", + "parentRowSpace": 10, + "placement": "START", + "recaptchaType": "V3", + "renderMode": "CANVAS", + "resetFormOnClick": false, + "responsiveBehavior": "hug", + "rightColumn": 64, + "text": "Capacity Planning", + "topRow": 4, + "type": "BUTTON_WIDGET", + "version": 1, + "widgetId": "oqzyf0e1bi", + "widgetName": "Button1" +} \ No newline at end of file diff --git a/pages/Sales - Units Shipped/widgets/Container1/Button1Copy.json b/pages/Sales - Units Shipped/widgets/Container1/Button1Copy.json new file mode 100644 index 0000000..382cae4 --- /dev/null +++ b/pages/Sales - Units Shipped/widgets/Container1/Button1Copy.json @@ -0,0 +1,47 @@ +{ + "animateLoading": true, + "borderRadius": "0.375rem", + "bottomRow": 12, + "boxShadow": "none", + "buttonColor": "{{appsmith.theme.colors.backgroundColor}}", + "buttonVariant": "PRIMARY", + "disabledWhenInvalid": false, + "dynamicBindingPathList": [ + { + "key": "buttonColor" + } + ], + "dynamicTriggerPathList": [ + { + "key": "onClick" + } + ], + "isDefaultClickDisabled": true, + "isDisabled": false, + "isLoading": false, + "isVisible": true, + "key": "0k5ucqsuin", + "leftColumn": 0, + "minWidth": 120, + "mobileBottomRow": 8, + "mobileLeftColumn": 0, + "mobileRightColumn": 16, + "mobileTopRow": 4, + "needsErrorInfo": false, + "onClick": "{{navigateTo('Sales - Units Shipped', {}, 'SAME_WINDOW');}}", + "parentColumnSpace": 3.841796875, + "parentId": "wj6fxg5wpg", + "parentRowSpace": 10, + "placement": "START", + "recaptchaType": "V3", + "renderMode": "CANVAS", + "resetFormOnClick": false, + "responsiveBehavior": "hug", + "rightColumn": 64, + "text": "Units Shipped", + "topRow": 8, + "type": "BUTTON_WIDGET", + "version": 1, + "widgetId": "n1t7a2l372", + "widgetName": "Button1Copy" +} \ No newline at end of file diff --git a/pages/Sales - Units Shipped/widgets/Container1/Container1.json b/pages/Sales - Units Shipped/widgets/Container1/Container1.json new file mode 100644 index 0000000..1113e13 --- /dev/null +++ b/pages/Sales - Units Shipped/widgets/Container1/Container1.json @@ -0,0 +1,87 @@ +{ + "animateLoading": true, + "backgroundColor": "#FFFFFF", + "borderColor": "#E0DEDE", + "borderRadius": "0px", + "borderWidth": "1", + "bottomRow": 122, + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "children": [ + { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "bottomRow": 1220, + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "canExtend": false, + "containerStyle": "none", + "detachFromLayout": true, + "dynamicBindingPathList": [ + { + "key": "borderRadius" + }, + { + "key": "boxShadow" + } + ], + "dynamicHeight": "AUTO_HEIGHT", + "flexLayers": [], + "isLoading": false, + "isVisible": true, + "key": "xorz42kdhi", + "leftColumn": 0, + "maxDynamicHeight": 9000, + "minDynamicHeight": 4, + "minHeight": 100, + "minWidth": 450, + "mobileBottomRow": 100, + "mobileLeftColumn": 0, + "mobileRightColumn": 132.9375, + "mobileTopRow": 0, + "needsErrorInfo": false, + "parentColumnSpace": 1, + "parentId": "oi2qb8kxz9", + "parentRowSpace": 1, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 132.9375, + "topRow": 0, + "type": "CANVAS_WIDGET", + "version": 1, + "widgetId": "wj6fxg5wpg", + "widgetName": "Canvas1Copy" + } + ], + "containerStyle": "card", + "dynamicBindingPathList": [ + { + "key": "boxShadow" + } + ], + "dynamicHeight": "FIXED", + "dynamicTriggerPathList": [], + "flexVerticalAlignment": "stretch", + "isCanvas": true, + "isLoading": false, + "isVisible": true, + "key": "36jaq5m9iy", + "leftColumn": 0, + "maxDynamicHeight": 12, + "minDynamicHeight": 10, + "minWidth": 450, + "mobileBottomRow": 10, + "mobileLeftColumn": 0, + "mobileRightColumn": 3, + "mobileTopRow": 0, + "needsErrorInfo": false, + "parentColumnSpace": 44.3125, + "parentId": "0", + "parentRowSpace": 10, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 6, + "shouldScrollContents": true, + "topRow": 0, + "type": "CONTAINER_WIDGET", + "version": 1, + "widgetId": "oi2qb8kxz9", + "widgetName": "Container1" +} \ No newline at end of file diff --git a/pages/Sales - Units Shipped/widgets/Container1/Text1Copy.json b/pages/Sales - Units Shipped/widgets/Container1/Text1Copy.json new file mode 100644 index 0000000..7689d05 --- /dev/null +++ b/pages/Sales - Units Shipped/widgets/Container1/Text1Copy.json @@ -0,0 +1,52 @@ +{ + "animateLoading": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "bottomRow": 4, + "dynamicBindingPathList": [ + { + "key": "truncateButtonColor" + }, + { + "key": "fontFamily" + }, + { + "key": "borderRadius" + } + ], + "dynamicHeight": "AUTO_HEIGHT", + "dynamicTriggerPathList": [], + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "fontSize": "1rem", + "fontStyle": "BOLD", + "isLoading": false, + "isVisible": true, + "key": "01n8bhu9n6", + "leftColumn": 0, + "maxDynamicHeight": 9000, + "minDynamicHeight": 4, + "minWidth": 450, + "mobileBottomRow": 6, + "mobileLeftColumn": 10, + "mobileRightColumn": 26, + "mobileTopRow": 2, + "needsErrorInfo": false, + "originalBottomRow": 7, + "originalTopRow": 0, + "overflow": "NONE", + "parentColumnSpace": 3.841796875, + "parentId": "wj6fxg5wpg", + "parentRowSpace": 10, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 64, + "shouldTruncate": false, + "text": "Sales", + "textAlign": "LEFT", + "textColor": "#231F20", + "topRow": 0, + "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", + "type": "TEXT_WIDGET", + "version": 1, + "widgetId": "8edga77jlx", + "widgetName": "Text1Copy" +} \ No newline at end of file diff --git a/pages/Sales - Units Shipped/widgets/Heading.json b/pages/Sales - Units Shipped/widgets/Heading.json index ba1d570..7437238 100644 --- a/pages/Sales - Units Shipped/widgets/Heading.json +++ b/pages/Sales - Units Shipped/widgets/Heading.json @@ -1,7 +1,7 @@ { "animateLoading": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 16, + "bottomRow": 5, "dynamicBindingPathList": [ { "key": "truncateButtonColor" @@ -21,7 +21,7 @@ "isLoading": false, "isVisible": true, "key": "pii8e5rbru", - "leftColumn": 1, + "leftColumn": 6, "maxDynamicHeight": 9000, "minDynamicHeight": 4, "minWidth": 450, @@ -30,20 +30,20 @@ "mobileRightColumn": 17, "mobileTopRow": 1, "needsErrorInfo": false, - "originalBottomRow": 16, - "originalTopRow": 8, + "originalBottomRow": 5, + "originalTopRow": 0, "overflow": "NONE", "parentColumnSpace": 25.109375, "parentId": "0", "parentRowSpace": 10, "renderMode": "CANVAS", "responsiveBehavior": "fill", - "rightColumn": 17, + "rightColumn": 22, "shouldTruncate": false, - "text": "Sales / Units Shipped", + "text": "Sales - Units Shipped", "textAlign": "LEFT", "textColor": "#231F20", - "topRow": 8, + "topRow": 0, "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", "type": "TEXT_WIDGET", "version": 1, diff --git a/pages/Sales - Units Shipped/widgets/Navigation.json b/pages/Sales - Units Shipped/widgets/Navigation.json deleted file mode 100644 index 60849aa..0000000 --- a/pages/Sales - Units Shipped/widgets/Navigation.json +++ /dev/null @@ -1,133 +0,0 @@ -{ - "animateLoading": true, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 7, - "boxShadow": "none", - "buttonVariant": "PRIMARY", - "childStylesheet": { - "button": { - "buttonColor": "#020618" - } - }, - "dynamicBindingPathList": [ - { - "key": "borderRadius" - } - ], - "dynamicTriggerPathList": [ - { - "key": "groupButtons.homeBtn.onClick" - }, - { - "key": "groupButtons.salesMenu.menuItems.salesOverview.onClick" - }, - { - "key": "groupButtons.salesMenu.menuItems.capacityPlanning.onClick" - }, - { - "key": "groupButtons.salesMenu.menuItems.unitsShipped.onClick" - }, - { - "key": "groupButtons.marketingBtn.onClick" - } - ], - "flexVerticalAlignment": "start", - "groupButtons": { - "homeBtn": { - "buttonColor": "#020618", - "buttonType": "SIMPLE", - "iconName": "home", - "id": "homeBtn", - "index": 0, - "isDisabled": false, - "isVisible": true, - "label": "Home", - "menuItems": {}, - "onClick": "{{navigateTo('Home', {}, 'SAME_WINDOW')}}" - }, - "salesMenu": { - "buttonColor": "#020618", - "buttonType": "MENU", - "iconName": "trending-up", - "id": "salesMenu", - "index": 1, - "isDisabled": false, - "isVisible": true, - "label": "Sales", - "menuItems": { - "salesOverview": { - "backgroundColor": "#020618", - "iconAlign": "left", - "iconColor": "#FFFFFF", - "iconName": "dashboard", - "id": "salesOverview", - "index": 0, - "isDisabled": false, - "isVisible": true, - "label": "Overview", - "onClick": "{{navigateTo('Sales', {}, 'SAME_WINDOW')}}", - "textColor": "#FFFFFF" - }, - "capacityPlanning": { - "backgroundColor": "#020618", - "iconAlign": "left", - "iconColor": "#FFFFFF", - "iconName": "calendar", - "id": "capacityPlanning", - "index": 1, - "isDisabled": false, - "isVisible": true, - "label": "Capacity Planning", - "onClick": "{{navigateTo('Sales - Capacity Planning', {}, 'SAME_WINDOW')}}", - "textColor": "#FFFFFF" - }, - "unitsShipped": { - "backgroundColor": "#020618", - "iconAlign": "left", - "iconColor": "#FFFFFF", - "iconName": "box", - "id": "unitsShipped", - "index": 2, - "isDisabled": false, - "isVisible": true, - "label": "Units Shipped", - "onClick": "{{navigateTo('Sales - Units Shipped', {}, 'SAME_WINDOW')}}", - "textColor": "#FFFFFF" - } - } - }, - "marketingBtn": { - "buttonColor": "#020618", - "buttonType": "SIMPLE", - "iconName": "megaphone", - "id": "marketingBtn", - "index": 2, - "isDisabled": false, - "isVisible": true, - "label": "Marketing", - "menuItems": {}, - "onClick": "{{navigateTo('Marketing', {}, 'SAME_WINDOW')}}" - } - }, - "isLoading": false, - "isVisible": true, - "key": "nav4btngrp", - "leftColumn": 0, - "minWidth": 450, - "mobileBottomRow": 7, - "mobileLeftColumn": 0, - "mobileRightColumn": 64, - "mobileTopRow": 0, - "orientation": "horizontal", - "parentColumnSpace": 25.109375, - "parentId": "0", - "parentRowSpace": 10, - "renderMode": "CANVAS", - "responsiveBehavior": "fill", - "rightColumn": 64, - "topRow": 0, - "type": "BUTTON_GROUP_WIDGET", - "version": 1, - "widgetId": "nav4btngrp004", - "widgetName": "Navigation" -} diff --git a/pages/Sales - Units Shipped/widgets/Tabs1/PowerDateFrom.json b/pages/Sales - Units Shipped/widgets/Tabs1/PowerDateFrom.json index c47ac71..6619daa 100644 --- a/pages/Sales - Units Shipped/widgets/Tabs1/PowerDateFrom.json +++ b/pages/Sales - Units Shipped/widgets/Tabs1/PowerDateFrom.json @@ -2,7 +2,7 @@ "accentColor": "{{appsmith.theme.colors.primaryColor}}", "animateLoading": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 8, + "bottomRow": 7, "boxShadow": "none", "closeOnSelection": true, "dateFormat": "YYYY-MM-DD HH:mm", @@ -28,7 +28,7 @@ "labelPosition": "Top", "labelTextSize": "0.875rem", "labelWidth": 5, - "leftColumn": 1, + "leftColumn": 0, "maxDate": "2121-12-31T18:29:00.000Z", "maxDynamicHeight": 9000, "minDate": "1920-12-31T18:30:00.000Z", @@ -44,10 +44,10 @@ "parentRowSpace": 10, "renderMode": "CANVAS", "responsiveBehavior": "fill", - "rightColumn": 21, + "rightColumn": 5, "shortcuts": false, "timePrecision": "minute", - "topRow": 1, + "topRow": 0, "type": "DATE_PICKER_WIDGET2", "version": 2, "widgetId": "uflt0124wq", diff --git a/pages/Sales - Units Shipped/widgets/Tabs1/PowerDateTo.json b/pages/Sales - Units Shipped/widgets/Tabs1/PowerDateTo.json index 9a439ba..a807e8b 100644 --- a/pages/Sales - Units Shipped/widgets/Tabs1/PowerDateTo.json +++ b/pages/Sales - Units Shipped/widgets/Tabs1/PowerDateTo.json @@ -2,7 +2,7 @@ "accentColor": "{{appsmith.theme.colors.primaryColor}}", "animateLoading": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 8, + "bottomRow": 7, "boxShadow": "none", "closeOnSelection": true, "dateFormat": "YYYY-MM-DD HH:mm", @@ -28,7 +28,7 @@ "labelPosition": "Top", "labelTextSize": "0.875rem", "labelWidth": 5, - "leftColumn": 23, + "leftColumn": 5, "maxDate": "2121-12-31T18:29:00.000Z", "maxDynamicHeight": 9000, "minDate": "1920-12-31T18:30:00.000Z", @@ -44,10 +44,10 @@ "parentRowSpace": 10, "renderMode": "CANVAS", "responsiveBehavior": "fill", - "rightColumn": 43, + "rightColumn": 10, "shortcuts": false, "timePrecision": "minute", - "topRow": 1, + "topRow": 0, "type": "DATE_PICKER_WIDGET2", "version": 2, "widgetId": "w69wh9oixl", diff --git a/pages/Sales - Units Shipped/widgets/Tabs1/SeriesDateFrom.json b/pages/Sales - Units Shipped/widgets/Tabs1/SeriesDateFrom.json index 43b0f72..a35db9c 100644 --- a/pages/Sales - Units Shipped/widgets/Tabs1/SeriesDateFrom.json +++ b/pages/Sales - Units Shipped/widgets/Tabs1/SeriesDateFrom.json @@ -2,7 +2,7 @@ "accentColor": "{{appsmith.theme.colors.primaryColor}}", "animateLoading": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 8, + "bottomRow": 7, "boxShadow": "none", "closeOnSelection": true, "dateFormat": "YYYY-MM-DD HH:mm", @@ -28,7 +28,7 @@ "labelPosition": "Top", "labelTextSize": "0.875rem", "labelWidth": 5, - "leftColumn": 1, + "leftColumn": 0, "maxDate": "2121-12-31T18:29:00.000Z", "maxDynamicHeight": 9000, "minDate": "1920-12-31T18:30:00.000Z", @@ -44,10 +44,10 @@ "parentRowSpace": 10, "renderMode": "CANVAS", "responsiveBehavior": "fill", - "rightColumn": 21, + "rightColumn": 5, "shortcuts": false, "timePrecision": "minute", - "topRow": 1, + "topRow": 0, "type": "DATE_PICKER_WIDGET2", "version": 2, "widgetId": "35qo2qtt26", diff --git a/pages/Sales - Units Shipped/widgets/Tabs1/SeriesDateTo.json b/pages/Sales - Units Shipped/widgets/Tabs1/SeriesDateTo.json index a37c643..51c85ed 100644 --- a/pages/Sales - Units Shipped/widgets/Tabs1/SeriesDateTo.json +++ b/pages/Sales - Units Shipped/widgets/Tabs1/SeriesDateTo.json @@ -2,7 +2,7 @@ "accentColor": "{{appsmith.theme.colors.primaryColor}}", "animateLoading": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 8, + "bottomRow": 7, "boxShadow": "none", "closeOnSelection": true, "dateFormat": "YYYY-MM-DD HH:mm", @@ -28,7 +28,7 @@ "labelPosition": "Top", "labelTextSize": "0.875rem", "labelWidth": 5, - "leftColumn": 23, + "leftColumn": 5, "maxDate": "2121-12-31T18:29:00.000Z", "maxDynamicHeight": 9000, "minDate": "1920-12-31T18:30:00.000Z", @@ -44,10 +44,10 @@ "parentRowSpace": 10, "renderMode": "CANVAS", "responsiveBehavior": "fill", - "rightColumn": 43, + "rightColumn": 10, "shortcuts": false, "timePrecision": "minute", - "topRow": 1, + "topRow": 0, "type": "DATE_PICKER_WIDGET2", "version": 2, "widgetId": "33mzf7ghwq", diff --git a/pages/Sales - Units Shipped/widgets/Tabs1/Table1.json b/pages/Sales - Units Shipped/widgets/Tabs1/Table1.json index f63f02f..a6cb8b8 100644 --- a/pages/Sales - Units Shipped/widgets/Tabs1/Table1.json +++ b/pages/Sales - Units Shipped/widgets/Tabs1/Table1.json @@ -2,9 +2,9 @@ "accentColor": "{{appsmith.theme.colors.primaryColor}}", "animateLoading": true, "borderColor": "#E0DEDE", - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "borderRadius": "0.375rem", "borderWidth": "1", - "bottomRow": 110, + "bottomRow": 40, "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "cachedTableData": {}, "canFreezeColumn": true, @@ -36,7 +36,10 @@ "Qty_Ordered" ], "columnUpdatedAt": 1768911391236, - "columnWidthMap": {}, + "columnWidthMap": { + "Product": 152 + }, + "compactMode": "SHORT", "customIsLoading": false, "customIsLoadingValue": "", "defaultPageSize": 0, @@ -49,9 +52,6 @@ { "key": "accentColor" }, - { - "key": "borderRadius" - }, { "key": "boxShadow" }, @@ -68,6 +68,9 @@ "dynamicPropertyPathList": [ { "key": "tableData" + }, + { + "key": "textSize" } ], "dynamicTriggerPathList": [], @@ -82,10 +85,10 @@ "isVisibleDownload": true, "isVisibleFilters": false, "isVisiblePagination": true, - "isVisibleSearch": true, + "isVisibleSearch": false, "key": "9mn8k38jb0", "label": "Data", - "leftColumn": 1, + "leftColumn": 0, "minWidth": 450, "mobileBottomRow": 33, "mobileLeftColumn": 1, @@ -126,7 +129,7 @@ "originalId": "Product", "sticky": "", "textColor": "", - "textSize": "0.875rem", + "textSize": "0.775rem", "thousandSeparator": true, "validation": {}, "verticalAlignment": "CENTER", @@ -160,7 +163,7 @@ "originalId": "Qty Ordered", "sticky": "", "textColor": "", - "textSize": "0.875rem", + "textSize": "0.775rem", "thousandSeparator": true, "validation": {}, "verticalAlignment": "CENTER", @@ -169,11 +172,11 @@ }, "renderMode": "CANVAS", "responsiveBehavior": "fill", - "rightColumn": 63, + "rightColumn": 62, "searchKey": "", "tableData": "{{units_shipped_by_series.data}}", - "textSize": "0.875rem", - "topRow": 10, + "textSize": "0.775rem", + "topRow": 7, "totalRecordsCount": 0, "type": "TABLE_WIDGET_V2", "version": 2, diff --git a/pages/Sales - Units Shipped/widgets/Tabs1/Table1Copy.json b/pages/Sales - Units Shipped/widgets/Tabs1/Table1Copy.json index 5eb394e..3c8dd82 100644 --- a/pages/Sales - Units Shipped/widgets/Tabs1/Table1Copy.json +++ b/pages/Sales - Units Shipped/widgets/Tabs1/Table1Copy.json @@ -2,9 +2,9 @@ "accentColor": "{{appsmith.theme.colors.primaryColor}}", "animateLoading": true, "borderColor": "#E0DEDE", - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "borderRadius": "0.375rem", "borderWidth": "1", - "bottomRow": 175, + "bottomRow": 168, "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "cachedTableData": {}, "canFreezeColumn": true, @@ -38,7 +38,12 @@ "Input" ], "columnUpdatedAt": 1769094100515, - "columnWidthMap": {}, + "columnWidthMap": { + "Power_Output": 150, + "Product": 146, + "Qty_Ordered": 130 + }, + "compactMode": "SHORT", "customIsLoading": false, "customIsLoadingValue": "", "defaultPageSize": 0, @@ -51,9 +56,6 @@ { "key": "accentColor" }, - { - "key": "borderRadius" - }, { "key": "boxShadow" }, @@ -76,6 +78,9 @@ "dynamicPropertyPathList": [ { "key": "tableData" + }, + { + "key": "textSize" } ], "dynamicTriggerPathList": [], @@ -90,10 +95,10 @@ "isVisibleDownload": true, "isVisibleFilters": false, "isVisiblePagination": true, - "isVisibleSearch": true, + "isVisibleSearch": false, "key": "9mn8k38jb0", "label": "Data", - "leftColumn": 1, + "leftColumn": 0, "minWidth": 450, "mobileBottomRow": 33, "mobileLeftColumn": 1, @@ -134,7 +139,7 @@ "originalId": "Input", "sticky": "", "textColor": "", - "textSize": "0.875rem", + "textSize": "0.775rem", "thousandSeparator": true, "validation": {}, "verticalAlignment": "CENTER", @@ -168,7 +173,7 @@ "originalId": "Power Output", "sticky": "", "textColor": "", - "textSize": "0.875rem", + "textSize": "0.775rem", "thousandSeparator": true, "validation": {}, "verticalAlignment": "CENTER", @@ -202,7 +207,7 @@ "originalId": "Product", "sticky": "", "textColor": "", - "textSize": "0.875rem", + "textSize": "0.775rem", "thousandSeparator": true, "validation": {}, "verticalAlignment": "CENTER", @@ -236,7 +241,7 @@ "originalId": "Qty Ordered", "sticky": "", "textColor": "", - "textSize": "0.875rem", + "textSize": "0.775rem", "thousandSeparator": true, "validation": {}, "verticalAlignment": "CENTER", @@ -245,11 +250,11 @@ }, "renderMode": "CANVAS", "responsiveBehavior": "fill", - "rightColumn": 63, + "rightColumn": 61, "searchKey": "", "tableData": "{{units_shipped_by_power_input.data}}", - "textSize": "0.875rem", - "topRow": 10, + "textSize": "0.775rem", + "topRow": 7, "totalRecordsCount": 0, "type": "TABLE_WIDGET_V2", "version": 2, diff --git a/pages/Sales - Units Shipped/widgets/Tabs1/Tabs1.json b/pages/Sales - Units Shipped/widgets/Tabs1/Tabs1.json index 45d3d34..bae09dd 100644 --- a/pages/Sales - Units Shipped/widgets/Tabs1/Tabs1.json +++ b/pages/Sales - Units Shipped/widgets/Tabs1/Tabs1.json @@ -3,14 +3,14 @@ "animateLoading": true, "backgroundColor": "#FFFFFF", "borderColor": "#E0DEDE", - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "borderRadius": "0.375rem", "borderWidth": 1, - "bottomRow": 132, + "bottomRow": 179, "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "children": [ { "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 1120, + "bottomRow": 1700, "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "canExtend": true, "detachFromLayout": true, @@ -56,7 +56,7 @@ }, { "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 1750, + "bottomRow": 1700, "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "canExtend": true, "detachFromLayout": true, @@ -106,9 +106,6 @@ { "key": "accentColor" }, - { - "key": "borderRadius" - }, { "key": "boxShadow" } @@ -120,7 +117,7 @@ "isLoading": false, "isVisible": true, "key": "r7d08pu9q8", - "leftColumn": 1, + "leftColumn": 6, "maxDynamicHeight": 9000, "minDynamicHeight": 15, "minWidth": 450, @@ -129,14 +126,14 @@ "mobileRightColumn": 26, "mobileTopRow": 61, "needsErrorInfo": false, - "originalBottomRow": 132, - "originalTopRow": 16, + "originalBottomRow": 51, + "originalTopRow": 5, "parentColumnSpace": 25.109375, "parentId": "0", "parentRowSpace": 10, "renderMode": "CANVAS", "responsiveBehavior": "fill", - "rightColumn": 61, + "rightColumn": 64, "shouldScrollContents": true, "shouldShowTabs": true, "tabsObj": { @@ -157,7 +154,7 @@ "widgetId": "5ghij529ih" } }, - "topRow": 16, + "topRow": 5, "type": "TABS_WIDGET", "version": 3, "widgetId": "cgiukoz6f7", diff --git a/pages/Sales - Units Shipped/widgets/Text1.json b/pages/Sales - Units Shipped/widgets/Text1.json index 41425b0..4184d66 100644 --- a/pages/Sales - Units Shipped/widgets/Text1.json +++ b/pages/Sales - Units Shipped/widgets/Text1.json @@ -1,7 +1,7 @@ { "animateLoading": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 338, + "bottomRow": 387, "dynamicBindingPathList": [ { "key": "truncateButtonColor" @@ -30,8 +30,8 @@ "mobileRightColumn": 17, "mobileTopRow": 35, "needsErrorInfo": false, - "originalBottomRow": 338, - "originalTopRow": 288, + "originalBottomRow": 330, + "originalTopRow": 285, "overflow": "NONE", "parentColumnSpace": 11.265625, "parentId": "0", @@ -43,7 +43,7 @@ "text": "SELECT \nCASE WHEN item_number IN ('16688','25020') THEN 'XR Series'\nWHEN item_number IN ('22351','24952') THEN 'SL Series'\nWHEN item_number IN ('17861','25021','29243','29752') THEN 'TS Series'\nWHEN item_number IN ('17862') THEN 'MS Series'\nWHEN item_number IN ('17863') THEN 'MT Series'\nWHEN item_number IN ('17873') THEN 'Harmonic Neutralizer'\n\nELSE 'None'\nEND AS \"Product\",\nROUND(SUM(coitem_qtyord),0) as \"Qty Ordered\"\nFROM coitem LEFT OUTER JOIN cohead ON cohead_id=coitem_cohead_id\nLEFT OUTER JOIN itemsite ON coitem_itemsite_id = itemsite_id\nLEFT OUTER JOIN item ON item_id = itemsite_item_id\nLEFT OUTER JOIN charass AS reportpower ON \n(coitem_id = reportpower.charass_target_id \nAND reportpower.charass_target_type = 'SI'\nAND reportpower.charass_char_id = 25)\nWHERE item_number IN ('16688','17861','17862','17863','22351','25020','25144','25147','25021','24952','17873','29243','29752')\nAND (coitem_status <> 'X') \nAND cohead_id NOT IN(SELECT cohead_id from rahead LEFT OUTER JOIN cohead ON rahead_new_cohead_id=cohead_id WHERE cohead_id IS NOT NULL)\nAND coitem_price != 0\nAND cohead_orderdate BETWEEN '$param1'::date AND '$param2'::date\nAND reportpower.charass_value IS NOT NULL\nGROUP BY \"Product\"\nORDER BY \"Product\"", "textAlign": "LEFT", "textColor": "#231F20", - "topRow": 288, + "topRow": 342, "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", "type": "TEXT_WIDGET", "version": 1, diff --git a/pages/Sales - Units Shipped/widgets/Text2Copy1.json b/pages/Sales - Units Shipped/widgets/Text2Copy1.json index 7d3251e..bf1528a 100644 --- a/pages/Sales - Units Shipped/widgets/Text2Copy1.json +++ b/pages/Sales - Units Shipped/widgets/Text2Copy1.json @@ -1,7 +1,7 @@ { "animateLoading": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 286, + "bottomRow": 340, "dynamicBindingPathList": [ { "key": "truncateButtonColor" @@ -30,8 +30,8 @@ "mobileRightColumn": 20, "mobileTopRow": 0, "needsErrorInfo": false, - "originalBottomRow": 286, - "originalTopRow": 282, + "originalBottomRow": 283, + "originalTopRow": 279, "overflow": "NONE", "parentColumnSpace": 11.265625, "parentId": "0", @@ -43,7 +43,7 @@ "text": "Units Ordered - By Series", "textAlign": "LEFT", "textColor": "#231F20", - "topRow": 282, + "topRow": 336, "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", "type": "TEXT_WIDGET", "version": 1, diff --git a/pages/Sales - Units Shipped/widgets/Text2CopyCopy.json b/pages/Sales - Units Shipped/widgets/Text2CopyCopy.json index 3c9d25d..1683d51 100644 --- a/pages/Sales - Units Shipped/widgets/Text2CopyCopy.json +++ b/pages/Sales - Units Shipped/widgets/Text2CopyCopy.json @@ -1,7 +1,7 @@ { "animateLoading": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 232, + "bottomRow": 310, "dynamicBindingPathList": [ { "key": "truncateButtonColor" @@ -30,8 +30,8 @@ "mobileRightColumn": 20, "mobileTopRow": 0, "needsErrorInfo": false, - "originalBottomRow": 232, - "originalTopRow": 228, + "originalBottomRow": 182, + "originalTopRow": 178, "overflow": "NONE", "parentColumnSpace": 11.265625, "parentId": "0", @@ -43,7 +43,7 @@ "text": "Units Ordered - By Series", "textAlign": "LEFT", "textColor": "#231F20", - "topRow": 228, + "topRow": 306, "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", "type": "TEXT_WIDGET", "version": 1, diff --git a/pages/Sales - Units Shipped/widgets/Text3.json b/pages/Sales - Units Shipped/widgets/Text3.json index 1ba1161..efbc5f2 100644 --- a/pages/Sales - Units Shipped/widgets/Text3.json +++ b/pages/Sales - Units Shipped/widgets/Text3.json @@ -1,7 +1,7 @@ { "animateLoading": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 314, + "bottomRow": 370, "dynamicBindingPathList": [ { "key": "truncateButtonColor" @@ -30,8 +30,8 @@ "mobileRightColumn": 55, "mobileTopRow": 107, "needsErrorInfo": false, - "originalBottomRow": 314, - "originalTopRow": 232, + "originalBottomRow": 242, + "originalTopRow": 182, "overflow": "NONE", "parentColumnSpace": 11.265625, "parentId": "0", @@ -43,7 +43,7 @@ "text": "SELECT \nCASE WHEN item_number IN ('16688','25020') THEN 'XR Series'\nWHEN item_number IN ('22351','24952') THEN 'SL Series'\nWHEN item_number IN ('17861','25021','29243','29752') THEN 'TS Series'\nWHEN item_number IN ('17862') THEN 'MS Series'\nWHEN item_number IN ('17863') THEN 'MT Series'\nWHEN item_number IN ('17873') THEN 'Harmonic Neutralizer'\n\nELSE 'None'\nEND AS \"Product\",\nreportpower.charass_value as \"Power Output\", reportinput.charass_value || ' ' || reportphases.charass_value AS \"Input\", ROUND(SUM(coitem_qtyord),0) as \"Qty Ordered\"\nFROM coitem LEFT OUTER JOIN cohead ON cohead_id=coitem_cohead_id\nLEFT OUTER JOIN itemsite ON coitem_itemsite_id = itemsite_id\nLEFT OUTER JOIN item ON item_id = itemsite_item_id\nLEFT OUTER JOIN charass AS reportpower ON \n(coitem_id = reportpower.charass_target_id \nAND reportpower.charass_target_type = 'SI'\nAND reportpower.charass_char_id = 25)\nLEFT OUTER JOIN charass AS reportinput ON \n(coitem_id = reportinput.charass_target_id \nAND reportinput.charass_target_type = 'SI'\nAND reportinput.charass_char_id = 36)\nLEFT OUTER JOIN charass AS reportphases ON \n(coitem_id = reportphases.charass_target_id \nAND reportphases.charass_target_type = 'SI'\nAND reportphases.charass_char_id = 18)\nWHERE item_number IN ('16688','17861','17862','17863','22351','25020','25144','25147','25021','24952','17873','29243','29752')\nAND (coitem_status <> 'X') \nAND cohead_id NOT IN(SELECT cohead_id from rahead LEFT OUTER JOIN cohead ON rahead_new_cohead_id=cohead_id WHERE cohead_id IS NOT NULL)\nAND coitem_price != 0\nAND cohead_orderdate BETWEEN '$param1'::date AND '$param2'::date\nAND reportpower.charass_value IS NOT NULL\nGROUP BY reportpower.charass_value, \"Product\", \"Input\"\nORDER BY \"Product\", reportpower.charass_value", "textAlign": "LEFT", "textColor": "#231F20", - "topRow": 232, + "topRow": 310, "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", "type": "TEXT_WIDGET", "version": 1, diff --git a/pages/Sales/Sales.json b/pages/Sales/Sales.json deleted file mode 100644 index f7e4318..0000000 --- a/pages/Sales/Sales.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "gitSyncId": "6806a8bdc0c8882e5a70d0a0_9043b637-52ad-46a6-aeaf-e5d6bd81183b", - "unpublishedPage": { - "isHidden": false, - "layouts": [ - { - "dsl": { - "backgroundColor": "none", - "bottomRow": 1040, - "canExtend": true, - "containerStyle": "none", - "detachFromLayout": true, - "dynamicBindingPathList": [], - "dynamicTriggerPathList": [], - "leftColumn": 0, - "minHeight": 1292, - "parentColumnSpace": 1, - "parentRowSpace": 1, - "rightColumn": 4896, - "snapColumns": 64, - "snapRows": 124, - "topRow": 0, - "type": "CANVAS_WIDGET", - "version": 94, - "widgetId": "0", - "widgetName": "MainContainer" - } - } - ], - "name": "Sales", - "slug": "sales" - } -} \ No newline at end of file diff --git a/pages/Sales/queries/capacity_display_all/capacity_display_all.txt b/pages/Sales/queries/capacity_display_all/capacity_display_all.txt deleted file mode 100644 index f70f31d..0000000 --- a/pages/Sales/queries/capacity_display_all/capacity_display_all.txt +++ /dev/null @@ -1 +0,0 @@ -select * from mpe.poormancapacity; \ No newline at end of file diff --git a/pages/Sales/queries/capacity_display_all/metadata.json b/pages/Sales/queries/capacity_display_all/metadata.json deleted file mode 100644 index 925fab7..0000000 --- a/pages/Sales/queries/capacity_display_all/metadata.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "gitSyncId": "6968b6e8271e5e0befde3194_eeefcf86-aa72-417c-8e6c-bebacc100964", - "id": "Sales_capacity_display_all", - "pluginId": "postgres-plugin", - "pluginType": "DB", - "unpublishedAction": { - "actionConfiguration": { - "body": "select * from mpe.poormancapacity;", - "encodeParamsToggle": true, - "paginationType": "NONE", - "pluginSpecifiedTemplates": [ - { - "value": true - } - ], - "timeoutInMillisecond": 10000 - }, - "confirmBeforeExecute": false, - "datasource": { - "id": "xTuple_Sandbox", - "isAutoGenerated": false, - "name": "xTuple_Sandbox", - "pluginId": "postgres-plugin" - }, - "dynamicBindingPathList": [], - "name": "capacity_display_all", - "pageId": "Sales", - "runBehaviour": "AUTOMATIC", - "userSetOnLoad": false - } -} \ No newline at end of file diff --git a/pages/Sales/widgets/SidebarNavigation.json b/pages/Sales/widgets/SidebarNavigation.json deleted file mode 100644 index 7d976c7..0000000 --- a/pages/Sales/widgets/SidebarNavigation.json +++ /dev/null @@ -1,134 +0,0 @@ -{ - "animateLoading": true, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 21, - "boxShadow": "none", - "buttonVariant": "PRIMARY", - "childStylesheet": { - "button": { - "buttonColor": "#020618" - } - }, - "dynamicBindingPathList": [ - { - "key": "borderRadius" - } - ], - "dynamicTriggerPathList": [ - { - "key": "groupButtons.homeBtn.onClick" - }, - { - "key": "groupButtons.salesMenu.menuItems.salesOverview.onClick" - }, - { - "key": "groupButtons.salesMenu.menuItems.capacityPlanning.onClick" - }, - { - "key": "groupButtons.salesMenu.menuItems.unitsShipped.onClick" - }, - { - "key": "groupButtons.marketingBtn.onClick" - } - ], - "flexVerticalAlignment": "start", - "groupButtons": { - "homeBtn": { - "buttonColor": "#020618", - "buttonType": "SIMPLE", - "iconName": "home", - "id": "homeBtn", - "index": 0, - "isDisabled": false, - "isVisible": true, - "label": "Home", - "menuItems": {}, - "onClick": "{{navigateTo('Home', {}, 'SAME_WINDOW')}}" - }, - "salesMenu": { - "buttonColor": "#020618", - "buttonType": "MENU", - "iconName": "trending-up", - "id": "salesMenu", - "index": 1, - "isDisabled": false, - "isVisible": true, - "label": "Sales", - "placement": "rightStart", - "menuItems": { - "salesOverview": { - "backgroundColor": "#020618", - "iconAlign": "left", - "iconColor": "#FFFFFF", - "iconName": "dashboard", - "id": "salesOverview", - "index": 0, - "isDisabled": false, - "isVisible": true, - "label": "Overview", - "onClick": "{{navigateTo('Sales', {}, 'SAME_WINDOW')}}", - "textColor": "#FFFFFF" - }, - "capacityPlanning": { - "backgroundColor": "#020618", - "iconAlign": "left", - "iconColor": "#FFFFFF", - "iconName": "calendar", - "id": "capacityPlanning", - "index": 1, - "isDisabled": false, - "isVisible": true, - "label": "Capacity Planning", - "onClick": "{{navigateTo('Sales - Capacity Planning', {}, 'SAME_WINDOW')}}", - "textColor": "#FFFFFF" - }, - "unitsShipped": { - "backgroundColor": "#020618", - "iconAlign": "left", - "iconColor": "#FFFFFF", - "iconName": "box", - "id": "unitsShipped", - "index": 2, - "isDisabled": false, - "isVisible": true, - "label": "Units Shipped", - "onClick": "{{navigateTo('Sales - Units Shipped', {}, 'SAME_WINDOW')}}", - "textColor": "#FFFFFF" - } - } - }, - "marketingBtn": { - "buttonColor": "#020618", - "buttonType": "SIMPLE", - "iconName": "megaphone", - "id": "marketingBtn", - "index": 2, - "isDisabled": false, - "isVisible": true, - "label": "Marketing", - "menuItems": {}, - "onClick": "{{navigateTo('Marketing', {}, 'SAME_WINDOW')}}" - } - }, - "isLoading": false, - "isVisible": true, - "key": "sidenavbtngrp", - "leftColumn": 0, - "minWidth": 350, - "mobileBottomRow": 21, - "mobileLeftColumn": 0, - "mobileRightColumn": 14, - "mobileTopRow": 0, - "orientation": "vertical", - "parentColumnSpace": 25.109375, - "parentId": "0", - "parentRowSpace": 10, - "renderMode": "CANVAS", - "responsiveBehavior": "hug", - "rightColumn": 14, - "topRow": 0, - "type": "BUTTON_GROUP_WIDGET", - "version": 1, - "widgetId": "sidenav001", - "widgetName": "SidebarNavigation" -} diff --git a/pages/Sales/widgets/Table1.json b/pages/Sales/widgets/Table1.json deleted file mode 100644 index 07acd84..0000000 --- a/pages/Sales/widgets/Table1.json +++ /dev/null @@ -1,244 +0,0 @@ -{ - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "animateLoading": true, - "borderColor": "#E0DEDE", - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "borderWidth": "1", - "bottomRow": 94, - "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", - "cachedTableData": {}, - "canFreezeColumn": true, - "childStylesheet": { - "button": { - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "none", - "buttonColor": "{{appsmith.theme.colors.primaryColor}}" - }, - "editActions": { - "discardBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "discardButtonColor": "{{appsmith.theme.colors.primaryColor}}", - "saveBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "saveButtonColor": "{{appsmith.theme.colors.primaryColor}}" - }, - "iconButton": { - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "none", - "buttonColor": "{{appsmith.theme.colors.primaryColor}}" - }, - "menuButton": { - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "none", - "menuColor": "{{appsmith.theme.colors.primaryColor}}" - } - }, - "columnOrder": [ - "line_type", - "start_date", - "end_date", - "used_blocks" - ], - "columnUpdatedAt": 1768910474559, - "columnWidthMap": {}, - "compactMode": "DEFAULT", - "customIsLoading": false, - "customIsLoadingValue": "", - "defaultPageSize": 0, - "defaultSelectedRowIndex": 0, - "defaultSelectedRowIndices": [ - 0 - ], - "delimiter": ",", - "dynamicBindingPathList": [ - { - "key": "accentColor" - }, - { - "key": "borderRadius" - }, - { - "key": "boxShadow" - }, - { - "key": "tableData" - }, - { - "key": "primaryColumns.line_type.computedValue" - }, - { - "key": "primaryColumns.start_date.computedValue" - }, - { - "key": "primaryColumns.end_date.computedValue" - }, - { - "key": "primaryColumns.used_blocks.computedValue" - } - ], - "dynamicPropertyPathList": [], - "dynamicTriggerPathList": [], - "enableClientSideSearch": true, - "endOfData": false, - "flexVerticalAlignment": "start", - "horizontalAlignment": "LEFT", - "inlineEditingSaveOption": "ROW_LEVEL", - "isLoading": false, - "isSortable": true, - "isVisible": true, - "isVisibleDownload": true, - "isVisibleFilters": false, - "isVisiblePagination": true, - "isVisibleSearch": true, - "key": "o9k9wp97q1", - "label": "Data", - "leftColumn": 15, - "minWidth": 450, - "mobileBottomRow": 31, - "mobileLeftColumn": 15, - "mobileRightColumn": 64, - "mobileTopRow": 10, - "needsErrorInfo": false, - "originalBottomRow": 94, - "originalTopRow": 10, - "parentColumnSpace": 11.265625, - "parentId": "0", - "parentRowSpace": 10, - "primaryColumns": { - "end_date": { - "alias": "end_date", - "allowCellWrapping": false, - "allowSameOptionsInNewRow": true, - "columnType": "date", - "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"end_date\"])) : end_date })()}}", - "currencyCode": "USD", - "decimals": 0, - "enableFilter": true, - "enableSort": true, - "horizontalAlignment": "LEFT", - "id": "end_date", - "index": 2, - "isCellEditable": false, - "isCellVisible": true, - "isDerived": false, - "isDisabled": false, - "isDiscardVisible": true, - "isEditable": false, - "isSaveVisible": true, - "isVisible": true, - "label": "end_date", - "notation": "standard", - "originalId": "end_date", - "sticky": "", - "textSize": "0.875rem", - "thousandSeparator": true, - "validation": {}, - "verticalAlignment": "CENTER", - "width": 150 - }, - "line_type": { - "alias": "line_type", - "allowCellWrapping": false, - "allowSameOptionsInNewRow": true, - "columnType": "text", - "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"line_type\"])) : line_type })()}}", - "currencyCode": "USD", - "decimals": 0, - "enableFilter": true, - "enableSort": true, - "horizontalAlignment": "LEFT", - "id": "line_type", - "index": 0, - "isCellEditable": false, - "isCellVisible": true, - "isDerived": false, - "isDisabled": false, - "isDiscardVisible": true, - "isEditable": false, - "isSaveVisible": true, - "isVisible": true, - "label": "line_type", - "notation": "standard", - "originalId": "line_type", - "sticky": "", - "textSize": "0.875rem", - "thousandSeparator": true, - "validation": {}, - "verticalAlignment": "CENTER", - "width": 150 - }, - "start_date": { - "alias": "start_date", - "allowCellWrapping": false, - "allowSameOptionsInNewRow": true, - "columnType": "date", - "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"start_date\"])) : start_date })()}}", - "currencyCode": "USD", - "decimals": 0, - "enableFilter": true, - "enableSort": true, - "horizontalAlignment": "LEFT", - "id": "start_date", - "index": 1, - "isCellEditable": false, - "isCellVisible": true, - "isDerived": false, - "isDisabled": false, - "isDiscardVisible": true, - "isEditable": false, - "isSaveVisible": true, - "isVisible": true, - "label": "start_date", - "notation": "standard", - "originalId": "start_date", - "sticky": "", - "textSize": "0.875rem", - "thousandSeparator": true, - "validation": {}, - "verticalAlignment": "CENTER", - "width": 150 - }, - "used_blocks": { - "alias": "used_blocks", - "allowCellWrapping": false, - "allowSameOptionsInNewRow": true, - "columnType": "number", - "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"used_blocks\"])) : used_blocks })()}}", - "currencyCode": "USD", - "decimals": 0, - "enableFilter": true, - "enableSort": true, - "horizontalAlignment": "LEFT", - "id": "used_blocks", - "index": 3, - "isCellEditable": false, - "isCellVisible": true, - "isDerived": false, - "isDisabled": false, - "isDiscardVisible": true, - "isEditable": false, - "isSaveVisible": true, - "isVisible": true, - "label": "used_blocks", - "notation": "standard", - "originalId": "used_blocks", - "sticky": "", - "textSize": "0.875rem", - "thousandSeparator": true, - "validation": {}, - "verticalAlignment": "CENTER", - "width": 150 - } - }, - "renderMode": "CANVAS", - "responsiveBehavior": "fill", - "rightColumn": 64, - "searchKey": "", - "tableData": "{{capacity_display_all.data}}", - "textSize": "0.875rem", - "topRow": 10, - "totalRecordsCount": 0, - "type": "TABLE_WIDGET_V2", - "version": 2, - "verticalAlignment": "CENTER", - "widgetId": "7i9t3ugouj", - "widgetName": "Table1" -} \ No newline at end of file From aa984de4e720ba075e8f10ea0acb8ed824abd5d4 Mon Sep 17 00:00:00 2001 From: ibariss Date: Thu, 29 Jan 2026 12:00:39 +0000 Subject: [PATCH 25/71] Improved width for smaller screens --- .../widgets/Container1/Button1.json | 2 ++ .../widgets/Container1/Button1Copy.json | 2 ++ .../widgets/Container1/Container1.json | 2 +- .../widgets/Container1/Text1.json | 2 +- pages/Sales - Capacity Planning/widgets/Heading.json | 4 ++-- pages/Sales - Capacity Planning/widgets/Table1.json | 4 ++-- pages/Sales - Units Shipped/Sales - Units Shipped.json | 2 +- .../widgets/Container1/Container1.json | 2 +- pages/Sales - Units Shipped/widgets/Heading.json | 4 ++-- pages/Sales - Units Shipped/widgets/Tabs1/Tabs1.json | 8 ++++---- pages/Sales - Units Shipped/widgets/Text1.json | 6 +++--- pages/Sales - Units Shipped/widgets/Text2Copy1.json | 4 ++-- pages/Sales - Units Shipped/widgets/Text2CopyCopy.json | 4 ++-- pages/Sales - Units Shipped/widgets/Text3.json | 6 +++--- 14 files changed, 28 insertions(+), 24 deletions(-) diff --git a/pages/Sales - Capacity Planning/widgets/Container1/Button1.json b/pages/Sales - Capacity Planning/widgets/Container1/Button1.json index 49e0c8a..9bbd73e 100644 --- a/pages/Sales - Capacity Planning/widgets/Container1/Button1.json +++ b/pages/Sales - Capacity Planning/widgets/Container1/Button1.json @@ -29,6 +29,8 @@ "mobileTopRow": 4, "needsErrorInfo": false, "onClick": "{{navigateTo('Sales - Capacity Planning', {}, 'SAME_WINDOW');}}", + "originalBottomRow": 8, + "originalTopRow": 4, "parentColumnSpace": 3.841796875, "parentId": "x3pc17vp6q", "parentRowSpace": 10, diff --git a/pages/Sales - Capacity Planning/widgets/Container1/Button1Copy.json b/pages/Sales - Capacity Planning/widgets/Container1/Button1Copy.json index 9889851..bd9dfd8 100644 --- a/pages/Sales - Capacity Planning/widgets/Container1/Button1Copy.json +++ b/pages/Sales - Capacity Planning/widgets/Container1/Button1Copy.json @@ -25,6 +25,8 @@ "mobileTopRow": 4, "needsErrorInfo": false, "onClick": "{{navigateTo('Sales - Units Shipped', {}, 'SAME_WINDOW');}}", + "originalBottomRow": 12, + "originalTopRow": 8, "parentColumnSpace": 3.841796875, "parentId": "x3pc17vp6q", "parentRowSpace": 10, diff --git a/pages/Sales - Capacity Planning/widgets/Container1/Container1.json b/pages/Sales - Capacity Planning/widgets/Container1/Container1.json index 53d4f32..434c665 100644 --- a/pages/Sales - Capacity Planning/widgets/Container1/Container1.json +++ b/pages/Sales - Capacity Planning/widgets/Container1/Container1.json @@ -77,7 +77,7 @@ "parentRowSpace": 10, "renderMode": "CANVAS", "responsiveBehavior": "fill", - "rightColumn": 6, + "rightColumn": 9, "shouldScrollContents": true, "topRow": 0, "type": "CONTAINER_WIDGET", diff --git a/pages/Sales - Capacity Planning/widgets/Container1/Text1.json b/pages/Sales - Capacity Planning/widgets/Container1/Text1.json index 79e1aa1..ab4ee66 100644 --- a/pages/Sales - Capacity Planning/widgets/Container1/Text1.json +++ b/pages/Sales - Capacity Planning/widgets/Container1/Text1.json @@ -30,7 +30,7 @@ "mobileRightColumn": 26, "mobileTopRow": 2, "needsErrorInfo": false, - "originalBottomRow": 7, + "originalBottomRow": 4, "originalTopRow": 0, "overflow": "NONE", "parentColumnSpace": 3.841796875, diff --git a/pages/Sales - Capacity Planning/widgets/Heading.json b/pages/Sales - Capacity Planning/widgets/Heading.json index f3742e2..8ac4bb1 100644 --- a/pages/Sales - Capacity Planning/widgets/Heading.json +++ b/pages/Sales - Capacity Planning/widgets/Heading.json @@ -21,7 +21,7 @@ "isLoading": false, "isVisible": true, "key": "pii8e5rbru", - "leftColumn": 6, + "leftColumn": 9, "maxDynamicHeight": 9000, "minDynamicHeight": 4, "minWidth": 450, @@ -38,7 +38,7 @@ "parentRowSpace": 10, "renderMode": "CANVAS", "responsiveBehavior": "fill", - "rightColumn": 22, + "rightColumn": 64, "shouldTruncate": false, "text": "Sales - Capacity Planning", "textAlign": "LEFT", diff --git a/pages/Sales - Capacity Planning/widgets/Table1.json b/pages/Sales - Capacity Planning/widgets/Table1.json index ddb72e5..35626aa 100644 --- a/pages/Sales - Capacity Planning/widgets/Table1.json +++ b/pages/Sales - Capacity Planning/widgets/Table1.json @@ -95,7 +95,7 @@ "isVisibleSearch": false, "key": "o9k9wp97q1", "label": "Data", - "leftColumn": 6, + "leftColumn": 9, "minWidth": 450, "mobileBottomRow": 31, "mobileLeftColumn": 15, @@ -235,7 +235,7 @@ }, "renderMode": "CANVAS", "responsiveBehavior": "fill", - "rightColumn": 55, + "rightColumn": 64, "searchKey": "", "tableData": "{{capacity_display_all.data}}", "textSize": "0.775rem", diff --git a/pages/Sales - Units Shipped/Sales - Units Shipped.json b/pages/Sales - Units Shipped/Sales - Units Shipped.json index af98eee..69e51c4 100644 --- a/pages/Sales - Units Shipped/Sales - Units Shipped.json +++ b/pages/Sales - Units Shipped/Sales - Units Shipped.json @@ -6,7 +6,7 @@ { "dsl": { "backgroundColor": "none", - "bottomRow": 3870, + "bottomRow": 3350, "canExtend": true, "containerStyle": "none", "detachFromLayout": true, diff --git a/pages/Sales - Units Shipped/widgets/Container1/Container1.json b/pages/Sales - Units Shipped/widgets/Container1/Container1.json index 1113e13..f5ecaae 100644 --- a/pages/Sales - Units Shipped/widgets/Container1/Container1.json +++ b/pages/Sales - Units Shipped/widgets/Container1/Container1.json @@ -77,7 +77,7 @@ "parentRowSpace": 10, "renderMode": "CANVAS", "responsiveBehavior": "fill", - "rightColumn": 6, + "rightColumn": 9, "shouldScrollContents": true, "topRow": 0, "type": "CONTAINER_WIDGET", diff --git a/pages/Sales - Units Shipped/widgets/Heading.json b/pages/Sales - Units Shipped/widgets/Heading.json index 7437238..38e955d 100644 --- a/pages/Sales - Units Shipped/widgets/Heading.json +++ b/pages/Sales - Units Shipped/widgets/Heading.json @@ -21,7 +21,7 @@ "isLoading": false, "isVisible": true, "key": "pii8e5rbru", - "leftColumn": 6, + "leftColumn": 9, "maxDynamicHeight": 9000, "minDynamicHeight": 4, "minWidth": 450, @@ -38,7 +38,7 @@ "parentRowSpace": 10, "renderMode": "CANVAS", "responsiveBehavior": "fill", - "rightColumn": 22, + "rightColumn": 64, "shouldTruncate": false, "text": "Sales - Units Shipped", "textAlign": "LEFT", diff --git a/pages/Sales - Units Shipped/widgets/Tabs1/Tabs1.json b/pages/Sales - Units Shipped/widgets/Tabs1/Tabs1.json index bae09dd..df70bf7 100644 --- a/pages/Sales - Units Shipped/widgets/Tabs1/Tabs1.json +++ b/pages/Sales - Units Shipped/widgets/Tabs1/Tabs1.json @@ -5,12 +5,12 @@ "borderColor": "#E0DEDE", "borderRadius": "0.375rem", "borderWidth": 1, - "bottomRow": 179, + "bottomRow": 51, "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "children": [ { "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 1700, + "bottomRow": 420, "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "canExtend": true, "detachFromLayout": true, @@ -56,7 +56,7 @@ }, { "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 1700, + "bottomRow": 1680, "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "canExtend": true, "detachFromLayout": true, @@ -117,7 +117,7 @@ "isLoading": false, "isVisible": true, "key": "r7d08pu9q8", - "leftColumn": 6, + "leftColumn": 9, "maxDynamicHeight": 9000, "minDynamicHeight": 15, "minWidth": 450, diff --git a/pages/Sales - Units Shipped/widgets/Text1.json b/pages/Sales - Units Shipped/widgets/Text1.json index 4184d66..a76b97f 100644 --- a/pages/Sales - Units Shipped/widgets/Text1.json +++ b/pages/Sales - Units Shipped/widgets/Text1.json @@ -1,7 +1,7 @@ { "animateLoading": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 387, + "bottomRow": 335, "dynamicBindingPathList": [ { "key": "truncateButtonColor" @@ -30,7 +30,7 @@ "mobileRightColumn": 17, "mobileTopRow": 35, "needsErrorInfo": false, - "originalBottomRow": 330, + "originalBottomRow": 335, "originalTopRow": 285, "overflow": "NONE", "parentColumnSpace": 11.265625, @@ -43,7 +43,7 @@ "text": "SELECT \nCASE WHEN item_number IN ('16688','25020') THEN 'XR Series'\nWHEN item_number IN ('22351','24952') THEN 'SL Series'\nWHEN item_number IN ('17861','25021','29243','29752') THEN 'TS Series'\nWHEN item_number IN ('17862') THEN 'MS Series'\nWHEN item_number IN ('17863') THEN 'MT Series'\nWHEN item_number IN ('17873') THEN 'Harmonic Neutralizer'\n\nELSE 'None'\nEND AS \"Product\",\nROUND(SUM(coitem_qtyord),0) as \"Qty Ordered\"\nFROM coitem LEFT OUTER JOIN cohead ON cohead_id=coitem_cohead_id\nLEFT OUTER JOIN itemsite ON coitem_itemsite_id = itemsite_id\nLEFT OUTER JOIN item ON item_id = itemsite_item_id\nLEFT OUTER JOIN charass AS reportpower ON \n(coitem_id = reportpower.charass_target_id \nAND reportpower.charass_target_type = 'SI'\nAND reportpower.charass_char_id = 25)\nWHERE item_number IN ('16688','17861','17862','17863','22351','25020','25144','25147','25021','24952','17873','29243','29752')\nAND (coitem_status <> 'X') \nAND cohead_id NOT IN(SELECT cohead_id from rahead LEFT OUTER JOIN cohead ON rahead_new_cohead_id=cohead_id WHERE cohead_id IS NOT NULL)\nAND coitem_price != 0\nAND cohead_orderdate BETWEEN '$param1'::date AND '$param2'::date\nAND reportpower.charass_value IS NOT NULL\nGROUP BY \"Product\"\nORDER BY \"Product\"", "textAlign": "LEFT", "textColor": "#231F20", - "topRow": 342, + "topRow": 285, "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", "type": "TEXT_WIDGET", "version": 1, diff --git a/pages/Sales - Units Shipped/widgets/Text2Copy1.json b/pages/Sales - Units Shipped/widgets/Text2Copy1.json index bf1528a..c760718 100644 --- a/pages/Sales - Units Shipped/widgets/Text2Copy1.json +++ b/pages/Sales - Units Shipped/widgets/Text2Copy1.json @@ -1,7 +1,7 @@ { "animateLoading": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 340, + "bottomRow": 283, "dynamicBindingPathList": [ { "key": "truncateButtonColor" @@ -43,7 +43,7 @@ "text": "Units Ordered - By Series", "textAlign": "LEFT", "textColor": "#231F20", - "topRow": 336, + "topRow": 279, "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", "type": "TEXT_WIDGET", "version": 1, diff --git a/pages/Sales - Units Shipped/widgets/Text2CopyCopy.json b/pages/Sales - Units Shipped/widgets/Text2CopyCopy.json index 1683d51..994b538 100644 --- a/pages/Sales - Units Shipped/widgets/Text2CopyCopy.json +++ b/pages/Sales - Units Shipped/widgets/Text2CopyCopy.json @@ -1,7 +1,7 @@ { "animateLoading": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 310, + "bottomRow": 182, "dynamicBindingPathList": [ { "key": "truncateButtonColor" @@ -43,7 +43,7 @@ "text": "Units Ordered - By Series", "textAlign": "LEFT", "textColor": "#231F20", - "topRow": 306, + "topRow": 178, "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", "type": "TEXT_WIDGET", "version": 1, diff --git a/pages/Sales - Units Shipped/widgets/Text3.json b/pages/Sales - Units Shipped/widgets/Text3.json index efbc5f2..4a7758c 100644 --- a/pages/Sales - Units Shipped/widgets/Text3.json +++ b/pages/Sales - Units Shipped/widgets/Text3.json @@ -1,7 +1,7 @@ { "animateLoading": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 370, + "bottomRow": 256, "dynamicBindingPathList": [ { "key": "truncateButtonColor" @@ -30,7 +30,7 @@ "mobileRightColumn": 55, "mobileTopRow": 107, "needsErrorInfo": false, - "originalBottomRow": 242, + "originalBottomRow": 256, "originalTopRow": 182, "overflow": "NONE", "parentColumnSpace": 11.265625, @@ -43,7 +43,7 @@ "text": "SELECT \nCASE WHEN item_number IN ('16688','25020') THEN 'XR Series'\nWHEN item_number IN ('22351','24952') THEN 'SL Series'\nWHEN item_number IN ('17861','25021','29243','29752') THEN 'TS Series'\nWHEN item_number IN ('17862') THEN 'MS Series'\nWHEN item_number IN ('17863') THEN 'MT Series'\nWHEN item_number IN ('17873') THEN 'Harmonic Neutralizer'\n\nELSE 'None'\nEND AS \"Product\",\nreportpower.charass_value as \"Power Output\", reportinput.charass_value || ' ' || reportphases.charass_value AS \"Input\", ROUND(SUM(coitem_qtyord),0) as \"Qty Ordered\"\nFROM coitem LEFT OUTER JOIN cohead ON cohead_id=coitem_cohead_id\nLEFT OUTER JOIN itemsite ON coitem_itemsite_id = itemsite_id\nLEFT OUTER JOIN item ON item_id = itemsite_item_id\nLEFT OUTER JOIN charass AS reportpower ON \n(coitem_id = reportpower.charass_target_id \nAND reportpower.charass_target_type = 'SI'\nAND reportpower.charass_char_id = 25)\nLEFT OUTER JOIN charass AS reportinput ON \n(coitem_id = reportinput.charass_target_id \nAND reportinput.charass_target_type = 'SI'\nAND reportinput.charass_char_id = 36)\nLEFT OUTER JOIN charass AS reportphases ON \n(coitem_id = reportphases.charass_target_id \nAND reportphases.charass_target_type = 'SI'\nAND reportphases.charass_char_id = 18)\nWHERE item_number IN ('16688','17861','17862','17863','22351','25020','25144','25147','25021','24952','17873','29243','29752')\nAND (coitem_status <> 'X') \nAND cohead_id NOT IN(SELECT cohead_id from rahead LEFT OUTER JOIN cohead ON rahead_new_cohead_id=cohead_id WHERE cohead_id IS NOT NULL)\nAND coitem_price != 0\nAND cohead_orderdate BETWEEN '$param1'::date AND '$param2'::date\nAND reportpower.charass_value IS NOT NULL\nGROUP BY reportpower.charass_value, \"Product\", \"Input\"\nORDER BY \"Product\", reportpower.charass_value", "textAlign": "LEFT", "textColor": "#231F20", - "topRow": 310, + "topRow": 182, "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", "type": "TEXT_WIDGET", "version": 1, From 463874f8113fd2c941363d56b3f8068516296230 Mon Sep 17 00:00:00 2001 From: ibariss Date: Thu, 26 Feb 2026 14:10:05 +0000 Subject: [PATCH 26/71] Stable nav --- pages/Sales - Units Shipped/Sales - Units Shipped.json | 2 +- pages/Sales - Units Shipped/widgets/Text1.json | 4 ++-- pages/Sales - Units Shipped/widgets/Text3.json | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pages/Sales - Units Shipped/Sales - Units Shipped.json b/pages/Sales - Units Shipped/Sales - Units Shipped.json index 69e51c4..6b4fc74 100644 --- a/pages/Sales - Units Shipped/Sales - Units Shipped.json +++ b/pages/Sales - Units Shipped/Sales - Units Shipped.json @@ -6,7 +6,7 @@ { "dsl": { "backgroundColor": "none", - "bottomRow": 3350, + "bottomRow": 3330, "canExtend": true, "containerStyle": "none", "detachFromLayout": true, diff --git a/pages/Sales - Units Shipped/widgets/Text1.json b/pages/Sales - Units Shipped/widgets/Text1.json index a76b97f..c5678e4 100644 --- a/pages/Sales - Units Shipped/widgets/Text1.json +++ b/pages/Sales - Units Shipped/widgets/Text1.json @@ -1,7 +1,7 @@ { "animateLoading": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 335, + "bottomRow": 333, "dynamicBindingPathList": [ { "key": "truncateButtonColor" @@ -30,7 +30,7 @@ "mobileRightColumn": 17, "mobileTopRow": 35, "needsErrorInfo": false, - "originalBottomRow": 335, + "originalBottomRow": 333, "originalTopRow": 285, "overflow": "NONE", "parentColumnSpace": 11.265625, diff --git a/pages/Sales - Units Shipped/widgets/Text3.json b/pages/Sales - Units Shipped/widgets/Text3.json index 4a7758c..52421a7 100644 --- a/pages/Sales - Units Shipped/widgets/Text3.json +++ b/pages/Sales - Units Shipped/widgets/Text3.json @@ -1,7 +1,7 @@ { "animateLoading": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 256, + "bottomRow": 249, "dynamicBindingPathList": [ { "key": "truncateButtonColor" @@ -30,7 +30,7 @@ "mobileRightColumn": 55, "mobileTopRow": 107, "needsErrorInfo": false, - "originalBottomRow": 256, + "originalBottomRow": 249, "originalTopRow": 182, "overflow": "NONE", "parentColumnSpace": 11.265625, From 8d80fc105d3efab66fb433aab639c26a5b486dde Mon Sep 17 00:00:00 2001 From: ibariss Date: Thu, 26 Feb 2026 14:14:05 +0000 Subject: [PATCH 27/71] Add units ordered page --- application.json | 4 + .../Sales - Units Ordered.json | 32 +++ .../metadata.json | 35 +++ .../units_shipped_by_power_input.txt | 40 +++ .../units_shipped_by_series/metadata.json | 35 +++ .../units_shipped_by_series.txt | 32 +++ .../widgets/Container1/Button1.json | 43 +++ .../widgets/Container1/Button1Copy.json | 47 ++++ .../widgets/Container1/Container1.json | 87 ++++++ .../widgets/Container1/Text1Copy.json | 52 ++++ .../widgets/Heading.json | 52 ++++ .../widgets/Tabs1/PowerDateFrom.json | 55 ++++ .../widgets/Tabs1/PowerDateTo.json | 55 ++++ .../widgets/Tabs1/SeriesDateFrom.json | 55 ++++ .../widgets/Tabs1/SeriesDateTo.json | 55 ++++ .../widgets/Tabs1/Table1.json | 186 ++++++++++++ .../widgets/Tabs1/Table1Copy.json | 264 ++++++++++++++++++ .../widgets/Tabs1/Tabs1.json | 162 +++++++++++ .../Sales - Units Ordered/widgets/Text1.json | 52 ++++ .../widgets/Text2Copy1.json | 52 ++++ .../widgets/Text2CopyCopy.json | 52 ++++ .../Sales - Units Ordered/widgets/Text3.json | 52 ++++ 22 files changed, 1499 insertions(+) create mode 100644 pages/Sales - Units Ordered/Sales - Units Ordered.json create mode 100644 pages/Sales - Units Ordered/queries/units_shipped_by_power_input/metadata.json create mode 100644 pages/Sales - Units Ordered/queries/units_shipped_by_power_input/units_shipped_by_power_input.txt create mode 100644 pages/Sales - Units Ordered/queries/units_shipped_by_series/metadata.json create mode 100644 pages/Sales - Units Ordered/queries/units_shipped_by_series/units_shipped_by_series.txt create mode 100644 pages/Sales - Units Ordered/widgets/Container1/Button1.json create mode 100644 pages/Sales - Units Ordered/widgets/Container1/Button1Copy.json create mode 100644 pages/Sales - Units Ordered/widgets/Container1/Container1.json create mode 100644 pages/Sales - Units Ordered/widgets/Container1/Text1Copy.json create mode 100644 pages/Sales - Units Ordered/widgets/Heading.json create mode 100644 pages/Sales - Units Ordered/widgets/Tabs1/PowerDateFrom.json create mode 100644 pages/Sales - Units Ordered/widgets/Tabs1/PowerDateTo.json create mode 100644 pages/Sales - Units Ordered/widgets/Tabs1/SeriesDateFrom.json create mode 100644 pages/Sales - Units Ordered/widgets/Tabs1/SeriesDateTo.json create mode 100644 pages/Sales - Units Ordered/widgets/Tabs1/Table1.json create mode 100644 pages/Sales - Units Ordered/widgets/Tabs1/Table1Copy.json create mode 100644 pages/Sales - Units Ordered/widgets/Tabs1/Tabs1.json create mode 100644 pages/Sales - Units Ordered/widgets/Text1.json create mode 100644 pages/Sales - Units Ordered/widgets/Text2Copy1.json create mode 100644 pages/Sales - Units Ordered/widgets/Text2CopyCopy.json create mode 100644 pages/Sales - Units Ordered/widgets/Text3.json diff --git a/application.json b/application.json index 2f3e1cb..05a0098 100644 --- a/application.json +++ b/application.json @@ -36,6 +36,10 @@ { "id": "Sales - Units Shipped", "isDefault": false + }, + { + "id": "Sales - Units Ordered", + "isDefault": false } ], "unpublishedAppLayout": { diff --git a/pages/Sales - Units Ordered/Sales - Units Ordered.json b/pages/Sales - Units Ordered/Sales - Units Ordered.json new file mode 100644 index 0000000..1f90bdd --- /dev/null +++ b/pages/Sales - Units Ordered/Sales - Units Ordered.json @@ -0,0 +1,32 @@ +{ + "gitSyncId": "6978a0503f1cbf3622b556da_13c3b8be-1b0f-40d8-a397-78cefb9067d7", + "unpublishedPage": { + "isHidden": false, + "layouts": [ + { + "dsl": { + "backgroundColor": "none", + "bottomRow": 3330, + "canExtend": true, + "containerStyle": "none", + "detachFromLayout": true, + "dynamicBindingPathList": [], + "leftColumn": 0, + "minHeight": 1540, + "parentColumnSpace": 1, + "parentRowSpace": 1, + "rightColumn": 1224, + "snapColumns": 64, + "snapRows": 152, + "topRow": 0, + "type": "CANVAS_WIDGET", + "version": 94, + "widgetId": "0", + "widgetName": "MainContainer" + } + } + ], + "name": "Sales - Units Ordered", + "slug": "sales-units-ordered" + } +} \ No newline at end of file diff --git a/pages/Sales - Units Ordered/queries/units_shipped_by_power_input/metadata.json b/pages/Sales - Units Ordered/queries/units_shipped_by_power_input/metadata.json new file mode 100644 index 0000000..5618b18 --- /dev/null +++ b/pages/Sales - Units Ordered/queries/units_shipped_by_power_input/metadata.json @@ -0,0 +1,35 @@ +{ + "gitSyncId": "6978a0503f1cbf3622b556da_a33c1a5c-f987-4855-97da-8817781be960", + "id": "Sales - Units Ordered_units_shipped_by_power_input", + "pluginId": "postgres-plugin", + "pluginType": "DB", + "unpublishedAction": { + "actionConfiguration": { + "body": "SELECT \nCASE WHEN item_number IN ('16688','25020') THEN 'XR Series'\nWHEN item_number IN ('22351','24952') THEN 'SL Series'\nWHEN item_number IN ('17861','25021','29243','29752') THEN 'TS Series'\nWHEN item_number IN ('17862') THEN 'MS Series'\nWHEN item_number IN ('17863') THEN 'MT Series'\nWHEN item_number IN ('17873') THEN 'Harmonic Neutralizer'\n\nELSE 'None'\nEND AS \"Product\",\nreportpower.charass_value as \"Power Output\", reportinput.charass_value || ' ' || reportphases.charass_value AS \"Input\", ROUND(SUM(coitem_qtyord),0) as \"Qty Ordered\"\nFROM coitem LEFT OUTER JOIN cohead ON cohead_id=coitem_cohead_id\nLEFT OUTER JOIN itemsite ON coitem_itemsite_id = itemsite_id\nLEFT OUTER JOIN item ON item_id = itemsite_item_id\nLEFT OUTER JOIN charass AS reportpower ON \n(coitem_id = reportpower.charass_target_id \n AND reportpower.charass_target_type = 'SI'\n AND reportpower.charass_char_id = 25)\nLEFT OUTER JOIN charass AS reportinput ON \n(coitem_id = reportinput.charass_target_id \n AND reportinput.charass_target_type = 'SI'\n AND reportinput.charass_char_id = 36)\nLEFT OUTER JOIN charass AS reportphases ON \n(coitem_id = reportphases.charass_target_id \n AND reportphases.charass_target_type = 'SI'\n AND reportphases.charass_char_id = 18)\nWHERE item_number IN ('16688','17861','17862','17863','22351','25020','25144','25147','25021','24952','17873','29243','29752')\nAND (coitem_status <> 'X') \nAND cohead_id NOT IN(SELECT cohead_id from rahead LEFT OUTER JOIN cohead ON rahead_new_cohead_id=cohead_id WHERE cohead_id IS NOT NULL)\nAND coitem_price != 0\nAND (\n\tNULLIF('{{PowerDateFrom.selectedDate}}','') IS NULL\n\tOR NULLIF('{{PowerDateTo.selectedDate}}','') IS NULL\n\tOR cohead_orderdate BETWEEN\n\tNULLIF('{{PowerDateFrom.selectedDate}}','')::date\n\tAND NULLIF('{{PowerDateTo.selectedDate}}','')::date\n)\nAND reportpower.charass_value IS NOT NULL\nGROUP BY reportpower.charass_value, \"Product\", \"Input\"\nORDER BY \"Product\", reportpower.charass_value", + "encodeParamsToggle": true, + "paginationType": "NONE", + "pluginSpecifiedTemplates": [ + { + "value": true + } + ], + "timeoutInMillisecond": 10000 + }, + "confirmBeforeExecute": false, + "datasource": { + "id": "xTuple_Sandbox", + "isAutoGenerated": false, + "name": "xTuple_Sandbox", + "pluginId": "postgres-plugin" + }, + "dynamicBindingPathList": [ + { + "key": "body" + } + ], + "name": "units_shipped_by_power_input", + "pageId": "Sales - Units Ordered", + "runBehaviour": "AUTOMATIC", + "userSetOnLoad": false + } +} \ No newline at end of file diff --git a/pages/Sales - Units Ordered/queries/units_shipped_by_power_input/units_shipped_by_power_input.txt b/pages/Sales - Units Ordered/queries/units_shipped_by_power_input/units_shipped_by_power_input.txt new file mode 100644 index 0000000..4ab3ead --- /dev/null +++ b/pages/Sales - Units Ordered/queries/units_shipped_by_power_input/units_shipped_by_power_input.txt @@ -0,0 +1,40 @@ +SELECT +CASE WHEN item_number IN ('16688','25020') THEN 'XR Series' +WHEN item_number IN ('22351','24952') THEN 'SL Series' +WHEN item_number IN ('17861','25021','29243','29752') THEN 'TS Series' +WHEN item_number IN ('17862') THEN 'MS Series' +WHEN item_number IN ('17863') THEN 'MT Series' +WHEN item_number IN ('17873') THEN 'Harmonic Neutralizer' + +ELSE 'None' +END AS "Product", +reportpower.charass_value as "Power Output", reportinput.charass_value || ' ' || reportphases.charass_value AS "Input", ROUND(SUM(coitem_qtyord),0) as "Qty Ordered" +FROM coitem LEFT OUTER JOIN cohead ON cohead_id=coitem_cohead_id +LEFT OUTER JOIN itemsite ON coitem_itemsite_id = itemsite_id +LEFT OUTER JOIN item ON item_id = itemsite_item_id +LEFT OUTER JOIN charass AS reportpower ON +(coitem_id = reportpower.charass_target_id + AND reportpower.charass_target_type = 'SI' + AND reportpower.charass_char_id = 25) +LEFT OUTER JOIN charass AS reportinput ON +(coitem_id = reportinput.charass_target_id + AND reportinput.charass_target_type = 'SI' + AND reportinput.charass_char_id = 36) +LEFT OUTER JOIN charass AS reportphases ON +(coitem_id = reportphases.charass_target_id + AND reportphases.charass_target_type = 'SI' + AND reportphases.charass_char_id = 18) +WHERE item_number IN ('16688','17861','17862','17863','22351','25020','25144','25147','25021','24952','17873','29243','29752') +AND (coitem_status <> 'X') +AND cohead_id NOT IN(SELECT cohead_id from rahead LEFT OUTER JOIN cohead ON rahead_new_cohead_id=cohead_id WHERE cohead_id IS NOT NULL) +AND coitem_price != 0 +AND ( + NULLIF('{{PowerDateFrom.selectedDate}}','') IS NULL + OR NULLIF('{{PowerDateTo.selectedDate}}','') IS NULL + OR cohead_orderdate BETWEEN + NULLIF('{{PowerDateFrom.selectedDate}}','')::date + AND NULLIF('{{PowerDateTo.selectedDate}}','')::date +) +AND reportpower.charass_value IS NOT NULL +GROUP BY reportpower.charass_value, "Product", "Input" +ORDER BY "Product", reportpower.charass_value \ No newline at end of file diff --git a/pages/Sales - Units Ordered/queries/units_shipped_by_series/metadata.json b/pages/Sales - Units Ordered/queries/units_shipped_by_series/metadata.json new file mode 100644 index 0000000..b60c4fc --- /dev/null +++ b/pages/Sales - Units Ordered/queries/units_shipped_by_series/metadata.json @@ -0,0 +1,35 @@ +{ + "gitSyncId": "6978a0503f1cbf3622b556da_bb85ebfe-2773-4f11-880e-df88217f957d", + "id": "Sales - Units Ordered_units_shipped_by_series", + "pluginId": "postgres-plugin", + "pluginType": "DB", + "unpublishedAction": { + "actionConfiguration": { + "body": "SELECT \nCASE WHEN item_number IN ('16688','25020') THEN 'XR Series'\nWHEN item_number IN ('22351','24952') THEN 'SL Series'\nWHEN item_number IN ('17861','25021','29243','29752') THEN 'TS Series'\nWHEN item_number IN ('17862') THEN 'MS Series'\nWHEN item_number IN ('17863') THEN 'MT Series'\nWHEN item_number IN ('17873') THEN 'Harmonic Neutralizer'\n\nELSE 'None'\nEND AS \"Product\",\nROUND(SUM(coitem_qtyord),0) as \"Qty Ordered\"\nFROM coitem LEFT OUTER JOIN cohead ON cohead_id=coitem_cohead_id\nLEFT OUTER JOIN itemsite ON coitem_itemsite_id = itemsite_id\nLEFT OUTER JOIN item ON item_id = itemsite_item_id\nLEFT OUTER JOIN charass AS reportpower ON \n(coitem_id = reportpower.charass_target_id \n AND reportpower.charass_target_type = 'SI'\n AND reportpower.charass_char_id = 25)\nWHERE item_number IN ('16688','17861','17862','17863','22351','25020','25144','25147','25021','24952','17873','29243','29752')\nAND (coitem_status <> 'X') \nAND cohead_id NOT IN(SELECT cohead_id from rahead LEFT OUTER JOIN cohead ON rahead_new_cohead_id=cohead_id WHERE cohead_id IS NOT NULL)\nAND coitem_price != 0\nAND reportpower.charass_value IS NOT NULL\nAND (\n\tNULLIF('{{SeriesDateFrom.selectedDate}}','') IS NULL\n\tOR NULLIF('{{SeriesDateTo.selectedDate}}','') IS NULL\n\tOR cohead_orderdate BETWEEN\n\tNULLIF('{{SeriesDateFrom.selectedDate}}','')::date\n\tAND NULLIF('{{SeriesDateTo.selectedDate}}','')::date\n)\nGROUP BY \"Product\"\nORDER BY \"Product\"", + "encodeParamsToggle": true, + "paginationType": "NONE", + "pluginSpecifiedTemplates": [ + { + "value": true + } + ], + "timeoutInMillisecond": 10000 + }, + "confirmBeforeExecute": false, + "datasource": { + "id": "xTuple_Sandbox", + "isAutoGenerated": false, + "name": "xTuple_Sandbox", + "pluginId": "postgres-plugin" + }, + "dynamicBindingPathList": [ + { + "key": "body" + } + ], + "name": "units_shipped_by_series", + "pageId": "Sales - Units Ordered", + "runBehaviour": "AUTOMATIC", + "userSetOnLoad": false + } +} \ No newline at end of file diff --git a/pages/Sales - Units Ordered/queries/units_shipped_by_series/units_shipped_by_series.txt b/pages/Sales - Units Ordered/queries/units_shipped_by_series/units_shipped_by_series.txt new file mode 100644 index 0000000..dc70a79 --- /dev/null +++ b/pages/Sales - Units Ordered/queries/units_shipped_by_series/units_shipped_by_series.txt @@ -0,0 +1,32 @@ +SELECT +CASE WHEN item_number IN ('16688','25020') THEN 'XR Series' +WHEN item_number IN ('22351','24952') THEN 'SL Series' +WHEN item_number IN ('17861','25021','29243','29752') THEN 'TS Series' +WHEN item_number IN ('17862') THEN 'MS Series' +WHEN item_number IN ('17863') THEN 'MT Series' +WHEN item_number IN ('17873') THEN 'Harmonic Neutralizer' + +ELSE 'None' +END AS "Product", +ROUND(SUM(coitem_qtyord),0) as "Qty Ordered" +FROM coitem LEFT OUTER JOIN cohead ON cohead_id=coitem_cohead_id +LEFT OUTER JOIN itemsite ON coitem_itemsite_id = itemsite_id +LEFT OUTER JOIN item ON item_id = itemsite_item_id +LEFT OUTER JOIN charass AS reportpower ON +(coitem_id = reportpower.charass_target_id + AND reportpower.charass_target_type = 'SI' + AND reportpower.charass_char_id = 25) +WHERE item_number IN ('16688','17861','17862','17863','22351','25020','25144','25147','25021','24952','17873','29243','29752') +AND (coitem_status <> 'X') +AND cohead_id NOT IN(SELECT cohead_id from rahead LEFT OUTER JOIN cohead ON rahead_new_cohead_id=cohead_id WHERE cohead_id IS NOT NULL) +AND coitem_price != 0 +AND reportpower.charass_value IS NOT NULL +AND ( + NULLIF('{{SeriesDateFrom.selectedDate}}','') IS NULL + OR NULLIF('{{SeriesDateTo.selectedDate}}','') IS NULL + OR cohead_orderdate BETWEEN + NULLIF('{{SeriesDateFrom.selectedDate}}','')::date + AND NULLIF('{{SeriesDateTo.selectedDate}}','')::date +) +GROUP BY "Product" +ORDER BY "Product" \ No newline at end of file diff --git a/pages/Sales - Units Ordered/widgets/Container1/Button1.json b/pages/Sales - Units Ordered/widgets/Container1/Button1.json new file mode 100644 index 0000000..ec9d78a --- /dev/null +++ b/pages/Sales - Units Ordered/widgets/Container1/Button1.json @@ -0,0 +1,43 @@ +{ + "animateLoading": true, + "borderRadius": "0.375rem", + "bottomRow": 8, + "boxShadow": "none", + "buttonColor": "#ffffff", + "buttonVariant": "PRIMARY", + "disabledWhenInvalid": false, + "dynamicBindingPathList": [], + "dynamicTriggerPathList": [ + { + "key": "onClick" + } + ], + "isDefaultClickDisabled": true, + "isDisabled": false, + "isLoading": false, + "isVisible": true, + "key": "0k5ucqsuin", + "leftColumn": 0, + "minWidth": 120, + "mobileBottomRow": 8, + "mobileLeftColumn": 0, + "mobileRightColumn": 16, + "mobileTopRow": 4, + "needsErrorInfo": false, + "onClick": "{{navigateTo('Sales - Capacity Planning', {}, 'SAME_WINDOW');}}", + "parentColumnSpace": 3.841796875, + "parentId": "wj6fxg5wpg", + "parentRowSpace": 10, + "placement": "START", + "recaptchaType": "V3", + "renderMode": "CANVAS", + "resetFormOnClick": false, + "responsiveBehavior": "hug", + "rightColumn": 64, + "text": "Capacity Planning", + "topRow": 4, + "type": "BUTTON_WIDGET", + "version": 1, + "widgetId": "oqzyf0e1bi", + "widgetName": "Button1" +} \ No newline at end of file diff --git a/pages/Sales - Units Ordered/widgets/Container1/Button1Copy.json b/pages/Sales - Units Ordered/widgets/Container1/Button1Copy.json new file mode 100644 index 0000000..382cae4 --- /dev/null +++ b/pages/Sales - Units Ordered/widgets/Container1/Button1Copy.json @@ -0,0 +1,47 @@ +{ + "animateLoading": true, + "borderRadius": "0.375rem", + "bottomRow": 12, + "boxShadow": "none", + "buttonColor": "{{appsmith.theme.colors.backgroundColor}}", + "buttonVariant": "PRIMARY", + "disabledWhenInvalid": false, + "dynamicBindingPathList": [ + { + "key": "buttonColor" + } + ], + "dynamicTriggerPathList": [ + { + "key": "onClick" + } + ], + "isDefaultClickDisabled": true, + "isDisabled": false, + "isLoading": false, + "isVisible": true, + "key": "0k5ucqsuin", + "leftColumn": 0, + "minWidth": 120, + "mobileBottomRow": 8, + "mobileLeftColumn": 0, + "mobileRightColumn": 16, + "mobileTopRow": 4, + "needsErrorInfo": false, + "onClick": "{{navigateTo('Sales - Units Shipped', {}, 'SAME_WINDOW');}}", + "parentColumnSpace": 3.841796875, + "parentId": "wj6fxg5wpg", + "parentRowSpace": 10, + "placement": "START", + "recaptchaType": "V3", + "renderMode": "CANVAS", + "resetFormOnClick": false, + "responsiveBehavior": "hug", + "rightColumn": 64, + "text": "Units Shipped", + "topRow": 8, + "type": "BUTTON_WIDGET", + "version": 1, + "widgetId": "n1t7a2l372", + "widgetName": "Button1Copy" +} \ No newline at end of file diff --git a/pages/Sales - Units Ordered/widgets/Container1/Container1.json b/pages/Sales - Units Ordered/widgets/Container1/Container1.json new file mode 100644 index 0000000..f5ecaae --- /dev/null +++ b/pages/Sales - Units Ordered/widgets/Container1/Container1.json @@ -0,0 +1,87 @@ +{ + "animateLoading": true, + "backgroundColor": "#FFFFFF", + "borderColor": "#E0DEDE", + "borderRadius": "0px", + "borderWidth": "1", + "bottomRow": 122, + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "children": [ + { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "bottomRow": 1220, + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "canExtend": false, + "containerStyle": "none", + "detachFromLayout": true, + "dynamicBindingPathList": [ + { + "key": "borderRadius" + }, + { + "key": "boxShadow" + } + ], + "dynamicHeight": "AUTO_HEIGHT", + "flexLayers": [], + "isLoading": false, + "isVisible": true, + "key": "xorz42kdhi", + "leftColumn": 0, + "maxDynamicHeight": 9000, + "minDynamicHeight": 4, + "minHeight": 100, + "minWidth": 450, + "mobileBottomRow": 100, + "mobileLeftColumn": 0, + "mobileRightColumn": 132.9375, + "mobileTopRow": 0, + "needsErrorInfo": false, + "parentColumnSpace": 1, + "parentId": "oi2qb8kxz9", + "parentRowSpace": 1, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 132.9375, + "topRow": 0, + "type": "CANVAS_WIDGET", + "version": 1, + "widgetId": "wj6fxg5wpg", + "widgetName": "Canvas1Copy" + } + ], + "containerStyle": "card", + "dynamicBindingPathList": [ + { + "key": "boxShadow" + } + ], + "dynamicHeight": "FIXED", + "dynamicTriggerPathList": [], + "flexVerticalAlignment": "stretch", + "isCanvas": true, + "isLoading": false, + "isVisible": true, + "key": "36jaq5m9iy", + "leftColumn": 0, + "maxDynamicHeight": 12, + "minDynamicHeight": 10, + "minWidth": 450, + "mobileBottomRow": 10, + "mobileLeftColumn": 0, + "mobileRightColumn": 3, + "mobileTopRow": 0, + "needsErrorInfo": false, + "parentColumnSpace": 44.3125, + "parentId": "0", + "parentRowSpace": 10, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 9, + "shouldScrollContents": true, + "topRow": 0, + "type": "CONTAINER_WIDGET", + "version": 1, + "widgetId": "oi2qb8kxz9", + "widgetName": "Container1" +} \ No newline at end of file diff --git a/pages/Sales - Units Ordered/widgets/Container1/Text1Copy.json b/pages/Sales - Units Ordered/widgets/Container1/Text1Copy.json new file mode 100644 index 0000000..7689d05 --- /dev/null +++ b/pages/Sales - Units Ordered/widgets/Container1/Text1Copy.json @@ -0,0 +1,52 @@ +{ + "animateLoading": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "bottomRow": 4, + "dynamicBindingPathList": [ + { + "key": "truncateButtonColor" + }, + { + "key": "fontFamily" + }, + { + "key": "borderRadius" + } + ], + "dynamicHeight": "AUTO_HEIGHT", + "dynamicTriggerPathList": [], + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "fontSize": "1rem", + "fontStyle": "BOLD", + "isLoading": false, + "isVisible": true, + "key": "01n8bhu9n6", + "leftColumn": 0, + "maxDynamicHeight": 9000, + "minDynamicHeight": 4, + "minWidth": 450, + "mobileBottomRow": 6, + "mobileLeftColumn": 10, + "mobileRightColumn": 26, + "mobileTopRow": 2, + "needsErrorInfo": false, + "originalBottomRow": 7, + "originalTopRow": 0, + "overflow": "NONE", + "parentColumnSpace": 3.841796875, + "parentId": "wj6fxg5wpg", + "parentRowSpace": 10, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 64, + "shouldTruncate": false, + "text": "Sales", + "textAlign": "LEFT", + "textColor": "#231F20", + "topRow": 0, + "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", + "type": "TEXT_WIDGET", + "version": 1, + "widgetId": "8edga77jlx", + "widgetName": "Text1Copy" +} \ No newline at end of file diff --git a/pages/Sales - Units Ordered/widgets/Heading.json b/pages/Sales - Units Ordered/widgets/Heading.json new file mode 100644 index 0000000..38e955d --- /dev/null +++ b/pages/Sales - Units Ordered/widgets/Heading.json @@ -0,0 +1,52 @@ +{ + "animateLoading": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "bottomRow": 5, + "dynamicBindingPathList": [ + { + "key": "truncateButtonColor" + }, + { + "key": "fontFamily" + }, + { + "key": "borderRadius" + } + ], + "dynamicHeight": "AUTO_HEIGHT", + "dynamicTriggerPathList": [], + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "fontSize": "1.875rem", + "fontStyle": "BOLD", + "isLoading": false, + "isVisible": true, + "key": "pii8e5rbru", + "leftColumn": 9, + "maxDynamicHeight": 9000, + "minDynamicHeight": 4, + "minWidth": 450, + "mobileBottomRow": 5, + "mobileLeftColumn": 1, + "mobileRightColumn": 17, + "mobileTopRow": 1, + "needsErrorInfo": false, + "originalBottomRow": 5, + "originalTopRow": 0, + "overflow": "NONE", + "parentColumnSpace": 25.109375, + "parentId": "0", + "parentRowSpace": 10, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 64, + "shouldTruncate": false, + "text": "Sales - Units Shipped", + "textAlign": "LEFT", + "textColor": "#231F20", + "topRow": 0, + "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", + "type": "TEXT_WIDGET", + "version": 1, + "widgetId": "250t24g0mo", + "widgetName": "Heading" +} \ No newline at end of file diff --git a/pages/Sales - Units Ordered/widgets/Tabs1/PowerDateFrom.json b/pages/Sales - Units Ordered/widgets/Tabs1/PowerDateFrom.json new file mode 100644 index 0000000..6619daa --- /dev/null +++ b/pages/Sales - Units Ordered/widgets/Tabs1/PowerDateFrom.json @@ -0,0 +1,55 @@ +{ + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "animateLoading": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "bottomRow": 7, + "boxShadow": "none", + "closeOnSelection": true, + "dateFormat": "YYYY-MM-DD HH:mm", + "datePickerType": "DATE_PICKER", + "dynamicBindingPathList": [ + { + "key": "accentColor" + }, + { + "key": "borderRadius" + } + ], + "dynamicHeight": "FIXED", + "dynamicTriggerPathList": [], + "firstDayOfWeek": 0, + "isDisabled": false, + "isLoading": false, + "isRequired": false, + "isVisible": true, + "key": "1n4gn1ssf4", + "label": "Start Date", + "labelAlignment": "left", + "labelPosition": "Top", + "labelTextSize": "0.875rem", + "labelWidth": 5, + "leftColumn": 0, + "maxDate": "2121-12-31T18:29:00.000Z", + "maxDynamicHeight": 9000, + "minDate": "1920-12-31T18:30:00.000Z", + "minDynamicHeight": 4, + "minWidth": 450, + "mobileBottomRow": 8, + "mobileLeftColumn": 1, + "mobileRightColumn": 21, + "mobileTopRow": 1, + "needsErrorInfo": false, + "parentColumnSpace": 10.263671875, + "parentId": "5ghij529ih", + "parentRowSpace": 10, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 5, + "shortcuts": false, + "timePrecision": "minute", + "topRow": 0, + "type": "DATE_PICKER_WIDGET2", + "version": 2, + "widgetId": "uflt0124wq", + "widgetName": "PowerDateFrom" +} \ No newline at end of file diff --git a/pages/Sales - Units Ordered/widgets/Tabs1/PowerDateTo.json b/pages/Sales - Units Ordered/widgets/Tabs1/PowerDateTo.json new file mode 100644 index 0000000..a807e8b --- /dev/null +++ b/pages/Sales - Units Ordered/widgets/Tabs1/PowerDateTo.json @@ -0,0 +1,55 @@ +{ + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "animateLoading": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "bottomRow": 7, + "boxShadow": "none", + "closeOnSelection": true, + "dateFormat": "YYYY-MM-DD HH:mm", + "datePickerType": "DATE_PICKER", + "dynamicBindingPathList": [ + { + "key": "accentColor" + }, + { + "key": "borderRadius" + } + ], + "dynamicHeight": "FIXED", + "dynamicTriggerPathList": [], + "firstDayOfWeek": 0, + "isDisabled": false, + "isLoading": false, + "isRequired": false, + "isVisible": true, + "key": "1n4gn1ssf4", + "label": "End Date", + "labelAlignment": "left", + "labelPosition": "Top", + "labelTextSize": "0.875rem", + "labelWidth": 5, + "leftColumn": 5, + "maxDate": "2121-12-31T18:29:00.000Z", + "maxDynamicHeight": 9000, + "minDate": "1920-12-31T18:30:00.000Z", + "minDynamicHeight": 4, + "minWidth": 450, + "mobileBottomRow": 8, + "mobileLeftColumn": 1, + "mobileRightColumn": 21, + "mobileTopRow": 1, + "needsErrorInfo": false, + "parentColumnSpace": 10.263671875, + "parentId": "5ghij529ih", + "parentRowSpace": 10, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 10, + "shortcuts": false, + "timePrecision": "minute", + "topRow": 0, + "type": "DATE_PICKER_WIDGET2", + "version": 2, + "widgetId": "w69wh9oixl", + "widgetName": "PowerDateTo" +} \ No newline at end of file diff --git a/pages/Sales - Units Ordered/widgets/Tabs1/SeriesDateFrom.json b/pages/Sales - Units Ordered/widgets/Tabs1/SeriesDateFrom.json new file mode 100644 index 0000000..a35db9c --- /dev/null +++ b/pages/Sales - Units Ordered/widgets/Tabs1/SeriesDateFrom.json @@ -0,0 +1,55 @@ +{ + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "animateLoading": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "bottomRow": 7, + "boxShadow": "none", + "closeOnSelection": true, + "dateFormat": "YYYY-MM-DD HH:mm", + "datePickerType": "DATE_PICKER", + "dynamicBindingPathList": [ + { + "key": "accentColor" + }, + { + "key": "borderRadius" + } + ], + "dynamicHeight": "FIXED", + "dynamicTriggerPathList": [], + "firstDayOfWeek": 0, + "isDisabled": false, + "isLoading": false, + "isRequired": false, + "isVisible": true, + "key": "1n4gn1ssf4", + "label": "Start Date", + "labelAlignment": "left", + "labelPosition": "Top", + "labelTextSize": "0.875rem", + "labelWidth": 5, + "leftColumn": 0, + "maxDate": "2121-12-31T18:29:00.000Z", + "maxDynamicHeight": 9000, + "minDate": "1920-12-31T18:30:00.000Z", + "minDynamicHeight": 4, + "minWidth": 450, + "mobileBottomRow": 8, + "mobileLeftColumn": 1, + "mobileRightColumn": 21, + "mobileTopRow": 1, + "needsErrorInfo": false, + "parentColumnSpace": 10.263671875, + "parentId": "o7m1w5vrow", + "parentRowSpace": 10, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 5, + "shortcuts": false, + "timePrecision": "minute", + "topRow": 0, + "type": "DATE_PICKER_WIDGET2", + "version": 2, + "widgetId": "35qo2qtt26", + "widgetName": "SeriesDateFrom" +} \ No newline at end of file diff --git a/pages/Sales - Units Ordered/widgets/Tabs1/SeriesDateTo.json b/pages/Sales - Units Ordered/widgets/Tabs1/SeriesDateTo.json new file mode 100644 index 0000000..51c85ed --- /dev/null +++ b/pages/Sales - Units Ordered/widgets/Tabs1/SeriesDateTo.json @@ -0,0 +1,55 @@ +{ + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "animateLoading": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "bottomRow": 7, + "boxShadow": "none", + "closeOnSelection": true, + "dateFormat": "YYYY-MM-DD HH:mm", + "datePickerType": "DATE_PICKER", + "dynamicBindingPathList": [ + { + "key": "accentColor" + }, + { + "key": "borderRadius" + } + ], + "dynamicHeight": "FIXED", + "dynamicTriggerPathList": [], + "firstDayOfWeek": 0, + "isDisabled": false, + "isLoading": false, + "isRequired": false, + "isVisible": true, + "key": "1n4gn1ssf4", + "label": "End Date", + "labelAlignment": "left", + "labelPosition": "Top", + "labelTextSize": "0.875rem", + "labelWidth": 5, + "leftColumn": 5, + "maxDate": "2121-12-31T18:29:00.000Z", + "maxDynamicHeight": 9000, + "minDate": "1920-12-31T18:30:00.000Z", + "minDynamicHeight": 4, + "minWidth": 450, + "mobileBottomRow": 8, + "mobileLeftColumn": 1, + "mobileRightColumn": 21, + "mobileTopRow": 1, + "needsErrorInfo": false, + "parentColumnSpace": 10.263671875, + "parentId": "o7m1w5vrow", + "parentRowSpace": 10, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 10, + "shortcuts": false, + "timePrecision": "minute", + "topRow": 0, + "type": "DATE_PICKER_WIDGET2", + "version": 2, + "widgetId": "33mzf7ghwq", + "widgetName": "SeriesDateTo" +} \ No newline at end of file diff --git a/pages/Sales - Units Ordered/widgets/Tabs1/Table1.json b/pages/Sales - Units Ordered/widgets/Tabs1/Table1.json new file mode 100644 index 0000000..a6cb8b8 --- /dev/null +++ b/pages/Sales - Units Ordered/widgets/Tabs1/Table1.json @@ -0,0 +1,186 @@ +{ + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "animateLoading": true, + "borderColor": "#E0DEDE", + "borderRadius": "0.375rem", + "borderWidth": "1", + "bottomRow": 40, + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "cachedTableData": {}, + "canFreezeColumn": true, + "childStylesheet": { + "button": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "editActions": { + "discardBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "discardButtonColor": "{{appsmith.theme.colors.primaryColor}}", + "saveBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "saveButtonColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "iconButton": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "menuButton": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none", + "menuColor": "{{appsmith.theme.colors.primaryColor}}" + } + }, + "columnOrder": [ + "Product", + "Qty_Ordered" + ], + "columnUpdatedAt": 1768911391236, + "columnWidthMap": { + "Product": 152 + }, + "compactMode": "SHORT", + "customIsLoading": false, + "customIsLoadingValue": "", + "defaultPageSize": 0, + "defaultSelectedRowIndex": 0, + "defaultSelectedRowIndices": [ + 0 + ], + "delimiter": ",", + "dynamicBindingPathList": [ + { + "key": "accentColor" + }, + { + "key": "boxShadow" + }, + { + "key": "tableData" + }, + { + "key": "primaryColumns.Product.computedValue" + }, + { + "key": "primaryColumns.Qty_Ordered.computedValue" + } + ], + "dynamicPropertyPathList": [ + { + "key": "tableData" + }, + { + "key": "textSize" + } + ], + "dynamicTriggerPathList": [], + "enableClientSideSearch": true, + "endOfData": false, + "flexVerticalAlignment": "start", + "horizontalAlignment": "LEFT", + "inlineEditingSaveOption": "ROW_LEVEL", + "isLoading": false, + "isSortable": true, + "isVisible": true, + "isVisibleDownload": true, + "isVisibleFilters": false, + "isVisiblePagination": true, + "isVisibleSearch": false, + "key": "9mn8k38jb0", + "label": "Data", + "leftColumn": 0, + "minWidth": 450, + "mobileBottomRow": 33, + "mobileLeftColumn": 1, + "mobileRightColumn": 35, + "mobileTopRow": 5, + "needsErrorInfo": false, + "originalBottomRow": 41, + "originalTopRow": 5, + "parentColumnSpace": 11.265625, + "parentId": "o7m1w5vrow", + "parentRowSpace": 10, + "primaryColumns": { + "Product": { + "alias": "Product", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "cellBackground": "", + "columnType": "text", + "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"Product\"])) : Product })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "fontStyle": "", + "horizontalAlignment": "LEFT", + "id": "Product", + "index": 0, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "Product", + "notation": "standard", + "originalId": "Product", + "sticky": "", + "textColor": "", + "textSize": "0.775rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + }, + "Qty_Ordered": { + "alias": "Qty Ordered", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "cellBackground": "", + "columnType": "number", + "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"Qty Ordered\"])) : Qty Ordered })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "fontStyle": "", + "horizontalAlignment": "LEFT", + "id": "Qty_Ordered", + "index": 1, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "Qty Ordered", + "notation": "standard", + "originalId": "Qty Ordered", + "sticky": "", + "textColor": "", + "textSize": "0.775rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + } + }, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 62, + "searchKey": "", + "tableData": "{{units_shipped_by_series.data}}", + "textSize": "0.775rem", + "topRow": 7, + "totalRecordsCount": 0, + "type": "TABLE_WIDGET_V2", + "version": 2, + "verticalAlignment": "CENTER", + "widgetId": "09qniwp9nt", + "widgetName": "Table1" +} \ No newline at end of file diff --git a/pages/Sales - Units Ordered/widgets/Tabs1/Table1Copy.json b/pages/Sales - Units Ordered/widgets/Tabs1/Table1Copy.json new file mode 100644 index 0000000..3c8dd82 --- /dev/null +++ b/pages/Sales - Units Ordered/widgets/Tabs1/Table1Copy.json @@ -0,0 +1,264 @@ +{ + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "animateLoading": true, + "borderColor": "#E0DEDE", + "borderRadius": "0.375rem", + "borderWidth": "1", + "bottomRow": 168, + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "cachedTableData": {}, + "canFreezeColumn": true, + "childStylesheet": { + "button": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "editActions": { + "discardBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "discardButtonColor": "{{appsmith.theme.colors.primaryColor}}", + "saveBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "saveButtonColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "iconButton": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "menuButton": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none", + "menuColor": "{{appsmith.theme.colors.primaryColor}}" + } + }, + "columnOrder": [ + "Product", + "Qty_Ordered", + "Power_Output", + "Input" + ], + "columnUpdatedAt": 1769094100515, + "columnWidthMap": { + "Power_Output": 150, + "Product": 146, + "Qty_Ordered": 130 + }, + "compactMode": "SHORT", + "customIsLoading": false, + "customIsLoadingValue": "", + "defaultPageSize": 0, + "defaultSelectedRowIndex": 0, + "defaultSelectedRowIndices": [ + 0 + ], + "delimiter": ",", + "dynamicBindingPathList": [ + { + "key": "accentColor" + }, + { + "key": "boxShadow" + }, + { + "key": "primaryColumns.Product.computedValue" + }, + { + "key": "primaryColumns.Qty_Ordered.computedValue" + }, + { + "key": "tableData" + }, + { + "key": "primaryColumns.Power_Output.computedValue" + }, + { + "key": "primaryColumns.Input.computedValue" + } + ], + "dynamicPropertyPathList": [ + { + "key": "tableData" + }, + { + "key": "textSize" + } + ], + "dynamicTriggerPathList": [], + "enableClientSideSearch": true, + "endOfData": false, + "flexVerticalAlignment": "start", + "horizontalAlignment": "LEFT", + "inlineEditingSaveOption": "ROW_LEVEL", + "isLoading": false, + "isSortable": true, + "isVisible": true, + "isVisibleDownload": true, + "isVisibleFilters": false, + "isVisiblePagination": true, + "isVisibleSearch": false, + "key": "9mn8k38jb0", + "label": "Data", + "leftColumn": 0, + "minWidth": 450, + "mobileBottomRow": 33, + "mobileLeftColumn": 1, + "mobileRightColumn": 35, + "mobileTopRow": 5, + "needsErrorInfo": false, + "originalBottomRow": 42, + "originalTopRow": 6, + "parentColumnSpace": 11.265625, + "parentId": "5ghij529ih", + "parentRowSpace": 10, + "primaryColumns": { + "Input": { + "alias": "Input", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "cellBackground": "", + "columnType": "text", + "computedValue": "{{(() => { const tableData = Table1Copy.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"Input\"])) : Input })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "fontStyle": "", + "horizontalAlignment": "LEFT", + "id": "Input", + "index": 2, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "Input", + "notation": "standard", + "originalId": "Input", + "sticky": "", + "textColor": "", + "textSize": "0.775rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + }, + "Power_Output": { + "alias": "Power Output", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "cellBackground": "", + "columnType": "text", + "computedValue": "{{(() => { const tableData = Table1Copy.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"Power Output\"])) : Power Output })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "fontStyle": "", + "horizontalAlignment": "LEFT", + "id": "Power_Output", + "index": 1, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "Power Output", + "notation": "standard", + "originalId": "Power Output", + "sticky": "", + "textColor": "", + "textSize": "0.775rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + }, + "Product": { + "alias": "Product", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "cellBackground": "", + "columnType": "text", + "computedValue": "{{(() => { const tableData = Table1Copy.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"Product\"])) : Product })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "fontStyle": "", + "horizontalAlignment": "LEFT", + "id": "Product", + "index": 0, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "Product", + "notation": "standard", + "originalId": "Product", + "sticky": "", + "textColor": "", + "textSize": "0.775rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + }, + "Qty_Ordered": { + "alias": "Qty Ordered", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "cellBackground": "", + "columnType": "number", + "computedValue": "{{(() => { const tableData = Table1Copy.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"Qty Ordered\"])) : Qty Ordered })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "fontStyle": "", + "horizontalAlignment": "LEFT", + "id": "Qty_Ordered", + "index": 1, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "Qty Shipped", + "notation": "standard", + "originalId": "Qty Ordered", + "sticky": "", + "textColor": "", + "textSize": "0.775rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + } + }, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 61, + "searchKey": "", + "tableData": "{{units_shipped_by_power_input.data}}", + "textSize": "0.775rem", + "topRow": 7, + "totalRecordsCount": 0, + "type": "TABLE_WIDGET_V2", + "version": 2, + "verticalAlignment": "CENTER", + "widgetId": "sxi5n9a1yp", + "widgetName": "Table1Copy" +} \ No newline at end of file diff --git a/pages/Sales - Units Ordered/widgets/Tabs1/Tabs1.json b/pages/Sales - Units Ordered/widgets/Tabs1/Tabs1.json new file mode 100644 index 0000000..df70bf7 --- /dev/null +++ b/pages/Sales - Units Ordered/widgets/Tabs1/Tabs1.json @@ -0,0 +1,162 @@ +{ + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "animateLoading": true, + "backgroundColor": "#FFFFFF", + "borderColor": "#E0DEDE", + "borderRadius": "0.375rem", + "borderWidth": 1, + "bottomRow": 51, + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "children": [ + { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "bottomRow": 420, + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "canExtend": true, + "detachFromLayout": true, + "dynamicBindingPathList": [ + { + "key": "borderRadius" + }, + { + "key": "boxShadow" + } + ], + "dynamicHeight": "AUTO_HEIGHT", + "dynamicTriggerPathList": [], + "flexLayers": [], + "isDisabled": false, + "isLoading": false, + "isVisible": true, + "key": "fye1v5uu19", + "leftColumn": 0, + "maxDynamicHeight": 9000, + "minDynamicHeight": 4, + "minHeight": 150, + "minWidth": 450, + "mobileBottomRow": 150, + "mobileLeftColumn": 0, + "mobileRightColumn": 602.625, + "mobileTopRow": 0, + "needsErrorInfo": false, + "parentColumnSpace": 1, + "parentId": "cgiukoz6f7", + "parentRowSpace": 1, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 602.625, + "shouldScrollContents": false, + "tabId": "tab1", + "tabName": "Series", + "topRow": 0, + "type": "CANVAS_WIDGET", + "version": 1, + "widgetId": "o7m1w5vrow", + "widgetName": "Canvas1" + }, + { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "bottomRow": 1680, + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "canExtend": true, + "detachFromLayout": true, + "dynamicBindingPathList": [ + { + "key": "borderRadius" + }, + { + "key": "boxShadow" + } + ], + "dynamicHeight": "AUTO_HEIGHT", + "dynamicTriggerPathList": [], + "flexLayers": [], + "isDisabled": false, + "isLoading": false, + "isVisible": true, + "key": "fye1v5uu19", + "leftColumn": 0, + "maxDynamicHeight": 9000, + "minDynamicHeight": 4, + "minHeight": 150, + "minWidth": 450, + "mobileBottomRow": 150, + "mobileLeftColumn": 0, + "mobileRightColumn": 602.625, + "mobileTopRow": 0, + "needsErrorInfo": false, + "parentColumnSpace": 1, + "parentId": "cgiukoz6f7", + "parentRowSpace": 1, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 602.625, + "shouldScrollContents": false, + "tabId": "tab2", + "tabName": "Power Level, Input Voltage", + "topRow": 0, + "type": "CANVAS_WIDGET", + "version": 1, + "widgetId": "5ghij529ih", + "widgetName": "Canvas2" + } + ], + "defaultTab": "By Series", + "dynamicBindingPathList": [ + { + "key": "accentColor" + }, + { + "key": "boxShadow" + } + ], + "dynamicHeight": "AUTO_HEIGHT", + "dynamicTriggerPathList": [], + "flexVerticalAlignment": "stretch", + "isCanvas": true, + "isLoading": false, + "isVisible": true, + "key": "r7d08pu9q8", + "leftColumn": 9, + "maxDynamicHeight": 9000, + "minDynamicHeight": 15, + "minWidth": 450, + "mobileBottomRow": 76, + "mobileLeftColumn": 2, + "mobileRightColumn": 26, + "mobileTopRow": 61, + "needsErrorInfo": false, + "originalBottomRow": 51, + "originalTopRow": 5, + "parentColumnSpace": 25.109375, + "parentId": "0", + "parentRowSpace": 10, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 64, + "shouldScrollContents": true, + "shouldShowTabs": true, + "tabsObj": { + "tab1": { + "id": "tab1", + "index": 0, + "isVisible": true, + "label": "Series", + "positioning": "vertical", + "widgetId": "o7m1w5vrow" + }, + "tab2": { + "id": "tab2", + "index": 1, + "isVisible": true, + "label": "Power Level, Input Voltage", + "positioning": "vertical", + "widgetId": "5ghij529ih" + } + }, + "topRow": 5, + "type": "TABS_WIDGET", + "version": 3, + "widgetId": "cgiukoz6f7", + "widgetName": "Tabs1" +} \ No newline at end of file diff --git a/pages/Sales - Units Ordered/widgets/Text1.json b/pages/Sales - Units Ordered/widgets/Text1.json new file mode 100644 index 0000000..c5678e4 --- /dev/null +++ b/pages/Sales - Units Ordered/widgets/Text1.json @@ -0,0 +1,52 @@ +{ + "animateLoading": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "bottomRow": 333, + "dynamicBindingPathList": [ + { + "key": "truncateButtonColor" + }, + { + "key": "fontFamily" + }, + { + "key": "borderRadius" + } + ], + "dynamicHeight": "AUTO_HEIGHT", + "dynamicTriggerPathList": [], + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "fontSize": "0.875rem", + "fontStyle": "BOLD", + "isLoading": false, + "isVisible": true, + "key": "aibuaup6p0", + "leftColumn": 3, + "maxDynamicHeight": 9000, + "minDynamicHeight": 4, + "minWidth": 450, + "mobileBottomRow": 39, + "mobileLeftColumn": 1, + "mobileRightColumn": 17, + "mobileTopRow": 35, + "needsErrorInfo": false, + "originalBottomRow": 333, + "originalTopRow": 285, + "overflow": "NONE", + "parentColumnSpace": 11.265625, + "parentId": "0", + "parentRowSpace": 10, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 37, + "shouldTruncate": false, + "text": "SELECT \nCASE WHEN item_number IN ('16688','25020') THEN 'XR Series'\nWHEN item_number IN ('22351','24952') THEN 'SL Series'\nWHEN item_number IN ('17861','25021','29243','29752') THEN 'TS Series'\nWHEN item_number IN ('17862') THEN 'MS Series'\nWHEN item_number IN ('17863') THEN 'MT Series'\nWHEN item_number IN ('17873') THEN 'Harmonic Neutralizer'\n\nELSE 'None'\nEND AS \"Product\",\nROUND(SUM(coitem_qtyord),0) as \"Qty Ordered\"\nFROM coitem LEFT OUTER JOIN cohead ON cohead_id=coitem_cohead_id\nLEFT OUTER JOIN itemsite ON coitem_itemsite_id = itemsite_id\nLEFT OUTER JOIN item ON item_id = itemsite_item_id\nLEFT OUTER JOIN charass AS reportpower ON \n(coitem_id = reportpower.charass_target_id \nAND reportpower.charass_target_type = 'SI'\nAND reportpower.charass_char_id = 25)\nWHERE item_number IN ('16688','17861','17862','17863','22351','25020','25144','25147','25021','24952','17873','29243','29752')\nAND (coitem_status <> 'X') \nAND cohead_id NOT IN(SELECT cohead_id from rahead LEFT OUTER JOIN cohead ON rahead_new_cohead_id=cohead_id WHERE cohead_id IS NOT NULL)\nAND coitem_price != 0\nAND cohead_orderdate BETWEEN '$param1'::date AND '$param2'::date\nAND reportpower.charass_value IS NOT NULL\nGROUP BY \"Product\"\nORDER BY \"Product\"", + "textAlign": "LEFT", + "textColor": "#231F20", + "topRow": 285, + "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", + "type": "TEXT_WIDGET", + "version": 1, + "widgetId": "2srkyaefvd", + "widgetName": "Text1" +} \ No newline at end of file diff --git a/pages/Sales - Units Ordered/widgets/Text2Copy1.json b/pages/Sales - Units Ordered/widgets/Text2Copy1.json new file mode 100644 index 0000000..c760718 --- /dev/null +++ b/pages/Sales - Units Ordered/widgets/Text2Copy1.json @@ -0,0 +1,52 @@ +{ + "animateLoading": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "bottomRow": 283, + "dynamicBindingPathList": [ + { + "key": "truncateButtonColor" + }, + { + "key": "fontFamily" + }, + { + "key": "borderRadius" + } + ], + "dynamicHeight": "AUTO_HEIGHT", + "dynamicTriggerPathList": [], + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "fontSize": "1rem", + "fontStyle": "BOLD", + "isLoading": false, + "isVisible": true, + "key": "aibuaup6p0", + "leftColumn": 3, + "maxDynamicHeight": 9000, + "minDynamicHeight": 4, + "minWidth": 450, + "mobileBottomRow": 4, + "mobileLeftColumn": 4, + "mobileRightColumn": 20, + "mobileTopRow": 0, + "needsErrorInfo": false, + "originalBottomRow": 283, + "originalTopRow": 279, + "overflow": "NONE", + "parentColumnSpace": 11.265625, + "parentId": "0", + "parentRowSpace": 10, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 31, + "shouldTruncate": false, + "text": "Units Ordered - By Series", + "textAlign": "LEFT", + "textColor": "#231F20", + "topRow": 279, + "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", + "type": "TEXT_WIDGET", + "version": 1, + "widgetId": "bz71a9t109", + "widgetName": "Text2Copy1" +} \ No newline at end of file diff --git a/pages/Sales - Units Ordered/widgets/Text2CopyCopy.json b/pages/Sales - Units Ordered/widgets/Text2CopyCopy.json new file mode 100644 index 0000000..994b538 --- /dev/null +++ b/pages/Sales - Units Ordered/widgets/Text2CopyCopy.json @@ -0,0 +1,52 @@ +{ + "animateLoading": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "bottomRow": 182, + "dynamicBindingPathList": [ + { + "key": "truncateButtonColor" + }, + { + "key": "fontFamily" + }, + { + "key": "borderRadius" + } + ], + "dynamicHeight": "AUTO_HEIGHT", + "dynamicTriggerPathList": [], + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "fontSize": "1rem", + "fontStyle": "BOLD", + "isLoading": false, + "isVisible": true, + "key": "aibuaup6p0", + "leftColumn": 39, + "maxDynamicHeight": 9000, + "minDynamicHeight": 4, + "minWidth": 450, + "mobileBottomRow": 4, + "mobileLeftColumn": 4, + "mobileRightColumn": 20, + "mobileTopRow": 0, + "needsErrorInfo": false, + "originalBottomRow": 182, + "originalTopRow": 178, + "overflow": "NONE", + "parentColumnSpace": 11.265625, + "parentId": "0", + "parentRowSpace": 10, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 64, + "shouldTruncate": false, + "text": "Units Ordered - By Series", + "textAlign": "LEFT", + "textColor": "#231F20", + "topRow": 178, + "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", + "type": "TEXT_WIDGET", + "version": 1, + "widgetId": "mri175k85g", + "widgetName": "Text2CopyCopy" +} \ No newline at end of file diff --git a/pages/Sales - Units Ordered/widgets/Text3.json b/pages/Sales - Units Ordered/widgets/Text3.json new file mode 100644 index 0000000..52421a7 --- /dev/null +++ b/pages/Sales - Units Ordered/widgets/Text3.json @@ -0,0 +1,52 @@ +{ + "animateLoading": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "bottomRow": 249, + "dynamicBindingPathList": [ + { + "key": "truncateButtonColor" + }, + { + "key": "fontFamily" + }, + { + "key": "borderRadius" + } + ], + "dynamicHeight": "AUTO_HEIGHT", + "dynamicTriggerPathList": [], + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "fontSize": "0.875rem", + "fontStyle": "BOLD", + "isLoading": false, + "isVisible": true, + "key": "aibuaup6p0", + "leftColumn": 39, + "maxDynamicHeight": 9000, + "minDynamicHeight": 4, + "minWidth": 450, + "mobileBottomRow": 111, + "mobileLeftColumn": 39, + "mobileRightColumn": 55, + "mobileTopRow": 107, + "needsErrorInfo": false, + "originalBottomRow": 249, + "originalTopRow": 182, + "overflow": "NONE", + "parentColumnSpace": 11.265625, + "parentId": "0", + "parentRowSpace": 10, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 63, + "shouldTruncate": false, + "text": "SELECT \nCASE WHEN item_number IN ('16688','25020') THEN 'XR Series'\nWHEN item_number IN ('22351','24952') THEN 'SL Series'\nWHEN item_number IN ('17861','25021','29243','29752') THEN 'TS Series'\nWHEN item_number IN ('17862') THEN 'MS Series'\nWHEN item_number IN ('17863') THEN 'MT Series'\nWHEN item_number IN ('17873') THEN 'Harmonic Neutralizer'\n\nELSE 'None'\nEND AS \"Product\",\nreportpower.charass_value as \"Power Output\", reportinput.charass_value || ' ' || reportphases.charass_value AS \"Input\", ROUND(SUM(coitem_qtyord),0) as \"Qty Ordered\"\nFROM coitem LEFT OUTER JOIN cohead ON cohead_id=coitem_cohead_id\nLEFT OUTER JOIN itemsite ON coitem_itemsite_id = itemsite_id\nLEFT OUTER JOIN item ON item_id = itemsite_item_id\nLEFT OUTER JOIN charass AS reportpower ON \n(coitem_id = reportpower.charass_target_id \nAND reportpower.charass_target_type = 'SI'\nAND reportpower.charass_char_id = 25)\nLEFT OUTER JOIN charass AS reportinput ON \n(coitem_id = reportinput.charass_target_id \nAND reportinput.charass_target_type = 'SI'\nAND reportinput.charass_char_id = 36)\nLEFT OUTER JOIN charass AS reportphases ON \n(coitem_id = reportphases.charass_target_id \nAND reportphases.charass_target_type = 'SI'\nAND reportphases.charass_char_id = 18)\nWHERE item_number IN ('16688','17861','17862','17863','22351','25020','25144','25147','25021','24952','17873','29243','29752')\nAND (coitem_status <> 'X') \nAND cohead_id NOT IN(SELECT cohead_id from rahead LEFT OUTER JOIN cohead ON rahead_new_cohead_id=cohead_id WHERE cohead_id IS NOT NULL)\nAND coitem_price != 0\nAND cohead_orderdate BETWEEN '$param1'::date AND '$param2'::date\nAND reportpower.charass_value IS NOT NULL\nGROUP BY reportpower.charass_value, \"Product\", \"Input\"\nORDER BY \"Product\", reportpower.charass_value", + "textAlign": "LEFT", + "textColor": "#231F20", + "topRow": 182, + "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", + "type": "TEXT_WIDGET", + "version": 1, + "widgetId": "d78hnl6fvy", + "widgetName": "Text3" +} \ No newline at end of file From 174ac2df959b2edb2caf9f537a585b44a19363c4 Mon Sep 17 00:00:00 2001 From: ivarsbariss Date: Thu, 26 Feb 2026 15:20:46 +0100 Subject: [PATCH 28/71] Add new button to nav --- .../widgets/Container1/Button1Copy2.json | 45 ++++++++++++++++++ .../widgets/Container1/Button1Copy2.json | 47 +++++++++++++++++++ .../widgets/Container1/Button1Copy2.json | 47 +++++++++++++++++++ 3 files changed, 139 insertions(+) create mode 100644 pages/Sales - Capacity Planning/widgets/Container1/Button1Copy2.json create mode 100644 pages/Sales - Units Ordered/widgets/Container1/Button1Copy2.json create mode 100644 pages/Sales - Units Shipped/widgets/Container1/Button1Copy2.json diff --git a/pages/Sales - Capacity Planning/widgets/Container1/Button1Copy2.json b/pages/Sales - Capacity Planning/widgets/Container1/Button1Copy2.json new file mode 100644 index 0000000..cb4ef44 --- /dev/null +++ b/pages/Sales - Capacity Planning/widgets/Container1/Button1Copy2.json @@ -0,0 +1,45 @@ +{ + "animateLoading": true, + "borderRadius": "0.375rem", + "bottomRow": 16, + "boxShadow": "none", + "buttonColor": "#ffffff", + "buttonVariant": "PRIMARY", + "disabledWhenInvalid": false, + "dynamicBindingPathList": [], + "dynamicTriggerPathList": [ + { + "key": "onClick" + } + ], + "isDefaultClickDisabled": true, + "isDisabled": false, + "isLoading": false, + "isVisible": true, + "key": "0j7c9d2q1h", + "leftColumn": 0, + "minWidth": 120, + "mobileBottomRow": 8, + "mobileLeftColumn": 0, + "mobileRightColumn": 16, + "mobileTopRow": 4, + "needsErrorInfo": false, + "onClick": "{{navigateTo('Sales - Units Ordered', {}, 'SAME_WINDOW');}}", + "originalBottomRow": 16, + "originalTopRow": 12, + "parentColumnSpace": 3.841796875, + "parentId": "wj6fxg5wpg", + "parentRowSpace": 10, + "placement": "START", + "recaptchaType": "V3", + "renderMode": "CANVAS", + "resetFormOnClick": false, + "responsiveBehavior": "hug", + "rightColumn": 64, + "text": "Units Ordered", + "topRow": 12, + "type": "BUTTON_WIDGET", + "version": 1, + "widgetId": "1p4m2n8kci", + "widgetName": "Button1Copy2" +} diff --git a/pages/Sales - Units Ordered/widgets/Container1/Button1Copy2.json b/pages/Sales - Units Ordered/widgets/Container1/Button1Copy2.json new file mode 100644 index 0000000..13c1a09 --- /dev/null +++ b/pages/Sales - Units Ordered/widgets/Container1/Button1Copy2.json @@ -0,0 +1,47 @@ +{ + "animateLoading": true, + "borderRadius": "0.375rem", + "bottomRow": 16, + "boxShadow": "none", + "buttonColor": "{{appsmith.theme.colors.backgroundColor}}", + "buttonVariant": "PRIMARY", + "disabledWhenInvalid": false, + "dynamicBindingPathList": [ + { + "key": "buttonColor" + } + ], + "dynamicTriggerPathList": [ + { + "key": "onClick" + } + ], + "isDefaultClickDisabled": true, + "isDisabled": false, + "isLoading": false, + "isVisible": true, + "key": "0n7b4r9lze", + "leftColumn": 0, + "minWidth": 120, + "mobileBottomRow": 8, + "mobileLeftColumn": 0, + "mobileRightColumn": 16, + "mobileTopRow": 4, + "needsErrorInfo": false, + "onClick": "{{navigateTo('Sales - Units Ordered', {}, 'SAME_WINDOW');}}", + "parentColumnSpace": 3.841796875, + "parentId": "wj6fxg5wpg", + "parentRowSpace": 10, + "placement": "START", + "recaptchaType": "V3", + "renderMode": "CANVAS", + "resetFormOnClick": false, + "responsiveBehavior": "hug", + "rightColumn": 64, + "text": "Units Ordered", + "topRow": 12, + "type": "BUTTON_WIDGET", + "version": 1, + "widgetId": "v3k4lvbmoc", + "widgetName": "Button1Copy2" +} diff --git a/pages/Sales - Units Shipped/widgets/Container1/Button1Copy2.json b/pages/Sales - Units Shipped/widgets/Container1/Button1Copy2.json new file mode 100644 index 0000000..d7e51b7 --- /dev/null +++ b/pages/Sales - Units Shipped/widgets/Container1/Button1Copy2.json @@ -0,0 +1,47 @@ +{ + "animateLoading": true, + "borderRadius": "0.375rem", + "bottomRow": 16, + "boxShadow": "none", + "buttonColor": "{{appsmith.theme.colors.backgroundColor}}", + "buttonVariant": "PRIMARY", + "disabledWhenInvalid": false, + "dynamicBindingPathList": [ + { + "key": "buttonColor" + } + ], + "dynamicTriggerPathList": [ + { + "key": "onClick" + } + ], + "isDefaultClickDisabled": true, + "isDisabled": false, + "isLoading": false, + "isVisible": true, + "key": "0q2m6y1b7z", + "leftColumn": 0, + "minWidth": 120, + "mobileBottomRow": 8, + "mobileLeftColumn": 0, + "mobileRightColumn": 16, + "mobileTopRow": 4, + "needsErrorInfo": false, + "onClick": "{{navigateTo('Sales - Units Ordered', {}, 'SAME_WINDOW');}}", + "parentColumnSpace": 3.841796875, + "parentId": "wj6fxg5wpg", + "parentRowSpace": 10, + "placement": "START", + "recaptchaType": "V3", + "renderMode": "CANVAS", + "resetFormOnClick": false, + "responsiveBehavior": "hug", + "rightColumn": 64, + "text": "Units Ordered", + "topRow": 12, + "type": "BUTTON_WIDGET", + "version": 1, + "widgetId": "c7t1ah8lmv", + "widgetName": "Button1Copy2" +} From fe20ec23a338e7539a77147073c589862b85a532 Mon Sep 17 00:00:00 2001 From: ivarsbariss Date: Thu, 26 Feb 2026 15:26:47 +0100 Subject: [PATCH 29/71] Simulate active page button style --- .../widgets/Container1/Button1.json | 2 +- .../widgets/Container1/Button1Copy.json | 8 ++++++-- .../widgets/Container1/Button1Copy2.json | 8 ++++++-- .../Sales - Units Ordered/widgets/Container1/Button1.json | 8 ++++++-- .../widgets/Container1/Button1Copy.json | 2 +- .../widgets/Container1/Button1Copy2.json | 2 +- .../Sales - Units Shipped/widgets/Container1/Button1.json | 8 ++++++-- .../widgets/Container1/Button1Copy.json | 2 +- .../widgets/Container1/Button1Copy2.json | 2 +- 9 files changed, 29 insertions(+), 13 deletions(-) diff --git a/pages/Sales - Capacity Planning/widgets/Container1/Button1.json b/pages/Sales - Capacity Planning/widgets/Container1/Button1.json index 9bbd73e..f1ddb7f 100644 --- a/pages/Sales - Capacity Planning/widgets/Container1/Button1.json +++ b/pages/Sales - Capacity Planning/widgets/Container1/Button1.json @@ -3,7 +3,7 @@ "borderRadius": "0.375rem", "bottomRow": 8, "boxShadow": "none", - "buttonColor": "{{appsmith.theme.colors.backgroundColor}}", + "buttonColor": "{{appsmith.page.name === 'Sales - Capacity Planning' ? appsmith.theme.colors.primaryColor : appsmith.theme.colors.backgroundColor}}", "buttonVariant": "PRIMARY", "disabledWhenInvalid": false, "dynamicBindingPathList": [ diff --git a/pages/Sales - Capacity Planning/widgets/Container1/Button1Copy.json b/pages/Sales - Capacity Planning/widgets/Container1/Button1Copy.json index bd9dfd8..d4d3337 100644 --- a/pages/Sales - Capacity Planning/widgets/Container1/Button1Copy.json +++ b/pages/Sales - Capacity Planning/widgets/Container1/Button1Copy.json @@ -3,10 +3,14 @@ "borderRadius": "0.375rem", "bottomRow": 12, "boxShadow": "none", - "buttonColor": "#ffffff", + "buttonColor": "{{appsmith.page.name === 'Sales - Units Shipped' ? appsmith.theme.colors.primaryColor : appsmith.theme.colors.backgroundColor}}", "buttonVariant": "PRIMARY", "disabledWhenInvalid": false, - "dynamicBindingPathList": [], + "dynamicBindingPathList": [ + { + "key": "buttonColor" + } + ], "dynamicTriggerPathList": [ { "key": "onClick" diff --git a/pages/Sales - Capacity Planning/widgets/Container1/Button1Copy2.json b/pages/Sales - Capacity Planning/widgets/Container1/Button1Copy2.json index cb4ef44..d0f31fc 100644 --- a/pages/Sales - Capacity Planning/widgets/Container1/Button1Copy2.json +++ b/pages/Sales - Capacity Planning/widgets/Container1/Button1Copy2.json @@ -3,10 +3,14 @@ "borderRadius": "0.375rem", "bottomRow": 16, "boxShadow": "none", - "buttonColor": "#ffffff", + "buttonColor": "{{appsmith.page.name === 'Sales - Units Ordered' ? appsmith.theme.colors.primaryColor : appsmith.theme.colors.backgroundColor}}", "buttonVariant": "PRIMARY", "disabledWhenInvalid": false, - "dynamicBindingPathList": [], + "dynamicBindingPathList": [ + { + "key": "buttonColor" + } + ], "dynamicTriggerPathList": [ { "key": "onClick" diff --git a/pages/Sales - Units Ordered/widgets/Container1/Button1.json b/pages/Sales - Units Ordered/widgets/Container1/Button1.json index ec9d78a..3fc6762 100644 --- a/pages/Sales - Units Ordered/widgets/Container1/Button1.json +++ b/pages/Sales - Units Ordered/widgets/Container1/Button1.json @@ -3,10 +3,14 @@ "borderRadius": "0.375rem", "bottomRow": 8, "boxShadow": "none", - "buttonColor": "#ffffff", + "buttonColor": "{{appsmith.page.name === 'Sales - Capacity Planning' ? appsmith.theme.colors.primaryColor : appsmith.theme.colors.backgroundColor}}", "buttonVariant": "PRIMARY", "disabledWhenInvalid": false, - "dynamicBindingPathList": [], + "dynamicBindingPathList": [ + { + "key": "buttonColor" + } + ], "dynamicTriggerPathList": [ { "key": "onClick" diff --git a/pages/Sales - Units Ordered/widgets/Container1/Button1Copy.json b/pages/Sales - Units Ordered/widgets/Container1/Button1Copy.json index 382cae4..722a07d 100644 --- a/pages/Sales - Units Ordered/widgets/Container1/Button1Copy.json +++ b/pages/Sales - Units Ordered/widgets/Container1/Button1Copy.json @@ -3,7 +3,7 @@ "borderRadius": "0.375rem", "bottomRow": 12, "boxShadow": "none", - "buttonColor": "{{appsmith.theme.colors.backgroundColor}}", + "buttonColor": "{{appsmith.page.name === 'Sales - Units Shipped' ? appsmith.theme.colors.primaryColor : appsmith.theme.colors.backgroundColor}}", "buttonVariant": "PRIMARY", "disabledWhenInvalid": false, "dynamicBindingPathList": [ diff --git a/pages/Sales - Units Ordered/widgets/Container1/Button1Copy2.json b/pages/Sales - Units Ordered/widgets/Container1/Button1Copy2.json index 13c1a09..add8711 100644 --- a/pages/Sales - Units Ordered/widgets/Container1/Button1Copy2.json +++ b/pages/Sales - Units Ordered/widgets/Container1/Button1Copy2.json @@ -3,7 +3,7 @@ "borderRadius": "0.375rem", "bottomRow": 16, "boxShadow": "none", - "buttonColor": "{{appsmith.theme.colors.backgroundColor}}", + "buttonColor": "{{appsmith.page.name === 'Sales - Units Ordered' ? appsmith.theme.colors.primaryColor : appsmith.theme.colors.backgroundColor}}", "buttonVariant": "PRIMARY", "disabledWhenInvalid": false, "dynamicBindingPathList": [ diff --git a/pages/Sales - Units Shipped/widgets/Container1/Button1.json b/pages/Sales - Units Shipped/widgets/Container1/Button1.json index ec9d78a..3fc6762 100644 --- a/pages/Sales - Units Shipped/widgets/Container1/Button1.json +++ b/pages/Sales - Units Shipped/widgets/Container1/Button1.json @@ -3,10 +3,14 @@ "borderRadius": "0.375rem", "bottomRow": 8, "boxShadow": "none", - "buttonColor": "#ffffff", + "buttonColor": "{{appsmith.page.name === 'Sales - Capacity Planning' ? appsmith.theme.colors.primaryColor : appsmith.theme.colors.backgroundColor}}", "buttonVariant": "PRIMARY", "disabledWhenInvalid": false, - "dynamicBindingPathList": [], + "dynamicBindingPathList": [ + { + "key": "buttonColor" + } + ], "dynamicTriggerPathList": [ { "key": "onClick" diff --git a/pages/Sales - Units Shipped/widgets/Container1/Button1Copy.json b/pages/Sales - Units Shipped/widgets/Container1/Button1Copy.json index 382cae4..722a07d 100644 --- a/pages/Sales - Units Shipped/widgets/Container1/Button1Copy.json +++ b/pages/Sales - Units Shipped/widgets/Container1/Button1Copy.json @@ -3,7 +3,7 @@ "borderRadius": "0.375rem", "bottomRow": 12, "boxShadow": "none", - "buttonColor": "{{appsmith.theme.colors.backgroundColor}}", + "buttonColor": "{{appsmith.page.name === 'Sales - Units Shipped' ? appsmith.theme.colors.primaryColor : appsmith.theme.colors.backgroundColor}}", "buttonVariant": "PRIMARY", "disabledWhenInvalid": false, "dynamicBindingPathList": [ diff --git a/pages/Sales - Units Shipped/widgets/Container1/Button1Copy2.json b/pages/Sales - Units Shipped/widgets/Container1/Button1Copy2.json index d7e51b7..0e56f0e 100644 --- a/pages/Sales - Units Shipped/widgets/Container1/Button1Copy2.json +++ b/pages/Sales - Units Shipped/widgets/Container1/Button1Copy2.json @@ -3,7 +3,7 @@ "borderRadius": "0.375rem", "bottomRow": 16, "boxShadow": "none", - "buttonColor": "{{appsmith.theme.colors.backgroundColor}}", + "buttonColor": "{{appsmith.page.name === 'Sales - Units Ordered' ? appsmith.theme.colors.primaryColor : appsmith.theme.colors.backgroundColor}}", "buttonVariant": "PRIMARY", "disabledWhenInvalid": false, "dynamicBindingPathList": [ From 4ddd5ac9b875c5a2718673cfc95aefe4403acc47 Mon Sep 17 00:00:00 2001 From: ivarsbariss Date: Thu, 26 Feb 2026 15:41:04 +0100 Subject: [PATCH 30/71] Simulate active page button style --- docs/README.md | 4 ++++ .../Sales - Capacity Planning/widgets/Container1/Button1.json | 2 +- .../widgets/Container1/Button1Copy.json | 2 +- .../widgets/Container1/Button1Copy2.json | 2 +- pages/Sales - Units Ordered/widgets/Container1/Button1.json | 2 +- .../Sales - Units Ordered/widgets/Container1/Button1Copy.json | 2 +- .../widgets/Container1/Button1Copy2.json | 2 +- pages/Sales - Units Shipped/widgets/Container1/Button1.json | 2 +- .../Sales - Units Shipped/widgets/Container1/Button1Copy.json | 2 +- .../widgets/Container1/Button1Copy2.json | 2 +- 10 files changed, 13 insertions(+), 9 deletions(-) create mode 100644 docs/README.md diff --git a/docs/README.md b/docs/README.md new file mode 100644 index 0000000..a9aa0ec --- /dev/null +++ b/docs/README.md @@ -0,0 +1,4 @@ +# Navigation updates + +- Added the **Units Ordered** nav button beneath **Units Shipped** on every Sales canvas so the new sales dashboard route is reachable from Capacity Planning, Units Ordered, and Units Shipped. +- Each page now hardcodes the appropriate nav button to `appsmith.theme.colors.primaryColor` and keeps the others at `appsmith.theme.colors.backgroundColor`, guaranteeing only the current canvas renders with the darker highlight without referencing `appsmith.page`. diff --git a/pages/Sales - Capacity Planning/widgets/Container1/Button1.json b/pages/Sales - Capacity Planning/widgets/Container1/Button1.json index f1ddb7f..e10b3ae 100644 --- a/pages/Sales - Capacity Planning/widgets/Container1/Button1.json +++ b/pages/Sales - Capacity Planning/widgets/Container1/Button1.json @@ -3,7 +3,7 @@ "borderRadius": "0.375rem", "bottomRow": 8, "boxShadow": "none", - "buttonColor": "{{appsmith.page.name === 'Sales - Capacity Planning' ? appsmith.theme.colors.primaryColor : appsmith.theme.colors.backgroundColor}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "buttonVariant": "PRIMARY", "disabledWhenInvalid": false, "dynamicBindingPathList": [ diff --git a/pages/Sales - Capacity Planning/widgets/Container1/Button1Copy.json b/pages/Sales - Capacity Planning/widgets/Container1/Button1Copy.json index d4d3337..cd60901 100644 --- a/pages/Sales - Capacity Planning/widgets/Container1/Button1Copy.json +++ b/pages/Sales - Capacity Planning/widgets/Container1/Button1Copy.json @@ -3,7 +3,7 @@ "borderRadius": "0.375rem", "bottomRow": 12, "boxShadow": "none", - "buttonColor": "{{appsmith.page.name === 'Sales - Units Shipped' ? appsmith.theme.colors.primaryColor : appsmith.theme.colors.backgroundColor}}", + "buttonColor": "{{appsmith.theme.colors.backgroundColor}}", "buttonVariant": "PRIMARY", "disabledWhenInvalid": false, "dynamicBindingPathList": [ diff --git a/pages/Sales - Capacity Planning/widgets/Container1/Button1Copy2.json b/pages/Sales - Capacity Planning/widgets/Container1/Button1Copy2.json index d0f31fc..cb12b58 100644 --- a/pages/Sales - Capacity Planning/widgets/Container1/Button1Copy2.json +++ b/pages/Sales - Capacity Planning/widgets/Container1/Button1Copy2.json @@ -3,7 +3,7 @@ "borderRadius": "0.375rem", "bottomRow": 16, "boxShadow": "none", - "buttonColor": "{{appsmith.page.name === 'Sales - Units Ordered' ? appsmith.theme.colors.primaryColor : appsmith.theme.colors.backgroundColor}}", + "buttonColor": "{{appsmith.theme.colors.backgroundColor}}", "buttonVariant": "PRIMARY", "disabledWhenInvalid": false, "dynamicBindingPathList": [ diff --git a/pages/Sales - Units Ordered/widgets/Container1/Button1.json b/pages/Sales - Units Ordered/widgets/Container1/Button1.json index 3fc6762..82481c9 100644 --- a/pages/Sales - Units Ordered/widgets/Container1/Button1.json +++ b/pages/Sales - Units Ordered/widgets/Container1/Button1.json @@ -3,7 +3,7 @@ "borderRadius": "0.375rem", "bottomRow": 8, "boxShadow": "none", - "buttonColor": "{{appsmith.page.name === 'Sales - Capacity Planning' ? appsmith.theme.colors.primaryColor : appsmith.theme.colors.backgroundColor}}", + "buttonColor": "{{appsmith.theme.colors.backgroundColor}}", "buttonVariant": "PRIMARY", "disabledWhenInvalid": false, "dynamicBindingPathList": [ diff --git a/pages/Sales - Units Ordered/widgets/Container1/Button1Copy.json b/pages/Sales - Units Ordered/widgets/Container1/Button1Copy.json index 722a07d..382cae4 100644 --- a/pages/Sales - Units Ordered/widgets/Container1/Button1Copy.json +++ b/pages/Sales - Units Ordered/widgets/Container1/Button1Copy.json @@ -3,7 +3,7 @@ "borderRadius": "0.375rem", "bottomRow": 12, "boxShadow": "none", - "buttonColor": "{{appsmith.page.name === 'Sales - Units Shipped' ? appsmith.theme.colors.primaryColor : appsmith.theme.colors.backgroundColor}}", + "buttonColor": "{{appsmith.theme.colors.backgroundColor}}", "buttonVariant": "PRIMARY", "disabledWhenInvalid": false, "dynamicBindingPathList": [ diff --git a/pages/Sales - Units Ordered/widgets/Container1/Button1Copy2.json b/pages/Sales - Units Ordered/widgets/Container1/Button1Copy2.json index add8711..bfb84a1 100644 --- a/pages/Sales - Units Ordered/widgets/Container1/Button1Copy2.json +++ b/pages/Sales - Units Ordered/widgets/Container1/Button1Copy2.json @@ -3,7 +3,7 @@ "borderRadius": "0.375rem", "bottomRow": 16, "boxShadow": "none", - "buttonColor": "{{appsmith.page.name === 'Sales - Units Ordered' ? appsmith.theme.colors.primaryColor : appsmith.theme.colors.backgroundColor}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "buttonVariant": "PRIMARY", "disabledWhenInvalid": false, "dynamicBindingPathList": [ diff --git a/pages/Sales - Units Shipped/widgets/Container1/Button1.json b/pages/Sales - Units Shipped/widgets/Container1/Button1.json index 3fc6762..82481c9 100644 --- a/pages/Sales - Units Shipped/widgets/Container1/Button1.json +++ b/pages/Sales - Units Shipped/widgets/Container1/Button1.json @@ -3,7 +3,7 @@ "borderRadius": "0.375rem", "bottomRow": 8, "boxShadow": "none", - "buttonColor": "{{appsmith.page.name === 'Sales - Capacity Planning' ? appsmith.theme.colors.primaryColor : appsmith.theme.colors.backgroundColor}}", + "buttonColor": "{{appsmith.theme.colors.backgroundColor}}", "buttonVariant": "PRIMARY", "disabledWhenInvalid": false, "dynamicBindingPathList": [ diff --git a/pages/Sales - Units Shipped/widgets/Container1/Button1Copy.json b/pages/Sales - Units Shipped/widgets/Container1/Button1Copy.json index 722a07d..19b9a8d 100644 --- a/pages/Sales - Units Shipped/widgets/Container1/Button1Copy.json +++ b/pages/Sales - Units Shipped/widgets/Container1/Button1Copy.json @@ -3,7 +3,7 @@ "borderRadius": "0.375rem", "bottomRow": 12, "boxShadow": "none", - "buttonColor": "{{appsmith.page.name === 'Sales - Units Shipped' ? appsmith.theme.colors.primaryColor : appsmith.theme.colors.backgroundColor}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "buttonVariant": "PRIMARY", "disabledWhenInvalid": false, "dynamicBindingPathList": [ diff --git a/pages/Sales - Units Shipped/widgets/Container1/Button1Copy2.json b/pages/Sales - Units Shipped/widgets/Container1/Button1Copy2.json index 0e56f0e..d7e51b7 100644 --- a/pages/Sales - Units Shipped/widgets/Container1/Button1Copy2.json +++ b/pages/Sales - Units Shipped/widgets/Container1/Button1Copy2.json @@ -3,7 +3,7 @@ "borderRadius": "0.375rem", "bottomRow": 16, "boxShadow": "none", - "buttonColor": "{{appsmith.page.name === 'Sales - Units Ordered' ? appsmith.theme.colors.primaryColor : appsmith.theme.colors.backgroundColor}}", + "buttonColor": "{{appsmith.theme.colors.backgroundColor}}", "buttonVariant": "PRIMARY", "disabledWhenInvalid": false, "dynamicBindingPathList": [ From 4818aee67fc6d8f528d21c9d8e85abb34ad64e3e Mon Sep 17 00:00:00 2001 From: ivarsbariss Date: Thu, 26 Feb 2026 15:44:00 +0100 Subject: [PATCH 31/71] Simulate active page button style --- docs/README.md | 2 +- .../widgets/Container1/Button1.json | 2 +- .../widgets/Container1/Button1Copy.json | 8 ++------ .../widgets/Container1/Button1Copy2.json | 8 ++------ .../Sales - Units Ordered/widgets/Container1/Button1.json | 8 ++------ .../widgets/Container1/Button1Copy.json | 8 ++------ .../widgets/Container1/Button1Copy2.json | 2 +- .../Sales - Units Shipped/widgets/Container1/Button1.json | 8 ++------ .../widgets/Container1/Button1Copy.json | 2 +- .../widgets/Container1/Button1Copy2.json | 8 ++------ 10 files changed, 16 insertions(+), 40 deletions(-) diff --git a/docs/README.md b/docs/README.md index a9aa0ec..f6532ac 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,4 +1,4 @@ # Navigation updates - Added the **Units Ordered** nav button beneath **Units Shipped** on every Sales canvas so the new sales dashboard route is reachable from Capacity Planning, Units Ordered, and Units Shipped. -- Each page now hardcodes the appropriate nav button to `appsmith.theme.colors.primaryColor` and keeps the others at `appsmith.theme.colors.backgroundColor`, guaranteeing only the current canvas renders with the darker highlight without referencing `appsmith.page`. +- Each page now hardcodes the highlighted button to `appsmith.theme.colors.backgroundColor` (what used to be the default background) and keeps the inactive buttons at `#ffffff`, so the active canvas still renders distinctly without referencing `appsmith.page`. diff --git a/pages/Sales - Capacity Planning/widgets/Container1/Button1.json b/pages/Sales - Capacity Planning/widgets/Container1/Button1.json index e10b3ae..9bbd73e 100644 --- a/pages/Sales - Capacity Planning/widgets/Container1/Button1.json +++ b/pages/Sales - Capacity Planning/widgets/Container1/Button1.json @@ -3,7 +3,7 @@ "borderRadius": "0.375rem", "bottomRow": 8, "boxShadow": "none", - "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonColor": "{{appsmith.theme.colors.backgroundColor}}", "buttonVariant": "PRIMARY", "disabledWhenInvalid": false, "dynamicBindingPathList": [ diff --git a/pages/Sales - Capacity Planning/widgets/Container1/Button1Copy.json b/pages/Sales - Capacity Planning/widgets/Container1/Button1Copy.json index cd60901..bd9dfd8 100644 --- a/pages/Sales - Capacity Planning/widgets/Container1/Button1Copy.json +++ b/pages/Sales - Capacity Planning/widgets/Container1/Button1Copy.json @@ -3,14 +3,10 @@ "borderRadius": "0.375rem", "bottomRow": 12, "boxShadow": "none", - "buttonColor": "{{appsmith.theme.colors.backgroundColor}}", + "buttonColor": "#ffffff", "buttonVariant": "PRIMARY", "disabledWhenInvalid": false, - "dynamicBindingPathList": [ - { - "key": "buttonColor" - } - ], + "dynamicBindingPathList": [], "dynamicTriggerPathList": [ { "key": "onClick" diff --git a/pages/Sales - Capacity Planning/widgets/Container1/Button1Copy2.json b/pages/Sales - Capacity Planning/widgets/Container1/Button1Copy2.json index cb12b58..cb4ef44 100644 --- a/pages/Sales - Capacity Planning/widgets/Container1/Button1Copy2.json +++ b/pages/Sales - Capacity Planning/widgets/Container1/Button1Copy2.json @@ -3,14 +3,10 @@ "borderRadius": "0.375rem", "bottomRow": 16, "boxShadow": "none", - "buttonColor": "{{appsmith.theme.colors.backgroundColor}}", + "buttonColor": "#ffffff", "buttonVariant": "PRIMARY", "disabledWhenInvalid": false, - "dynamicBindingPathList": [ - { - "key": "buttonColor" - } - ], + "dynamicBindingPathList": [], "dynamicTriggerPathList": [ { "key": "onClick" diff --git a/pages/Sales - Units Ordered/widgets/Container1/Button1.json b/pages/Sales - Units Ordered/widgets/Container1/Button1.json index 82481c9..ec9d78a 100644 --- a/pages/Sales - Units Ordered/widgets/Container1/Button1.json +++ b/pages/Sales - Units Ordered/widgets/Container1/Button1.json @@ -3,14 +3,10 @@ "borderRadius": "0.375rem", "bottomRow": 8, "boxShadow": "none", - "buttonColor": "{{appsmith.theme.colors.backgroundColor}}", + "buttonColor": "#ffffff", "buttonVariant": "PRIMARY", "disabledWhenInvalid": false, - "dynamicBindingPathList": [ - { - "key": "buttonColor" - } - ], + "dynamicBindingPathList": [], "dynamicTriggerPathList": [ { "key": "onClick" diff --git a/pages/Sales - Units Ordered/widgets/Container1/Button1Copy.json b/pages/Sales - Units Ordered/widgets/Container1/Button1Copy.json index 382cae4..0d86fd9 100644 --- a/pages/Sales - Units Ordered/widgets/Container1/Button1Copy.json +++ b/pages/Sales - Units Ordered/widgets/Container1/Button1Copy.json @@ -3,14 +3,10 @@ "borderRadius": "0.375rem", "bottomRow": 12, "boxShadow": "none", - "buttonColor": "{{appsmith.theme.colors.backgroundColor}}", + "buttonColor": "#ffffff", "buttonVariant": "PRIMARY", "disabledWhenInvalid": false, - "dynamicBindingPathList": [ - { - "key": "buttonColor" - } - ], + "dynamicBindingPathList": [], "dynamicTriggerPathList": [ { "key": "onClick" diff --git a/pages/Sales - Units Ordered/widgets/Container1/Button1Copy2.json b/pages/Sales - Units Ordered/widgets/Container1/Button1Copy2.json index bfb84a1..13c1a09 100644 --- a/pages/Sales - Units Ordered/widgets/Container1/Button1Copy2.json +++ b/pages/Sales - Units Ordered/widgets/Container1/Button1Copy2.json @@ -3,7 +3,7 @@ "borderRadius": "0.375rem", "bottomRow": 16, "boxShadow": "none", - "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonColor": "{{appsmith.theme.colors.backgroundColor}}", "buttonVariant": "PRIMARY", "disabledWhenInvalid": false, "dynamicBindingPathList": [ diff --git a/pages/Sales - Units Shipped/widgets/Container1/Button1.json b/pages/Sales - Units Shipped/widgets/Container1/Button1.json index 82481c9..ec9d78a 100644 --- a/pages/Sales - Units Shipped/widgets/Container1/Button1.json +++ b/pages/Sales - Units Shipped/widgets/Container1/Button1.json @@ -3,14 +3,10 @@ "borderRadius": "0.375rem", "bottomRow": 8, "boxShadow": "none", - "buttonColor": "{{appsmith.theme.colors.backgroundColor}}", + "buttonColor": "#ffffff", "buttonVariant": "PRIMARY", "disabledWhenInvalid": false, - "dynamicBindingPathList": [ - { - "key": "buttonColor" - } - ], + "dynamicBindingPathList": [], "dynamicTriggerPathList": [ { "key": "onClick" diff --git a/pages/Sales - Units Shipped/widgets/Container1/Button1Copy.json b/pages/Sales - Units Shipped/widgets/Container1/Button1Copy.json index 19b9a8d..382cae4 100644 --- a/pages/Sales - Units Shipped/widgets/Container1/Button1Copy.json +++ b/pages/Sales - Units Shipped/widgets/Container1/Button1Copy.json @@ -3,7 +3,7 @@ "borderRadius": "0.375rem", "bottomRow": 12, "boxShadow": "none", - "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonColor": "{{appsmith.theme.colors.backgroundColor}}", "buttonVariant": "PRIMARY", "disabledWhenInvalid": false, "dynamicBindingPathList": [ diff --git a/pages/Sales - Units Shipped/widgets/Container1/Button1Copy2.json b/pages/Sales - Units Shipped/widgets/Container1/Button1Copy2.json index d7e51b7..f3c15ba 100644 --- a/pages/Sales - Units Shipped/widgets/Container1/Button1Copy2.json +++ b/pages/Sales - Units Shipped/widgets/Container1/Button1Copy2.json @@ -3,14 +3,10 @@ "borderRadius": "0.375rem", "bottomRow": 16, "boxShadow": "none", - "buttonColor": "{{appsmith.theme.colors.backgroundColor}}", + "buttonColor": "#ffffff", "buttonVariant": "PRIMARY", "disabledWhenInvalid": false, - "dynamicBindingPathList": [ - { - "key": "buttonColor" - } - ], + "dynamicBindingPathList": [], "dynamicTriggerPathList": [ { "key": "onClick" From c9e5a7d87405a2f674a651f3f3acc587a0875849 Mon Sep 17 00:00:00 2001 From: ivarsbariss Date: Thu, 26 Feb 2026 15:47:36 +0100 Subject: [PATCH 32/71] Share project's cursor skills --- .cursor/skills/navigation-button-add/SKILL.md | 30 +++++++++++++++++++ .gitignore | 4 ++- 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 .cursor/skills/navigation-button-add/SKILL.md diff --git a/.cursor/skills/navigation-button-add/SKILL.md b/.cursor/skills/navigation-button-add/SKILL.md new file mode 100644 index 0000000..cc6fe67 --- /dev/null +++ b/.cursor/skills/navigation-button-add/SKILL.md @@ -0,0 +1,30 @@ +--- +name: navigation-button-add +description: Implements a new Sales navigation button with the existing highlight/default colors. Use when the user asks to add buttons to the nav block, mentions “Units Ordered”, “Units Shipped”, or “Sales” navigation, or instructs to keep the highlight behavior consistent with the latest change. +--- + +# Navigation Button Addition + +## Instructions + +1. **Understand the current navigation canvas** by checking `pages/*/widgets/Container1/Button*`. Each Sales page reuses the same container; the existing buttons are `Button1` (Capacity Planning), `Button1Copy` (Units Shipped), and `Button1Copy2` (Units Ordered). +2. **Follow the established color scheme**: + - The highlighted button uses `appsmith.theme.colors.backgroundColor`. + - The inactive buttons use `#ffffff`. +3. **When adding a new navigation button**: + - Copy one of the existing `Button*` definitions, adjusting `text`, `onClick`, `widgetId`, `widgetName`, `bottomRow`, and any other placement metadata so it fits below the existing items. + - Set `buttonColor` to `#ffffff` (inactive) unless the new button replaces the active page; then set its own definition (`on the relevant page`) to `appsmith.theme.colors.backgroundColor`. + - Ensure `dynamicBindingPathList` stays empty when `buttonColor` is static white; populate it only if the button needs dynamic logic. + - Point `onClick` to `navigateTo` the new page slug and keep `placement`/`responsiveBehavior` matching other nav buttons. +4. **Update documentation**: After modifying navigation, update `docs/README.md` with a short note about the new button and its color behavior. +5. **Run git status/diff** to verify only the intended files changed before reporting back. + +## Examples + +- *Adding “Units Ordered” button*: + 1. Copy `Button1Copy` (Units Shipped) in each page’s `Container1`. + 2. Set `text` to “Units Ordered”, `onClick` to `navigateTo('Sales - Units Ordered', {}, 'SAME_WINDOW');`. + 3. Assign `buttonColor` to `#ffffff` for inactive cases and to `appsmith.theme.colors.backgroundColor` inside the `Sales - Units Ordered` page definition for highlight. + 4. Adjust `bottomRow` incrementally so buttons stack vertically. + 5. Mention the update in `docs/README.md`. + diff --git a/.gitignore b/.gitignore index 8c6d268..8b03f8e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ # Cursor AI reference documentation (internal use only) -.cursor/ +.cursor/* +!.cursor/skills/ +!.cursor/skills/** From 30fd988494eeaf9e0469f80eefc72c2db92388a0 Mon Sep 17 00:00:00 2001 From: ivarsbariss Date: Thu, 26 Feb 2026 15:54:20 +0100 Subject: [PATCH 33/71] Test to show page name automatically --- docs/README.md | 1 + pages/Sales - Capacity Planning/widgets/Heading.json | 5 ++++- pages/Sales - Units Ordered/widgets/Heading.json | 5 ++++- pages/Sales - Units Shipped/widgets/Heading.json | 5 ++++- 4 files changed, 13 insertions(+), 3 deletions(-) diff --git a/docs/README.md b/docs/README.md index f6532ac..9f931cd 100644 --- a/docs/README.md +++ b/docs/README.md @@ -2,3 +2,4 @@ - Added the **Units Ordered** nav button beneath **Units Shipped** on every Sales canvas so the new sales dashboard route is reachable from Capacity Planning, Units Ordered, and Units Shipped. - Each page now hardcodes the highlighted button to `appsmith.theme.colors.backgroundColor` (what used to be the default background) and keeps the inactive buttons at `#ffffff`, so the active canvas still renders distinctly without referencing `appsmith.page`. +- The **Heading** widget on each page uses `{{ appsmith.page.name }}` so it always shows the current page name. If your Appsmith version doesn’t expose `appsmith.page.name`, set the Heading **Text** back to a static page title or use an onPageLoad that sets `appsmith.store` and bind the Heading to that. diff --git a/pages/Sales - Capacity Planning/widgets/Heading.json b/pages/Sales - Capacity Planning/widgets/Heading.json index 8ac4bb1..3ae8245 100644 --- a/pages/Sales - Capacity Planning/widgets/Heading.json +++ b/pages/Sales - Capacity Planning/widgets/Heading.json @@ -3,6 +3,9 @@ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "bottomRow": 5, "dynamicBindingPathList": [ + { + "key": "text" + }, { "key": "truncateButtonColor" }, @@ -40,7 +43,7 @@ "responsiveBehavior": "fill", "rightColumn": 64, "shouldTruncate": false, - "text": "Sales - Capacity Planning", + "text": "{{ appsmith.page.name }}", "textAlign": "LEFT", "textColor": "#231F20", "topRow": 0, diff --git a/pages/Sales - Units Ordered/widgets/Heading.json b/pages/Sales - Units Ordered/widgets/Heading.json index 38e955d..53d4e65 100644 --- a/pages/Sales - Units Ordered/widgets/Heading.json +++ b/pages/Sales - Units Ordered/widgets/Heading.json @@ -3,6 +3,9 @@ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "bottomRow": 5, "dynamicBindingPathList": [ + { + "key": "text" + }, { "key": "truncateButtonColor" }, @@ -40,7 +43,7 @@ "responsiveBehavior": "fill", "rightColumn": 64, "shouldTruncate": false, - "text": "Sales - Units Shipped", + "text": "{{ appsmith.page.name }}", "textAlign": "LEFT", "textColor": "#231F20", "topRow": 0, diff --git a/pages/Sales - Units Shipped/widgets/Heading.json b/pages/Sales - Units Shipped/widgets/Heading.json index 38e955d..53d4e65 100644 --- a/pages/Sales - Units Shipped/widgets/Heading.json +++ b/pages/Sales - Units Shipped/widgets/Heading.json @@ -3,6 +3,9 @@ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "bottomRow": 5, "dynamicBindingPathList": [ + { + "key": "text" + }, { "key": "truncateButtonColor" }, @@ -40,7 +43,7 @@ "responsiveBehavior": "fill", "rightColumn": 64, "shouldTruncate": false, - "text": "Sales - Units Shipped", + "text": "{{ appsmith.page.name }}", "textAlign": "LEFT", "textColor": "#231F20", "topRow": 0, From f890d66ab157ce1ba1e6aee251a9d96f0de3e337 Mon Sep 17 00:00:00 2001 From: ivarsbariss Date: Thu, 26 Feb 2026 16:01:41 +0100 Subject: [PATCH 34/71] Create a new page skill and no docs director rule --- .cursor/rules/no-docs-directory.mdc | 12 +++ .cursor/skills/create-new-page/SKILL.md | 81 +++++++++++++++++++ .cursor/skills/navigation-button-add/SKILL.md | 4 +- .gitignore | 2 + docs/README.md | 1 - .../widgets/Heading.json | 5 +- .../widgets/Heading.json | 5 +- .../widgets/Heading.json | 5 +- 8 files changed, 99 insertions(+), 16 deletions(-) create mode 100644 .cursor/rules/no-docs-directory.mdc create mode 100644 .cursor/skills/create-new-page/SKILL.md diff --git a/.cursor/rules/no-docs-directory.mdc b/.cursor/rules/no-docs-directory.mdc new file mode 100644 index 0000000..e4a7d9d --- /dev/null +++ b/.cursor/rules/no-docs-directory.mdc @@ -0,0 +1,12 @@ +--- +description: Do not create or add to the /docs directory +alwaysApply: true +--- + +# No /docs Directory Changes + +Do **not** create new files under `docs/` or add to or modify any content in the `docs/` directory. + +- Do not create new files in `docs/`. +- Do not edit or append to existing files in `docs/`. +- When a task would normally involve documentation (e.g. README updates, changelog notes), skip any changes under `docs/` unless the user explicitly asks to change that directory. diff --git a/.cursor/skills/create-new-page/SKILL.md b/.cursor/skills/create-new-page/SKILL.md new file mode 100644 index 0000000..c8c4ef5 --- /dev/null +++ b/.cursor/skills/create-new-page/SKILL.md @@ -0,0 +1,81 @@ +--- +name: create-new-page +description: Creates a new Sales page by cloning Sales - Capacity Planning, adds a nav button for it on every page, and sets the new page name for the button label and the page Heading. Use when the user asks to add a new page, clone a page, create a page from template, or add a new Sales navigation page. +--- + +# Create New Page (Clone + Navigation) + +Creates a new page from the **Sales - Capacity Planning** template, registers it in the app, adds a navigation button on every page, and uses the **new page name** for both the nav button label and the Heading on the new page. + +## Prerequisites + +- **New page name**: User must provide the exact display name (e.g. `Sales - Units Planning`). Use it consistently for: + - Page folder name: `pages//` + - Page JSON filename: `.json` + - `unpublishedPage.name` and `unpublishedPage.slug` (slug = lowercase, spaces → hyphens, e.g. `sales-units-planning`) + - Heading widget `text` on the new page + - Nav button `text` on all pages + - `navigateTo('', {}, 'SAME_WINDOW')` in the new button’s `onClick` +- Follow the **navigation-button-add** skill for button styling and placement. + +## Instructions + +### 1. Clone the template page + +- **Template**: `pages/Sales - Capacity Planning/` +- **Target**: `pages//` +- Copy the entire directory tree (widgets, queries, and the page JSON). +- In the new folder, rename the page file to `.json` and update inside it: + - `unpublishedPage.name` → `` + - `unpublishedPage.slug` → slug form (e.g. `sales-units-planning`) +- Replace all widget IDs in the new page’s JSON files with new unique IDs (e.g. new UUIDs or unique strings) so the new page does not conflict with the template. Update any `parentId` references to the new IDs. +- In every widget JSON under the new page, replace any reference to the old page name or slug with the new page name or slug (e.g. in queries or onClick that might point to the template page). + +### 2. Set the new page’s Heading + +- In `pages//widgets/Heading.json`, set: + - `"text": ""` + so the heading always shows the page name (no dynamic binding; `appsmith.page` is undefined in this app). + +### 3. Register the new page in the app + +- In `application.json`, add to the `pages` array one entry: + - `{"id": "", "isDefault": false}` +- Do not change `isDefault: true` on the existing default page unless the user asks to make the new page default. + +### 4. Add the new nav button on every page + +Apply the **navigation-button-add** skill: + +- **Pages to update**: Every existing Sales page (Sales - Capacity Planning, Sales - Units Shipped, Sales - Units Ordered) **and** the new page. +- **On each page**, in `widgets/Container1/`, add a new button (e.g. copy `Button1Copy2` and name the new file `Button1Copy3` or next available name): + - `text`: `` (or a short label that matches the page, e.g. “Units Planning” if the full name is “Sales - Units Planning” — prefer using the **new page name** for consistency unless the user asks for a shorter label). + - `onClick`: `{{navigateTo('', {}, 'SAME_WINDOW');}}` + - `buttonColor`: + - On the **new page only**: `{{appsmith.theme.colors.backgroundColor}}` and add `{"key":"buttonColor"}` to `dynamicBindingPathList`. + - On all **other** pages: `#ffffff`, and do not add `buttonColor` to `dynamicBindingPathList`. + - Place the new button below the existing nav buttons: set `topRow` / `bottomRow` so it stacks vertically (e.g. copy from the last button and add 4 rows for the new one). + - Assign a new `widgetId` and `widgetName` for the new button on each page. +- Update `Container1.json` (or the parent that lists children) so the new button is included in the layout if the DSL is widget-list based. + +### 5. Verify + +- Run `git status` / `git diff` and confirm only intended files were added or changed. +- Ensure no duplicate `widgetId` values across pages and that the new page’s slug and name are used consistently. + +## Summary + +| Item | Value | +|------|--------| +| Template | Sales - Capacity Planning | +| New page folder | `pages//` | +| Heading text | `` | +| Nav button text | `` (or user-specified short label) | +| Nav button onClick | `navigateTo('', {}, 'SAME_WINDOW')` | +| Highlight (new page) | `buttonColor`: `{{appsmith.theme.colors.backgroundColor}}` | +| Inactive (other pages) | `buttonColor`: `#ffffff` | + +## Reference + +- Nav button behavior and layout: follow **navigation-button-add** skill. +- Slug format: lowercase, spaces to hyphens (e.g. `Sales - Units Planning` → `sales-units-planning`). diff --git a/.cursor/skills/navigation-button-add/SKILL.md b/.cursor/skills/navigation-button-add/SKILL.md index cc6fe67..4e92a56 100644 --- a/.cursor/skills/navigation-button-add/SKILL.md +++ b/.cursor/skills/navigation-button-add/SKILL.md @@ -16,8 +16,7 @@ description: Implements a new Sales navigation button with the existing highligh - Set `buttonColor` to `#ffffff` (inactive) unless the new button replaces the active page; then set its own definition (`on the relevant page`) to `appsmith.theme.colors.backgroundColor`. - Ensure `dynamicBindingPathList` stays empty when `buttonColor` is static white; populate it only if the button needs dynamic logic. - Point `onClick` to `navigateTo` the new page slug and keep `placement`/`responsiveBehavior` matching other nav buttons. -4. **Update documentation**: After modifying navigation, update `docs/README.md` with a short note about the new button and its color behavior. -5. **Run git status/diff** to verify only the intended files changed before reporting back. +4. **Run git status/diff** to verify only the intended files changed before reporting back. ## Examples @@ -26,5 +25,4 @@ description: Implements a new Sales navigation button with the existing highligh 2. Set `text` to “Units Ordered”, `onClick` to `navigateTo('Sales - Units Ordered', {}, 'SAME_WINDOW');`. 3. Assign `buttonColor` to `#ffffff` for inactive cases and to `appsmith.theme.colors.backgroundColor` inside the `Sales - Units Ordered` page definition for highlight. 4. Adjust `bottomRow` incrementally so buttons stack vertically. - 5. Mention the update in `docs/README.md`. diff --git a/.gitignore b/.gitignore index 8b03f8e..9fade56 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,6 @@ # Cursor AI reference documentation (internal use only) .cursor/* +!.cursor/rules/ +!.cursor/rules/** !.cursor/skills/ !.cursor/skills/** diff --git a/docs/README.md b/docs/README.md index 9f931cd..f6532ac 100644 --- a/docs/README.md +++ b/docs/README.md @@ -2,4 +2,3 @@ - Added the **Units Ordered** nav button beneath **Units Shipped** on every Sales canvas so the new sales dashboard route is reachable from Capacity Planning, Units Ordered, and Units Shipped. - Each page now hardcodes the highlighted button to `appsmith.theme.colors.backgroundColor` (what used to be the default background) and keeps the inactive buttons at `#ffffff`, so the active canvas still renders distinctly without referencing `appsmith.page`. -- The **Heading** widget on each page uses `{{ appsmith.page.name }}` so it always shows the current page name. If your Appsmith version doesn’t expose `appsmith.page.name`, set the Heading **Text** back to a static page title or use an onPageLoad that sets `appsmith.store` and bind the Heading to that. diff --git a/pages/Sales - Capacity Planning/widgets/Heading.json b/pages/Sales - Capacity Planning/widgets/Heading.json index 3ae8245..8ac4bb1 100644 --- a/pages/Sales - Capacity Planning/widgets/Heading.json +++ b/pages/Sales - Capacity Planning/widgets/Heading.json @@ -3,9 +3,6 @@ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "bottomRow": 5, "dynamicBindingPathList": [ - { - "key": "text" - }, { "key": "truncateButtonColor" }, @@ -43,7 +40,7 @@ "responsiveBehavior": "fill", "rightColumn": 64, "shouldTruncate": false, - "text": "{{ appsmith.page.name }}", + "text": "Sales - Capacity Planning", "textAlign": "LEFT", "textColor": "#231F20", "topRow": 0, diff --git a/pages/Sales - Units Ordered/widgets/Heading.json b/pages/Sales - Units Ordered/widgets/Heading.json index 53d4e65..c9d026d 100644 --- a/pages/Sales - Units Ordered/widgets/Heading.json +++ b/pages/Sales - Units Ordered/widgets/Heading.json @@ -3,9 +3,6 @@ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "bottomRow": 5, "dynamicBindingPathList": [ - { - "key": "text" - }, { "key": "truncateButtonColor" }, @@ -43,7 +40,7 @@ "responsiveBehavior": "fill", "rightColumn": 64, "shouldTruncate": false, - "text": "{{ appsmith.page.name }}", + "text": "Sales - Units Ordered", "textAlign": "LEFT", "textColor": "#231F20", "topRow": 0, diff --git a/pages/Sales - Units Shipped/widgets/Heading.json b/pages/Sales - Units Shipped/widgets/Heading.json index 53d4e65..38e955d 100644 --- a/pages/Sales - Units Shipped/widgets/Heading.json +++ b/pages/Sales - Units Shipped/widgets/Heading.json @@ -3,9 +3,6 @@ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "bottomRow": 5, "dynamicBindingPathList": [ - { - "key": "text" - }, { "key": "truncateButtonColor" }, @@ -43,7 +40,7 @@ "responsiveBehavior": "fill", "rightColumn": 64, "shouldTruncate": false, - "text": "{{ appsmith.page.name }}", + "text": "Sales - Units Shipped", "textAlign": "LEFT", "textColor": "#231F20", "topRow": 0, From 828b4edc1c552f113c4e49c60edb2c494f9f3261 Mon Sep 17 00:00:00 2001 From: ivarsbariss Date: Thu, 26 Feb 2026 16:13:40 +0100 Subject: [PATCH 35/71] Add new query --- .../units_ordered_by_series/metadata.json | 1 + .../units_ordered_by_series.txt} | 6 ++-- .../units_shipped_by_series/metadata.json | 35 ------------------- .../widgets/Tabs1/Table1.json | 2 +- 4 files changed, 5 insertions(+), 39 deletions(-) create mode 100644 pages/Sales - Units Ordered/queries/units_ordered_by_series/metadata.json rename pages/Sales - Units Ordered/queries/{units_shipped_by_series/units_shipped_by_series.txt => units_ordered_by_series/units_ordered_by_series.txt} (92%) delete mode 100644 pages/Sales - Units Ordered/queries/units_shipped_by_series/metadata.json diff --git a/pages/Sales - Units Ordered/queries/units_ordered_by_series/metadata.json b/pages/Sales - Units Ordered/queries/units_ordered_by_series/metadata.json new file mode 100644 index 0000000..b989e53 --- /dev/null +++ b/pages/Sales - Units Ordered/queries/units_ordered_by_series/metadata.json @@ -0,0 +1 @@ +{"gitSyncId":"6978a0503f1cbf3622b556da_bb85ebfe-2773-4f11-880e-df88217f957d","id":"Sales - Units Ordered_units_ordered_by_series","pluginId":"postgres-plugin","pluginType":"DB","unpublishedAction":{"actionConfiguration":{"body":"SELECT \nCASE WHEN item_number IN ('16688','25020') THEN 'XR Series'\nWHEN item_number IN ('22351','24952') THEN 'SL Series'\nWHEN item_number IN ('17861','25021','29243','29752') THEN 'TS Series'\nWHEN item_number IN ('17862') THEN 'MS Series'\nWHEN item_number IN ('17863') THEN 'MT Series'\nWHEN item_number IN ('17873') THEN 'Harmonic Neutralizer'\n\nELSE 'None'\nEND AS \"Product\",\nROUND(SUM(coitem_qtyord),0) as \"Qty Ordered\"\nFROM coitem LEFT OUTER JOIN cohead ON cohead_id=coitem_cohead_id\nLEFT OUTER JOIN itemsite ON coitem_itemsite_id = itemsite_id\nLEFT OUTER JOIN item ON item_id = itemsite_item_id\nLEFT OUTER JOIN charass AS reportpower ON \n(coitem_id = reportpower.charass_target_id \nAND reportpower.charass_target_type = 'SI'\nAND reportpower.charass_char_id = 25)\nWHERE item_number IN ('16688','17861','17862','17863','22351','25020','25144','25147','25021','24952','17873','29243','29752')\nAND (coitem_status <> 'X') \nAND cohead_id NOT IN(SELECT cohead_id from rahead LEFT OUTER JOIN cohead ON rahead_new_cohead_id=cohead_id WHERE cohead_id IS NOT NULL)\nAND coitem_price != 0\nAND reportpower.charass_value IS NOT NULL\nAND (\n\tNULLIF('{{SeriesDateFrom.selectedDate}}','') IS NULL\n\tOR NULLIF('{{SeriesDateTo.selectedDate}}','') IS NULL\n\tOR cohead_orderdate BETWEEN\n\tNULLIF('{{SeriesDateFrom.selectedDate}}','')::date\n\tAND NULLIF('{{SeriesDateTo.selectedDate}}','')::date\n)\nGROUP BY \"Product\"\nORDER BY \"Product\"","encodeParamsToggle":true,"paginationType":"NONE","pluginSpecifiedTemplates":[{"value":true}],"timeoutInMillisecond":10000},"confirmBeforeExecute":false,"datasource":{"id":"xTuple_Sandbox","isAutoGenerated":false,"name":"xTuple_Sandbox","pluginId":"postgres-plugin"},"dynamicBindingPathList":[{"key":"body"}],"name":"units_ordered_by_series","pageId":"Sales - Units Ordered","runBehaviour":"AUTOMATIC","userSetOnLoad":false}} diff --git a/pages/Sales - Units Ordered/queries/units_shipped_by_series/units_shipped_by_series.txt b/pages/Sales - Units Ordered/queries/units_ordered_by_series/units_ordered_by_series.txt similarity index 92% rename from pages/Sales - Units Ordered/queries/units_shipped_by_series/units_shipped_by_series.txt rename to pages/Sales - Units Ordered/queries/units_ordered_by_series/units_ordered_by_series.txt index dc70a79..56a2c21 100644 --- a/pages/Sales - Units Ordered/queries/units_shipped_by_series/units_shipped_by_series.txt +++ b/pages/Sales - Units Ordered/queries/units_ordered_by_series/units_ordered_by_series.txt @@ -14,8 +14,8 @@ LEFT OUTER JOIN itemsite ON coitem_itemsite_id = itemsite_id LEFT OUTER JOIN item ON item_id = itemsite_item_id LEFT OUTER JOIN charass AS reportpower ON (coitem_id = reportpower.charass_target_id - AND reportpower.charass_target_type = 'SI' - AND reportpower.charass_char_id = 25) +AND reportpower.charass_target_type = 'SI' +AND reportpower.charass_char_id = 25) WHERE item_number IN ('16688','17861','17862','17863','22351','25020','25144','25147','25021','24952','17873','29243','29752') AND (coitem_status <> 'X') AND cohead_id NOT IN(SELECT cohead_id from rahead LEFT OUTER JOIN cohead ON rahead_new_cohead_id=cohead_id WHERE cohead_id IS NOT NULL) @@ -29,4 +29,4 @@ AND ( AND NULLIF('{{SeriesDateTo.selectedDate}}','')::date ) GROUP BY "Product" -ORDER BY "Product" \ No newline at end of file +ORDER BY "Product" diff --git a/pages/Sales - Units Ordered/queries/units_shipped_by_series/metadata.json b/pages/Sales - Units Ordered/queries/units_shipped_by_series/metadata.json deleted file mode 100644 index b60c4fc..0000000 --- a/pages/Sales - Units Ordered/queries/units_shipped_by_series/metadata.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "gitSyncId": "6978a0503f1cbf3622b556da_bb85ebfe-2773-4f11-880e-df88217f957d", - "id": "Sales - Units Ordered_units_shipped_by_series", - "pluginId": "postgres-plugin", - "pluginType": "DB", - "unpublishedAction": { - "actionConfiguration": { - "body": "SELECT \nCASE WHEN item_number IN ('16688','25020') THEN 'XR Series'\nWHEN item_number IN ('22351','24952') THEN 'SL Series'\nWHEN item_number IN ('17861','25021','29243','29752') THEN 'TS Series'\nWHEN item_number IN ('17862') THEN 'MS Series'\nWHEN item_number IN ('17863') THEN 'MT Series'\nWHEN item_number IN ('17873') THEN 'Harmonic Neutralizer'\n\nELSE 'None'\nEND AS \"Product\",\nROUND(SUM(coitem_qtyord),0) as \"Qty Ordered\"\nFROM coitem LEFT OUTER JOIN cohead ON cohead_id=coitem_cohead_id\nLEFT OUTER JOIN itemsite ON coitem_itemsite_id = itemsite_id\nLEFT OUTER JOIN item ON item_id = itemsite_item_id\nLEFT OUTER JOIN charass AS reportpower ON \n(coitem_id = reportpower.charass_target_id \n AND reportpower.charass_target_type = 'SI'\n AND reportpower.charass_char_id = 25)\nWHERE item_number IN ('16688','17861','17862','17863','22351','25020','25144','25147','25021','24952','17873','29243','29752')\nAND (coitem_status <> 'X') \nAND cohead_id NOT IN(SELECT cohead_id from rahead LEFT OUTER JOIN cohead ON rahead_new_cohead_id=cohead_id WHERE cohead_id IS NOT NULL)\nAND coitem_price != 0\nAND reportpower.charass_value IS NOT NULL\nAND (\n\tNULLIF('{{SeriesDateFrom.selectedDate}}','') IS NULL\n\tOR NULLIF('{{SeriesDateTo.selectedDate}}','') IS NULL\n\tOR cohead_orderdate BETWEEN\n\tNULLIF('{{SeriesDateFrom.selectedDate}}','')::date\n\tAND NULLIF('{{SeriesDateTo.selectedDate}}','')::date\n)\nGROUP BY \"Product\"\nORDER BY \"Product\"", - "encodeParamsToggle": true, - "paginationType": "NONE", - "pluginSpecifiedTemplates": [ - { - "value": true - } - ], - "timeoutInMillisecond": 10000 - }, - "confirmBeforeExecute": false, - "datasource": { - "id": "xTuple_Sandbox", - "isAutoGenerated": false, - "name": "xTuple_Sandbox", - "pluginId": "postgres-plugin" - }, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "name": "units_shipped_by_series", - "pageId": "Sales - Units Ordered", - "runBehaviour": "AUTOMATIC", - "userSetOnLoad": false - } -} \ No newline at end of file diff --git a/pages/Sales - Units Ordered/widgets/Tabs1/Table1.json b/pages/Sales - Units Ordered/widgets/Tabs1/Table1.json index a6cb8b8..74f71fe 100644 --- a/pages/Sales - Units Ordered/widgets/Tabs1/Table1.json +++ b/pages/Sales - Units Ordered/widgets/Tabs1/Table1.json @@ -174,7 +174,7 @@ "responsiveBehavior": "fill", "rightColumn": 62, "searchKey": "", - "tableData": "{{units_shipped_by_series.data}}", + "tableData": "{{units_ordered_by_series.data}}", "textSize": "0.775rem", "topRow": 7, "totalRecordsCount": 0, From 1777a23d52f7ceea572b56efa919117af569106b Mon Sep 17 00:00:00 2001 From: ibariss Date: Thu, 26 Feb 2026 15:14:08 +0000 Subject: [PATCH 36/71] System generated commit, for syncing changes with remote after git pull --- .../units_ordered_by_series/metadata.json | 36 ++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git a/pages/Sales - Units Ordered/queries/units_ordered_by_series/metadata.json b/pages/Sales - Units Ordered/queries/units_ordered_by_series/metadata.json index b989e53..084a828 100644 --- a/pages/Sales - Units Ordered/queries/units_ordered_by_series/metadata.json +++ b/pages/Sales - Units Ordered/queries/units_ordered_by_series/metadata.json @@ -1 +1,35 @@ -{"gitSyncId":"6978a0503f1cbf3622b556da_bb85ebfe-2773-4f11-880e-df88217f957d","id":"Sales - Units Ordered_units_ordered_by_series","pluginId":"postgres-plugin","pluginType":"DB","unpublishedAction":{"actionConfiguration":{"body":"SELECT \nCASE WHEN item_number IN ('16688','25020') THEN 'XR Series'\nWHEN item_number IN ('22351','24952') THEN 'SL Series'\nWHEN item_number IN ('17861','25021','29243','29752') THEN 'TS Series'\nWHEN item_number IN ('17862') THEN 'MS Series'\nWHEN item_number IN ('17863') THEN 'MT Series'\nWHEN item_number IN ('17873') THEN 'Harmonic Neutralizer'\n\nELSE 'None'\nEND AS \"Product\",\nROUND(SUM(coitem_qtyord),0) as \"Qty Ordered\"\nFROM coitem LEFT OUTER JOIN cohead ON cohead_id=coitem_cohead_id\nLEFT OUTER JOIN itemsite ON coitem_itemsite_id = itemsite_id\nLEFT OUTER JOIN item ON item_id = itemsite_item_id\nLEFT OUTER JOIN charass AS reportpower ON \n(coitem_id = reportpower.charass_target_id \nAND reportpower.charass_target_type = 'SI'\nAND reportpower.charass_char_id = 25)\nWHERE item_number IN ('16688','17861','17862','17863','22351','25020','25144','25147','25021','24952','17873','29243','29752')\nAND (coitem_status <> 'X') \nAND cohead_id NOT IN(SELECT cohead_id from rahead LEFT OUTER JOIN cohead ON rahead_new_cohead_id=cohead_id WHERE cohead_id IS NOT NULL)\nAND coitem_price != 0\nAND reportpower.charass_value IS NOT NULL\nAND (\n\tNULLIF('{{SeriesDateFrom.selectedDate}}','') IS NULL\n\tOR NULLIF('{{SeriesDateTo.selectedDate}}','') IS NULL\n\tOR cohead_orderdate BETWEEN\n\tNULLIF('{{SeriesDateFrom.selectedDate}}','')::date\n\tAND NULLIF('{{SeriesDateTo.selectedDate}}','')::date\n)\nGROUP BY \"Product\"\nORDER BY \"Product\"","encodeParamsToggle":true,"paginationType":"NONE","pluginSpecifiedTemplates":[{"value":true}],"timeoutInMillisecond":10000},"confirmBeforeExecute":false,"datasource":{"id":"xTuple_Sandbox","isAutoGenerated":false,"name":"xTuple_Sandbox","pluginId":"postgres-plugin"},"dynamicBindingPathList":[{"key":"body"}],"name":"units_ordered_by_series","pageId":"Sales - Units Ordered","runBehaviour":"AUTOMATIC","userSetOnLoad":false}} +{ + "gitSyncId": "6978a0503f1cbf3622b556da_bb85ebfe-2773-4f11-880e-df88217f957d", + "id": "Sales - Units Ordered_units_ordered_by_series", + "pluginId": "postgres-plugin", + "pluginType": "DB", + "unpublishedAction": { + "actionConfiguration": { + "body": "SELECT \nCASE WHEN item_number IN ('16688','25020') THEN 'XR Series'\nWHEN item_number IN ('22351','24952') THEN 'SL Series'\nWHEN item_number IN ('17861','25021','29243','29752') THEN 'TS Series'\nWHEN item_number IN ('17862') THEN 'MS Series'\nWHEN item_number IN ('17863') THEN 'MT Series'\nWHEN item_number IN ('17873') THEN 'Harmonic Neutralizer'\n\nELSE 'None'\nEND AS \"Product\",\nROUND(SUM(coitem_qtyord),0) as \"Qty Ordered\"\nFROM coitem LEFT OUTER JOIN cohead ON cohead_id=coitem_cohead_id\nLEFT OUTER JOIN itemsite ON coitem_itemsite_id = itemsite_id\nLEFT OUTER JOIN item ON item_id = itemsite_item_id\nLEFT OUTER JOIN charass AS reportpower ON \n(coitem_id = reportpower.charass_target_id \nAND reportpower.charass_target_type = 'SI'\nAND reportpower.charass_char_id = 25)\nWHERE item_number IN ('16688','17861','17862','17863','22351','25020','25144','25147','25021','24952','17873','29243','29752')\nAND (coitem_status <> 'X') \nAND cohead_id NOT IN(SELECT cohead_id from rahead LEFT OUTER JOIN cohead ON rahead_new_cohead_id=cohead_id WHERE cohead_id IS NOT NULL)\nAND coitem_price != 0\nAND reportpower.charass_value IS NOT NULL\nAND (\n\tNULLIF('{{SeriesDateFrom.selectedDate}}','') IS NULL\n\tOR NULLIF('{{SeriesDateTo.selectedDate}}','') IS NULL\n\tOR cohead_orderdate BETWEEN\n\tNULLIF('{{SeriesDateFrom.selectedDate}}','')::date\n\tAND NULLIF('{{SeriesDateTo.selectedDate}}','')::date\n)\nGROUP BY \"Product\"\nORDER BY \"Product\"\n", + "encodeParamsToggle": true, + "paginationType": "NONE", + "pluginSpecifiedTemplates": [ + { + "value": true + } + ], + "timeoutInMillisecond": 10000 + }, + "confirmBeforeExecute": false, + "datasource": { + "id": "xTuple_Sandbox", + "isAutoGenerated": false, + "name": "xTuple_Sandbox", + "pluginId": "postgres-plugin" + }, + "dynamicBindingPathList": [ + { + "key": "body" + } + ], + "name": "units_ordered_by_series", + "pageId": "Sales - Units Ordered", + "runBehaviour": "AUTOMATIC", + "userSetOnLoad": false + } +} \ No newline at end of file From 54bf3a8690b5e00b702f7377841a4eab00bda2b8 Mon Sep 17 00:00:00 2001 From: ivarsbariss Date: Thu, 26 Feb 2026 16:23:32 +0100 Subject: [PATCH 37/71] sales unites ordered power level and input voltage query --- .cursor/skills/add-query-to-table/SKILL.md | 101 ++++++++++++++++++ .../metadata.json | 1 + .../units_ordered_by_power_input.txt} | 14 +-- .../metadata.json | 35 ------ .../widgets/Tabs1/Table1Copy.json | 2 +- 5 files changed, 110 insertions(+), 43 deletions(-) create mode 100644 .cursor/skills/add-query-to-table/SKILL.md create mode 100644 pages/Sales - Units Ordered/queries/units_ordered_by_power_input/metadata.json rename pages/Sales - Units Ordered/queries/{units_shipped_by_power_input/units_shipped_by_power_input.txt => units_ordered_by_power_input/units_ordered_by_power_input.txt} (84%) delete mode 100644 pages/Sales - Units Ordered/queries/units_shipped_by_power_input/metadata.json diff --git a/.cursor/skills/add-query-to-table/SKILL.md b/.cursor/skills/add-query-to-table/SKILL.md new file mode 100644 index 0000000..c1bea5c --- /dev/null +++ b/.cursor/skills/add-query-to-table/SKILL.md @@ -0,0 +1,101 @@ +--- +name: add-query-to-table +description: Adds a new DB query to a page and wires it to a Table widget; documents how parameter/search syntax works (widget bindings, optional date range). Use when the user asks to add a query, connect a query to a table, create a new query, or how parameters/filters work in queries. +--- + +# Add Query to Table & Parameter Search Syntax + +Use this skill when adding a new query to a page, wiring a query to a table, or when you need the correct syntax for parameterized filters (e.g. date range from widgets). + +## 1. Query structure (single source of truth) + +Each query lives under the page in a folder named after the query: + +- **Path**: `pages//queries//` +- **Files**: + - **`.txt`** — Raw SQL. This is the **source of truth** for the query body. Keep it readable (real newlines, no escaping). + - **`metadata.json`** — Appsmith action config. The `body` inside `unpublishedAction.actionConfiguration` must match the SQL in the `.txt` file, stored as a single-line string with `\n` for newlines and `\"` for double quotes. + +**Naming**: Use lowercase with underscores (e.g. `units_ordered_by_series`, `units_shipped_by_power_input`). The query name is the identifier used in bindings (e.g. `{{query_name.data}}`). + +## 2. Metadata.json required fields + +- **`id`**: `"_"` (e.g. `"Sales - Units Ordered_units_ordered_by_series"`). +- **`name`**: `""` (must match the folder and the name used in bindings). +- **`unpublishedAction.actionConfiguration.body`**: The exact SQL from `.txt`, escaped for JSON (newlines → `\n`, `"` → `\"`). +- **`unpublishedAction.datasource`**: Use the same as other queries on the page (e.g. `xTuple_Sandbox`). +- **`unpublishedAction.pageId`**: `""`. +- **`unpublishedAction.dynamicBindingPathList`**: `[{"key":"body"}]` when the body contains `{{...}}` widget references. +- Keep **`pluginId`**: `"postgres-plugin"`, **`pluginType`**: `"DB"`, and existing flags like **`encodeParamsToggle`**, **`paginationType`**, **`pluginSpecifiedTemplates`**, **`timeoutInMillisecond`** consistent with other DB queries in the app. + +When adding a new query, copy an existing query’s `metadata.json` from the same page and change `id`, `name`, and `body` (and ensure `body` stays in sync with the new `.txt` file). + +## 3. Wiring the query to a Table widget + +- In the Table widget JSON (e.g. `widgets/.../Table1.json`), set: + - **`tableData`**: `"{{.data}}"` +- Table columns read from the query result by **key**. The key is the **SELECT alias** from the query (e.g. `"Product"`, `"Qty Ordered"`). In `primaryColumns`, the column **id** can be a safe identifier (e.g. `Qty_Ordered`) while **originalId** / **alias** / **label** match the display name; **computedValue** must use the same key as in the query result, e.g. `currentRow["Qty Ordered"]`. + +So: **query SELECT aliases = keys in the table’s row object**. Keep column keys and any `currentRow["..."]` references in the table in sync with those aliases. + +## 4. Parameter search syntax (widgets in SQL) + +### 4.1 Referencing a widget value + +- **Syntax**: `{{WidgetName.property}}` +- **Examples**: + - DatePicker date: `{{SeriesDateFrom.selectedDate}}`, `{{PowerDateTo.selectedDate}}` + - Other widgets: use the widget’s value property (e.g. `selectedOptionValue`, `text`) as per Appsmith docs. + +Values are injected as strings. For PostgreSQL dates you typically cast in SQL, e.g. `'{{DatePicker1.selectedDate}}'::date`. + +### 4.2 Optional date range (no filter when either date is empty) + +Use this pattern so that: +- If **either** date widget is empty → the date condition is **not** applied (all dates allowed). +- If **both** are set → filter by `date_column BETWEEN from ::date AND to ::date`. + +**SQL pattern** (replace widget names and column as needed): + +```sql +AND ( + NULLIF('{{DateFromWidget.selectedDate}}','') IS NULL + OR NULLIF('{{DateToWidget.selectedDate}}','') IS NULL + OR date_column BETWEEN + NULLIF('{{DateFromWidget.selectedDate}}','')::date + AND NULLIF('{{DateToWidget.selectedDate}}','')::date +) +``` + +- **Logic**: `NULLIF('{{...}}','')` turns an empty string into SQL `NULL`. If either widget is empty, one of the first two conditions is true, so the whole `AND (...)` is true and the BETWEEN is not applied. When both are non-empty, the third branch applies the range. +- **Widget names**: Use the actual widget names (e.g. `SeriesDateFrom` / `SeriesDateTo` for one tab, `PowerDateFrom` / `PowerDateTo` for another). Ensure those widgets exist on the same page and (if in a tab) the same tab so the query runs with the right context. + +### 4.3 Required parameters (always filter) + +If the filter must always be applied (no “show all” when empty): + +- Use the binding directly and ensure the widget always has a value, or use a default in the widget. +- Example: `AND cohead_orderdate BETWEEN '{{DateFrom.selectedDate}}'::date AND '{{DateTo.selectedDate}}'::date` — then empty dates may produce invalid SQL or empty results, so prefer the optional pattern above unless the UI guarantees non-empty values. + +## 5. Checklist when adding a new query + +1. Create `pages//queries//`. +2. Add `.txt` with the full SQL (source of truth). +3. Add `metadata.json` with correct `id`, `name`, `body` (body = SQL from .txt, JSON-escaped), and same datasource/pageId as other page queries. +4. If the SQL uses `{{...}}`, set `dynamicBindingPathList` to `[{"key":"body"}]`. +5. In the Table widget that should show the data, set `tableData` to `{{.data}}`. +6. Ensure table column keys / `currentRow["..."]` match the query’s SELECT aliases. + +## 6. Renaming or replacing a query + +- To **rename** (e.g. `units_shipped_by_series` → `units_ordered_by_series`): + - Create the new folder and files under the new name. + - Update every reference to the old query (e.g. `tableData`: `{{old_name.data}}` → `{{new_name.data}}`). + - Remove the old query folder (both `.txt` and `metadata.json`). +- When **replacing** the SQL but keeping the same name, update the `.txt` first, then update the `body` in `metadata.json` to match (same content, JSON-escaped). + +## Reference + +- **Optional date range**: NULLIF + IS NULL + OR + BETWEEN as above. +- **Table data binding**: `{{.data}}`. +- **Column keys**: Must match query SELECT aliases (e.g. `"Product"`, `"Qty Ordered"`). diff --git a/pages/Sales - Units Ordered/queries/units_ordered_by_power_input/metadata.json b/pages/Sales - Units Ordered/queries/units_ordered_by_power_input/metadata.json new file mode 100644 index 0000000..f296afd --- /dev/null +++ b/pages/Sales - Units Ordered/queries/units_ordered_by_power_input/metadata.json @@ -0,0 +1 @@ +{"gitSyncId":"6978a0503f1cbf3622b556da_a33c1a5c-f987-4855-97da-8817781be960","id":"Sales - Units Ordered_units_ordered_by_power_input","pluginId":"postgres-plugin","pluginType":"DB","unpublishedAction":{"actionConfiguration":{"body":"SELECT \nCASE WHEN item_number IN ('16688','25020') THEN 'XR Series'\nWHEN item_number IN ('22351','24952') THEN 'SL Series'\nWHEN item_number IN ('17861','25021','29243','29752') THEN 'TS Series'\nWHEN item_number IN ('17862') THEN 'MS Series'\nWHEN item_number IN ('17863') THEN 'MT Series'\nWHEN item_number IN ('17873') THEN 'Harmonic Neutralizer'\n\nELSE 'None'\nEND AS \"Product\",\nreportpower.charass_value as \"Power Output\", reportinput.charass_value || ' ' || reportphases.charass_value AS \"Input\", ROUND(SUM(coitem_qtyord),0) as \"Qty Ordered\"\nFROM coitem LEFT OUTER JOIN cohead ON cohead_id=coitem_cohead_id\nLEFT OUTER JOIN itemsite ON coitem_itemsite_id = itemsite_id\nLEFT OUTER JOIN item ON item_id = itemsite_item_id\nLEFT OUTER JOIN charass AS reportpower ON \n(coitem_id = reportpower.charass_target_id \nAND reportpower.charass_target_type = 'SI'\nAND reportpower.charass_char_id = 25)\nLEFT OUTER JOIN charass AS reportinput ON \n(coitem_id = reportinput.charass_target_id \nAND reportinput.charass_target_type = 'SI'\nAND reportinput.charass_char_id = 36)\nLEFT OUTER JOIN charass AS reportphases ON \n(coitem_id = reportphases.charass_target_id \nAND reportphases.charass_target_type = 'SI'\nAND reportphases.charass_char_id = 18)\nWHERE item_number IN ('16688','17861','17862','17863','22351','25020','25144','25147','25021','24952','17873','29243','29752')\nAND (coitem_status <> 'X') \nAND cohead_id NOT IN(SELECT cohead_id from rahead LEFT OUTER JOIN cohead ON rahead_new_cohead_id=cohead_id WHERE cohead_id IS NOT NULL)\nAND coitem_price != 0\nAND (\n\tNULLIF('{{PowerDateFrom.selectedDate}}','') IS NULL\n\tOR NULLIF('{{PowerDateTo.selectedDate}}','') IS NULL\n\tOR cohead_orderdate BETWEEN\n\tNULLIF('{{PowerDateFrom.selectedDate}}','')::date\n\tAND NULLIF('{{PowerDateTo.selectedDate}}','')::date\n)\nAND reportpower.charass_value IS NOT NULL\nGROUP BY reportpower.charass_value, \"Product\", \"Input\"\nORDER BY \"Product\", reportpower.charass_value","encodeParamsToggle":true,"paginationType":"NONE","pluginSpecifiedTemplates":[{"value":true}],"timeoutInMillisecond":10000},"confirmBeforeExecute":false,"datasource":{"id":"xTuple_Sandbox","isAutoGenerated":false,"name":"xTuple_Sandbox","pluginId":"postgres-plugin"},"dynamicBindingPathList":[{"key":"body"}],"name":"units_ordered_by_power_input","pageId":"Sales - Units Ordered","runBehaviour":"AUTOMATIC","userSetOnLoad":false}} diff --git a/pages/Sales - Units Ordered/queries/units_shipped_by_power_input/units_shipped_by_power_input.txt b/pages/Sales - Units Ordered/queries/units_ordered_by_power_input/units_ordered_by_power_input.txt similarity index 84% rename from pages/Sales - Units Ordered/queries/units_shipped_by_power_input/units_shipped_by_power_input.txt rename to pages/Sales - Units Ordered/queries/units_ordered_by_power_input/units_ordered_by_power_input.txt index 4ab3ead..c663edf 100644 --- a/pages/Sales - Units Ordered/queries/units_shipped_by_power_input/units_shipped_by_power_input.txt +++ b/pages/Sales - Units Ordered/queries/units_ordered_by_power_input/units_ordered_by_power_input.txt @@ -14,16 +14,16 @@ LEFT OUTER JOIN itemsite ON coitem_itemsite_id = itemsite_id LEFT OUTER JOIN item ON item_id = itemsite_item_id LEFT OUTER JOIN charass AS reportpower ON (coitem_id = reportpower.charass_target_id - AND reportpower.charass_target_type = 'SI' - AND reportpower.charass_char_id = 25) +AND reportpower.charass_target_type = 'SI' +AND reportpower.charass_char_id = 25) LEFT OUTER JOIN charass AS reportinput ON (coitem_id = reportinput.charass_target_id - AND reportinput.charass_target_type = 'SI' - AND reportinput.charass_char_id = 36) +AND reportinput.charass_target_type = 'SI' +AND reportinput.charass_char_id = 36) LEFT OUTER JOIN charass AS reportphases ON (coitem_id = reportphases.charass_target_id - AND reportphases.charass_target_type = 'SI' - AND reportphases.charass_char_id = 18) +AND reportphases.charass_target_type = 'SI' +AND reportphases.charass_char_id = 18) WHERE item_number IN ('16688','17861','17862','17863','22351','25020','25144','25147','25021','24952','17873','29243','29752') AND (coitem_status <> 'X') AND cohead_id NOT IN(SELECT cohead_id from rahead LEFT OUTER JOIN cohead ON rahead_new_cohead_id=cohead_id WHERE cohead_id IS NOT NULL) @@ -37,4 +37,4 @@ AND ( ) AND reportpower.charass_value IS NOT NULL GROUP BY reportpower.charass_value, "Product", "Input" -ORDER BY "Product", reportpower.charass_value \ No newline at end of file +ORDER BY "Product", reportpower.charass_value diff --git a/pages/Sales - Units Ordered/queries/units_shipped_by_power_input/metadata.json b/pages/Sales - Units Ordered/queries/units_shipped_by_power_input/metadata.json deleted file mode 100644 index 5618b18..0000000 --- a/pages/Sales - Units Ordered/queries/units_shipped_by_power_input/metadata.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "gitSyncId": "6978a0503f1cbf3622b556da_a33c1a5c-f987-4855-97da-8817781be960", - "id": "Sales - Units Ordered_units_shipped_by_power_input", - "pluginId": "postgres-plugin", - "pluginType": "DB", - "unpublishedAction": { - "actionConfiguration": { - "body": "SELECT \nCASE WHEN item_number IN ('16688','25020') THEN 'XR Series'\nWHEN item_number IN ('22351','24952') THEN 'SL Series'\nWHEN item_number IN ('17861','25021','29243','29752') THEN 'TS Series'\nWHEN item_number IN ('17862') THEN 'MS Series'\nWHEN item_number IN ('17863') THEN 'MT Series'\nWHEN item_number IN ('17873') THEN 'Harmonic Neutralizer'\n\nELSE 'None'\nEND AS \"Product\",\nreportpower.charass_value as \"Power Output\", reportinput.charass_value || ' ' || reportphases.charass_value AS \"Input\", ROUND(SUM(coitem_qtyord),0) as \"Qty Ordered\"\nFROM coitem LEFT OUTER JOIN cohead ON cohead_id=coitem_cohead_id\nLEFT OUTER JOIN itemsite ON coitem_itemsite_id = itemsite_id\nLEFT OUTER JOIN item ON item_id = itemsite_item_id\nLEFT OUTER JOIN charass AS reportpower ON \n(coitem_id = reportpower.charass_target_id \n AND reportpower.charass_target_type = 'SI'\n AND reportpower.charass_char_id = 25)\nLEFT OUTER JOIN charass AS reportinput ON \n(coitem_id = reportinput.charass_target_id \n AND reportinput.charass_target_type = 'SI'\n AND reportinput.charass_char_id = 36)\nLEFT OUTER JOIN charass AS reportphases ON \n(coitem_id = reportphases.charass_target_id \n AND reportphases.charass_target_type = 'SI'\n AND reportphases.charass_char_id = 18)\nWHERE item_number IN ('16688','17861','17862','17863','22351','25020','25144','25147','25021','24952','17873','29243','29752')\nAND (coitem_status <> 'X') \nAND cohead_id NOT IN(SELECT cohead_id from rahead LEFT OUTER JOIN cohead ON rahead_new_cohead_id=cohead_id WHERE cohead_id IS NOT NULL)\nAND coitem_price != 0\nAND (\n\tNULLIF('{{PowerDateFrom.selectedDate}}','') IS NULL\n\tOR NULLIF('{{PowerDateTo.selectedDate}}','') IS NULL\n\tOR cohead_orderdate BETWEEN\n\tNULLIF('{{PowerDateFrom.selectedDate}}','')::date\n\tAND NULLIF('{{PowerDateTo.selectedDate}}','')::date\n)\nAND reportpower.charass_value IS NOT NULL\nGROUP BY reportpower.charass_value, \"Product\", \"Input\"\nORDER BY \"Product\", reportpower.charass_value", - "encodeParamsToggle": true, - "paginationType": "NONE", - "pluginSpecifiedTemplates": [ - { - "value": true - } - ], - "timeoutInMillisecond": 10000 - }, - "confirmBeforeExecute": false, - "datasource": { - "id": "xTuple_Sandbox", - "isAutoGenerated": false, - "name": "xTuple_Sandbox", - "pluginId": "postgres-plugin" - }, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "name": "units_shipped_by_power_input", - "pageId": "Sales - Units Ordered", - "runBehaviour": "AUTOMATIC", - "userSetOnLoad": false - } -} \ No newline at end of file diff --git a/pages/Sales - Units Ordered/widgets/Tabs1/Table1Copy.json b/pages/Sales - Units Ordered/widgets/Tabs1/Table1Copy.json index 3c8dd82..99ebbbe 100644 --- a/pages/Sales - Units Ordered/widgets/Tabs1/Table1Copy.json +++ b/pages/Sales - Units Ordered/widgets/Tabs1/Table1Copy.json @@ -252,7 +252,7 @@ "responsiveBehavior": "fill", "rightColumn": 61, "searchKey": "", - "tableData": "{{units_shipped_by_power_input.data}}", + "tableData": "{{units_ordered_by_power_input.data}}", "textSize": "0.775rem", "topRow": 7, "totalRecordsCount": 0, From 5996d5a91926707533ae962d099099a0b843cdb6 Mon Sep 17 00:00:00 2001 From: ibariss Date: Thu, 26 Feb 2026 15:26:47 +0000 Subject: [PATCH 38/71] System generated commit, for syncing changes with remote after git pull --- .../metadata.json | 36 ++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git a/pages/Sales - Units Ordered/queries/units_ordered_by_power_input/metadata.json b/pages/Sales - Units Ordered/queries/units_ordered_by_power_input/metadata.json index f296afd..4a93bae 100644 --- a/pages/Sales - Units Ordered/queries/units_ordered_by_power_input/metadata.json +++ b/pages/Sales - Units Ordered/queries/units_ordered_by_power_input/metadata.json @@ -1 +1,35 @@ -{"gitSyncId":"6978a0503f1cbf3622b556da_a33c1a5c-f987-4855-97da-8817781be960","id":"Sales - Units Ordered_units_ordered_by_power_input","pluginId":"postgres-plugin","pluginType":"DB","unpublishedAction":{"actionConfiguration":{"body":"SELECT \nCASE WHEN item_number IN ('16688','25020') THEN 'XR Series'\nWHEN item_number IN ('22351','24952') THEN 'SL Series'\nWHEN item_number IN ('17861','25021','29243','29752') THEN 'TS Series'\nWHEN item_number IN ('17862') THEN 'MS Series'\nWHEN item_number IN ('17863') THEN 'MT Series'\nWHEN item_number IN ('17873') THEN 'Harmonic Neutralizer'\n\nELSE 'None'\nEND AS \"Product\",\nreportpower.charass_value as \"Power Output\", reportinput.charass_value || ' ' || reportphases.charass_value AS \"Input\", ROUND(SUM(coitem_qtyord),0) as \"Qty Ordered\"\nFROM coitem LEFT OUTER JOIN cohead ON cohead_id=coitem_cohead_id\nLEFT OUTER JOIN itemsite ON coitem_itemsite_id = itemsite_id\nLEFT OUTER JOIN item ON item_id = itemsite_item_id\nLEFT OUTER JOIN charass AS reportpower ON \n(coitem_id = reportpower.charass_target_id \nAND reportpower.charass_target_type = 'SI'\nAND reportpower.charass_char_id = 25)\nLEFT OUTER JOIN charass AS reportinput ON \n(coitem_id = reportinput.charass_target_id \nAND reportinput.charass_target_type = 'SI'\nAND reportinput.charass_char_id = 36)\nLEFT OUTER JOIN charass AS reportphases ON \n(coitem_id = reportphases.charass_target_id \nAND reportphases.charass_target_type = 'SI'\nAND reportphases.charass_char_id = 18)\nWHERE item_number IN ('16688','17861','17862','17863','22351','25020','25144','25147','25021','24952','17873','29243','29752')\nAND (coitem_status <> 'X') \nAND cohead_id NOT IN(SELECT cohead_id from rahead LEFT OUTER JOIN cohead ON rahead_new_cohead_id=cohead_id WHERE cohead_id IS NOT NULL)\nAND coitem_price != 0\nAND (\n\tNULLIF('{{PowerDateFrom.selectedDate}}','') IS NULL\n\tOR NULLIF('{{PowerDateTo.selectedDate}}','') IS NULL\n\tOR cohead_orderdate BETWEEN\n\tNULLIF('{{PowerDateFrom.selectedDate}}','')::date\n\tAND NULLIF('{{PowerDateTo.selectedDate}}','')::date\n)\nAND reportpower.charass_value IS NOT NULL\nGROUP BY reportpower.charass_value, \"Product\", \"Input\"\nORDER BY \"Product\", reportpower.charass_value","encodeParamsToggle":true,"paginationType":"NONE","pluginSpecifiedTemplates":[{"value":true}],"timeoutInMillisecond":10000},"confirmBeforeExecute":false,"datasource":{"id":"xTuple_Sandbox","isAutoGenerated":false,"name":"xTuple_Sandbox","pluginId":"postgres-plugin"},"dynamicBindingPathList":[{"key":"body"}],"name":"units_ordered_by_power_input","pageId":"Sales - Units Ordered","runBehaviour":"AUTOMATIC","userSetOnLoad":false}} +{ + "gitSyncId": "6978a0503f1cbf3622b556da_a33c1a5c-f987-4855-97da-8817781be960", + "id": "Sales - Units Ordered_units_ordered_by_power_input", + "pluginId": "postgres-plugin", + "pluginType": "DB", + "unpublishedAction": { + "actionConfiguration": { + "body": "SELECT \nCASE WHEN item_number IN ('16688','25020') THEN 'XR Series'\nWHEN item_number IN ('22351','24952') THEN 'SL Series'\nWHEN item_number IN ('17861','25021','29243','29752') THEN 'TS Series'\nWHEN item_number IN ('17862') THEN 'MS Series'\nWHEN item_number IN ('17863') THEN 'MT Series'\nWHEN item_number IN ('17873') THEN 'Harmonic Neutralizer'\n\nELSE 'None'\nEND AS \"Product\",\nreportpower.charass_value as \"Power Output\", reportinput.charass_value || ' ' || reportphases.charass_value AS \"Input\", ROUND(SUM(coitem_qtyord),0) as \"Qty Ordered\"\nFROM coitem LEFT OUTER JOIN cohead ON cohead_id=coitem_cohead_id\nLEFT OUTER JOIN itemsite ON coitem_itemsite_id = itemsite_id\nLEFT OUTER JOIN item ON item_id = itemsite_item_id\nLEFT OUTER JOIN charass AS reportpower ON \n(coitem_id = reportpower.charass_target_id \nAND reportpower.charass_target_type = 'SI'\nAND reportpower.charass_char_id = 25)\nLEFT OUTER JOIN charass AS reportinput ON \n(coitem_id = reportinput.charass_target_id \nAND reportinput.charass_target_type = 'SI'\nAND reportinput.charass_char_id = 36)\nLEFT OUTER JOIN charass AS reportphases ON \n(coitem_id = reportphases.charass_target_id \nAND reportphases.charass_target_type = 'SI'\nAND reportphases.charass_char_id = 18)\nWHERE item_number IN ('16688','17861','17862','17863','22351','25020','25144','25147','25021','24952','17873','29243','29752')\nAND (coitem_status <> 'X') \nAND cohead_id NOT IN(SELECT cohead_id from rahead LEFT OUTER JOIN cohead ON rahead_new_cohead_id=cohead_id WHERE cohead_id IS NOT NULL)\nAND coitem_price != 0\nAND (\n\tNULLIF('{{PowerDateFrom.selectedDate}}','') IS NULL\n\tOR NULLIF('{{PowerDateTo.selectedDate}}','') IS NULL\n\tOR cohead_orderdate BETWEEN\n\tNULLIF('{{PowerDateFrom.selectedDate}}','')::date\n\tAND NULLIF('{{PowerDateTo.selectedDate}}','')::date\n)\nAND reportpower.charass_value IS NOT NULL\nGROUP BY reportpower.charass_value, \"Product\", \"Input\"\nORDER BY \"Product\", reportpower.charass_value\n", + "encodeParamsToggle": true, + "paginationType": "NONE", + "pluginSpecifiedTemplates": [ + { + "value": true + } + ], + "timeoutInMillisecond": 10000 + }, + "confirmBeforeExecute": false, + "datasource": { + "id": "xTuple_Sandbox", + "isAutoGenerated": false, + "name": "xTuple_Sandbox", + "pluginId": "postgres-plugin" + }, + "dynamicBindingPathList": [ + { + "key": "body" + } + ], + "name": "units_ordered_by_power_input", + "pageId": "Sales - Units Ordered", + "runBehaviour": "AUTOMATIC", + "userSetOnLoad": false + } +} \ No newline at end of file From 50a93abb5adbf859ad5b659b3f397901ad4a1e4c Mon Sep 17 00:00:00 2001 From: ivarsbariss Date: Fri, 27 Feb 2026 12:58:17 +0100 Subject: [PATCH 39/71] Pending POs pages --- application.json | 4 + .../Pending POs - SLx Pending.json | 32 ++++++ .../pending_pos_slx_pending/metadata.json | 30 ++++++ .../pending_pos_slx_pending.txt | 1 + .../widgets/Container1/Button1.json | 45 ++++++++ .../widgets/Container1/Button1Copy.json | 45 ++++++++ .../widgets/Container1/Button1Copy2.json | 45 ++++++++ .../widgets/Container1/Button2.json | 49 +++++++++ .../widgets/Container1/Container1.json | 87 +++++++++++++++ .../widgets/Container1/Text1.json | 52 +++++++++ .../widgets/Container1/Text2.json | 52 +++++++++ .../widgets/Heading.json | 52 +++++++++ .../widgets/Table1.json | 102 ++++++++++++++++++ .../widgets/Container1/Button2.json | 45 ++++++++ .../widgets/Container1/Text2.json | 52 +++++++++ .../widgets/Container1/Button2.json | 45 ++++++++ .../widgets/Container1/Text2.json | 52 +++++++++ .../widgets/Container1/Button2.json | 45 ++++++++ .../widgets/Container1/Text2.json | 52 +++++++++ 19 files changed, 887 insertions(+) create mode 100644 pages/Pending POs - SLx Pending/Pending POs - SLx Pending.json create mode 100644 pages/Pending POs - SLx Pending/queries/pending_pos_slx_pending/metadata.json create mode 100644 pages/Pending POs - SLx Pending/queries/pending_pos_slx_pending/pending_pos_slx_pending.txt create mode 100644 pages/Pending POs - SLx Pending/widgets/Container1/Button1.json create mode 100644 pages/Pending POs - SLx Pending/widgets/Container1/Button1Copy.json create mode 100644 pages/Pending POs - SLx Pending/widgets/Container1/Button1Copy2.json create mode 100644 pages/Pending POs - SLx Pending/widgets/Container1/Button2.json create mode 100644 pages/Pending POs - SLx Pending/widgets/Container1/Container1.json create mode 100644 pages/Pending POs - SLx Pending/widgets/Container1/Text1.json create mode 100644 pages/Pending POs - SLx Pending/widgets/Container1/Text2.json create mode 100644 pages/Pending POs - SLx Pending/widgets/Heading.json create mode 100644 pages/Pending POs - SLx Pending/widgets/Table1.json create mode 100644 pages/Sales - Capacity Planning/widgets/Container1/Button2.json create mode 100644 pages/Sales - Capacity Planning/widgets/Container1/Text2.json create mode 100644 pages/Sales - Units Ordered/widgets/Container1/Button2.json create mode 100644 pages/Sales - Units Ordered/widgets/Container1/Text2.json create mode 100644 pages/Sales - Units Shipped/widgets/Container1/Button2.json create mode 100644 pages/Sales - Units Shipped/widgets/Container1/Text2.json diff --git a/application.json b/application.json index 05a0098..5244ba7 100644 --- a/application.json +++ b/application.json @@ -40,6 +40,10 @@ { "id": "Sales - Units Ordered", "isDefault": false + }, + { + "id": "Pending POs - SLx Pending", + "isDefault": false } ], "unpublishedAppLayout": { diff --git a/pages/Pending POs - SLx Pending/Pending POs - SLx Pending.json b/pages/Pending POs - SLx Pending/Pending POs - SLx Pending.json new file mode 100644 index 0000000..bf15239 --- /dev/null +++ b/pages/Pending POs - SLx Pending/Pending POs - SLx Pending.json @@ -0,0 +1,32 @@ +{ + "unpublishedPage": { + "isHidden": false, + "layouts": [ + { + "dsl": { + "backgroundColor": "none", + "bottomRow": 1240, + "canExtend": true, + "containerStyle": "none", + "detachFromLayout": true, + "dynamicBindingPathList": [], + "dynamicTriggerPathList": [], + "leftColumn": 0, + "minHeight": 1292, + "parentColumnSpace": 1, + "parentRowSpace": 1, + "rightColumn": 4896, + "snapColumns": 64, + "snapRows": 124, + "topRow": 0, + "type": "CANVAS_WIDGET", + "version": 94, + "widgetId": "0", + "widgetName": "MainContainer" + } + } + ], + "name": "Pending POs - SLx Pending", + "slug": "pending-pos-slx-pending" + } +} diff --git a/pages/Pending POs - SLx Pending/queries/pending_pos_slx_pending/metadata.json b/pages/Pending POs - SLx Pending/queries/pending_pos_slx_pending/metadata.json new file mode 100644 index 0000000..d8007c2 --- /dev/null +++ b/pages/Pending POs - SLx Pending/queries/pending_pos_slx_pending/metadata.json @@ -0,0 +1,30 @@ +{ + "id": "Pending POs - SLx Pending_pending_pos_slx_pending", + "pluginId": "postgres-plugin", + "pluginType": "DB", + "unpublishedAction": { + "actionConfiguration": { + "body": "select * from mpe.get_prototype_po_dashboard_data(array['34487','35355']::text[]);", + "encodeParamsToggle": true, + "paginationType": "NONE", + "pluginSpecifiedTemplates": [ + { + "value": true + } + ], + "timeoutInMillisecond": 10000 + }, + "confirmBeforeExecute": false, + "datasource": { + "id": "xTuple_Sandbox", + "isAutoGenerated": false, + "name": "xTuple_Sandbox", + "pluginId": "postgres-plugin" + }, + "dynamicBindingPathList": [], + "name": "pending_pos_slx_pending", + "pageId": "Pending POs - SLx Pending", + "runBehaviour": "AUTOMATIC", + "userSetOnLoad": false + } +} diff --git a/pages/Pending POs - SLx Pending/queries/pending_pos_slx_pending/pending_pos_slx_pending.txt b/pages/Pending POs - SLx Pending/queries/pending_pos_slx_pending/pending_pos_slx_pending.txt new file mode 100644 index 0000000..80a566e --- /dev/null +++ b/pages/Pending POs - SLx Pending/queries/pending_pos_slx_pending/pending_pos_slx_pending.txt @@ -0,0 +1 @@ +select * from mpe.get_prototype_po_dashboard_data(array['34487','35355']::text[]); \ No newline at end of file diff --git a/pages/Pending POs - SLx Pending/widgets/Container1/Button1.json b/pages/Pending POs - SLx Pending/widgets/Container1/Button1.json new file mode 100644 index 0000000..14cca2a --- /dev/null +++ b/pages/Pending POs - SLx Pending/widgets/Container1/Button1.json @@ -0,0 +1,45 @@ +{ + "animateLoading": true, + "borderRadius": "0.375rem", + "bottomRow": 8, + "boxShadow": "none", + "buttonColor": "#ffffff", + "buttonVariant": "PRIMARY", + "disabledWhenInvalid": false, + "dynamicBindingPathList": [], + "dynamicTriggerPathList": [ + { + "key": "onClick" + } + ], + "isDefaultClickDisabled": true, + "isDisabled": false, + "isLoading": false, + "isVisible": true, + "key": "0k5ucqsuin", + "leftColumn": 0, + "minWidth": 120, + "mobileBottomRow": 8, + "mobileLeftColumn": 0, + "mobileRightColumn": 16, + "mobileTopRow": 4, + "needsErrorInfo": false, + "onClick": "{{navigateTo('Sales - Capacity Planning', {}, 'SAME_WINDOW');}}", + "originalBottomRow": 8, + "originalTopRow": 4, + "parentColumnSpace": 3.841796875, + "parentId": "pp1canvas01", + "parentRowSpace": 10, + "placement": "START", + "recaptchaType": "V3", + "renderMode": "CANVAS", + "resetFormOnClick": false, + "responsiveBehavior": "hug", + "rightColumn": 64, + "text": "Capacity Planning", + "topRow": 4, + "type": "BUTTON_WIDGET", + "version": 1, + "widgetId": "pp1btncappl", + "widgetName": "Button1" +} diff --git a/pages/Pending POs - SLx Pending/widgets/Container1/Button1Copy.json b/pages/Pending POs - SLx Pending/widgets/Container1/Button1Copy.json new file mode 100644 index 0000000..b57306a --- /dev/null +++ b/pages/Pending POs - SLx Pending/widgets/Container1/Button1Copy.json @@ -0,0 +1,45 @@ +{ + "animateLoading": true, + "borderRadius": "0.375rem", + "bottomRow": 12, + "boxShadow": "none", + "buttonColor": "#ffffff", + "buttonVariant": "PRIMARY", + "disabledWhenInvalid": false, + "dynamicBindingPathList": [], + "dynamicTriggerPathList": [ + { + "key": "onClick" + } + ], + "isDefaultClickDisabled": true, + "isDisabled": false, + "isLoading": false, + "isVisible": true, + "key": "0k5ucqsuin", + "leftColumn": 0, + "minWidth": 120, + "mobileBottomRow": 8, + "mobileLeftColumn": 0, + "mobileRightColumn": 16, + "mobileTopRow": 4, + "needsErrorInfo": false, + "onClick": "{{navigateTo('Sales - Units Shipped', {}, 'SAME_WINDOW');}}", + "originalBottomRow": 12, + "originalTopRow": 8, + "parentColumnSpace": 3.841796875, + "parentId": "pp1canvas01", + "parentRowSpace": 10, + "placement": "START", + "recaptchaType": "V3", + "renderMode": "CANVAS", + "resetFormOnClick": false, + "responsiveBehavior": "hug", + "rightColumn": 64, + "text": "Units Shipped", + "topRow": 8, + "type": "BUTTON_WIDGET", + "version": 1, + "widgetId": "pp1btnships", + "widgetName": "Button1Copy" +} diff --git a/pages/Pending POs - SLx Pending/widgets/Container1/Button1Copy2.json b/pages/Pending POs - SLx Pending/widgets/Container1/Button1Copy2.json new file mode 100644 index 0000000..fab8935 --- /dev/null +++ b/pages/Pending POs - SLx Pending/widgets/Container1/Button1Copy2.json @@ -0,0 +1,45 @@ +{ + "animateLoading": true, + "borderRadius": "0.375rem", + "bottomRow": 16, + "boxShadow": "none", + "buttonColor": "#ffffff", + "buttonVariant": "PRIMARY", + "disabledWhenInvalid": false, + "dynamicBindingPathList": [], + "dynamicTriggerPathList": [ + { + "key": "onClick" + } + ], + "isDefaultClickDisabled": true, + "isDisabled": false, + "isLoading": false, + "isVisible": true, + "key": "0j7c9d2q1h", + "leftColumn": 0, + "minWidth": 120, + "mobileBottomRow": 8, + "mobileLeftColumn": 0, + "mobileRightColumn": 16, + "mobileTopRow": 4, + "needsErrorInfo": false, + "onClick": "{{navigateTo('Sales - Units Ordered', {}, 'SAME_WINDOW');}}", + "originalBottomRow": 16, + "originalTopRow": 12, + "parentColumnSpace": 3.841796875, + "parentId": "pp1canvas01", + "parentRowSpace": 10, + "placement": "START", + "recaptchaType": "V3", + "renderMode": "CANVAS", + "resetFormOnClick": false, + "responsiveBehavior": "hug", + "rightColumn": 64, + "text": "Units Ordered", + "topRow": 12, + "type": "BUTTON_WIDGET", + "version": 1, + "widgetId": "pp1btnorder", + "widgetName": "Button1Copy2" +} diff --git a/pages/Pending POs - SLx Pending/widgets/Container1/Button2.json b/pages/Pending POs - SLx Pending/widgets/Container1/Button2.json new file mode 100644 index 0000000..d33ad75 --- /dev/null +++ b/pages/Pending POs - SLx Pending/widgets/Container1/Button2.json @@ -0,0 +1,49 @@ +{ + "animateLoading": true, + "borderRadius": "0.375rem", + "bottomRow": 26, + "boxShadow": "none", + "buttonColor": "{{appsmith.theme.colors.backgroundColor}}", + "buttonVariant": "PRIMARY", + "disabledWhenInvalid": false, + "dynamicBindingPathList": [ + { + "key": "buttonColor" + } + ], + "dynamicTriggerPathList": [ + { + "key": "onClick" + } + ], + "isDefaultClickDisabled": true, + "isDisabled": false, + "isLoading": false, + "isVisible": true, + "key": "pp1btnkey01", + "leftColumn": 0, + "minWidth": 120, + "mobileBottomRow": 26, + "mobileLeftColumn": 0, + "mobileRightColumn": 16, + "mobileTopRow": 22, + "needsErrorInfo": false, + "onClick": "{{navigateTo('Pending POs - SLx Pending', {}, 'SAME_WINDOW');}}", + "originalBottomRow": 26, + "originalTopRow": 22, + "parentColumnSpace": 3.841796875, + "parentId": "pp1canvas01", + "parentRowSpace": 10, + "placement": "START", + "recaptchaType": "V3", + "renderMode": "CANVAS", + "resetFormOnClick": false, + "responsiveBehavior": "hug", + "rightColumn": 64, + "text": "SLx Pending", + "topRow": 22, + "type": "BUTTON_WIDGET", + "version": 1, + "widgetId": "pp1btnslxpn", + "widgetName": "Button2" +} diff --git a/pages/Pending POs - SLx Pending/widgets/Container1/Container1.json b/pages/Pending POs - SLx Pending/widgets/Container1/Container1.json new file mode 100644 index 0000000..dbda96e --- /dev/null +++ b/pages/Pending POs - SLx Pending/widgets/Container1/Container1.json @@ -0,0 +1,87 @@ +{ + "animateLoading": true, + "backgroundColor": "#FFFFFF", + "borderColor": "#E0DEDE", + "borderRadius": "0px", + "borderWidth": "1", + "bottomRow": 124, + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "children": [ + { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "bottomRow": 1240, + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "canExtend": false, + "containerStyle": "none", + "detachFromLayout": true, + "dynamicBindingPathList": [ + { + "key": "borderRadius" + }, + { + "key": "boxShadow" + } + ], + "dynamicHeight": "AUTO_HEIGHT", + "flexLayers": [], + "isLoading": false, + "isVisible": true, + "key": "xorz42kdhi", + "leftColumn": 0, + "maxDynamicHeight": 9000, + "minDynamicHeight": 4, + "minHeight": 100, + "minWidth": 450, + "mobileBottomRow": 100, + "mobileLeftColumn": 0, + "mobileRightColumn": 132.9375, + "mobileTopRow": 0, + "needsErrorInfo": false, + "parentColumnSpace": 1, + "parentId": "pp1c0ntain", + "parentRowSpace": 1, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 132.9375, + "topRow": 0, + "type": "CANVAS_WIDGET", + "version": 1, + "widgetId": "pp1canvas01", + "widgetName": "Canvas1" + } + ], + "containerStyle": "card", + "dynamicBindingPathList": [ + { + "key": "boxShadow" + } + ], + "dynamicHeight": "FIXED", + "dynamicTriggerPathList": [], + "flexVerticalAlignment": "stretch", + "isCanvas": true, + "isLoading": false, + "isVisible": true, + "key": "36jaq5m9iy", + "leftColumn": 0, + "maxDynamicHeight": 12, + "minDynamicHeight": 10, + "minWidth": 450, + "mobileBottomRow": 10, + "mobileLeftColumn": 0, + "mobileRightColumn": 3, + "mobileTopRow": 0, + "needsErrorInfo": false, + "parentColumnSpace": 44.3125, + "parentId": "0", + "parentRowSpace": 10, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 9, + "shouldScrollContents": true, + "topRow": 0, + "type": "CONTAINER_WIDGET", + "version": 1, + "widgetId": "pp1c0ntain", + "widgetName": "Container1" +} diff --git a/pages/Pending POs - SLx Pending/widgets/Container1/Text1.json b/pages/Pending POs - SLx Pending/widgets/Container1/Text1.json new file mode 100644 index 0000000..4fb4618 --- /dev/null +++ b/pages/Pending POs - SLx Pending/widgets/Container1/Text1.json @@ -0,0 +1,52 @@ +{ + "animateLoading": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "bottomRow": 4, + "dynamicBindingPathList": [ + { + "key": "truncateButtonColor" + }, + { + "key": "fontFamily" + }, + { + "key": "borderRadius" + } + ], + "dynamicHeight": "AUTO_HEIGHT", + "dynamicTriggerPathList": [], + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "fontSize": "1rem", + "fontStyle": "BOLD", + "isLoading": false, + "isVisible": true, + "key": "01n8bhu9n6", + "leftColumn": 0, + "maxDynamicHeight": 9000, + "minDynamicHeight": 4, + "minWidth": 450, + "mobileBottomRow": 6, + "mobileLeftColumn": 10, + "mobileRightColumn": 26, + "mobileTopRow": 2, + "needsErrorInfo": false, + "originalBottomRow": 4, + "originalTopRow": 0, + "overflow": "NONE", + "parentColumnSpace": 3.841796875, + "parentId": "pp1canvas01", + "parentRowSpace": 10, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 64, + "shouldTruncate": false, + "text": "Sales", + "textAlign": "LEFT", + "textColor": "#231F20", + "topRow": 0, + "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", + "type": "TEXT_WIDGET", + "version": 1, + "widgetId": "pp1txtsales", + "widgetName": "Text1" +} diff --git a/pages/Pending POs - SLx Pending/widgets/Container1/Text2.json b/pages/Pending POs - SLx Pending/widgets/Container1/Text2.json new file mode 100644 index 0000000..4b324ea --- /dev/null +++ b/pages/Pending POs - SLx Pending/widgets/Container1/Text2.json @@ -0,0 +1,52 @@ +{ + "animateLoading": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "bottomRow": 22, + "dynamicBindingPathList": [ + { + "key": "truncateButtonColor" + }, + { + "key": "fontFamily" + }, + { + "key": "borderRadius" + } + ], + "dynamicHeight": "AUTO_HEIGHT", + "dynamicTriggerPathList": [], + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "fontSize": "1rem", + "fontStyle": "BOLD", + "isLoading": false, + "isVisible": true, + "key": "pp1txkey01", + "leftColumn": 0, + "maxDynamicHeight": 9000, + "minDynamicHeight": 4, + "minWidth": 450, + "mobileBottomRow": 22, + "mobileLeftColumn": 10, + "mobileRightColumn": 26, + "mobileTopRow": 18, + "needsErrorInfo": false, + "originalBottomRow": 22, + "originalTopRow": 18, + "overflow": "NONE", + "parentColumnSpace": 3.841796875, + "parentId": "pp1canvas01", + "parentRowSpace": 10, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 64, + "shouldTruncate": false, + "text": "Pending POs", + "textAlign": "LEFT", + "textColor": "#231F20", + "topRow": 18, + "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", + "type": "TEXT_WIDGET", + "version": 1, + "widgetId": "pp1txtpndpo", + "widgetName": "Text2" +} diff --git a/pages/Pending POs - SLx Pending/widgets/Heading.json b/pages/Pending POs - SLx Pending/widgets/Heading.json new file mode 100644 index 0000000..2bce6ee --- /dev/null +++ b/pages/Pending POs - SLx Pending/widgets/Heading.json @@ -0,0 +1,52 @@ +{ + "animateLoading": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "bottomRow": 5, + "dynamicBindingPathList": [ + { + "key": "truncateButtonColor" + }, + { + "key": "fontFamily" + }, + { + "key": "borderRadius" + } + ], + "dynamicHeight": "AUTO_HEIGHT", + "dynamicTriggerPathList": [], + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "fontSize": "1.875rem", + "fontStyle": "BOLD", + "isLoading": false, + "isVisible": true, + "key": "pp1hdkey01", + "leftColumn": 9, + "maxDynamicHeight": 9000, + "minDynamicHeight": 4, + "minWidth": 450, + "mobileBottomRow": 5, + "mobileLeftColumn": 1, + "mobileRightColumn": 17, + "mobileTopRow": 1, + "needsErrorInfo": false, + "originalBottomRow": 5, + "originalTopRow": 0, + "overflow": "NONE", + "parentColumnSpace": 25.109375, + "parentId": "0", + "parentRowSpace": 10, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 64, + "shouldTruncate": false, + "text": "Pending POs - SLx Pending", + "textAlign": "LEFT", + "textColor": "#231F20", + "topRow": 0, + "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", + "type": "TEXT_WIDGET", + "version": 1, + "widgetId": "pp1heading1", + "widgetName": "Heading" +} diff --git a/pages/Pending POs - SLx Pending/widgets/Table1.json b/pages/Pending POs - SLx Pending/widgets/Table1.json new file mode 100644 index 0000000..e7cd696 --- /dev/null +++ b/pages/Pending POs - SLx Pending/widgets/Table1.json @@ -0,0 +1,102 @@ +{ + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "animateLoading": true, + "borderColor": "#E0DEDE", + "borderRadius": "0.375rem", + "borderWidth": "1", + "bottomRow": 67, + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "cachedTableData": {}, + "canFreezeColumn": true, + "childStylesheet": { + "button": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "editActions": { + "discardBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "discardButtonColor": "{{appsmith.theme.colors.primaryColor}}", + "saveBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "saveButtonColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "iconButton": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "menuButton": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none", + "menuColor": "{{appsmith.theme.colors.primaryColor}}" + } + }, + "columnOrder": [], + "columnWidthMap": {}, + "compactMode": "SHORT", + "customIsLoading": false, + "customIsLoadingValue": "", + "defaultPageSize": 0, + "defaultSelectedRowIndex": 0, + "defaultSelectedRowIndices": [ + 0 + ], + "delimiter": ",", + "dynamicBindingPathList": [ + { + "key": "accentColor" + }, + { + "key": "boxShadow" + }, + { + "key": "tableData" + } + ], + "dynamicPropertyPathList": [ + { + "key": "textSize" + } + ], + "dynamicTriggerPathList": [], + "enableClientSideSearch": true, + "endOfData": false, + "flexVerticalAlignment": "start", + "horizontalAlignment": "LEFT", + "inlineEditingSaveOption": "ROW_LEVEL", + "isLoading": false, + "isSortable": true, + "isVisible": true, + "isVisibleDownload": true, + "isVisibleFilters": false, + "isVisiblePagination": true, + "isVisibleSearch": false, + "key": "pp1tblkey01", + "label": "Data", + "leftColumn": 9, + "minWidth": 450, + "mobileBottomRow": 31, + "mobileLeftColumn": 15, + "mobileRightColumn": 64, + "mobileTopRow": 10, + "needsErrorInfo": false, + "originalBottomRow": 67, + "originalTopRow": 5, + "parentColumnSpace": 11.265625, + "parentId": "0", + "parentRowSpace": 10, + "primaryColumns": {}, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 64, + "searchKey": "", + "tableData": "{{pending_pos_slx_pending.data}}", + "textSize": "0.775rem", + "topRow": 5, + "totalRecordsCount": 0, + "type": "TABLE_WIDGET_V2", + "version": 2, + "verticalAlignment": "CENTER", + "widgetId": "pp1table001", + "widgetName": "Table1" +} diff --git a/pages/Sales - Capacity Planning/widgets/Container1/Button2.json b/pages/Sales - Capacity Planning/widgets/Container1/Button2.json new file mode 100644 index 0000000..1da207b --- /dev/null +++ b/pages/Sales - Capacity Planning/widgets/Container1/Button2.json @@ -0,0 +1,45 @@ +{ + "animateLoading": true, + "borderRadius": "0.375rem", + "bottomRow": 26, + "boxShadow": "none", + "buttonColor": "#ffffff", + "buttonVariant": "PRIMARY", + "disabledWhenInvalid": false, + "dynamicBindingPathList": [], + "dynamicTriggerPathList": [ + { + "key": "onClick" + } + ], + "isDefaultClickDisabled": true, + "isDisabled": false, + "isLoading": false, + "isVisible": true, + "key": "cp1btnkey01", + "leftColumn": 0, + "minWidth": 120, + "mobileBottomRow": 26, + "mobileLeftColumn": 0, + "mobileRightColumn": 16, + "mobileTopRow": 22, + "needsErrorInfo": false, + "onClick": "{{navigateTo('Pending POs - SLx Pending', {}, 'SAME_WINDOW');}}", + "originalBottomRow": 26, + "originalTopRow": 22, + "parentColumnSpace": 3.841796875, + "parentId": "x3pc17vp6q", + "parentRowSpace": 10, + "placement": "START", + "recaptchaType": "V3", + "renderMode": "CANVAS", + "resetFormOnClick": false, + "responsiveBehavior": "hug", + "rightColumn": 64, + "text": "SLx Pending", + "topRow": 22, + "type": "BUTTON_WIDGET", + "version": 1, + "widgetId": "cp1btnslxpn", + "widgetName": "Button2" +} diff --git a/pages/Sales - Capacity Planning/widgets/Container1/Text2.json b/pages/Sales - Capacity Planning/widgets/Container1/Text2.json new file mode 100644 index 0000000..7172c02 --- /dev/null +++ b/pages/Sales - Capacity Planning/widgets/Container1/Text2.json @@ -0,0 +1,52 @@ +{ + "animateLoading": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "bottomRow": 22, + "dynamicBindingPathList": [ + { + "key": "truncateButtonColor" + }, + { + "key": "fontFamily" + }, + { + "key": "borderRadius" + } + ], + "dynamicHeight": "AUTO_HEIGHT", + "dynamicTriggerPathList": [], + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "fontSize": "1rem", + "fontStyle": "BOLD", + "isLoading": false, + "isVisible": true, + "key": "cp1txkey01", + "leftColumn": 0, + "maxDynamicHeight": 9000, + "minDynamicHeight": 4, + "minWidth": 450, + "mobileBottomRow": 22, + "mobileLeftColumn": 10, + "mobileRightColumn": 26, + "mobileTopRow": 18, + "needsErrorInfo": false, + "originalBottomRow": 22, + "originalTopRow": 18, + "overflow": "NONE", + "parentColumnSpace": 3.841796875, + "parentId": "x3pc17vp6q", + "parentRowSpace": 10, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 64, + "shouldTruncate": false, + "text": "Pending POs", + "textAlign": "LEFT", + "textColor": "#231F20", + "topRow": 18, + "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", + "type": "TEXT_WIDGET", + "version": 1, + "widgetId": "cp1txtpndpo", + "widgetName": "Text2" +} diff --git a/pages/Sales - Units Ordered/widgets/Container1/Button2.json b/pages/Sales - Units Ordered/widgets/Container1/Button2.json new file mode 100644 index 0000000..da55f1f --- /dev/null +++ b/pages/Sales - Units Ordered/widgets/Container1/Button2.json @@ -0,0 +1,45 @@ +{ + "animateLoading": true, + "borderRadius": "0.375rem", + "bottomRow": 26, + "boxShadow": "none", + "buttonColor": "#ffffff", + "buttonVariant": "PRIMARY", + "disabledWhenInvalid": false, + "dynamicBindingPathList": [], + "dynamicTriggerPathList": [ + { + "key": "onClick" + } + ], + "isDefaultClickDisabled": true, + "isDisabled": false, + "isLoading": false, + "isVisible": true, + "key": "uo1btnkey01", + "leftColumn": 0, + "minWidth": 120, + "mobileBottomRow": 26, + "mobileLeftColumn": 0, + "mobileRightColumn": 16, + "mobileTopRow": 22, + "needsErrorInfo": false, + "onClick": "{{navigateTo('Pending POs - SLx Pending', {}, 'SAME_WINDOW');}}", + "originalBottomRow": 26, + "originalTopRow": 22, + "parentColumnSpace": 3.841796875, + "parentId": "wj6fxg5wpg", + "parentRowSpace": 10, + "placement": "START", + "recaptchaType": "V3", + "renderMode": "CANVAS", + "resetFormOnClick": false, + "responsiveBehavior": "hug", + "rightColumn": 64, + "text": "SLx Pending", + "topRow": 22, + "type": "BUTTON_WIDGET", + "version": 1, + "widgetId": "uo1btnslxpn", + "widgetName": "Button2" +} diff --git a/pages/Sales - Units Ordered/widgets/Container1/Text2.json b/pages/Sales - Units Ordered/widgets/Container1/Text2.json new file mode 100644 index 0000000..54da201 --- /dev/null +++ b/pages/Sales - Units Ordered/widgets/Container1/Text2.json @@ -0,0 +1,52 @@ +{ + "animateLoading": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "bottomRow": 22, + "dynamicBindingPathList": [ + { + "key": "truncateButtonColor" + }, + { + "key": "fontFamily" + }, + { + "key": "borderRadius" + } + ], + "dynamicHeight": "AUTO_HEIGHT", + "dynamicTriggerPathList": [], + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "fontSize": "1rem", + "fontStyle": "BOLD", + "isLoading": false, + "isVisible": true, + "key": "uo1txkey01", + "leftColumn": 0, + "maxDynamicHeight": 9000, + "minDynamicHeight": 4, + "minWidth": 450, + "mobileBottomRow": 22, + "mobileLeftColumn": 10, + "mobileRightColumn": 26, + "mobileTopRow": 18, + "needsErrorInfo": false, + "originalBottomRow": 22, + "originalTopRow": 18, + "overflow": "NONE", + "parentColumnSpace": 3.841796875, + "parentId": "wj6fxg5wpg", + "parentRowSpace": 10, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 64, + "shouldTruncate": false, + "text": "Pending POs", + "textAlign": "LEFT", + "textColor": "#231F20", + "topRow": 18, + "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", + "type": "TEXT_WIDGET", + "version": 1, + "widgetId": "uo1txtpndpo", + "widgetName": "Text2" +} diff --git a/pages/Sales - Units Shipped/widgets/Container1/Button2.json b/pages/Sales - Units Shipped/widgets/Container1/Button2.json new file mode 100644 index 0000000..5a18fab --- /dev/null +++ b/pages/Sales - Units Shipped/widgets/Container1/Button2.json @@ -0,0 +1,45 @@ +{ + "animateLoading": true, + "borderRadius": "0.375rem", + "bottomRow": 26, + "boxShadow": "none", + "buttonColor": "#ffffff", + "buttonVariant": "PRIMARY", + "disabledWhenInvalid": false, + "dynamicBindingPathList": [], + "dynamicTriggerPathList": [ + { + "key": "onClick" + } + ], + "isDefaultClickDisabled": true, + "isDisabled": false, + "isLoading": false, + "isVisible": true, + "key": "us1btnkey01", + "leftColumn": 0, + "minWidth": 120, + "mobileBottomRow": 26, + "mobileLeftColumn": 0, + "mobileRightColumn": 16, + "mobileTopRow": 22, + "needsErrorInfo": false, + "onClick": "{{navigateTo('Pending POs - SLx Pending', {}, 'SAME_WINDOW');}}", + "originalBottomRow": 26, + "originalTopRow": 22, + "parentColumnSpace": 3.841796875, + "parentId": "wj6fxg5wpg", + "parentRowSpace": 10, + "placement": "START", + "recaptchaType": "V3", + "renderMode": "CANVAS", + "resetFormOnClick": false, + "responsiveBehavior": "hug", + "rightColumn": 64, + "text": "SLx Pending", + "topRow": 22, + "type": "BUTTON_WIDGET", + "version": 1, + "widgetId": "us1btnslxpn", + "widgetName": "Button2" +} diff --git a/pages/Sales - Units Shipped/widgets/Container1/Text2.json b/pages/Sales - Units Shipped/widgets/Container1/Text2.json new file mode 100644 index 0000000..3642c05 --- /dev/null +++ b/pages/Sales - Units Shipped/widgets/Container1/Text2.json @@ -0,0 +1,52 @@ +{ + "animateLoading": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "bottomRow": 22, + "dynamicBindingPathList": [ + { + "key": "truncateButtonColor" + }, + { + "key": "fontFamily" + }, + { + "key": "borderRadius" + } + ], + "dynamicHeight": "AUTO_HEIGHT", + "dynamicTriggerPathList": [], + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "fontSize": "1rem", + "fontStyle": "BOLD", + "isLoading": false, + "isVisible": true, + "key": "us1txkey01", + "leftColumn": 0, + "maxDynamicHeight": 9000, + "minDynamicHeight": 4, + "minWidth": 450, + "mobileBottomRow": 22, + "mobileLeftColumn": 10, + "mobileRightColumn": 26, + "mobileTopRow": 18, + "needsErrorInfo": false, + "originalBottomRow": 22, + "originalTopRow": 18, + "overflow": "NONE", + "parentColumnSpace": 3.841796875, + "parentId": "wj6fxg5wpg", + "parentRowSpace": 10, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 64, + "shouldTruncate": false, + "text": "Pending POs", + "textAlign": "LEFT", + "textColor": "#231F20", + "topRow": 18, + "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", + "type": "TEXT_WIDGET", + "version": 1, + "widgetId": "us1txtpndpo", + "widgetName": "Text2" +} From c97c2b019f27a96bf1afb1d2277a632aa11b1dc8 Mon Sep 17 00:00:00 2001 From: ibariss Date: Fri, 27 Feb 2026 12:03:07 +0000 Subject: [PATCH 40/71] some kind of changes --- application.json | 4 - .../Pending POs - SLx Pending.json | 32 ------ .../pending_pos_slx_pending/metadata.json | 30 ------ .../pending_pos_slx_pending.txt | 1 - .../widgets/Container1/Button1.json | 45 -------- .../widgets/Container1/Button1Copy.json | 45 -------- .../widgets/Container1/Button1Copy2.json | 45 -------- .../widgets/Container1/Button2.json | 49 --------- .../widgets/Container1/Container1.json | 87 --------------- .../widgets/Container1/Text1.json | 52 --------- .../widgets/Container1/Text2.json | 52 --------- .../widgets/Heading.json | 52 --------- .../widgets/Table1.json | 102 ------------------ .../widgets/Container1/Button1Copy2.json | 2 +- .../widgets/Container1/Button2.json | 45 -------- .../widgets/Container1/Text2.json | 52 --------- .../widgets/Container1/Button1Copy2.json | 2 +- .../widgets/Container1/Button2.json | 45 -------- .../widgets/Container1/Text2.json | 52 --------- .../widgets/Container1/Button1Copy2.json | 2 +- .../widgets/Container1/Button2.json | 45 -------- .../widgets/Container1/Text2.json | 52 --------- 22 files changed, 3 insertions(+), 890 deletions(-) delete mode 100644 pages/Pending POs - SLx Pending/Pending POs - SLx Pending.json delete mode 100644 pages/Pending POs - SLx Pending/queries/pending_pos_slx_pending/metadata.json delete mode 100644 pages/Pending POs - SLx Pending/queries/pending_pos_slx_pending/pending_pos_slx_pending.txt delete mode 100644 pages/Pending POs - SLx Pending/widgets/Container1/Button1.json delete mode 100644 pages/Pending POs - SLx Pending/widgets/Container1/Button1Copy.json delete mode 100644 pages/Pending POs - SLx Pending/widgets/Container1/Button1Copy2.json delete mode 100644 pages/Pending POs - SLx Pending/widgets/Container1/Button2.json delete mode 100644 pages/Pending POs - SLx Pending/widgets/Container1/Container1.json delete mode 100644 pages/Pending POs - SLx Pending/widgets/Container1/Text1.json delete mode 100644 pages/Pending POs - SLx Pending/widgets/Container1/Text2.json delete mode 100644 pages/Pending POs - SLx Pending/widgets/Heading.json delete mode 100644 pages/Pending POs - SLx Pending/widgets/Table1.json delete mode 100644 pages/Sales - Capacity Planning/widgets/Container1/Button2.json delete mode 100644 pages/Sales - Capacity Planning/widgets/Container1/Text2.json delete mode 100644 pages/Sales - Units Ordered/widgets/Container1/Button2.json delete mode 100644 pages/Sales - Units Ordered/widgets/Container1/Text2.json delete mode 100644 pages/Sales - Units Shipped/widgets/Container1/Button2.json delete mode 100644 pages/Sales - Units Shipped/widgets/Container1/Text2.json diff --git a/application.json b/application.json index 5244ba7..05a0098 100644 --- a/application.json +++ b/application.json @@ -40,10 +40,6 @@ { "id": "Sales - Units Ordered", "isDefault": false - }, - { - "id": "Pending POs - SLx Pending", - "isDefault": false } ], "unpublishedAppLayout": { diff --git a/pages/Pending POs - SLx Pending/Pending POs - SLx Pending.json b/pages/Pending POs - SLx Pending/Pending POs - SLx Pending.json deleted file mode 100644 index bf15239..0000000 --- a/pages/Pending POs - SLx Pending/Pending POs - SLx Pending.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "unpublishedPage": { - "isHidden": false, - "layouts": [ - { - "dsl": { - "backgroundColor": "none", - "bottomRow": 1240, - "canExtend": true, - "containerStyle": "none", - "detachFromLayout": true, - "dynamicBindingPathList": [], - "dynamicTriggerPathList": [], - "leftColumn": 0, - "minHeight": 1292, - "parentColumnSpace": 1, - "parentRowSpace": 1, - "rightColumn": 4896, - "snapColumns": 64, - "snapRows": 124, - "topRow": 0, - "type": "CANVAS_WIDGET", - "version": 94, - "widgetId": "0", - "widgetName": "MainContainer" - } - } - ], - "name": "Pending POs - SLx Pending", - "slug": "pending-pos-slx-pending" - } -} diff --git a/pages/Pending POs - SLx Pending/queries/pending_pos_slx_pending/metadata.json b/pages/Pending POs - SLx Pending/queries/pending_pos_slx_pending/metadata.json deleted file mode 100644 index d8007c2..0000000 --- a/pages/Pending POs - SLx Pending/queries/pending_pos_slx_pending/metadata.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "id": "Pending POs - SLx Pending_pending_pos_slx_pending", - "pluginId": "postgres-plugin", - "pluginType": "DB", - "unpublishedAction": { - "actionConfiguration": { - "body": "select * from mpe.get_prototype_po_dashboard_data(array['34487','35355']::text[]);", - "encodeParamsToggle": true, - "paginationType": "NONE", - "pluginSpecifiedTemplates": [ - { - "value": true - } - ], - "timeoutInMillisecond": 10000 - }, - "confirmBeforeExecute": false, - "datasource": { - "id": "xTuple_Sandbox", - "isAutoGenerated": false, - "name": "xTuple_Sandbox", - "pluginId": "postgres-plugin" - }, - "dynamicBindingPathList": [], - "name": "pending_pos_slx_pending", - "pageId": "Pending POs - SLx Pending", - "runBehaviour": "AUTOMATIC", - "userSetOnLoad": false - } -} diff --git a/pages/Pending POs - SLx Pending/queries/pending_pos_slx_pending/pending_pos_slx_pending.txt b/pages/Pending POs - SLx Pending/queries/pending_pos_slx_pending/pending_pos_slx_pending.txt deleted file mode 100644 index 80a566e..0000000 --- a/pages/Pending POs - SLx Pending/queries/pending_pos_slx_pending/pending_pos_slx_pending.txt +++ /dev/null @@ -1 +0,0 @@ -select * from mpe.get_prototype_po_dashboard_data(array['34487','35355']::text[]); \ No newline at end of file diff --git a/pages/Pending POs - SLx Pending/widgets/Container1/Button1.json b/pages/Pending POs - SLx Pending/widgets/Container1/Button1.json deleted file mode 100644 index 14cca2a..0000000 --- a/pages/Pending POs - SLx Pending/widgets/Container1/Button1.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "animateLoading": true, - "borderRadius": "0.375rem", - "bottomRow": 8, - "boxShadow": "none", - "buttonColor": "#ffffff", - "buttonVariant": "PRIMARY", - "disabledWhenInvalid": false, - "dynamicBindingPathList": [], - "dynamicTriggerPathList": [ - { - "key": "onClick" - } - ], - "isDefaultClickDisabled": true, - "isDisabled": false, - "isLoading": false, - "isVisible": true, - "key": "0k5ucqsuin", - "leftColumn": 0, - "minWidth": 120, - "mobileBottomRow": 8, - "mobileLeftColumn": 0, - "mobileRightColumn": 16, - "mobileTopRow": 4, - "needsErrorInfo": false, - "onClick": "{{navigateTo('Sales - Capacity Planning', {}, 'SAME_WINDOW');}}", - "originalBottomRow": 8, - "originalTopRow": 4, - "parentColumnSpace": 3.841796875, - "parentId": "pp1canvas01", - "parentRowSpace": 10, - "placement": "START", - "recaptchaType": "V3", - "renderMode": "CANVAS", - "resetFormOnClick": false, - "responsiveBehavior": "hug", - "rightColumn": 64, - "text": "Capacity Planning", - "topRow": 4, - "type": "BUTTON_WIDGET", - "version": 1, - "widgetId": "pp1btncappl", - "widgetName": "Button1" -} diff --git a/pages/Pending POs - SLx Pending/widgets/Container1/Button1Copy.json b/pages/Pending POs - SLx Pending/widgets/Container1/Button1Copy.json deleted file mode 100644 index b57306a..0000000 --- a/pages/Pending POs - SLx Pending/widgets/Container1/Button1Copy.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "animateLoading": true, - "borderRadius": "0.375rem", - "bottomRow": 12, - "boxShadow": "none", - "buttonColor": "#ffffff", - "buttonVariant": "PRIMARY", - "disabledWhenInvalid": false, - "dynamicBindingPathList": [], - "dynamicTriggerPathList": [ - { - "key": "onClick" - } - ], - "isDefaultClickDisabled": true, - "isDisabled": false, - "isLoading": false, - "isVisible": true, - "key": "0k5ucqsuin", - "leftColumn": 0, - "minWidth": 120, - "mobileBottomRow": 8, - "mobileLeftColumn": 0, - "mobileRightColumn": 16, - "mobileTopRow": 4, - "needsErrorInfo": false, - "onClick": "{{navigateTo('Sales - Units Shipped', {}, 'SAME_WINDOW');}}", - "originalBottomRow": 12, - "originalTopRow": 8, - "parentColumnSpace": 3.841796875, - "parentId": "pp1canvas01", - "parentRowSpace": 10, - "placement": "START", - "recaptchaType": "V3", - "renderMode": "CANVAS", - "resetFormOnClick": false, - "responsiveBehavior": "hug", - "rightColumn": 64, - "text": "Units Shipped", - "topRow": 8, - "type": "BUTTON_WIDGET", - "version": 1, - "widgetId": "pp1btnships", - "widgetName": "Button1Copy" -} diff --git a/pages/Pending POs - SLx Pending/widgets/Container1/Button1Copy2.json b/pages/Pending POs - SLx Pending/widgets/Container1/Button1Copy2.json deleted file mode 100644 index fab8935..0000000 --- a/pages/Pending POs - SLx Pending/widgets/Container1/Button1Copy2.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "animateLoading": true, - "borderRadius": "0.375rem", - "bottomRow": 16, - "boxShadow": "none", - "buttonColor": "#ffffff", - "buttonVariant": "PRIMARY", - "disabledWhenInvalid": false, - "dynamicBindingPathList": [], - "dynamicTriggerPathList": [ - { - "key": "onClick" - } - ], - "isDefaultClickDisabled": true, - "isDisabled": false, - "isLoading": false, - "isVisible": true, - "key": "0j7c9d2q1h", - "leftColumn": 0, - "minWidth": 120, - "mobileBottomRow": 8, - "mobileLeftColumn": 0, - "mobileRightColumn": 16, - "mobileTopRow": 4, - "needsErrorInfo": false, - "onClick": "{{navigateTo('Sales - Units Ordered', {}, 'SAME_WINDOW');}}", - "originalBottomRow": 16, - "originalTopRow": 12, - "parentColumnSpace": 3.841796875, - "parentId": "pp1canvas01", - "parentRowSpace": 10, - "placement": "START", - "recaptchaType": "V3", - "renderMode": "CANVAS", - "resetFormOnClick": false, - "responsiveBehavior": "hug", - "rightColumn": 64, - "text": "Units Ordered", - "topRow": 12, - "type": "BUTTON_WIDGET", - "version": 1, - "widgetId": "pp1btnorder", - "widgetName": "Button1Copy2" -} diff --git a/pages/Pending POs - SLx Pending/widgets/Container1/Button2.json b/pages/Pending POs - SLx Pending/widgets/Container1/Button2.json deleted file mode 100644 index d33ad75..0000000 --- a/pages/Pending POs - SLx Pending/widgets/Container1/Button2.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "animateLoading": true, - "borderRadius": "0.375rem", - "bottomRow": 26, - "boxShadow": "none", - "buttonColor": "{{appsmith.theme.colors.backgroundColor}}", - "buttonVariant": "PRIMARY", - "disabledWhenInvalid": false, - "dynamicBindingPathList": [ - { - "key": "buttonColor" - } - ], - "dynamicTriggerPathList": [ - { - "key": "onClick" - } - ], - "isDefaultClickDisabled": true, - "isDisabled": false, - "isLoading": false, - "isVisible": true, - "key": "pp1btnkey01", - "leftColumn": 0, - "minWidth": 120, - "mobileBottomRow": 26, - "mobileLeftColumn": 0, - "mobileRightColumn": 16, - "mobileTopRow": 22, - "needsErrorInfo": false, - "onClick": "{{navigateTo('Pending POs - SLx Pending', {}, 'SAME_WINDOW');}}", - "originalBottomRow": 26, - "originalTopRow": 22, - "parentColumnSpace": 3.841796875, - "parentId": "pp1canvas01", - "parentRowSpace": 10, - "placement": "START", - "recaptchaType": "V3", - "renderMode": "CANVAS", - "resetFormOnClick": false, - "responsiveBehavior": "hug", - "rightColumn": 64, - "text": "SLx Pending", - "topRow": 22, - "type": "BUTTON_WIDGET", - "version": 1, - "widgetId": "pp1btnslxpn", - "widgetName": "Button2" -} diff --git a/pages/Pending POs - SLx Pending/widgets/Container1/Container1.json b/pages/Pending POs - SLx Pending/widgets/Container1/Container1.json deleted file mode 100644 index dbda96e..0000000 --- a/pages/Pending POs - SLx Pending/widgets/Container1/Container1.json +++ /dev/null @@ -1,87 +0,0 @@ -{ - "animateLoading": true, - "backgroundColor": "#FFFFFF", - "borderColor": "#E0DEDE", - "borderRadius": "0px", - "borderWidth": "1", - "bottomRow": 124, - "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", - "children": [ - { - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 1240, - "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", - "canExtend": false, - "containerStyle": "none", - "detachFromLayout": true, - "dynamicBindingPathList": [ - { - "key": "borderRadius" - }, - { - "key": "boxShadow" - } - ], - "dynamicHeight": "AUTO_HEIGHT", - "flexLayers": [], - "isLoading": false, - "isVisible": true, - "key": "xorz42kdhi", - "leftColumn": 0, - "maxDynamicHeight": 9000, - "minDynamicHeight": 4, - "minHeight": 100, - "minWidth": 450, - "mobileBottomRow": 100, - "mobileLeftColumn": 0, - "mobileRightColumn": 132.9375, - "mobileTopRow": 0, - "needsErrorInfo": false, - "parentColumnSpace": 1, - "parentId": "pp1c0ntain", - "parentRowSpace": 1, - "renderMode": "CANVAS", - "responsiveBehavior": "fill", - "rightColumn": 132.9375, - "topRow": 0, - "type": "CANVAS_WIDGET", - "version": 1, - "widgetId": "pp1canvas01", - "widgetName": "Canvas1" - } - ], - "containerStyle": "card", - "dynamicBindingPathList": [ - { - "key": "boxShadow" - } - ], - "dynamicHeight": "FIXED", - "dynamicTriggerPathList": [], - "flexVerticalAlignment": "stretch", - "isCanvas": true, - "isLoading": false, - "isVisible": true, - "key": "36jaq5m9iy", - "leftColumn": 0, - "maxDynamicHeight": 12, - "minDynamicHeight": 10, - "minWidth": 450, - "mobileBottomRow": 10, - "mobileLeftColumn": 0, - "mobileRightColumn": 3, - "mobileTopRow": 0, - "needsErrorInfo": false, - "parentColumnSpace": 44.3125, - "parentId": "0", - "parentRowSpace": 10, - "renderMode": "CANVAS", - "responsiveBehavior": "fill", - "rightColumn": 9, - "shouldScrollContents": true, - "topRow": 0, - "type": "CONTAINER_WIDGET", - "version": 1, - "widgetId": "pp1c0ntain", - "widgetName": "Container1" -} diff --git a/pages/Pending POs - SLx Pending/widgets/Container1/Text1.json b/pages/Pending POs - SLx Pending/widgets/Container1/Text1.json deleted file mode 100644 index 4fb4618..0000000 --- a/pages/Pending POs - SLx Pending/widgets/Container1/Text1.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "animateLoading": true, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 4, - "dynamicBindingPathList": [ - { - "key": "truncateButtonColor" - }, - { - "key": "fontFamily" - }, - { - "key": "borderRadius" - } - ], - "dynamicHeight": "AUTO_HEIGHT", - "dynamicTriggerPathList": [], - "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", - "fontSize": "1rem", - "fontStyle": "BOLD", - "isLoading": false, - "isVisible": true, - "key": "01n8bhu9n6", - "leftColumn": 0, - "maxDynamicHeight": 9000, - "minDynamicHeight": 4, - "minWidth": 450, - "mobileBottomRow": 6, - "mobileLeftColumn": 10, - "mobileRightColumn": 26, - "mobileTopRow": 2, - "needsErrorInfo": false, - "originalBottomRow": 4, - "originalTopRow": 0, - "overflow": "NONE", - "parentColumnSpace": 3.841796875, - "parentId": "pp1canvas01", - "parentRowSpace": 10, - "renderMode": "CANVAS", - "responsiveBehavior": "fill", - "rightColumn": 64, - "shouldTruncate": false, - "text": "Sales", - "textAlign": "LEFT", - "textColor": "#231F20", - "topRow": 0, - "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", - "type": "TEXT_WIDGET", - "version": 1, - "widgetId": "pp1txtsales", - "widgetName": "Text1" -} diff --git a/pages/Pending POs - SLx Pending/widgets/Container1/Text2.json b/pages/Pending POs - SLx Pending/widgets/Container1/Text2.json deleted file mode 100644 index 4b324ea..0000000 --- a/pages/Pending POs - SLx Pending/widgets/Container1/Text2.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "animateLoading": true, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 22, - "dynamicBindingPathList": [ - { - "key": "truncateButtonColor" - }, - { - "key": "fontFamily" - }, - { - "key": "borderRadius" - } - ], - "dynamicHeight": "AUTO_HEIGHT", - "dynamicTriggerPathList": [], - "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", - "fontSize": "1rem", - "fontStyle": "BOLD", - "isLoading": false, - "isVisible": true, - "key": "pp1txkey01", - "leftColumn": 0, - "maxDynamicHeight": 9000, - "minDynamicHeight": 4, - "minWidth": 450, - "mobileBottomRow": 22, - "mobileLeftColumn": 10, - "mobileRightColumn": 26, - "mobileTopRow": 18, - "needsErrorInfo": false, - "originalBottomRow": 22, - "originalTopRow": 18, - "overflow": "NONE", - "parentColumnSpace": 3.841796875, - "parentId": "pp1canvas01", - "parentRowSpace": 10, - "renderMode": "CANVAS", - "responsiveBehavior": "fill", - "rightColumn": 64, - "shouldTruncate": false, - "text": "Pending POs", - "textAlign": "LEFT", - "textColor": "#231F20", - "topRow": 18, - "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", - "type": "TEXT_WIDGET", - "version": 1, - "widgetId": "pp1txtpndpo", - "widgetName": "Text2" -} diff --git a/pages/Pending POs - SLx Pending/widgets/Heading.json b/pages/Pending POs - SLx Pending/widgets/Heading.json deleted file mode 100644 index 2bce6ee..0000000 --- a/pages/Pending POs - SLx Pending/widgets/Heading.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "animateLoading": true, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 5, - "dynamicBindingPathList": [ - { - "key": "truncateButtonColor" - }, - { - "key": "fontFamily" - }, - { - "key": "borderRadius" - } - ], - "dynamicHeight": "AUTO_HEIGHT", - "dynamicTriggerPathList": [], - "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", - "fontSize": "1.875rem", - "fontStyle": "BOLD", - "isLoading": false, - "isVisible": true, - "key": "pp1hdkey01", - "leftColumn": 9, - "maxDynamicHeight": 9000, - "minDynamicHeight": 4, - "minWidth": 450, - "mobileBottomRow": 5, - "mobileLeftColumn": 1, - "mobileRightColumn": 17, - "mobileTopRow": 1, - "needsErrorInfo": false, - "originalBottomRow": 5, - "originalTopRow": 0, - "overflow": "NONE", - "parentColumnSpace": 25.109375, - "parentId": "0", - "parentRowSpace": 10, - "renderMode": "CANVAS", - "responsiveBehavior": "fill", - "rightColumn": 64, - "shouldTruncate": false, - "text": "Pending POs - SLx Pending", - "textAlign": "LEFT", - "textColor": "#231F20", - "topRow": 0, - "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", - "type": "TEXT_WIDGET", - "version": 1, - "widgetId": "pp1heading1", - "widgetName": "Heading" -} diff --git a/pages/Pending POs - SLx Pending/widgets/Table1.json b/pages/Pending POs - SLx Pending/widgets/Table1.json deleted file mode 100644 index e7cd696..0000000 --- a/pages/Pending POs - SLx Pending/widgets/Table1.json +++ /dev/null @@ -1,102 +0,0 @@ -{ - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "animateLoading": true, - "borderColor": "#E0DEDE", - "borderRadius": "0.375rem", - "borderWidth": "1", - "bottomRow": 67, - "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", - "cachedTableData": {}, - "canFreezeColumn": true, - "childStylesheet": { - "button": { - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "none", - "buttonColor": "{{appsmith.theme.colors.primaryColor}}" - }, - "editActions": { - "discardBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "discardButtonColor": "{{appsmith.theme.colors.primaryColor}}", - "saveBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "saveButtonColor": "{{appsmith.theme.colors.primaryColor}}" - }, - "iconButton": { - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "none", - "buttonColor": "{{appsmith.theme.colors.primaryColor}}" - }, - "menuButton": { - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "none", - "menuColor": "{{appsmith.theme.colors.primaryColor}}" - } - }, - "columnOrder": [], - "columnWidthMap": {}, - "compactMode": "SHORT", - "customIsLoading": false, - "customIsLoadingValue": "", - "defaultPageSize": 0, - "defaultSelectedRowIndex": 0, - "defaultSelectedRowIndices": [ - 0 - ], - "delimiter": ",", - "dynamicBindingPathList": [ - { - "key": "accentColor" - }, - { - "key": "boxShadow" - }, - { - "key": "tableData" - } - ], - "dynamicPropertyPathList": [ - { - "key": "textSize" - } - ], - "dynamicTriggerPathList": [], - "enableClientSideSearch": true, - "endOfData": false, - "flexVerticalAlignment": "start", - "horizontalAlignment": "LEFT", - "inlineEditingSaveOption": "ROW_LEVEL", - "isLoading": false, - "isSortable": true, - "isVisible": true, - "isVisibleDownload": true, - "isVisibleFilters": false, - "isVisiblePagination": true, - "isVisibleSearch": false, - "key": "pp1tblkey01", - "label": "Data", - "leftColumn": 9, - "minWidth": 450, - "mobileBottomRow": 31, - "mobileLeftColumn": 15, - "mobileRightColumn": 64, - "mobileTopRow": 10, - "needsErrorInfo": false, - "originalBottomRow": 67, - "originalTopRow": 5, - "parentColumnSpace": 11.265625, - "parentId": "0", - "parentRowSpace": 10, - "primaryColumns": {}, - "renderMode": "CANVAS", - "responsiveBehavior": "fill", - "rightColumn": 64, - "searchKey": "", - "tableData": "{{pending_pos_slx_pending.data}}", - "textSize": "0.775rem", - "topRow": 5, - "totalRecordsCount": 0, - "type": "TABLE_WIDGET_V2", - "version": 2, - "verticalAlignment": "CENTER", - "widgetId": "pp1table001", - "widgetName": "Table1" -} diff --git a/pages/Sales - Capacity Planning/widgets/Container1/Button1Copy2.json b/pages/Sales - Capacity Planning/widgets/Container1/Button1Copy2.json index cb4ef44..ce0d480 100644 --- a/pages/Sales - Capacity Planning/widgets/Container1/Button1Copy2.json +++ b/pages/Sales - Capacity Planning/widgets/Container1/Button1Copy2.json @@ -42,4 +42,4 @@ "version": 1, "widgetId": "1p4m2n8kci", "widgetName": "Button1Copy2" -} +} \ No newline at end of file diff --git a/pages/Sales - Capacity Planning/widgets/Container1/Button2.json b/pages/Sales - Capacity Planning/widgets/Container1/Button2.json deleted file mode 100644 index 1da207b..0000000 --- a/pages/Sales - Capacity Planning/widgets/Container1/Button2.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "animateLoading": true, - "borderRadius": "0.375rem", - "bottomRow": 26, - "boxShadow": "none", - "buttonColor": "#ffffff", - "buttonVariant": "PRIMARY", - "disabledWhenInvalid": false, - "dynamicBindingPathList": [], - "dynamicTriggerPathList": [ - { - "key": "onClick" - } - ], - "isDefaultClickDisabled": true, - "isDisabled": false, - "isLoading": false, - "isVisible": true, - "key": "cp1btnkey01", - "leftColumn": 0, - "minWidth": 120, - "mobileBottomRow": 26, - "mobileLeftColumn": 0, - "mobileRightColumn": 16, - "mobileTopRow": 22, - "needsErrorInfo": false, - "onClick": "{{navigateTo('Pending POs - SLx Pending', {}, 'SAME_WINDOW');}}", - "originalBottomRow": 26, - "originalTopRow": 22, - "parentColumnSpace": 3.841796875, - "parentId": "x3pc17vp6q", - "parentRowSpace": 10, - "placement": "START", - "recaptchaType": "V3", - "renderMode": "CANVAS", - "resetFormOnClick": false, - "responsiveBehavior": "hug", - "rightColumn": 64, - "text": "SLx Pending", - "topRow": 22, - "type": "BUTTON_WIDGET", - "version": 1, - "widgetId": "cp1btnslxpn", - "widgetName": "Button2" -} diff --git a/pages/Sales - Capacity Planning/widgets/Container1/Text2.json b/pages/Sales - Capacity Planning/widgets/Container1/Text2.json deleted file mode 100644 index 7172c02..0000000 --- a/pages/Sales - Capacity Planning/widgets/Container1/Text2.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "animateLoading": true, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 22, - "dynamicBindingPathList": [ - { - "key": "truncateButtonColor" - }, - { - "key": "fontFamily" - }, - { - "key": "borderRadius" - } - ], - "dynamicHeight": "AUTO_HEIGHT", - "dynamicTriggerPathList": [], - "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", - "fontSize": "1rem", - "fontStyle": "BOLD", - "isLoading": false, - "isVisible": true, - "key": "cp1txkey01", - "leftColumn": 0, - "maxDynamicHeight": 9000, - "minDynamicHeight": 4, - "minWidth": 450, - "mobileBottomRow": 22, - "mobileLeftColumn": 10, - "mobileRightColumn": 26, - "mobileTopRow": 18, - "needsErrorInfo": false, - "originalBottomRow": 22, - "originalTopRow": 18, - "overflow": "NONE", - "parentColumnSpace": 3.841796875, - "parentId": "x3pc17vp6q", - "parentRowSpace": 10, - "renderMode": "CANVAS", - "responsiveBehavior": "fill", - "rightColumn": 64, - "shouldTruncate": false, - "text": "Pending POs", - "textAlign": "LEFT", - "textColor": "#231F20", - "topRow": 18, - "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", - "type": "TEXT_WIDGET", - "version": 1, - "widgetId": "cp1txtpndpo", - "widgetName": "Text2" -} diff --git a/pages/Sales - Units Ordered/widgets/Container1/Button1Copy2.json b/pages/Sales - Units Ordered/widgets/Container1/Button1Copy2.json index 13c1a09..f770cb4 100644 --- a/pages/Sales - Units Ordered/widgets/Container1/Button1Copy2.json +++ b/pages/Sales - Units Ordered/widgets/Container1/Button1Copy2.json @@ -44,4 +44,4 @@ "version": 1, "widgetId": "v3k4lvbmoc", "widgetName": "Button1Copy2" -} +} \ No newline at end of file diff --git a/pages/Sales - Units Ordered/widgets/Container1/Button2.json b/pages/Sales - Units Ordered/widgets/Container1/Button2.json deleted file mode 100644 index da55f1f..0000000 --- a/pages/Sales - Units Ordered/widgets/Container1/Button2.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "animateLoading": true, - "borderRadius": "0.375rem", - "bottomRow": 26, - "boxShadow": "none", - "buttonColor": "#ffffff", - "buttonVariant": "PRIMARY", - "disabledWhenInvalid": false, - "dynamicBindingPathList": [], - "dynamicTriggerPathList": [ - { - "key": "onClick" - } - ], - "isDefaultClickDisabled": true, - "isDisabled": false, - "isLoading": false, - "isVisible": true, - "key": "uo1btnkey01", - "leftColumn": 0, - "minWidth": 120, - "mobileBottomRow": 26, - "mobileLeftColumn": 0, - "mobileRightColumn": 16, - "mobileTopRow": 22, - "needsErrorInfo": false, - "onClick": "{{navigateTo('Pending POs - SLx Pending', {}, 'SAME_WINDOW');}}", - "originalBottomRow": 26, - "originalTopRow": 22, - "parentColumnSpace": 3.841796875, - "parentId": "wj6fxg5wpg", - "parentRowSpace": 10, - "placement": "START", - "recaptchaType": "V3", - "renderMode": "CANVAS", - "resetFormOnClick": false, - "responsiveBehavior": "hug", - "rightColumn": 64, - "text": "SLx Pending", - "topRow": 22, - "type": "BUTTON_WIDGET", - "version": 1, - "widgetId": "uo1btnslxpn", - "widgetName": "Button2" -} diff --git a/pages/Sales - Units Ordered/widgets/Container1/Text2.json b/pages/Sales - Units Ordered/widgets/Container1/Text2.json deleted file mode 100644 index 54da201..0000000 --- a/pages/Sales - Units Ordered/widgets/Container1/Text2.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "animateLoading": true, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 22, - "dynamicBindingPathList": [ - { - "key": "truncateButtonColor" - }, - { - "key": "fontFamily" - }, - { - "key": "borderRadius" - } - ], - "dynamicHeight": "AUTO_HEIGHT", - "dynamicTriggerPathList": [], - "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", - "fontSize": "1rem", - "fontStyle": "BOLD", - "isLoading": false, - "isVisible": true, - "key": "uo1txkey01", - "leftColumn": 0, - "maxDynamicHeight": 9000, - "minDynamicHeight": 4, - "minWidth": 450, - "mobileBottomRow": 22, - "mobileLeftColumn": 10, - "mobileRightColumn": 26, - "mobileTopRow": 18, - "needsErrorInfo": false, - "originalBottomRow": 22, - "originalTopRow": 18, - "overflow": "NONE", - "parentColumnSpace": 3.841796875, - "parentId": "wj6fxg5wpg", - "parentRowSpace": 10, - "renderMode": "CANVAS", - "responsiveBehavior": "fill", - "rightColumn": 64, - "shouldTruncate": false, - "text": "Pending POs", - "textAlign": "LEFT", - "textColor": "#231F20", - "topRow": 18, - "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", - "type": "TEXT_WIDGET", - "version": 1, - "widgetId": "uo1txtpndpo", - "widgetName": "Text2" -} diff --git a/pages/Sales - Units Shipped/widgets/Container1/Button1Copy2.json b/pages/Sales - Units Shipped/widgets/Container1/Button1Copy2.json index f3c15ba..6813536 100644 --- a/pages/Sales - Units Shipped/widgets/Container1/Button1Copy2.json +++ b/pages/Sales - Units Shipped/widgets/Container1/Button1Copy2.json @@ -40,4 +40,4 @@ "version": 1, "widgetId": "c7t1ah8lmv", "widgetName": "Button1Copy2" -} +} \ No newline at end of file diff --git a/pages/Sales - Units Shipped/widgets/Container1/Button2.json b/pages/Sales - Units Shipped/widgets/Container1/Button2.json deleted file mode 100644 index 5a18fab..0000000 --- a/pages/Sales - Units Shipped/widgets/Container1/Button2.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "animateLoading": true, - "borderRadius": "0.375rem", - "bottomRow": 26, - "boxShadow": "none", - "buttonColor": "#ffffff", - "buttonVariant": "PRIMARY", - "disabledWhenInvalid": false, - "dynamicBindingPathList": [], - "dynamicTriggerPathList": [ - { - "key": "onClick" - } - ], - "isDefaultClickDisabled": true, - "isDisabled": false, - "isLoading": false, - "isVisible": true, - "key": "us1btnkey01", - "leftColumn": 0, - "minWidth": 120, - "mobileBottomRow": 26, - "mobileLeftColumn": 0, - "mobileRightColumn": 16, - "mobileTopRow": 22, - "needsErrorInfo": false, - "onClick": "{{navigateTo('Pending POs - SLx Pending', {}, 'SAME_WINDOW');}}", - "originalBottomRow": 26, - "originalTopRow": 22, - "parentColumnSpace": 3.841796875, - "parentId": "wj6fxg5wpg", - "parentRowSpace": 10, - "placement": "START", - "recaptchaType": "V3", - "renderMode": "CANVAS", - "resetFormOnClick": false, - "responsiveBehavior": "hug", - "rightColumn": 64, - "text": "SLx Pending", - "topRow": 22, - "type": "BUTTON_WIDGET", - "version": 1, - "widgetId": "us1btnslxpn", - "widgetName": "Button2" -} diff --git a/pages/Sales - Units Shipped/widgets/Container1/Text2.json b/pages/Sales - Units Shipped/widgets/Container1/Text2.json deleted file mode 100644 index 3642c05..0000000 --- a/pages/Sales - Units Shipped/widgets/Container1/Text2.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "animateLoading": true, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 22, - "dynamicBindingPathList": [ - { - "key": "truncateButtonColor" - }, - { - "key": "fontFamily" - }, - { - "key": "borderRadius" - } - ], - "dynamicHeight": "AUTO_HEIGHT", - "dynamicTriggerPathList": [], - "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", - "fontSize": "1rem", - "fontStyle": "BOLD", - "isLoading": false, - "isVisible": true, - "key": "us1txkey01", - "leftColumn": 0, - "maxDynamicHeight": 9000, - "minDynamicHeight": 4, - "minWidth": 450, - "mobileBottomRow": 22, - "mobileLeftColumn": 10, - "mobileRightColumn": 26, - "mobileTopRow": 18, - "needsErrorInfo": false, - "originalBottomRow": 22, - "originalTopRow": 18, - "overflow": "NONE", - "parentColumnSpace": 3.841796875, - "parentId": "wj6fxg5wpg", - "parentRowSpace": 10, - "renderMode": "CANVAS", - "responsiveBehavior": "fill", - "rightColumn": 64, - "shouldTruncate": false, - "text": "Pending POs", - "textAlign": "LEFT", - "textColor": "#231F20", - "topRow": 18, - "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", - "type": "TEXT_WIDGET", - "version": 1, - "widgetId": "us1txtpndpo", - "widgetName": "Text2" -} From 4d0e1f0180751ca706ecf34f3c41de21e0d727e8 Mon Sep 17 00:00:00 2001 From: ivarsbariss Date: Fri, 27 Feb 2026 13:09:10 +0100 Subject: [PATCH 41/71] Pending POs pages --- application.json | 4 + .../Pending POs - SLx Pending.json | 32 ++++++ .../pending_pos_slx_pending/metadata.json | 30 ++++++ .../pending_pos_slx_pending.txt | 1 + .../widgets/Container1/Button1.json | 45 ++++++++ .../widgets/Container1/Button1Copy.json | 45 ++++++++ .../widgets/Container1/Button1Copy2.json | 45 ++++++++ .../widgets/Container1/Button2.json | 49 +++++++++ .../widgets/Container1/Container1.json | 87 +++++++++++++++ .../widgets/Container1/Text1.json | 52 +++++++++ .../widgets/Container1/Text2.json | 52 +++++++++ .../widgets/Heading.json | 52 +++++++++ .../widgets/Table1.json | 102 ++++++++++++++++++ .../widgets/Container1/Button2.json | 45 ++++++++ .../widgets/Container1/Text2.json | 52 +++++++++ .../widgets/Container1/Button2.json | 45 ++++++++ .../widgets/Container1/Text2.json | 52 +++++++++ .../widgets/Container1/Button2.json | 45 ++++++++ .../widgets/Container1/Text2.json | 52 +++++++++ 19 files changed, 887 insertions(+) create mode 100644 pages/Pending POs - SLx Pending/Pending POs - SLx Pending.json create mode 100644 pages/Pending POs - SLx Pending/queries/pending_pos_slx_pending/metadata.json create mode 100644 pages/Pending POs - SLx Pending/queries/pending_pos_slx_pending/pending_pos_slx_pending.txt create mode 100644 pages/Pending POs - SLx Pending/widgets/Container1/Button1.json create mode 100644 pages/Pending POs - SLx Pending/widgets/Container1/Button1Copy.json create mode 100644 pages/Pending POs - SLx Pending/widgets/Container1/Button1Copy2.json create mode 100644 pages/Pending POs - SLx Pending/widgets/Container1/Button2.json create mode 100644 pages/Pending POs - SLx Pending/widgets/Container1/Container1.json create mode 100644 pages/Pending POs - SLx Pending/widgets/Container1/Text1.json create mode 100644 pages/Pending POs - SLx Pending/widgets/Container1/Text2.json create mode 100644 pages/Pending POs - SLx Pending/widgets/Heading.json create mode 100644 pages/Pending POs - SLx Pending/widgets/Table1.json create mode 100644 pages/Sales - Capacity Planning/widgets/Container1/Button2.json create mode 100644 pages/Sales - Capacity Planning/widgets/Container1/Text2.json create mode 100644 pages/Sales - Units Ordered/widgets/Container1/Button2.json create mode 100644 pages/Sales - Units Ordered/widgets/Container1/Text2.json create mode 100644 pages/Sales - Units Shipped/widgets/Container1/Button2.json create mode 100644 pages/Sales - Units Shipped/widgets/Container1/Text2.json diff --git a/application.json b/application.json index 05a0098..5244ba7 100644 --- a/application.json +++ b/application.json @@ -40,6 +40,10 @@ { "id": "Sales - Units Ordered", "isDefault": false + }, + { + "id": "Pending POs - SLx Pending", + "isDefault": false } ], "unpublishedAppLayout": { diff --git a/pages/Pending POs - SLx Pending/Pending POs - SLx Pending.json b/pages/Pending POs - SLx Pending/Pending POs - SLx Pending.json new file mode 100644 index 0000000..bf15239 --- /dev/null +++ b/pages/Pending POs - SLx Pending/Pending POs - SLx Pending.json @@ -0,0 +1,32 @@ +{ + "unpublishedPage": { + "isHidden": false, + "layouts": [ + { + "dsl": { + "backgroundColor": "none", + "bottomRow": 1240, + "canExtend": true, + "containerStyle": "none", + "detachFromLayout": true, + "dynamicBindingPathList": [], + "dynamicTriggerPathList": [], + "leftColumn": 0, + "minHeight": 1292, + "parentColumnSpace": 1, + "parentRowSpace": 1, + "rightColumn": 4896, + "snapColumns": 64, + "snapRows": 124, + "topRow": 0, + "type": "CANVAS_WIDGET", + "version": 94, + "widgetId": "0", + "widgetName": "MainContainer" + } + } + ], + "name": "Pending POs - SLx Pending", + "slug": "pending-pos-slx-pending" + } +} diff --git a/pages/Pending POs - SLx Pending/queries/pending_pos_slx_pending/metadata.json b/pages/Pending POs - SLx Pending/queries/pending_pos_slx_pending/metadata.json new file mode 100644 index 0000000..d8007c2 --- /dev/null +++ b/pages/Pending POs - SLx Pending/queries/pending_pos_slx_pending/metadata.json @@ -0,0 +1,30 @@ +{ + "id": "Pending POs - SLx Pending_pending_pos_slx_pending", + "pluginId": "postgres-plugin", + "pluginType": "DB", + "unpublishedAction": { + "actionConfiguration": { + "body": "select * from mpe.get_prototype_po_dashboard_data(array['34487','35355']::text[]);", + "encodeParamsToggle": true, + "paginationType": "NONE", + "pluginSpecifiedTemplates": [ + { + "value": true + } + ], + "timeoutInMillisecond": 10000 + }, + "confirmBeforeExecute": false, + "datasource": { + "id": "xTuple_Sandbox", + "isAutoGenerated": false, + "name": "xTuple_Sandbox", + "pluginId": "postgres-plugin" + }, + "dynamicBindingPathList": [], + "name": "pending_pos_slx_pending", + "pageId": "Pending POs - SLx Pending", + "runBehaviour": "AUTOMATIC", + "userSetOnLoad": false + } +} diff --git a/pages/Pending POs - SLx Pending/queries/pending_pos_slx_pending/pending_pos_slx_pending.txt b/pages/Pending POs - SLx Pending/queries/pending_pos_slx_pending/pending_pos_slx_pending.txt new file mode 100644 index 0000000..80a566e --- /dev/null +++ b/pages/Pending POs - SLx Pending/queries/pending_pos_slx_pending/pending_pos_slx_pending.txt @@ -0,0 +1 @@ +select * from mpe.get_prototype_po_dashboard_data(array['34487','35355']::text[]); \ No newline at end of file diff --git a/pages/Pending POs - SLx Pending/widgets/Container1/Button1.json b/pages/Pending POs - SLx Pending/widgets/Container1/Button1.json new file mode 100644 index 0000000..14cca2a --- /dev/null +++ b/pages/Pending POs - SLx Pending/widgets/Container1/Button1.json @@ -0,0 +1,45 @@ +{ + "animateLoading": true, + "borderRadius": "0.375rem", + "bottomRow": 8, + "boxShadow": "none", + "buttonColor": "#ffffff", + "buttonVariant": "PRIMARY", + "disabledWhenInvalid": false, + "dynamicBindingPathList": [], + "dynamicTriggerPathList": [ + { + "key": "onClick" + } + ], + "isDefaultClickDisabled": true, + "isDisabled": false, + "isLoading": false, + "isVisible": true, + "key": "0k5ucqsuin", + "leftColumn": 0, + "minWidth": 120, + "mobileBottomRow": 8, + "mobileLeftColumn": 0, + "mobileRightColumn": 16, + "mobileTopRow": 4, + "needsErrorInfo": false, + "onClick": "{{navigateTo('Sales - Capacity Planning', {}, 'SAME_WINDOW');}}", + "originalBottomRow": 8, + "originalTopRow": 4, + "parentColumnSpace": 3.841796875, + "parentId": "pp1canvas01", + "parentRowSpace": 10, + "placement": "START", + "recaptchaType": "V3", + "renderMode": "CANVAS", + "resetFormOnClick": false, + "responsiveBehavior": "hug", + "rightColumn": 64, + "text": "Capacity Planning", + "topRow": 4, + "type": "BUTTON_WIDGET", + "version": 1, + "widgetId": "pp1btncappl", + "widgetName": "Button1" +} diff --git a/pages/Pending POs - SLx Pending/widgets/Container1/Button1Copy.json b/pages/Pending POs - SLx Pending/widgets/Container1/Button1Copy.json new file mode 100644 index 0000000..b57306a --- /dev/null +++ b/pages/Pending POs - SLx Pending/widgets/Container1/Button1Copy.json @@ -0,0 +1,45 @@ +{ + "animateLoading": true, + "borderRadius": "0.375rem", + "bottomRow": 12, + "boxShadow": "none", + "buttonColor": "#ffffff", + "buttonVariant": "PRIMARY", + "disabledWhenInvalid": false, + "dynamicBindingPathList": [], + "dynamicTriggerPathList": [ + { + "key": "onClick" + } + ], + "isDefaultClickDisabled": true, + "isDisabled": false, + "isLoading": false, + "isVisible": true, + "key": "0k5ucqsuin", + "leftColumn": 0, + "minWidth": 120, + "mobileBottomRow": 8, + "mobileLeftColumn": 0, + "mobileRightColumn": 16, + "mobileTopRow": 4, + "needsErrorInfo": false, + "onClick": "{{navigateTo('Sales - Units Shipped', {}, 'SAME_WINDOW');}}", + "originalBottomRow": 12, + "originalTopRow": 8, + "parentColumnSpace": 3.841796875, + "parentId": "pp1canvas01", + "parentRowSpace": 10, + "placement": "START", + "recaptchaType": "V3", + "renderMode": "CANVAS", + "resetFormOnClick": false, + "responsiveBehavior": "hug", + "rightColumn": 64, + "text": "Units Shipped", + "topRow": 8, + "type": "BUTTON_WIDGET", + "version": 1, + "widgetId": "pp1btnships", + "widgetName": "Button1Copy" +} diff --git a/pages/Pending POs - SLx Pending/widgets/Container1/Button1Copy2.json b/pages/Pending POs - SLx Pending/widgets/Container1/Button1Copy2.json new file mode 100644 index 0000000..fab8935 --- /dev/null +++ b/pages/Pending POs - SLx Pending/widgets/Container1/Button1Copy2.json @@ -0,0 +1,45 @@ +{ + "animateLoading": true, + "borderRadius": "0.375rem", + "bottomRow": 16, + "boxShadow": "none", + "buttonColor": "#ffffff", + "buttonVariant": "PRIMARY", + "disabledWhenInvalid": false, + "dynamicBindingPathList": [], + "dynamicTriggerPathList": [ + { + "key": "onClick" + } + ], + "isDefaultClickDisabled": true, + "isDisabled": false, + "isLoading": false, + "isVisible": true, + "key": "0j7c9d2q1h", + "leftColumn": 0, + "minWidth": 120, + "mobileBottomRow": 8, + "mobileLeftColumn": 0, + "mobileRightColumn": 16, + "mobileTopRow": 4, + "needsErrorInfo": false, + "onClick": "{{navigateTo('Sales - Units Ordered', {}, 'SAME_WINDOW');}}", + "originalBottomRow": 16, + "originalTopRow": 12, + "parentColumnSpace": 3.841796875, + "parentId": "pp1canvas01", + "parentRowSpace": 10, + "placement": "START", + "recaptchaType": "V3", + "renderMode": "CANVAS", + "resetFormOnClick": false, + "responsiveBehavior": "hug", + "rightColumn": 64, + "text": "Units Ordered", + "topRow": 12, + "type": "BUTTON_WIDGET", + "version": 1, + "widgetId": "pp1btnorder", + "widgetName": "Button1Copy2" +} diff --git a/pages/Pending POs - SLx Pending/widgets/Container1/Button2.json b/pages/Pending POs - SLx Pending/widgets/Container1/Button2.json new file mode 100644 index 0000000..d33ad75 --- /dev/null +++ b/pages/Pending POs - SLx Pending/widgets/Container1/Button2.json @@ -0,0 +1,49 @@ +{ + "animateLoading": true, + "borderRadius": "0.375rem", + "bottomRow": 26, + "boxShadow": "none", + "buttonColor": "{{appsmith.theme.colors.backgroundColor}}", + "buttonVariant": "PRIMARY", + "disabledWhenInvalid": false, + "dynamicBindingPathList": [ + { + "key": "buttonColor" + } + ], + "dynamicTriggerPathList": [ + { + "key": "onClick" + } + ], + "isDefaultClickDisabled": true, + "isDisabled": false, + "isLoading": false, + "isVisible": true, + "key": "pp1btnkey01", + "leftColumn": 0, + "minWidth": 120, + "mobileBottomRow": 26, + "mobileLeftColumn": 0, + "mobileRightColumn": 16, + "mobileTopRow": 22, + "needsErrorInfo": false, + "onClick": "{{navigateTo('Pending POs - SLx Pending', {}, 'SAME_WINDOW');}}", + "originalBottomRow": 26, + "originalTopRow": 22, + "parentColumnSpace": 3.841796875, + "parentId": "pp1canvas01", + "parentRowSpace": 10, + "placement": "START", + "recaptchaType": "V3", + "renderMode": "CANVAS", + "resetFormOnClick": false, + "responsiveBehavior": "hug", + "rightColumn": 64, + "text": "SLx Pending", + "topRow": 22, + "type": "BUTTON_WIDGET", + "version": 1, + "widgetId": "pp1btnslxpn", + "widgetName": "Button2" +} diff --git a/pages/Pending POs - SLx Pending/widgets/Container1/Container1.json b/pages/Pending POs - SLx Pending/widgets/Container1/Container1.json new file mode 100644 index 0000000..dbda96e --- /dev/null +++ b/pages/Pending POs - SLx Pending/widgets/Container1/Container1.json @@ -0,0 +1,87 @@ +{ + "animateLoading": true, + "backgroundColor": "#FFFFFF", + "borderColor": "#E0DEDE", + "borderRadius": "0px", + "borderWidth": "1", + "bottomRow": 124, + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "children": [ + { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "bottomRow": 1240, + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "canExtend": false, + "containerStyle": "none", + "detachFromLayout": true, + "dynamicBindingPathList": [ + { + "key": "borderRadius" + }, + { + "key": "boxShadow" + } + ], + "dynamicHeight": "AUTO_HEIGHT", + "flexLayers": [], + "isLoading": false, + "isVisible": true, + "key": "xorz42kdhi", + "leftColumn": 0, + "maxDynamicHeight": 9000, + "minDynamicHeight": 4, + "minHeight": 100, + "minWidth": 450, + "mobileBottomRow": 100, + "mobileLeftColumn": 0, + "mobileRightColumn": 132.9375, + "mobileTopRow": 0, + "needsErrorInfo": false, + "parentColumnSpace": 1, + "parentId": "pp1c0ntain", + "parentRowSpace": 1, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 132.9375, + "topRow": 0, + "type": "CANVAS_WIDGET", + "version": 1, + "widgetId": "pp1canvas01", + "widgetName": "Canvas1" + } + ], + "containerStyle": "card", + "dynamicBindingPathList": [ + { + "key": "boxShadow" + } + ], + "dynamicHeight": "FIXED", + "dynamicTriggerPathList": [], + "flexVerticalAlignment": "stretch", + "isCanvas": true, + "isLoading": false, + "isVisible": true, + "key": "36jaq5m9iy", + "leftColumn": 0, + "maxDynamicHeight": 12, + "minDynamicHeight": 10, + "minWidth": 450, + "mobileBottomRow": 10, + "mobileLeftColumn": 0, + "mobileRightColumn": 3, + "mobileTopRow": 0, + "needsErrorInfo": false, + "parentColumnSpace": 44.3125, + "parentId": "0", + "parentRowSpace": 10, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 9, + "shouldScrollContents": true, + "topRow": 0, + "type": "CONTAINER_WIDGET", + "version": 1, + "widgetId": "pp1c0ntain", + "widgetName": "Container1" +} diff --git a/pages/Pending POs - SLx Pending/widgets/Container1/Text1.json b/pages/Pending POs - SLx Pending/widgets/Container1/Text1.json new file mode 100644 index 0000000..4fb4618 --- /dev/null +++ b/pages/Pending POs - SLx Pending/widgets/Container1/Text1.json @@ -0,0 +1,52 @@ +{ + "animateLoading": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "bottomRow": 4, + "dynamicBindingPathList": [ + { + "key": "truncateButtonColor" + }, + { + "key": "fontFamily" + }, + { + "key": "borderRadius" + } + ], + "dynamicHeight": "AUTO_HEIGHT", + "dynamicTriggerPathList": [], + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "fontSize": "1rem", + "fontStyle": "BOLD", + "isLoading": false, + "isVisible": true, + "key": "01n8bhu9n6", + "leftColumn": 0, + "maxDynamicHeight": 9000, + "minDynamicHeight": 4, + "minWidth": 450, + "mobileBottomRow": 6, + "mobileLeftColumn": 10, + "mobileRightColumn": 26, + "mobileTopRow": 2, + "needsErrorInfo": false, + "originalBottomRow": 4, + "originalTopRow": 0, + "overflow": "NONE", + "parentColumnSpace": 3.841796875, + "parentId": "pp1canvas01", + "parentRowSpace": 10, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 64, + "shouldTruncate": false, + "text": "Sales", + "textAlign": "LEFT", + "textColor": "#231F20", + "topRow": 0, + "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", + "type": "TEXT_WIDGET", + "version": 1, + "widgetId": "pp1txtsales", + "widgetName": "Text1" +} diff --git a/pages/Pending POs - SLx Pending/widgets/Container1/Text2.json b/pages/Pending POs - SLx Pending/widgets/Container1/Text2.json new file mode 100644 index 0000000..4b324ea --- /dev/null +++ b/pages/Pending POs - SLx Pending/widgets/Container1/Text2.json @@ -0,0 +1,52 @@ +{ + "animateLoading": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "bottomRow": 22, + "dynamicBindingPathList": [ + { + "key": "truncateButtonColor" + }, + { + "key": "fontFamily" + }, + { + "key": "borderRadius" + } + ], + "dynamicHeight": "AUTO_HEIGHT", + "dynamicTriggerPathList": [], + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "fontSize": "1rem", + "fontStyle": "BOLD", + "isLoading": false, + "isVisible": true, + "key": "pp1txkey01", + "leftColumn": 0, + "maxDynamicHeight": 9000, + "minDynamicHeight": 4, + "minWidth": 450, + "mobileBottomRow": 22, + "mobileLeftColumn": 10, + "mobileRightColumn": 26, + "mobileTopRow": 18, + "needsErrorInfo": false, + "originalBottomRow": 22, + "originalTopRow": 18, + "overflow": "NONE", + "parentColumnSpace": 3.841796875, + "parentId": "pp1canvas01", + "parentRowSpace": 10, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 64, + "shouldTruncate": false, + "text": "Pending POs", + "textAlign": "LEFT", + "textColor": "#231F20", + "topRow": 18, + "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", + "type": "TEXT_WIDGET", + "version": 1, + "widgetId": "pp1txtpndpo", + "widgetName": "Text2" +} diff --git a/pages/Pending POs - SLx Pending/widgets/Heading.json b/pages/Pending POs - SLx Pending/widgets/Heading.json new file mode 100644 index 0000000..2bce6ee --- /dev/null +++ b/pages/Pending POs - SLx Pending/widgets/Heading.json @@ -0,0 +1,52 @@ +{ + "animateLoading": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "bottomRow": 5, + "dynamicBindingPathList": [ + { + "key": "truncateButtonColor" + }, + { + "key": "fontFamily" + }, + { + "key": "borderRadius" + } + ], + "dynamicHeight": "AUTO_HEIGHT", + "dynamicTriggerPathList": [], + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "fontSize": "1.875rem", + "fontStyle": "BOLD", + "isLoading": false, + "isVisible": true, + "key": "pp1hdkey01", + "leftColumn": 9, + "maxDynamicHeight": 9000, + "minDynamicHeight": 4, + "minWidth": 450, + "mobileBottomRow": 5, + "mobileLeftColumn": 1, + "mobileRightColumn": 17, + "mobileTopRow": 1, + "needsErrorInfo": false, + "originalBottomRow": 5, + "originalTopRow": 0, + "overflow": "NONE", + "parentColumnSpace": 25.109375, + "parentId": "0", + "parentRowSpace": 10, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 64, + "shouldTruncate": false, + "text": "Pending POs - SLx Pending", + "textAlign": "LEFT", + "textColor": "#231F20", + "topRow": 0, + "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", + "type": "TEXT_WIDGET", + "version": 1, + "widgetId": "pp1heading1", + "widgetName": "Heading" +} diff --git a/pages/Pending POs - SLx Pending/widgets/Table1.json b/pages/Pending POs - SLx Pending/widgets/Table1.json new file mode 100644 index 0000000..e7cd696 --- /dev/null +++ b/pages/Pending POs - SLx Pending/widgets/Table1.json @@ -0,0 +1,102 @@ +{ + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "animateLoading": true, + "borderColor": "#E0DEDE", + "borderRadius": "0.375rem", + "borderWidth": "1", + "bottomRow": 67, + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "cachedTableData": {}, + "canFreezeColumn": true, + "childStylesheet": { + "button": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "editActions": { + "discardBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "discardButtonColor": "{{appsmith.theme.colors.primaryColor}}", + "saveBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "saveButtonColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "iconButton": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "menuButton": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none", + "menuColor": "{{appsmith.theme.colors.primaryColor}}" + } + }, + "columnOrder": [], + "columnWidthMap": {}, + "compactMode": "SHORT", + "customIsLoading": false, + "customIsLoadingValue": "", + "defaultPageSize": 0, + "defaultSelectedRowIndex": 0, + "defaultSelectedRowIndices": [ + 0 + ], + "delimiter": ",", + "dynamicBindingPathList": [ + { + "key": "accentColor" + }, + { + "key": "boxShadow" + }, + { + "key": "tableData" + } + ], + "dynamicPropertyPathList": [ + { + "key": "textSize" + } + ], + "dynamicTriggerPathList": [], + "enableClientSideSearch": true, + "endOfData": false, + "flexVerticalAlignment": "start", + "horizontalAlignment": "LEFT", + "inlineEditingSaveOption": "ROW_LEVEL", + "isLoading": false, + "isSortable": true, + "isVisible": true, + "isVisibleDownload": true, + "isVisibleFilters": false, + "isVisiblePagination": true, + "isVisibleSearch": false, + "key": "pp1tblkey01", + "label": "Data", + "leftColumn": 9, + "minWidth": 450, + "mobileBottomRow": 31, + "mobileLeftColumn": 15, + "mobileRightColumn": 64, + "mobileTopRow": 10, + "needsErrorInfo": false, + "originalBottomRow": 67, + "originalTopRow": 5, + "parentColumnSpace": 11.265625, + "parentId": "0", + "parentRowSpace": 10, + "primaryColumns": {}, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 64, + "searchKey": "", + "tableData": "{{pending_pos_slx_pending.data}}", + "textSize": "0.775rem", + "topRow": 5, + "totalRecordsCount": 0, + "type": "TABLE_WIDGET_V2", + "version": 2, + "verticalAlignment": "CENTER", + "widgetId": "pp1table001", + "widgetName": "Table1" +} diff --git a/pages/Sales - Capacity Planning/widgets/Container1/Button2.json b/pages/Sales - Capacity Planning/widgets/Container1/Button2.json new file mode 100644 index 0000000..1da207b --- /dev/null +++ b/pages/Sales - Capacity Planning/widgets/Container1/Button2.json @@ -0,0 +1,45 @@ +{ + "animateLoading": true, + "borderRadius": "0.375rem", + "bottomRow": 26, + "boxShadow": "none", + "buttonColor": "#ffffff", + "buttonVariant": "PRIMARY", + "disabledWhenInvalid": false, + "dynamicBindingPathList": [], + "dynamicTriggerPathList": [ + { + "key": "onClick" + } + ], + "isDefaultClickDisabled": true, + "isDisabled": false, + "isLoading": false, + "isVisible": true, + "key": "cp1btnkey01", + "leftColumn": 0, + "minWidth": 120, + "mobileBottomRow": 26, + "mobileLeftColumn": 0, + "mobileRightColumn": 16, + "mobileTopRow": 22, + "needsErrorInfo": false, + "onClick": "{{navigateTo('Pending POs - SLx Pending', {}, 'SAME_WINDOW');}}", + "originalBottomRow": 26, + "originalTopRow": 22, + "parentColumnSpace": 3.841796875, + "parentId": "x3pc17vp6q", + "parentRowSpace": 10, + "placement": "START", + "recaptchaType": "V3", + "renderMode": "CANVAS", + "resetFormOnClick": false, + "responsiveBehavior": "hug", + "rightColumn": 64, + "text": "SLx Pending", + "topRow": 22, + "type": "BUTTON_WIDGET", + "version": 1, + "widgetId": "cp1btnslxpn", + "widgetName": "Button2" +} diff --git a/pages/Sales - Capacity Planning/widgets/Container1/Text2.json b/pages/Sales - Capacity Planning/widgets/Container1/Text2.json new file mode 100644 index 0000000..7172c02 --- /dev/null +++ b/pages/Sales - Capacity Planning/widgets/Container1/Text2.json @@ -0,0 +1,52 @@ +{ + "animateLoading": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "bottomRow": 22, + "dynamicBindingPathList": [ + { + "key": "truncateButtonColor" + }, + { + "key": "fontFamily" + }, + { + "key": "borderRadius" + } + ], + "dynamicHeight": "AUTO_HEIGHT", + "dynamicTriggerPathList": [], + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "fontSize": "1rem", + "fontStyle": "BOLD", + "isLoading": false, + "isVisible": true, + "key": "cp1txkey01", + "leftColumn": 0, + "maxDynamicHeight": 9000, + "minDynamicHeight": 4, + "minWidth": 450, + "mobileBottomRow": 22, + "mobileLeftColumn": 10, + "mobileRightColumn": 26, + "mobileTopRow": 18, + "needsErrorInfo": false, + "originalBottomRow": 22, + "originalTopRow": 18, + "overflow": "NONE", + "parentColumnSpace": 3.841796875, + "parentId": "x3pc17vp6q", + "parentRowSpace": 10, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 64, + "shouldTruncate": false, + "text": "Pending POs", + "textAlign": "LEFT", + "textColor": "#231F20", + "topRow": 18, + "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", + "type": "TEXT_WIDGET", + "version": 1, + "widgetId": "cp1txtpndpo", + "widgetName": "Text2" +} diff --git a/pages/Sales - Units Ordered/widgets/Container1/Button2.json b/pages/Sales - Units Ordered/widgets/Container1/Button2.json new file mode 100644 index 0000000..da55f1f --- /dev/null +++ b/pages/Sales - Units Ordered/widgets/Container1/Button2.json @@ -0,0 +1,45 @@ +{ + "animateLoading": true, + "borderRadius": "0.375rem", + "bottomRow": 26, + "boxShadow": "none", + "buttonColor": "#ffffff", + "buttonVariant": "PRIMARY", + "disabledWhenInvalid": false, + "dynamicBindingPathList": [], + "dynamicTriggerPathList": [ + { + "key": "onClick" + } + ], + "isDefaultClickDisabled": true, + "isDisabled": false, + "isLoading": false, + "isVisible": true, + "key": "uo1btnkey01", + "leftColumn": 0, + "minWidth": 120, + "mobileBottomRow": 26, + "mobileLeftColumn": 0, + "mobileRightColumn": 16, + "mobileTopRow": 22, + "needsErrorInfo": false, + "onClick": "{{navigateTo('Pending POs - SLx Pending', {}, 'SAME_WINDOW');}}", + "originalBottomRow": 26, + "originalTopRow": 22, + "parentColumnSpace": 3.841796875, + "parentId": "wj6fxg5wpg", + "parentRowSpace": 10, + "placement": "START", + "recaptchaType": "V3", + "renderMode": "CANVAS", + "resetFormOnClick": false, + "responsiveBehavior": "hug", + "rightColumn": 64, + "text": "SLx Pending", + "topRow": 22, + "type": "BUTTON_WIDGET", + "version": 1, + "widgetId": "uo1btnslxpn", + "widgetName": "Button2" +} diff --git a/pages/Sales - Units Ordered/widgets/Container1/Text2.json b/pages/Sales - Units Ordered/widgets/Container1/Text2.json new file mode 100644 index 0000000..54da201 --- /dev/null +++ b/pages/Sales - Units Ordered/widgets/Container1/Text2.json @@ -0,0 +1,52 @@ +{ + "animateLoading": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "bottomRow": 22, + "dynamicBindingPathList": [ + { + "key": "truncateButtonColor" + }, + { + "key": "fontFamily" + }, + { + "key": "borderRadius" + } + ], + "dynamicHeight": "AUTO_HEIGHT", + "dynamicTriggerPathList": [], + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "fontSize": "1rem", + "fontStyle": "BOLD", + "isLoading": false, + "isVisible": true, + "key": "uo1txkey01", + "leftColumn": 0, + "maxDynamicHeight": 9000, + "minDynamicHeight": 4, + "minWidth": 450, + "mobileBottomRow": 22, + "mobileLeftColumn": 10, + "mobileRightColumn": 26, + "mobileTopRow": 18, + "needsErrorInfo": false, + "originalBottomRow": 22, + "originalTopRow": 18, + "overflow": "NONE", + "parentColumnSpace": 3.841796875, + "parentId": "wj6fxg5wpg", + "parentRowSpace": 10, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 64, + "shouldTruncate": false, + "text": "Pending POs", + "textAlign": "LEFT", + "textColor": "#231F20", + "topRow": 18, + "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", + "type": "TEXT_WIDGET", + "version": 1, + "widgetId": "uo1txtpndpo", + "widgetName": "Text2" +} diff --git a/pages/Sales - Units Shipped/widgets/Container1/Button2.json b/pages/Sales - Units Shipped/widgets/Container1/Button2.json new file mode 100644 index 0000000..5a18fab --- /dev/null +++ b/pages/Sales - Units Shipped/widgets/Container1/Button2.json @@ -0,0 +1,45 @@ +{ + "animateLoading": true, + "borderRadius": "0.375rem", + "bottomRow": 26, + "boxShadow": "none", + "buttonColor": "#ffffff", + "buttonVariant": "PRIMARY", + "disabledWhenInvalid": false, + "dynamicBindingPathList": [], + "dynamicTriggerPathList": [ + { + "key": "onClick" + } + ], + "isDefaultClickDisabled": true, + "isDisabled": false, + "isLoading": false, + "isVisible": true, + "key": "us1btnkey01", + "leftColumn": 0, + "minWidth": 120, + "mobileBottomRow": 26, + "mobileLeftColumn": 0, + "mobileRightColumn": 16, + "mobileTopRow": 22, + "needsErrorInfo": false, + "onClick": "{{navigateTo('Pending POs - SLx Pending', {}, 'SAME_WINDOW');}}", + "originalBottomRow": 26, + "originalTopRow": 22, + "parentColumnSpace": 3.841796875, + "parentId": "wj6fxg5wpg", + "parentRowSpace": 10, + "placement": "START", + "recaptchaType": "V3", + "renderMode": "CANVAS", + "resetFormOnClick": false, + "responsiveBehavior": "hug", + "rightColumn": 64, + "text": "SLx Pending", + "topRow": 22, + "type": "BUTTON_WIDGET", + "version": 1, + "widgetId": "us1btnslxpn", + "widgetName": "Button2" +} diff --git a/pages/Sales - Units Shipped/widgets/Container1/Text2.json b/pages/Sales - Units Shipped/widgets/Container1/Text2.json new file mode 100644 index 0000000..3642c05 --- /dev/null +++ b/pages/Sales - Units Shipped/widgets/Container1/Text2.json @@ -0,0 +1,52 @@ +{ + "animateLoading": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "bottomRow": 22, + "dynamicBindingPathList": [ + { + "key": "truncateButtonColor" + }, + { + "key": "fontFamily" + }, + { + "key": "borderRadius" + } + ], + "dynamicHeight": "AUTO_HEIGHT", + "dynamicTriggerPathList": [], + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "fontSize": "1rem", + "fontStyle": "BOLD", + "isLoading": false, + "isVisible": true, + "key": "us1txkey01", + "leftColumn": 0, + "maxDynamicHeight": 9000, + "minDynamicHeight": 4, + "minWidth": 450, + "mobileBottomRow": 22, + "mobileLeftColumn": 10, + "mobileRightColumn": 26, + "mobileTopRow": 18, + "needsErrorInfo": false, + "originalBottomRow": 22, + "originalTopRow": 18, + "overflow": "NONE", + "parentColumnSpace": 3.841796875, + "parentId": "wj6fxg5wpg", + "parentRowSpace": 10, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 64, + "shouldTruncate": false, + "text": "Pending POs", + "textAlign": "LEFT", + "textColor": "#231F20", + "topRow": 18, + "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", + "type": "TEXT_WIDGET", + "version": 1, + "widgetId": "us1txtpndpo", + "widgetName": "Text2" +} From efb579e9a0b153f84f5fec48ffedb9c58aa8bdc5 Mon Sep 17 00:00:00 2001 From: ibariss Date: Fri, 27 Feb 2026 12:12:35 +0000 Subject: [PATCH 42/71] again some kind of auto revert --- application.json | 4 - .../Pending POs - SLx Pending.json | 32 ------ .../pending_pos_slx_pending/metadata.json | 30 ------ .../pending_pos_slx_pending.txt | 1 - .../widgets/Container1/Button1.json | 45 -------- .../widgets/Container1/Button1Copy.json | 45 -------- .../widgets/Container1/Button1Copy2.json | 45 -------- .../widgets/Container1/Button2.json | 49 --------- .../widgets/Container1/Container1.json | 87 --------------- .../widgets/Container1/Text1.json | 52 --------- .../widgets/Container1/Text2.json | 52 --------- .../widgets/Heading.json | 52 --------- .../widgets/Table1.json | 102 ------------------ .../widgets/Container1/Button2.json | 45 -------- .../widgets/Container1/Text2.json | 52 --------- .../widgets/Container1/Button2.json | 45 -------- .../widgets/Container1/Text2.json | 52 --------- .../widgets/Container1/Button2.json | 45 -------- .../widgets/Container1/Text2.json | 52 --------- 19 files changed, 887 deletions(-) delete mode 100644 pages/Pending POs - SLx Pending/Pending POs - SLx Pending.json delete mode 100644 pages/Pending POs - SLx Pending/queries/pending_pos_slx_pending/metadata.json delete mode 100644 pages/Pending POs - SLx Pending/queries/pending_pos_slx_pending/pending_pos_slx_pending.txt delete mode 100644 pages/Pending POs - SLx Pending/widgets/Container1/Button1.json delete mode 100644 pages/Pending POs - SLx Pending/widgets/Container1/Button1Copy.json delete mode 100644 pages/Pending POs - SLx Pending/widgets/Container1/Button1Copy2.json delete mode 100644 pages/Pending POs - SLx Pending/widgets/Container1/Button2.json delete mode 100644 pages/Pending POs - SLx Pending/widgets/Container1/Container1.json delete mode 100644 pages/Pending POs - SLx Pending/widgets/Container1/Text1.json delete mode 100644 pages/Pending POs - SLx Pending/widgets/Container1/Text2.json delete mode 100644 pages/Pending POs - SLx Pending/widgets/Heading.json delete mode 100644 pages/Pending POs - SLx Pending/widgets/Table1.json delete mode 100644 pages/Sales - Capacity Planning/widgets/Container1/Button2.json delete mode 100644 pages/Sales - Capacity Planning/widgets/Container1/Text2.json delete mode 100644 pages/Sales - Units Ordered/widgets/Container1/Button2.json delete mode 100644 pages/Sales - Units Ordered/widgets/Container1/Text2.json delete mode 100644 pages/Sales - Units Shipped/widgets/Container1/Button2.json delete mode 100644 pages/Sales - Units Shipped/widgets/Container1/Text2.json diff --git a/application.json b/application.json index 5244ba7..05a0098 100644 --- a/application.json +++ b/application.json @@ -40,10 +40,6 @@ { "id": "Sales - Units Ordered", "isDefault": false - }, - { - "id": "Pending POs - SLx Pending", - "isDefault": false } ], "unpublishedAppLayout": { diff --git a/pages/Pending POs - SLx Pending/Pending POs - SLx Pending.json b/pages/Pending POs - SLx Pending/Pending POs - SLx Pending.json deleted file mode 100644 index bf15239..0000000 --- a/pages/Pending POs - SLx Pending/Pending POs - SLx Pending.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "unpublishedPage": { - "isHidden": false, - "layouts": [ - { - "dsl": { - "backgroundColor": "none", - "bottomRow": 1240, - "canExtend": true, - "containerStyle": "none", - "detachFromLayout": true, - "dynamicBindingPathList": [], - "dynamicTriggerPathList": [], - "leftColumn": 0, - "minHeight": 1292, - "parentColumnSpace": 1, - "parentRowSpace": 1, - "rightColumn": 4896, - "snapColumns": 64, - "snapRows": 124, - "topRow": 0, - "type": "CANVAS_WIDGET", - "version": 94, - "widgetId": "0", - "widgetName": "MainContainer" - } - } - ], - "name": "Pending POs - SLx Pending", - "slug": "pending-pos-slx-pending" - } -} diff --git a/pages/Pending POs - SLx Pending/queries/pending_pos_slx_pending/metadata.json b/pages/Pending POs - SLx Pending/queries/pending_pos_slx_pending/metadata.json deleted file mode 100644 index d8007c2..0000000 --- a/pages/Pending POs - SLx Pending/queries/pending_pos_slx_pending/metadata.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "id": "Pending POs - SLx Pending_pending_pos_slx_pending", - "pluginId": "postgres-plugin", - "pluginType": "DB", - "unpublishedAction": { - "actionConfiguration": { - "body": "select * from mpe.get_prototype_po_dashboard_data(array['34487','35355']::text[]);", - "encodeParamsToggle": true, - "paginationType": "NONE", - "pluginSpecifiedTemplates": [ - { - "value": true - } - ], - "timeoutInMillisecond": 10000 - }, - "confirmBeforeExecute": false, - "datasource": { - "id": "xTuple_Sandbox", - "isAutoGenerated": false, - "name": "xTuple_Sandbox", - "pluginId": "postgres-plugin" - }, - "dynamicBindingPathList": [], - "name": "pending_pos_slx_pending", - "pageId": "Pending POs - SLx Pending", - "runBehaviour": "AUTOMATIC", - "userSetOnLoad": false - } -} diff --git a/pages/Pending POs - SLx Pending/queries/pending_pos_slx_pending/pending_pos_slx_pending.txt b/pages/Pending POs - SLx Pending/queries/pending_pos_slx_pending/pending_pos_slx_pending.txt deleted file mode 100644 index 80a566e..0000000 --- a/pages/Pending POs - SLx Pending/queries/pending_pos_slx_pending/pending_pos_slx_pending.txt +++ /dev/null @@ -1 +0,0 @@ -select * from mpe.get_prototype_po_dashboard_data(array['34487','35355']::text[]); \ No newline at end of file diff --git a/pages/Pending POs - SLx Pending/widgets/Container1/Button1.json b/pages/Pending POs - SLx Pending/widgets/Container1/Button1.json deleted file mode 100644 index 14cca2a..0000000 --- a/pages/Pending POs - SLx Pending/widgets/Container1/Button1.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "animateLoading": true, - "borderRadius": "0.375rem", - "bottomRow": 8, - "boxShadow": "none", - "buttonColor": "#ffffff", - "buttonVariant": "PRIMARY", - "disabledWhenInvalid": false, - "dynamicBindingPathList": [], - "dynamicTriggerPathList": [ - { - "key": "onClick" - } - ], - "isDefaultClickDisabled": true, - "isDisabled": false, - "isLoading": false, - "isVisible": true, - "key": "0k5ucqsuin", - "leftColumn": 0, - "minWidth": 120, - "mobileBottomRow": 8, - "mobileLeftColumn": 0, - "mobileRightColumn": 16, - "mobileTopRow": 4, - "needsErrorInfo": false, - "onClick": "{{navigateTo('Sales - Capacity Planning', {}, 'SAME_WINDOW');}}", - "originalBottomRow": 8, - "originalTopRow": 4, - "parentColumnSpace": 3.841796875, - "parentId": "pp1canvas01", - "parentRowSpace": 10, - "placement": "START", - "recaptchaType": "V3", - "renderMode": "CANVAS", - "resetFormOnClick": false, - "responsiveBehavior": "hug", - "rightColumn": 64, - "text": "Capacity Planning", - "topRow": 4, - "type": "BUTTON_WIDGET", - "version": 1, - "widgetId": "pp1btncappl", - "widgetName": "Button1" -} diff --git a/pages/Pending POs - SLx Pending/widgets/Container1/Button1Copy.json b/pages/Pending POs - SLx Pending/widgets/Container1/Button1Copy.json deleted file mode 100644 index b57306a..0000000 --- a/pages/Pending POs - SLx Pending/widgets/Container1/Button1Copy.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "animateLoading": true, - "borderRadius": "0.375rem", - "bottomRow": 12, - "boxShadow": "none", - "buttonColor": "#ffffff", - "buttonVariant": "PRIMARY", - "disabledWhenInvalid": false, - "dynamicBindingPathList": [], - "dynamicTriggerPathList": [ - { - "key": "onClick" - } - ], - "isDefaultClickDisabled": true, - "isDisabled": false, - "isLoading": false, - "isVisible": true, - "key": "0k5ucqsuin", - "leftColumn": 0, - "minWidth": 120, - "mobileBottomRow": 8, - "mobileLeftColumn": 0, - "mobileRightColumn": 16, - "mobileTopRow": 4, - "needsErrorInfo": false, - "onClick": "{{navigateTo('Sales - Units Shipped', {}, 'SAME_WINDOW');}}", - "originalBottomRow": 12, - "originalTopRow": 8, - "parentColumnSpace": 3.841796875, - "parentId": "pp1canvas01", - "parentRowSpace": 10, - "placement": "START", - "recaptchaType": "V3", - "renderMode": "CANVAS", - "resetFormOnClick": false, - "responsiveBehavior": "hug", - "rightColumn": 64, - "text": "Units Shipped", - "topRow": 8, - "type": "BUTTON_WIDGET", - "version": 1, - "widgetId": "pp1btnships", - "widgetName": "Button1Copy" -} diff --git a/pages/Pending POs - SLx Pending/widgets/Container1/Button1Copy2.json b/pages/Pending POs - SLx Pending/widgets/Container1/Button1Copy2.json deleted file mode 100644 index fab8935..0000000 --- a/pages/Pending POs - SLx Pending/widgets/Container1/Button1Copy2.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "animateLoading": true, - "borderRadius": "0.375rem", - "bottomRow": 16, - "boxShadow": "none", - "buttonColor": "#ffffff", - "buttonVariant": "PRIMARY", - "disabledWhenInvalid": false, - "dynamicBindingPathList": [], - "dynamicTriggerPathList": [ - { - "key": "onClick" - } - ], - "isDefaultClickDisabled": true, - "isDisabled": false, - "isLoading": false, - "isVisible": true, - "key": "0j7c9d2q1h", - "leftColumn": 0, - "minWidth": 120, - "mobileBottomRow": 8, - "mobileLeftColumn": 0, - "mobileRightColumn": 16, - "mobileTopRow": 4, - "needsErrorInfo": false, - "onClick": "{{navigateTo('Sales - Units Ordered', {}, 'SAME_WINDOW');}}", - "originalBottomRow": 16, - "originalTopRow": 12, - "parentColumnSpace": 3.841796875, - "parentId": "pp1canvas01", - "parentRowSpace": 10, - "placement": "START", - "recaptchaType": "V3", - "renderMode": "CANVAS", - "resetFormOnClick": false, - "responsiveBehavior": "hug", - "rightColumn": 64, - "text": "Units Ordered", - "topRow": 12, - "type": "BUTTON_WIDGET", - "version": 1, - "widgetId": "pp1btnorder", - "widgetName": "Button1Copy2" -} diff --git a/pages/Pending POs - SLx Pending/widgets/Container1/Button2.json b/pages/Pending POs - SLx Pending/widgets/Container1/Button2.json deleted file mode 100644 index d33ad75..0000000 --- a/pages/Pending POs - SLx Pending/widgets/Container1/Button2.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "animateLoading": true, - "borderRadius": "0.375rem", - "bottomRow": 26, - "boxShadow": "none", - "buttonColor": "{{appsmith.theme.colors.backgroundColor}}", - "buttonVariant": "PRIMARY", - "disabledWhenInvalid": false, - "dynamicBindingPathList": [ - { - "key": "buttonColor" - } - ], - "dynamicTriggerPathList": [ - { - "key": "onClick" - } - ], - "isDefaultClickDisabled": true, - "isDisabled": false, - "isLoading": false, - "isVisible": true, - "key": "pp1btnkey01", - "leftColumn": 0, - "minWidth": 120, - "mobileBottomRow": 26, - "mobileLeftColumn": 0, - "mobileRightColumn": 16, - "mobileTopRow": 22, - "needsErrorInfo": false, - "onClick": "{{navigateTo('Pending POs - SLx Pending', {}, 'SAME_WINDOW');}}", - "originalBottomRow": 26, - "originalTopRow": 22, - "parentColumnSpace": 3.841796875, - "parentId": "pp1canvas01", - "parentRowSpace": 10, - "placement": "START", - "recaptchaType": "V3", - "renderMode": "CANVAS", - "resetFormOnClick": false, - "responsiveBehavior": "hug", - "rightColumn": 64, - "text": "SLx Pending", - "topRow": 22, - "type": "BUTTON_WIDGET", - "version": 1, - "widgetId": "pp1btnslxpn", - "widgetName": "Button2" -} diff --git a/pages/Pending POs - SLx Pending/widgets/Container1/Container1.json b/pages/Pending POs - SLx Pending/widgets/Container1/Container1.json deleted file mode 100644 index dbda96e..0000000 --- a/pages/Pending POs - SLx Pending/widgets/Container1/Container1.json +++ /dev/null @@ -1,87 +0,0 @@ -{ - "animateLoading": true, - "backgroundColor": "#FFFFFF", - "borderColor": "#E0DEDE", - "borderRadius": "0px", - "borderWidth": "1", - "bottomRow": 124, - "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", - "children": [ - { - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 1240, - "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", - "canExtend": false, - "containerStyle": "none", - "detachFromLayout": true, - "dynamicBindingPathList": [ - { - "key": "borderRadius" - }, - { - "key": "boxShadow" - } - ], - "dynamicHeight": "AUTO_HEIGHT", - "flexLayers": [], - "isLoading": false, - "isVisible": true, - "key": "xorz42kdhi", - "leftColumn": 0, - "maxDynamicHeight": 9000, - "minDynamicHeight": 4, - "minHeight": 100, - "minWidth": 450, - "mobileBottomRow": 100, - "mobileLeftColumn": 0, - "mobileRightColumn": 132.9375, - "mobileTopRow": 0, - "needsErrorInfo": false, - "parentColumnSpace": 1, - "parentId": "pp1c0ntain", - "parentRowSpace": 1, - "renderMode": "CANVAS", - "responsiveBehavior": "fill", - "rightColumn": 132.9375, - "topRow": 0, - "type": "CANVAS_WIDGET", - "version": 1, - "widgetId": "pp1canvas01", - "widgetName": "Canvas1" - } - ], - "containerStyle": "card", - "dynamicBindingPathList": [ - { - "key": "boxShadow" - } - ], - "dynamicHeight": "FIXED", - "dynamicTriggerPathList": [], - "flexVerticalAlignment": "stretch", - "isCanvas": true, - "isLoading": false, - "isVisible": true, - "key": "36jaq5m9iy", - "leftColumn": 0, - "maxDynamicHeight": 12, - "minDynamicHeight": 10, - "minWidth": 450, - "mobileBottomRow": 10, - "mobileLeftColumn": 0, - "mobileRightColumn": 3, - "mobileTopRow": 0, - "needsErrorInfo": false, - "parentColumnSpace": 44.3125, - "parentId": "0", - "parentRowSpace": 10, - "renderMode": "CANVAS", - "responsiveBehavior": "fill", - "rightColumn": 9, - "shouldScrollContents": true, - "topRow": 0, - "type": "CONTAINER_WIDGET", - "version": 1, - "widgetId": "pp1c0ntain", - "widgetName": "Container1" -} diff --git a/pages/Pending POs - SLx Pending/widgets/Container1/Text1.json b/pages/Pending POs - SLx Pending/widgets/Container1/Text1.json deleted file mode 100644 index 4fb4618..0000000 --- a/pages/Pending POs - SLx Pending/widgets/Container1/Text1.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "animateLoading": true, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 4, - "dynamicBindingPathList": [ - { - "key": "truncateButtonColor" - }, - { - "key": "fontFamily" - }, - { - "key": "borderRadius" - } - ], - "dynamicHeight": "AUTO_HEIGHT", - "dynamicTriggerPathList": [], - "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", - "fontSize": "1rem", - "fontStyle": "BOLD", - "isLoading": false, - "isVisible": true, - "key": "01n8bhu9n6", - "leftColumn": 0, - "maxDynamicHeight": 9000, - "minDynamicHeight": 4, - "minWidth": 450, - "mobileBottomRow": 6, - "mobileLeftColumn": 10, - "mobileRightColumn": 26, - "mobileTopRow": 2, - "needsErrorInfo": false, - "originalBottomRow": 4, - "originalTopRow": 0, - "overflow": "NONE", - "parentColumnSpace": 3.841796875, - "parentId": "pp1canvas01", - "parentRowSpace": 10, - "renderMode": "CANVAS", - "responsiveBehavior": "fill", - "rightColumn": 64, - "shouldTruncate": false, - "text": "Sales", - "textAlign": "LEFT", - "textColor": "#231F20", - "topRow": 0, - "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", - "type": "TEXT_WIDGET", - "version": 1, - "widgetId": "pp1txtsales", - "widgetName": "Text1" -} diff --git a/pages/Pending POs - SLx Pending/widgets/Container1/Text2.json b/pages/Pending POs - SLx Pending/widgets/Container1/Text2.json deleted file mode 100644 index 4b324ea..0000000 --- a/pages/Pending POs - SLx Pending/widgets/Container1/Text2.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "animateLoading": true, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 22, - "dynamicBindingPathList": [ - { - "key": "truncateButtonColor" - }, - { - "key": "fontFamily" - }, - { - "key": "borderRadius" - } - ], - "dynamicHeight": "AUTO_HEIGHT", - "dynamicTriggerPathList": [], - "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", - "fontSize": "1rem", - "fontStyle": "BOLD", - "isLoading": false, - "isVisible": true, - "key": "pp1txkey01", - "leftColumn": 0, - "maxDynamicHeight": 9000, - "minDynamicHeight": 4, - "minWidth": 450, - "mobileBottomRow": 22, - "mobileLeftColumn": 10, - "mobileRightColumn": 26, - "mobileTopRow": 18, - "needsErrorInfo": false, - "originalBottomRow": 22, - "originalTopRow": 18, - "overflow": "NONE", - "parentColumnSpace": 3.841796875, - "parentId": "pp1canvas01", - "parentRowSpace": 10, - "renderMode": "CANVAS", - "responsiveBehavior": "fill", - "rightColumn": 64, - "shouldTruncate": false, - "text": "Pending POs", - "textAlign": "LEFT", - "textColor": "#231F20", - "topRow": 18, - "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", - "type": "TEXT_WIDGET", - "version": 1, - "widgetId": "pp1txtpndpo", - "widgetName": "Text2" -} diff --git a/pages/Pending POs - SLx Pending/widgets/Heading.json b/pages/Pending POs - SLx Pending/widgets/Heading.json deleted file mode 100644 index 2bce6ee..0000000 --- a/pages/Pending POs - SLx Pending/widgets/Heading.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "animateLoading": true, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 5, - "dynamicBindingPathList": [ - { - "key": "truncateButtonColor" - }, - { - "key": "fontFamily" - }, - { - "key": "borderRadius" - } - ], - "dynamicHeight": "AUTO_HEIGHT", - "dynamicTriggerPathList": [], - "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", - "fontSize": "1.875rem", - "fontStyle": "BOLD", - "isLoading": false, - "isVisible": true, - "key": "pp1hdkey01", - "leftColumn": 9, - "maxDynamicHeight": 9000, - "minDynamicHeight": 4, - "minWidth": 450, - "mobileBottomRow": 5, - "mobileLeftColumn": 1, - "mobileRightColumn": 17, - "mobileTopRow": 1, - "needsErrorInfo": false, - "originalBottomRow": 5, - "originalTopRow": 0, - "overflow": "NONE", - "parentColumnSpace": 25.109375, - "parentId": "0", - "parentRowSpace": 10, - "renderMode": "CANVAS", - "responsiveBehavior": "fill", - "rightColumn": 64, - "shouldTruncate": false, - "text": "Pending POs - SLx Pending", - "textAlign": "LEFT", - "textColor": "#231F20", - "topRow": 0, - "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", - "type": "TEXT_WIDGET", - "version": 1, - "widgetId": "pp1heading1", - "widgetName": "Heading" -} diff --git a/pages/Pending POs - SLx Pending/widgets/Table1.json b/pages/Pending POs - SLx Pending/widgets/Table1.json deleted file mode 100644 index e7cd696..0000000 --- a/pages/Pending POs - SLx Pending/widgets/Table1.json +++ /dev/null @@ -1,102 +0,0 @@ -{ - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "animateLoading": true, - "borderColor": "#E0DEDE", - "borderRadius": "0.375rem", - "borderWidth": "1", - "bottomRow": 67, - "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", - "cachedTableData": {}, - "canFreezeColumn": true, - "childStylesheet": { - "button": { - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "none", - "buttonColor": "{{appsmith.theme.colors.primaryColor}}" - }, - "editActions": { - "discardBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "discardButtonColor": "{{appsmith.theme.colors.primaryColor}}", - "saveBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "saveButtonColor": "{{appsmith.theme.colors.primaryColor}}" - }, - "iconButton": { - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "none", - "buttonColor": "{{appsmith.theme.colors.primaryColor}}" - }, - "menuButton": { - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "none", - "menuColor": "{{appsmith.theme.colors.primaryColor}}" - } - }, - "columnOrder": [], - "columnWidthMap": {}, - "compactMode": "SHORT", - "customIsLoading": false, - "customIsLoadingValue": "", - "defaultPageSize": 0, - "defaultSelectedRowIndex": 0, - "defaultSelectedRowIndices": [ - 0 - ], - "delimiter": ",", - "dynamicBindingPathList": [ - { - "key": "accentColor" - }, - { - "key": "boxShadow" - }, - { - "key": "tableData" - } - ], - "dynamicPropertyPathList": [ - { - "key": "textSize" - } - ], - "dynamicTriggerPathList": [], - "enableClientSideSearch": true, - "endOfData": false, - "flexVerticalAlignment": "start", - "horizontalAlignment": "LEFT", - "inlineEditingSaveOption": "ROW_LEVEL", - "isLoading": false, - "isSortable": true, - "isVisible": true, - "isVisibleDownload": true, - "isVisibleFilters": false, - "isVisiblePagination": true, - "isVisibleSearch": false, - "key": "pp1tblkey01", - "label": "Data", - "leftColumn": 9, - "minWidth": 450, - "mobileBottomRow": 31, - "mobileLeftColumn": 15, - "mobileRightColumn": 64, - "mobileTopRow": 10, - "needsErrorInfo": false, - "originalBottomRow": 67, - "originalTopRow": 5, - "parentColumnSpace": 11.265625, - "parentId": "0", - "parentRowSpace": 10, - "primaryColumns": {}, - "renderMode": "CANVAS", - "responsiveBehavior": "fill", - "rightColumn": 64, - "searchKey": "", - "tableData": "{{pending_pos_slx_pending.data}}", - "textSize": "0.775rem", - "topRow": 5, - "totalRecordsCount": 0, - "type": "TABLE_WIDGET_V2", - "version": 2, - "verticalAlignment": "CENTER", - "widgetId": "pp1table001", - "widgetName": "Table1" -} diff --git a/pages/Sales - Capacity Planning/widgets/Container1/Button2.json b/pages/Sales - Capacity Planning/widgets/Container1/Button2.json deleted file mode 100644 index 1da207b..0000000 --- a/pages/Sales - Capacity Planning/widgets/Container1/Button2.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "animateLoading": true, - "borderRadius": "0.375rem", - "bottomRow": 26, - "boxShadow": "none", - "buttonColor": "#ffffff", - "buttonVariant": "PRIMARY", - "disabledWhenInvalid": false, - "dynamicBindingPathList": [], - "dynamicTriggerPathList": [ - { - "key": "onClick" - } - ], - "isDefaultClickDisabled": true, - "isDisabled": false, - "isLoading": false, - "isVisible": true, - "key": "cp1btnkey01", - "leftColumn": 0, - "minWidth": 120, - "mobileBottomRow": 26, - "mobileLeftColumn": 0, - "mobileRightColumn": 16, - "mobileTopRow": 22, - "needsErrorInfo": false, - "onClick": "{{navigateTo('Pending POs - SLx Pending', {}, 'SAME_WINDOW');}}", - "originalBottomRow": 26, - "originalTopRow": 22, - "parentColumnSpace": 3.841796875, - "parentId": "x3pc17vp6q", - "parentRowSpace": 10, - "placement": "START", - "recaptchaType": "V3", - "renderMode": "CANVAS", - "resetFormOnClick": false, - "responsiveBehavior": "hug", - "rightColumn": 64, - "text": "SLx Pending", - "topRow": 22, - "type": "BUTTON_WIDGET", - "version": 1, - "widgetId": "cp1btnslxpn", - "widgetName": "Button2" -} diff --git a/pages/Sales - Capacity Planning/widgets/Container1/Text2.json b/pages/Sales - Capacity Planning/widgets/Container1/Text2.json deleted file mode 100644 index 7172c02..0000000 --- a/pages/Sales - Capacity Planning/widgets/Container1/Text2.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "animateLoading": true, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 22, - "dynamicBindingPathList": [ - { - "key": "truncateButtonColor" - }, - { - "key": "fontFamily" - }, - { - "key": "borderRadius" - } - ], - "dynamicHeight": "AUTO_HEIGHT", - "dynamicTriggerPathList": [], - "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", - "fontSize": "1rem", - "fontStyle": "BOLD", - "isLoading": false, - "isVisible": true, - "key": "cp1txkey01", - "leftColumn": 0, - "maxDynamicHeight": 9000, - "minDynamicHeight": 4, - "minWidth": 450, - "mobileBottomRow": 22, - "mobileLeftColumn": 10, - "mobileRightColumn": 26, - "mobileTopRow": 18, - "needsErrorInfo": false, - "originalBottomRow": 22, - "originalTopRow": 18, - "overflow": "NONE", - "parentColumnSpace": 3.841796875, - "parentId": "x3pc17vp6q", - "parentRowSpace": 10, - "renderMode": "CANVAS", - "responsiveBehavior": "fill", - "rightColumn": 64, - "shouldTruncate": false, - "text": "Pending POs", - "textAlign": "LEFT", - "textColor": "#231F20", - "topRow": 18, - "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", - "type": "TEXT_WIDGET", - "version": 1, - "widgetId": "cp1txtpndpo", - "widgetName": "Text2" -} diff --git a/pages/Sales - Units Ordered/widgets/Container1/Button2.json b/pages/Sales - Units Ordered/widgets/Container1/Button2.json deleted file mode 100644 index da55f1f..0000000 --- a/pages/Sales - Units Ordered/widgets/Container1/Button2.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "animateLoading": true, - "borderRadius": "0.375rem", - "bottomRow": 26, - "boxShadow": "none", - "buttonColor": "#ffffff", - "buttonVariant": "PRIMARY", - "disabledWhenInvalid": false, - "dynamicBindingPathList": [], - "dynamicTriggerPathList": [ - { - "key": "onClick" - } - ], - "isDefaultClickDisabled": true, - "isDisabled": false, - "isLoading": false, - "isVisible": true, - "key": "uo1btnkey01", - "leftColumn": 0, - "minWidth": 120, - "mobileBottomRow": 26, - "mobileLeftColumn": 0, - "mobileRightColumn": 16, - "mobileTopRow": 22, - "needsErrorInfo": false, - "onClick": "{{navigateTo('Pending POs - SLx Pending', {}, 'SAME_WINDOW');}}", - "originalBottomRow": 26, - "originalTopRow": 22, - "parentColumnSpace": 3.841796875, - "parentId": "wj6fxg5wpg", - "parentRowSpace": 10, - "placement": "START", - "recaptchaType": "V3", - "renderMode": "CANVAS", - "resetFormOnClick": false, - "responsiveBehavior": "hug", - "rightColumn": 64, - "text": "SLx Pending", - "topRow": 22, - "type": "BUTTON_WIDGET", - "version": 1, - "widgetId": "uo1btnslxpn", - "widgetName": "Button2" -} diff --git a/pages/Sales - Units Ordered/widgets/Container1/Text2.json b/pages/Sales - Units Ordered/widgets/Container1/Text2.json deleted file mode 100644 index 54da201..0000000 --- a/pages/Sales - Units Ordered/widgets/Container1/Text2.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "animateLoading": true, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 22, - "dynamicBindingPathList": [ - { - "key": "truncateButtonColor" - }, - { - "key": "fontFamily" - }, - { - "key": "borderRadius" - } - ], - "dynamicHeight": "AUTO_HEIGHT", - "dynamicTriggerPathList": [], - "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", - "fontSize": "1rem", - "fontStyle": "BOLD", - "isLoading": false, - "isVisible": true, - "key": "uo1txkey01", - "leftColumn": 0, - "maxDynamicHeight": 9000, - "minDynamicHeight": 4, - "minWidth": 450, - "mobileBottomRow": 22, - "mobileLeftColumn": 10, - "mobileRightColumn": 26, - "mobileTopRow": 18, - "needsErrorInfo": false, - "originalBottomRow": 22, - "originalTopRow": 18, - "overflow": "NONE", - "parentColumnSpace": 3.841796875, - "parentId": "wj6fxg5wpg", - "parentRowSpace": 10, - "renderMode": "CANVAS", - "responsiveBehavior": "fill", - "rightColumn": 64, - "shouldTruncate": false, - "text": "Pending POs", - "textAlign": "LEFT", - "textColor": "#231F20", - "topRow": 18, - "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", - "type": "TEXT_WIDGET", - "version": 1, - "widgetId": "uo1txtpndpo", - "widgetName": "Text2" -} diff --git a/pages/Sales - Units Shipped/widgets/Container1/Button2.json b/pages/Sales - Units Shipped/widgets/Container1/Button2.json deleted file mode 100644 index 5a18fab..0000000 --- a/pages/Sales - Units Shipped/widgets/Container1/Button2.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "animateLoading": true, - "borderRadius": "0.375rem", - "bottomRow": 26, - "boxShadow": "none", - "buttonColor": "#ffffff", - "buttonVariant": "PRIMARY", - "disabledWhenInvalid": false, - "dynamicBindingPathList": [], - "dynamicTriggerPathList": [ - { - "key": "onClick" - } - ], - "isDefaultClickDisabled": true, - "isDisabled": false, - "isLoading": false, - "isVisible": true, - "key": "us1btnkey01", - "leftColumn": 0, - "minWidth": 120, - "mobileBottomRow": 26, - "mobileLeftColumn": 0, - "mobileRightColumn": 16, - "mobileTopRow": 22, - "needsErrorInfo": false, - "onClick": "{{navigateTo('Pending POs - SLx Pending', {}, 'SAME_WINDOW');}}", - "originalBottomRow": 26, - "originalTopRow": 22, - "parentColumnSpace": 3.841796875, - "parentId": "wj6fxg5wpg", - "parentRowSpace": 10, - "placement": "START", - "recaptchaType": "V3", - "renderMode": "CANVAS", - "resetFormOnClick": false, - "responsiveBehavior": "hug", - "rightColumn": 64, - "text": "SLx Pending", - "topRow": 22, - "type": "BUTTON_WIDGET", - "version": 1, - "widgetId": "us1btnslxpn", - "widgetName": "Button2" -} diff --git a/pages/Sales - Units Shipped/widgets/Container1/Text2.json b/pages/Sales - Units Shipped/widgets/Container1/Text2.json deleted file mode 100644 index 3642c05..0000000 --- a/pages/Sales - Units Shipped/widgets/Container1/Text2.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "animateLoading": true, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "bottomRow": 22, - "dynamicBindingPathList": [ - { - "key": "truncateButtonColor" - }, - { - "key": "fontFamily" - }, - { - "key": "borderRadius" - } - ], - "dynamicHeight": "AUTO_HEIGHT", - "dynamicTriggerPathList": [], - "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", - "fontSize": "1rem", - "fontStyle": "BOLD", - "isLoading": false, - "isVisible": true, - "key": "us1txkey01", - "leftColumn": 0, - "maxDynamicHeight": 9000, - "minDynamicHeight": 4, - "minWidth": 450, - "mobileBottomRow": 22, - "mobileLeftColumn": 10, - "mobileRightColumn": 26, - "mobileTopRow": 18, - "needsErrorInfo": false, - "originalBottomRow": 22, - "originalTopRow": 18, - "overflow": "NONE", - "parentColumnSpace": 3.841796875, - "parentId": "wj6fxg5wpg", - "parentRowSpace": 10, - "renderMode": "CANVAS", - "responsiveBehavior": "fill", - "rightColumn": 64, - "shouldTruncate": false, - "text": "Pending POs", - "textAlign": "LEFT", - "textColor": "#231F20", - "topRow": 18, - "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", - "type": "TEXT_WIDGET", - "version": 1, - "widgetId": "us1txtpndpo", - "widgetName": "Text2" -} From 2adc0c5304f8a5988eb3a541069d624fe017bb16 Mon Sep 17 00:00:00 2001 From: ivarsbariss Date: Fri, 27 Feb 2026 13:12:52 +0100 Subject: [PATCH 43/71] Pending POs pages --- pages/Pending POs - SLx Pending/Pending POs - SLx Pending.json | 1 + .../queries/pending_pos_slx_pending/metadata.json | 1 + 2 files changed, 2 insertions(+) diff --git a/pages/Pending POs - SLx Pending/Pending POs - SLx Pending.json b/pages/Pending POs - SLx Pending/Pending POs - SLx Pending.json index bf15239..b5ad086 100644 --- a/pages/Pending POs - SLx Pending/Pending POs - SLx Pending.json +++ b/pages/Pending POs - SLx Pending/Pending POs - SLx Pending.json @@ -1,4 +1,5 @@ { + "gitSyncId": "3ac30122d2934ca9bf65e36a_54bc4b88-d468-4faa-bab0-80921aa88795", "unpublishedPage": { "isHidden": false, "layouts": [ diff --git a/pages/Pending POs - SLx Pending/queries/pending_pos_slx_pending/metadata.json b/pages/Pending POs - SLx Pending/queries/pending_pos_slx_pending/metadata.json index d8007c2..865d5d9 100644 --- a/pages/Pending POs - SLx Pending/queries/pending_pos_slx_pending/metadata.json +++ b/pages/Pending POs - SLx Pending/queries/pending_pos_slx_pending/metadata.json @@ -1,4 +1,5 @@ { + "gitSyncId": "3ac30122d2934ca9bf65e36a_da6910cc-4263-496f-ba35-ffc773eddaae", "id": "Pending POs - SLx Pending_pending_pos_slx_pending", "pluginId": "postgres-plugin", "pluginType": "DB", From 68ad98ede44c00ab292c0c4f89bfbb2369e709d1 Mon Sep 17 00:00:00 2001 From: ivarsbariss Date: Fri, 27 Feb 2026 13:20:38 +0100 Subject: [PATCH 44/71] New skills --- .cursor/skills/add-query-to-table/SKILL.md | 40 +++--- .cursor/skills/create-new-page/SKILL.md | 82 ++++++++---- .cursor/skills/navigation-button-add/SKILL.md | 52 ++++++-- .../skills/navigation-section-add/SKILL.md | 124 ++++++++++++++++++ 4 files changed, 246 insertions(+), 52 deletions(-) create mode 100644 .cursor/skills/navigation-section-add/SKILL.md diff --git a/.cursor/skills/add-query-to-table/SKILL.md b/.cursor/skills/add-query-to-table/SKILL.md index c1bea5c..afe3cd7 100644 --- a/.cursor/skills/add-query-to-table/SKILL.md +++ b/.cursor/skills/add-query-to-table/SKILL.md @@ -13,22 +13,27 @@ Each query lives under the page in a folder named after the query: - **Path**: `pages//queries//` - **Files**: - - **`.txt`** — Raw SQL. This is the **source of truth** for the query body. Keep it readable (real newlines, no escaping). - - **`metadata.json`** — Appsmith action config. The `body` inside `unpublishedAction.actionConfiguration` must match the SQL in the `.txt` file, stored as a single-line string with `\n` for newlines and `\"` for double quotes. + - **`.txt`** -- Raw SQL. This is the **source of truth** for the query body. Keep it readable (real newlines, no escaping). + - **`metadata.json`** -- Appsmith action config. The `body` inside `unpublishedAction.actionConfiguration` must match the SQL in the `.txt` file, stored as a single-line string with `\n` for newlines and `\"` for double quotes. -**Naming**: Use lowercase with underscores (e.g. `units_ordered_by_series`, `units_shipped_by_power_input`). The query name is the identifier used in bindings (e.g. `{{query_name.data}}`). +**Naming**: Use lowercase with underscores (e.g. `units_ordered_by_series`, `pending_pos_slx_pending`). The query name is the identifier used in bindings (e.g. `{{query_name.data}}`). ## 2. Metadata.json required fields -- **`id`**: `"_"` (e.g. `"Sales - Units Ordered_units_ordered_by_series"`). +- **`gitSyncId`** (CRITICAL): Must be the **first field** in the root object. Format: `"<24-char-hex>_"`. Without this, Appsmith will auto-remove the query on the next pull/sync. Generate with: + ```bash + python3 -c "import uuid; print(uuid.uuid4().hex[:24] + '_' + str(uuid.uuid4()))" + ``` + Use the same 24-char hex prefix as the page's `gitSyncId` but a unique UUID suffix. +- **`id`**: `"_"` (e.g. `"Pending POs - SLx Pending_pending_pos_slx_pending"`). - **`name`**: `""` (must match the folder and the name used in bindings). -- **`unpublishedAction.actionConfiguration.body`**: The exact SQL from `.txt`, escaped for JSON (newlines → `\n`, `"` → `\"`). +- **`unpublishedAction.actionConfiguration.body`**: The exact SQL from `.txt`, escaped for JSON (newlines -> `\n`, `"` -> `\"`). - **`unpublishedAction.datasource`**: Use the same as other queries on the page (e.g. `xTuple_Sandbox`). - **`unpublishedAction.pageId`**: `""`. - **`unpublishedAction.dynamicBindingPathList`**: `[{"key":"body"}]` when the body contains `{{...}}` widget references. - Keep **`pluginId`**: `"postgres-plugin"`, **`pluginType`**: `"DB"`, and existing flags like **`encodeParamsToggle`**, **`paginationType`**, **`pluginSpecifiedTemplates`**, **`timeoutInMillisecond`** consistent with other DB queries in the app. -When adding a new query, copy an existing query’s `metadata.json` from the same page and change `id`, `name`, and `body` (and ensure `body` stays in sync with the new `.txt` file). +When adding a new query, copy an existing query's `metadata.json` from the same page and change `gitSyncId`, `id`, `name`, and `body` (and ensure `body` stays in sync with the new `.txt` file). ## 3. Wiring the query to a Table widget @@ -36,7 +41,7 @@ When adding a new query, copy an existing query’s `metadata.json` from the sam - **`tableData`**: `"{{.data}}"` - Table columns read from the query result by **key**. The key is the **SELECT alias** from the query (e.g. `"Product"`, `"Qty Ordered"`). In `primaryColumns`, the column **id** can be a safe identifier (e.g. `Qty_Ordered`) while **originalId** / **alias** / **label** match the display name; **computedValue** must use the same key as in the query result, e.g. `currentRow["Qty Ordered"]`. -So: **query SELECT aliases = keys in the table’s row object**. Keep column keys and any `currentRow["..."]` references in the table in sync with those aliases. +So: **query SELECT aliases = keys in the table's row object**. Keep column keys and any `currentRow["..."]` references in the table in sync with those aliases. ## 4. Parameter search syntax (widgets in SQL) @@ -45,15 +50,15 @@ So: **query SELECT aliases = keys in the table’s row object**. Keep column key - **Syntax**: `{{WidgetName.property}}` - **Examples**: - DatePicker date: `{{SeriesDateFrom.selectedDate}}`, `{{PowerDateTo.selectedDate}}` - - Other widgets: use the widget’s value property (e.g. `selectedOptionValue`, `text`) as per Appsmith docs. + - Other widgets: use the widget's value property (e.g. `selectedOptionValue`, `text`) as per Appsmith docs. Values are injected as strings. For PostgreSQL dates you typically cast in SQL, e.g. `'{{DatePicker1.selectedDate}}'::date`. ### 4.2 Optional date range (no filter when either date is empty) Use this pattern so that: -- If **either** date widget is empty → the date condition is **not** applied (all dates allowed). -- If **both** are set → filter by `date_column BETWEEN from ::date AND to ::date`. +- If **either** date widget is empty -> the date condition is **not** applied (all dates allowed). +- If **both** are set -> filter by `date_column BETWEEN from ::date AND to ::date`. **SQL pattern** (replace widget names and column as needed): @@ -72,30 +77,31 @@ AND ( ### 4.3 Required parameters (always filter) -If the filter must always be applied (no “show all” when empty): +If the filter must always be applied (no "show all" when empty): - Use the binding directly and ensure the widget always has a value, or use a default in the widget. -- Example: `AND cohead_orderdate BETWEEN '{{DateFrom.selectedDate}}'::date AND '{{DateTo.selectedDate}}'::date` — then empty dates may produce invalid SQL or empty results, so prefer the optional pattern above unless the UI guarantees non-empty values. +- Example: `AND cohead_orderdate BETWEEN '{{DateFrom.selectedDate}}'::date AND '{{DateTo.selectedDate}}'::date` -- then empty dates may produce invalid SQL or empty results, so prefer the optional pattern above unless the UI guarantees non-empty values. ## 5. Checklist when adding a new query 1. Create `pages//queries//`. 2. Add `.txt` with the full SQL (source of truth). -3. Add `metadata.json` with correct `id`, `name`, `body` (body = SQL from .txt, JSON-escaped), and same datasource/pageId as other page queries. +3. Add `metadata.json` with correct `gitSyncId`, `id`, `name`, `body` (body = SQL from .txt, JSON-escaped), and same datasource/pageId as other page queries. 4. If the SQL uses `{{...}}`, set `dynamicBindingPathList` to `[{"key":"body"}]`. 5. In the Table widget that should show the data, set `tableData` to `{{.data}}`. -6. Ensure table column keys / `currentRow["..."]` match the query’s SELECT aliases. +6. Ensure table column keys / `currentRow["..."]` match the query's SELECT aliases. ## 6. Renaming or replacing a query -- To **rename** (e.g. `units_shipped_by_series` → `units_ordered_by_series`): - - Create the new folder and files under the new name. - - Update every reference to the old query (e.g. `tableData`: `{{old_name.data}}` → `{{new_name.data}}`). +- To **rename** (e.g. `units_shipped_by_series` -> `units_ordered_by_series`): + - Create the new folder and files under the new name (with a new `gitSyncId`). + - Update every reference to the old query (e.g. `tableData`: `{{old_name.data}}` -> `{{new_name.data}}`). - Remove the old query folder (both `.txt` and `metadata.json`). - When **replacing** the SQL but keeping the same name, update the `.txt` first, then update the `body` in `metadata.json` to match (same content, JSON-escaped). ## Reference +- **gitSyncId**: `<24-char-hex>_`. Without this, Appsmith auto-removes the query on sync. - **Optional date range**: NULLIF + IS NULL + OR + BETWEEN as above. - **Table data binding**: `{{.data}}`. - **Column keys**: Must match query SELECT aliases (e.g. `"Product"`, `"Qty Ordered"`). diff --git a/.cursor/skills/create-new-page/SKILL.md b/.cursor/skills/create-new-page/SKILL.md index c8c4ef5..2f36ba0 100644 --- a/.cursor/skills/create-new-page/SKILL.md +++ b/.cursor/skills/create-new-page/SKILL.md @@ -1,6 +1,6 @@ --- name: create-new-page -description: Creates a new Sales page by cloning Sales - Capacity Planning, adds a nav button for it on every page, and sets the new page name for the button label and the page Heading. Use when the user asks to add a new page, clone a page, create a page from template, or add a new Sales navigation page. +description: Creates a new page by cloning Sales - Capacity Planning, adds a nav button for it on every page, and sets the new page name for the button label and the page Heading. Use when the user asks to add a new page, clone a page, create a page from template, or add a new navigation page. --- # Create New Page (Clone + Navigation) @@ -9,14 +9,15 @@ Creates a new page from the **Sales - Capacity Planning** template, registers it ## Prerequisites -- **New page name**: User must provide the exact display name (e.g. `Sales - Units Planning`). Use it consistently for: +- **New page name**: User must provide the exact display name (e.g. `Sales - Units Planning`, `Pending POs - SLx Pending`). Use it consistently for: - Page folder name: `pages//` - Page JSON filename: `.json` - - `unpublishedPage.name` and `unpublishedPage.slug` (slug = lowercase, spaces → hyphens, e.g. `sales-units-planning`) + - `unpublishedPage.name` and `unpublishedPage.slug` (slug = lowercase, spaces to hyphens, e.g. `pending-pos-slx-pending`) - Heading widget `text` on the new page - Nav button `text` on all pages - - `navigateTo('', {}, 'SAME_WINDOW')` in the new button’s `onClick` + - `navigateTo('', {}, 'SAME_WINDOW')` in the new button's `onClick` - Follow the **navigation-button-add** skill for button styling and placement. +- If the page belongs to a **new section** (e.g. "Pending POs" section distinct from "Sales"), follow the **navigation-section-add** skill to add the section label on all pages. ## Instructions @@ -26,42 +27,76 @@ Creates a new page from the **Sales - Capacity Planning** template, registers it - **Target**: `pages//` - Copy the entire directory tree (widgets, queries, and the page JSON). - In the new folder, rename the page file to `.json` and update inside it: - - `unpublishedPage.name` → `` - - `unpublishedPage.slug` → slug form (e.g. `sales-units-planning`) -- Replace all widget IDs in the new page’s JSON files with new unique IDs (e.g. new UUIDs or unique strings) so the new page does not conflict with the template. Update any `parentId` references to the new IDs. + - `unpublishedPage.name` -> `` + - `unpublishedPage.slug` -> slug form (e.g. `pending-pos-slx-pending`) +- Replace all widget IDs in the new page's JSON files with new unique IDs (e.g. new UUIDs or unique strings) so the new page does not conflict with the template. Update any `parentId` references to the new IDs. - In every widget JSON under the new page, replace any reference to the old page name or slug with the new page name or slug (e.g. in queries or onClick that might point to the template page). -### 2. Set the new page’s Heading +### 2. Add gitSyncId (CRITICAL) + +Appsmith's git sync uses `gitSyncId` to track entities. **Without this field, Appsmith will auto-remove the page and query on the next pull/sync.** + +- **Page JSON** (`.json`): Add `"gitSyncId"` as the **first field** in the root object. +- **Query metadata** (`queries//metadata.json`): Add `"gitSyncId"` as the **first field** in the root object. + +**Format**: `"<24-char-hex>_"` + +Generate unique IDs: +```bash +python3 -c "import uuid; print(uuid.uuid4().hex[:24] + '_' + str(uuid.uuid4()))" +``` + +Use the **same 24-char hex prefix** for both the page and its queries (they share a creation context), but a **unique UUID suffix** for each. + +**Example** (page JSON): +```json +{ + "gitSyncId": "3ac30122d2934ca9bf65e36a_54bc4b88-d468-4faa-bab0-80921aa88795", + "unpublishedPage": { ... } +} +``` + +**Example** (query metadata): +```json +{ + "gitSyncId": "3ac30122d2934ca9bf65e36a_da6910cc-4263-496f-ba35-ffc773eddaae", + "id": "PageName_query_name", + ... +} +``` + +### 3. Set the new page's Heading - In `pages//widgets/Heading.json`, set: - - `"text": ""` + - `"text": ""` so the heading always shows the page name (no dynamic binding; `appsmith.page` is undefined in this app). -### 3. Register the new page in the app +### 4. Register the new page in the app - In `application.json`, add to the `pages` array one entry: - `{"id": "", "isDefault": false}` - Do not change `isDefault: true` on the existing default page unless the user asks to make the new page default. -### 4. Add the new nav button on every page +### 5. Add the new nav button on every page Apply the **navigation-button-add** skill: -- **Pages to update**: Every existing Sales page (Sales - Capacity Planning, Sales - Units Shipped, Sales - Units Ordered) **and** the new page. -- **On each page**, in `widgets/Container1/`, add a new button (e.g. copy `Button1Copy2` and name the new file `Button1Copy3` or next available name): - - `text`: `` (or a short label that matches the page, e.g. “Units Planning” if the full name is “Sales - Units Planning” — prefer using the **new page name** for consistency unless the user asks for a shorter label). +- **Pages to update**: **All** existing pages **and** the new page. +- **On each page**, in `widgets/Container1/`, add a new button: + - `text`: short label for the page (e.g. "SLx Pending" for "Pending POs - SLx Pending"). - `onClick`: `{{navigateTo('', {}, 'SAME_WINDOW');}}` - - `buttonColor`: + - `buttonColor`: - On the **new page only**: `{{appsmith.theme.colors.backgroundColor}}` and add `{"key":"buttonColor"}` to `dynamicBindingPathList`. - On all **other** pages: `#ffffff`, and do not add `buttonColor` to `dynamicBindingPathList`. - - Place the new button below the existing nav buttons: set `topRow` / `bottomRow` so it stacks vertically (e.g. copy from the last button and add 4 rows for the new one). - - Assign a new `widgetId` and `widgetName` for the new button on each page. -- Update `Container1.json` (or the parent that lists children) so the new button is included in the layout if the DSL is widget-list based. + - Place the new button below existing nav items within its section. Each button occupies 4 rows (e.g. topRow 22, bottomRow 26). + - Assign a new unique `widgetId` and `widgetName` for the new button on each page. + - Set `parentId` to the **Canvas widget ID** inside that page's `Container1.json` (the `widgetId` of the `CANVAS_WIDGET` child). This varies per page -- read `Container1.json` to find it. -### 5. Verify +### 6. Verify - Run `git status` / `git diff` and confirm only intended files were added or changed. -- Ensure no duplicate `widgetId` values across pages and that the new page’s slug and name are used consistently. +- Ensure no duplicate `widgetId` values across pages and that the new page's slug and name are used consistently. +- Confirm `gitSyncId` is present in both the page JSON and every query metadata. ## Summary @@ -69,8 +104,9 @@ Apply the **navigation-button-add** skill: |------|--------| | Template | Sales - Capacity Planning | | New page folder | `pages//` | +| gitSyncId | `<24-char-hex>_` in page JSON + query metadata | | Heading text | `` | -| Nav button text | `` (or user-specified short label) | +| Nav button text | Short label (e.g. "SLx Pending") | | Nav button onClick | `navigateTo('', {}, 'SAME_WINDOW')` | | Highlight (new page) | `buttonColor`: `{{appsmith.theme.colors.backgroundColor}}` | | Inactive (other pages) | `buttonColor`: `#ffffff` | @@ -78,4 +114,6 @@ Apply the **navigation-button-add** skill: ## Reference - Nav button behavior and layout: follow **navigation-button-add** skill. -- Slug format: lowercase, spaces to hyphens (e.g. `Sales - Units Planning` → `sales-units-planning`). +- New nav sections: follow **navigation-section-add** skill. +- Slug format: lowercase, spaces to hyphens (e.g. `Pending POs - SLx Pending` -> `pending-pos-slx-pending`). +- `gitSyncId` format: `<24-char-hex>_`. Without this, Appsmith auto-removes the entity on sync. diff --git a/.cursor/skills/navigation-button-add/SKILL.md b/.cursor/skills/navigation-button-add/SKILL.md index 4e92a56..7c13439 100644 --- a/.cursor/skills/navigation-button-add/SKILL.md +++ b/.cursor/skills/navigation-button-add/SKILL.md @@ -1,28 +1,54 @@ --- name: navigation-button-add -description: Implements a new Sales navigation button with the existing highlight/default colors. Use when the user asks to add buttons to the nav block, mentions “Units Ordered”, “Units Shipped”, or “Sales” navigation, or instructs to keep the highlight behavior consistent with the latest change. +description: Implements a new navigation button with the existing highlight/default colors. Use when the user asks to add buttons to the nav block, mentions page navigation, or instructs to keep the highlight behavior consistent with the latest change. --- # Navigation Button Addition ## Instructions -1. **Understand the current navigation canvas** by checking `pages/*/widgets/Container1/Button*`. Each Sales page reuses the same container; the existing buttons are `Button1` (Capacity Planning), `Button1Copy` (Units Shipped), and `Button1Copy2` (Units Ordered). +1. **Understand the current navigation canvas** by checking `pages/*/widgets/Container1/`. Each page reuses the same container structure. The navigation is organized into **sections**, each with a Text label and one or more buttons: + - **Sales** section: `Text1` (label), `Button1` (Capacity Planning), `Button1Copy` (Units Shipped), `Button1Copy2` (Units Ordered) + - **Pending POs** section: `Text2` (label), `Button2` (SLx Pending) + - Future sections follow the same pattern (`Text3`/`Button3`, etc.) 2. **Follow the established color scheme**: - - The highlighted button uses `appsmith.theme.colors.backgroundColor`. + - The highlighted button (current page) uses `appsmith.theme.colors.backgroundColor`. - The inactive buttons use `#ffffff`. 3. **When adding a new navigation button**: - - Copy one of the existing `Button*` definitions, adjusting `text`, `onClick`, `widgetId`, `widgetName`, `bottomRow`, and any other placement metadata so it fits below the existing items. - - Set `buttonColor` to `#ffffff` (inactive) unless the new button replaces the active page; then set its own definition (`on the relevant page`) to `appsmith.theme.colors.backgroundColor`. - - Ensure `dynamicBindingPathList` stays empty when `buttonColor` is static white; populate it only if the button needs dynamic logic. - - Point `onClick` to `navigateTo` the new page slug and keep `placement`/`responsiveBehavior` matching other nav buttons. -4. **Run git status/diff** to verify only the intended files changed before reporting back. + - Copy one of the existing `Button*` definitions, adjusting `text`, `onClick`, `widgetId`, `widgetName`, `topRow`, `bottomRow`, and any other placement metadata so it fits below the existing items in its section. + - Set `buttonColor` to `#ffffff` (inactive) unless the button is on its own page; then set its definition to `appsmith.theme.colors.backgroundColor` with `dynamicBindingPathList: [{"key": "buttonColor"}]`. + - Ensure `dynamicBindingPathList` stays empty when `buttonColor` is static white. + - Point `onClick` to `navigateTo('', {}, 'SAME_WINDOW')` and keep `placement`/`responsiveBehavior` matching other nav buttons. + - Set `parentId` to the **Canvas widget ID** inside that page's `Container1.json` (the `widgetId` of the `CANVAS_WIDGET` child). This varies per page -- always read `Container1.json` to find the correct value. +4. **Add the button on ALL pages** (not just pages in the same section). Every page gets the full navigation. +5. **If adding a button to a new section**, follow the **navigation-section-add** skill first to create the section label. +6. **Run git status/diff** to verify only the intended files changed before reporting back. + +## Row Layout + +Each widget occupies 4 rows. Sections are separated by a 2-row gap: + +| Widget | topRow | bottomRow | +|--------|--------|-----------| +| Text1 "Sales" | 0 | 4 | +| Button1 "Capacity Planning" | 4 | 8 | +| Button1Copy "Units Shipped" | 8 | 12 | +| Button1Copy2 "Units Ordered" | 12 | 16 | +| *(2-row gap)* | 16 | 18 | +| Text2 "Pending POs" | 18 | 22 | +| Button2 "SLx Pending" | 22 | 26 | + +When adding a new button within a section, increment from the last button's `bottomRow` by 4. When adding a new section after the last one, add 2 rows gap, then 4 for the label, then 4 for each button. ## Examples -- *Adding “Units Ordered” button*: - 1. Copy `Button1Copy` (Units Shipped) in each page’s `Container1`. - 2. Set `text` to “Units Ordered”, `onClick` to `navigateTo('Sales - Units Ordered', {}, 'SAME_WINDOW');`. - 3. Assign `buttonColor` to `#ffffff` for inactive cases and to `appsmith.theme.colors.backgroundColor` inside the `Sales - Units Ordered` page definition for highlight. - 4. Adjust `bottomRow` incrementally so buttons stack vertically. +- *Adding "Units Ordered" button to Sales section*: + 1. Copy `Button1Copy` (Units Shipped) in each page's `Container1`. + 2. Set `text` to "Units Ordered", `onClick` to `navigateTo('Sales - Units Ordered', {}, 'SAME_WINDOW');`. + 3. Assign `buttonColor` to `#ffffff` for inactive cases and to `appsmith.theme.colors.backgroundColor` inside the `Sales - Units Ordered` page definition for highlight. + 4. Set `topRow: 12`, `bottomRow: 16` (next slot after Units Shipped). +- *Adding a second button to Pending POs section*: + 1. Create `Button2Copy.json` in each page's `Container1`. + 2. Set `topRow: 26`, `bottomRow: 30` (next slot after SLx Pending at 22-26). + 3. Follow the same highlight/inactive pattern. diff --git a/.cursor/skills/navigation-section-add/SKILL.md b/.cursor/skills/navigation-section-add/SKILL.md new file mode 100644 index 0000000..425b521 --- /dev/null +++ b/.cursor/skills/navigation-section-add/SKILL.md @@ -0,0 +1,124 @@ +--- +name: navigation-section-add +description: Adds a new navigation section (label + first button) to the sidebar on all pages. Use when the user asks to create a new section like "Pending POs", add a section header to navigation, or group pages under a new category separate from "Sales". +--- + +# Navigation Section Addition + +Adds a new **section** to the left-side navigation container on **all pages**. A section consists of a bold Text label (e.g. "Pending POs") followed by one or more page buttons. This skill covers adding the section label and first button; additional buttons follow the **navigation-button-add** skill. + +## Current Sections + +| Section | Label widget | Buttons | Row range | +|---------|-------------|---------|-----------| +| Sales | `Text1` | `Button1`, `Button1Copy`, `Button1Copy2` | 0-16 | +| Pending POs | `Text2` | `Button2` | 18-26 | + +## Instructions + +### 1. Determine row placement + +Sections are separated by a **2-row gap**. Find the last widget's `bottomRow` in the current navigation, add 2 for the gap, then place: +- **Section label** (Text widget): 4 rows (e.g. topRow 18, bottomRow 22) +- **First button**: 4 rows immediately after (e.g. topRow 22, bottomRow 26) + +### 2. Choose widget names + +Follow the naming sequence based on existing sections: +- First section: `Text1`, `Button1` / `Button1Copy` / `Button1Copy2` +- Second section: `Text2`, `Button2` / `Button2Copy` / ... +- Third section: `Text3`, `Button3` / `Button3Copy` / ... + +### 3. Create the Text label widget on ALL pages + +Add a `Text.json` file in `pages//widgets/Container1/` with: + +```json +{ + "animateLoading": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "bottomRow": , + "dynamicBindingPathList": [ + {"key": "truncateButtonColor"}, + {"key": "fontFamily"}, + {"key": "borderRadius"} + ], + "dynamicHeight": "AUTO_HEIGHT", + "dynamicTriggerPathList": [], + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "fontSize": "1rem", + "fontStyle": "BOLD", + "isLoading": false, + "isVisible": true, + "key": "", + "leftColumn": 0, + "maxDynamicHeight": 9000, + "minDynamicHeight": 4, + "minWidth": 450, + "mobileBottomRow": , + "mobileLeftColumn": 10, + "mobileRightColumn": 26, + "mobileTopRow": , + "needsErrorInfo": false, + "originalBottomRow": , + "originalTopRow": , + "overflow": "NONE", + "parentColumnSpace": 3.841796875, + "parentId": "", + "parentRowSpace": 10, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 64, + "shouldTruncate": false, + "text": "
", + "textAlign": "LEFT", + "textColor": "#231F20", + "topRow": , + "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", + "type": "TEXT_WIDGET", + "version": 1, + "widgetId": "", + "widgetName": "Text" +} +``` + +### 4. Create the first button on ALL pages + +Follow the **navigation-button-add** skill to add `Button.json`. Key points: +- On the page the button navigates to: `buttonColor` = `{{appsmith.theme.colors.backgroundColor}}` (highlighted), with `dynamicBindingPathList: [{"key": "buttonColor"}]`. +- On all other pages: `buttonColor` = `#ffffff` (inactive), with empty `dynamicBindingPathList`. +- `topRow` = label's `bottomRow`, `bottomRow` = topRow + 4. + +### 5. parentId -- CRITICAL + +Each page's Container1 has a **different Canvas widget ID**. The `parentId` for all nav widgets must match the `widgetId` of the `CANVAS_WIDGET` child inside that page's `Container1.json`. + +**Always read** `pages//widgets/Container1/Container1.json` to find the Canvas `widgetId` before creating widgets. Do NOT copy parentId from another page. + +Example Canvas widget IDs (verify these are still current): +- Sales - Capacity Planning: `x3pc17vp6q` +- Sales - Units Shipped: `wj6fxg5wpg` +- Sales - Units Ordered: `wj6fxg5wpg` + +### 6. Widget IDs -- must be unique + +Every widget across all pages must have a **unique `widgetId`**. Use a short, unique string per widget per page. A practical pattern: `` (e.g. `cp1txtpndpo` for Capacity Planning's "Pending POs" text label). + +### 7. Apply to ALL pages + +The section label and button must appear on **every page in the app** -- not just pages within the new section. This ensures the full navigation is visible regardless of which page the user is on. + +## Example: Adding "Pending POs" section + +Files created on each page's `widgets/Container1/`: +- `Text2.json` -- "Pending POs" label, topRow 18, bottomRow 22 +- `Button2.json` -- "SLx Pending" button, topRow 22, bottomRow 26 + +On `Pending POs - SLx Pending` page: Button2 is highlighted. +On all Sales pages: Button2 is white/inactive. + +## Reference + +- Button styling and highlight pattern: **navigation-button-add** skill. +- Creating the page itself: **create-new-page** skill. +- Row layout: 4 rows per widget, 2-row gap between sections. From bf17377df43ae564f50754dc0e0f4d298afddbd6 Mon Sep 17 00:00:00 2001 From: ibariss Date: Fri, 27 Feb 2026 12:21:15 +0000 Subject: [PATCH 45/71] Something autogenerated --- .../widgets/Table1.json | 503 +++++++++++++++++- 1 file changed, 500 insertions(+), 3 deletions(-) diff --git a/pages/Pending POs - SLx Pending/widgets/Table1.json b/pages/Pending POs - SLx Pending/widgets/Table1.json index e7cd696..6588afa 100644 --- a/pages/Pending POs - SLx Pending/widgets/Table1.json +++ b/pages/Pending POs - SLx Pending/widgets/Table1.json @@ -31,7 +31,22 @@ "menuColor": "{{appsmith.theme.colors.primaryColor}}" } }, - "columnOrder": [], + "columnOrder": [ + "matl", + "matl_classocde", + "matl_desc", + "matl_spec", + "qoh", + "po_released", + "po_opened", + "po_closed", + "poitem_due", + "wo_item", + "wo_demanding", + "wo_total_demand", + "uom" + ], + "columnUpdatedAt": 1772194562509, "columnWidthMap": {}, "compactMode": "SHORT", "customIsLoading": false, @@ -51,6 +66,45 @@ }, { "key": "tableData" + }, + { + "key": "primaryColumns.matl.computedValue" + }, + { + "key": "primaryColumns.matl_classocde.computedValue" + }, + { + "key": "primaryColumns.matl_desc.computedValue" + }, + { + "key": "primaryColumns.matl_spec.computedValue" + }, + { + "key": "primaryColumns.qoh.computedValue" + }, + { + "key": "primaryColumns.po_released.computedValue" + }, + { + "key": "primaryColumns.po_opened.computedValue" + }, + { + "key": "primaryColumns.po_closed.computedValue" + }, + { + "key": "primaryColumns.poitem_due.computedValue" + }, + { + "key": "primaryColumns.wo_item.computedValue" + }, + { + "key": "primaryColumns.wo_demanding.computedValue" + }, + { + "key": "primaryColumns.wo_total_demand.computedValue" + }, + { + "key": "primaryColumns.uom.computedValue" } ], "dynamicPropertyPathList": [ @@ -85,7 +139,450 @@ "parentColumnSpace": 11.265625, "parentId": "0", "parentRowSpace": 10, - "primaryColumns": {}, + "primaryColumns": { + "matl": { + "alias": "matl", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "cellBackground": "", + "columnType": "text", + "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"matl\"])) : matl })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "fontStyle": "", + "horizontalAlignment": "LEFT", + "id": "matl", + "index": 0, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "matl", + "notation": "standard", + "originalId": "matl", + "sticky": "", + "textColor": "", + "textSize": "0.775rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + }, + "matl_classocde": { + "alias": "matl_classocde", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "cellBackground": "", + "columnType": "text", + "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"matl_classocde\"])) : matl_classocde })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "fontStyle": "", + "horizontalAlignment": "LEFT", + "id": "matl_classocde", + "index": 1, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "matl_classocde", + "notation": "standard", + "originalId": "matl_classocde", + "sticky": "", + "textColor": "", + "textSize": "0.775rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + }, + "matl_desc": { + "alias": "matl_desc", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "cellBackground": "", + "columnType": "text", + "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"matl_desc\"])) : matl_desc })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "fontStyle": "", + "horizontalAlignment": "LEFT", + "id": "matl_desc", + "index": 2, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "matl_desc", + "notation": "standard", + "originalId": "matl_desc", + "sticky": "", + "textColor": "", + "textSize": "0.775rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + }, + "matl_spec": { + "alias": "matl_spec", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "cellBackground": "", + "columnType": "text", + "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"matl_spec\"])) : matl_spec })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "fontStyle": "", + "horizontalAlignment": "LEFT", + "id": "matl_spec", + "index": 3, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "matl_spec", + "notation": "standard", + "originalId": "matl_spec", + "sticky": "", + "textColor": "", + "textSize": "0.775rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + }, + "po_closed": { + "alias": "po_closed", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "cellBackground": "", + "columnType": "number", + "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"po_closed\"])) : po_closed })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "fontStyle": "", + "horizontalAlignment": "LEFT", + "id": "po_closed", + "index": 7, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "po_closed", + "notation": "standard", + "originalId": "po_closed", + "sticky": "", + "textColor": "", + "textSize": "0.775rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + }, + "po_opened": { + "alias": "po_opened", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "cellBackground": "", + "columnType": "number", + "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"po_opened\"])) : po_opened })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "fontStyle": "", + "horizontalAlignment": "LEFT", + "id": "po_opened", + "index": 6, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "po_opened", + "notation": "standard", + "originalId": "po_opened", + "sticky": "", + "textColor": "", + "textSize": "0.775rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + }, + "po_released": { + "alias": "po_released", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "cellBackground": "", + "columnType": "number", + "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"po_released\"])) : po_released })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "fontStyle": "", + "horizontalAlignment": "LEFT", + "id": "po_released", + "index": 5, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "po_released", + "notation": "standard", + "originalId": "po_released", + "sticky": "", + "textColor": "", + "textSize": "0.775rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + }, + "poitem_due": { + "alias": "poitem_due", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "cellBackground": "", + "columnType": "date", + "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"poitem_due\"])) : poitem_due })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "fontStyle": "", + "horizontalAlignment": "LEFT", + "id": "poitem_due", + "index": 8, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "poitem_due", + "notation": "standard", + "originalId": "poitem_due", + "sticky": "", + "textColor": "", + "textSize": "0.775rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + }, + "qoh": { + "alias": "qoh", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "cellBackground": "", + "columnType": "number", + "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"qoh\"])) : qoh })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "fontStyle": "", + "horizontalAlignment": "LEFT", + "id": "qoh", + "index": 4, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "qoh", + "notation": "standard", + "originalId": "qoh", + "sticky": "", + "textColor": "", + "textSize": "0.775rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + }, + "uom": { + "alias": "uom", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "cellBackground": "", + "columnType": "text", + "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"uom\"])) : uom })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "fontStyle": "", + "horizontalAlignment": "LEFT", + "id": "uom", + "index": 12, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "uom", + "notation": "standard", + "originalId": "uom", + "sticky": "", + "textColor": "", + "textSize": "0.775rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + }, + "wo_demanding": { + "alias": "wo_demanding", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "cellBackground": "", + "columnType": "text", + "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"wo_demanding\"])) : wo_demanding })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "fontStyle": "", + "horizontalAlignment": "LEFT", + "id": "wo_demanding", + "index": 10, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "wo_demanding", + "notation": "standard", + "originalId": "wo_demanding", + "sticky": "", + "textColor": "", + "textSize": "0.775rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + }, + "wo_item": { + "alias": "wo_item", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "cellBackground": "", + "columnType": "text", + "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"wo_item\"])) : wo_item })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "fontStyle": "", + "horizontalAlignment": "LEFT", + "id": "wo_item", + "index": 9, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "wo_item", + "notation": "standard", + "originalId": "wo_item", + "sticky": "", + "textColor": "", + "textSize": "0.775rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + }, + "wo_total_demand": { + "alias": "wo_total_demand", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "cellBackground": "", + "columnType": "number", + "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"wo_total_demand\"])) : wo_total_demand })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "fontStyle": "", + "horizontalAlignment": "LEFT", + "id": "wo_total_demand", + "index": 11, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "wo_total_demand", + "notation": "standard", + "originalId": "wo_total_demand", + "sticky": "", + "textColor": "", + "textSize": "0.775rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + } + }, "renderMode": "CANVAS", "responsiveBehavior": "fill", "rightColumn": 64, @@ -99,4 +596,4 @@ "verticalAlignment": "CENTER", "widgetId": "pp1table001", "widgetName": "Table1" -} +} \ No newline at end of file From 5fbfd4374cf282669ecff1dc4ecada7be381c107 Mon Sep 17 00:00:00 2001 From: ivarsbariss Date: Fri, 27 Feb 2026 13:37:42 +0100 Subject: [PATCH 46/71] ML Pending page --- application.json | 4 + .../Pending POs - ML Pending.json | 33 ++++++ .../pending_pos_ml_pending/metadata.json | 31 ++++++ .../pending_pos_ml_pending.txt | 1 + .../widgets/Container1/Button1.json | 45 ++++++++ .../widgets/Container1/Button1Copy.json | 45 ++++++++ .../widgets/Container1/Button1Copy2.json | 45 ++++++++ .../widgets/Container1/Button2.json | 45 ++++++++ .../widgets/Container1/Button2Copy.json | 49 +++++++++ .../widgets/Container1/Container1.json | 87 +++++++++++++++ .../widgets/Container1/Text1.json | 52 +++++++++ .../widgets/Container1/Text2.json | 52 +++++++++ .../widgets/Heading.json | 52 +++++++++ .../widgets/Table1.json | 102 ++++++++++++++++++ .../widgets/Container1/Button2Copy.json | 45 ++++++++ .../widgets/Container1/Button2Copy.json | 45 ++++++++ .../widgets/Container1/Button2Copy.json | 45 ++++++++ .../widgets/Container1/Button2Copy.json | 45 ++++++++ 18 files changed, 823 insertions(+) create mode 100644 pages/Pending POs - ML Pending/Pending POs - ML Pending.json create mode 100644 pages/Pending POs - ML Pending/queries/pending_pos_ml_pending/metadata.json create mode 100644 pages/Pending POs - ML Pending/queries/pending_pos_ml_pending/pending_pos_ml_pending.txt create mode 100644 pages/Pending POs - ML Pending/widgets/Container1/Button1.json create mode 100644 pages/Pending POs - ML Pending/widgets/Container1/Button1Copy.json create mode 100644 pages/Pending POs - ML Pending/widgets/Container1/Button1Copy2.json create mode 100644 pages/Pending POs - ML Pending/widgets/Container1/Button2.json create mode 100644 pages/Pending POs - ML Pending/widgets/Container1/Button2Copy.json create mode 100644 pages/Pending POs - ML Pending/widgets/Container1/Container1.json create mode 100644 pages/Pending POs - ML Pending/widgets/Container1/Text1.json create mode 100644 pages/Pending POs - ML Pending/widgets/Container1/Text2.json create mode 100644 pages/Pending POs - ML Pending/widgets/Heading.json create mode 100644 pages/Pending POs - ML Pending/widgets/Table1.json create mode 100644 pages/Pending POs - SLx Pending/widgets/Container1/Button2Copy.json create mode 100644 pages/Sales - Capacity Planning/widgets/Container1/Button2Copy.json create mode 100644 pages/Sales - Units Ordered/widgets/Container1/Button2Copy.json create mode 100644 pages/Sales - Units Shipped/widgets/Container1/Button2Copy.json diff --git a/application.json b/application.json index 5244ba7..9ffac0c 100644 --- a/application.json +++ b/application.json @@ -44,6 +44,10 @@ { "id": "Pending POs - SLx Pending", "isDefault": false + }, + { + "id": "Pending POs - ML Pending", + "isDefault": false } ], "unpublishedAppLayout": { diff --git a/pages/Pending POs - ML Pending/Pending POs - ML Pending.json b/pages/Pending POs - ML Pending/Pending POs - ML Pending.json new file mode 100644 index 0000000..b9275e8 --- /dev/null +++ b/pages/Pending POs - ML Pending/Pending POs - ML Pending.json @@ -0,0 +1,33 @@ +{ + "gitSyncId": "22be064e117f4ab39bc84969_ad603956-85c7-454e-a430-b8bab8ac8849", + "unpublishedPage": { + "isHidden": false, + "layouts": [ + { + "dsl": { + "backgroundColor": "none", + "bottomRow": 1240, + "canExtend": true, + "containerStyle": "none", + "detachFromLayout": true, + "dynamicBindingPathList": [], + "dynamicTriggerPathList": [], + "leftColumn": 0, + "minHeight": 1292, + "parentColumnSpace": 1, + "parentRowSpace": 1, + "rightColumn": 4896, + "snapColumns": 64, + "snapRows": 124, + "topRow": 0, + "type": "CANVAS_WIDGET", + "version": 94, + "widgetId": "0", + "widgetName": "MainContainer" + } + } + ], + "name": "Pending POs - ML Pending", + "slug": "pending-pos-ml-pending" + } +} diff --git a/pages/Pending POs - ML Pending/queries/pending_pos_ml_pending/metadata.json b/pages/Pending POs - ML Pending/queries/pending_pos_ml_pending/metadata.json new file mode 100644 index 0000000..b6f183b --- /dev/null +++ b/pages/Pending POs - ML Pending/queries/pending_pos_ml_pending/metadata.json @@ -0,0 +1,31 @@ +{ + "gitSyncId": "22be064e117f4ab39bc84969_ef4ee4ee-12d6-41da-bb71-4dd92ecb98cb", + "id": "Pending POs - ML Pending_pending_pos_ml_pending", + "pluginId": "postgres-plugin", + "pluginType": "DB", + "unpublishedAction": { + "actionConfiguration": { + "body": "select * from mpe.get_prototype_po_dashboard_data(array['37111']::text[]);", + "encodeParamsToggle": true, + "paginationType": "NONE", + "pluginSpecifiedTemplates": [ + { + "value": true + } + ], + "timeoutInMillisecond": 10000 + }, + "confirmBeforeExecute": false, + "datasource": { + "id": "xTuple_Sandbox", + "isAutoGenerated": false, + "name": "xTuple_Sandbox", + "pluginId": "postgres-plugin" + }, + "dynamicBindingPathList": [], + "name": "pending_pos_ml_pending", + "pageId": "Pending POs - ML Pending", + "runBehaviour": "AUTOMATIC", + "userSetOnLoad": false + } +} diff --git a/pages/Pending POs - ML Pending/queries/pending_pos_ml_pending/pending_pos_ml_pending.txt b/pages/Pending POs - ML Pending/queries/pending_pos_ml_pending/pending_pos_ml_pending.txt new file mode 100644 index 0000000..28c054b --- /dev/null +++ b/pages/Pending POs - ML Pending/queries/pending_pos_ml_pending/pending_pos_ml_pending.txt @@ -0,0 +1 @@ +select * from mpe.get_prototype_po_dashboard_data(array['37111']::text[]); \ No newline at end of file diff --git a/pages/Pending POs - ML Pending/widgets/Container1/Button1.json b/pages/Pending POs - ML Pending/widgets/Container1/Button1.json new file mode 100644 index 0000000..1ba7baf --- /dev/null +++ b/pages/Pending POs - ML Pending/widgets/Container1/Button1.json @@ -0,0 +1,45 @@ +{ + "animateLoading": true, + "borderRadius": "0.375rem", + "bottomRow": 8, + "boxShadow": "none", + "buttonColor": "#ffffff", + "buttonVariant": "PRIMARY", + "disabledWhenInvalid": false, + "dynamicBindingPathList": [], + "dynamicTriggerPathList": [ + { + "key": "onClick" + } + ], + "isDefaultClickDisabled": true, + "isDisabled": false, + "isLoading": false, + "isVisible": true, + "key": "0k5ucqsuin", + "leftColumn": 0, + "minWidth": 120, + "mobileBottomRow": 8, + "mobileLeftColumn": 0, + "mobileRightColumn": 16, + "mobileTopRow": 4, + "needsErrorInfo": false, + "onClick": "{{navigateTo('Sales - Capacity Planning', {}, 'SAME_WINDOW');}}", + "originalBottomRow": 8, + "originalTopRow": 4, + "parentColumnSpace": 3.841796875, + "parentId": "ml1canvas01", + "parentRowSpace": 10, + "placement": "START", + "recaptchaType": "V3", + "renderMode": "CANVAS", + "resetFormOnClick": false, + "responsiveBehavior": "hug", + "rightColumn": 64, + "text": "Capacity Planning", + "topRow": 4, + "type": "BUTTON_WIDGET", + "version": 1, + "widgetId": "ml1btncappl", + "widgetName": "Button1" +} diff --git a/pages/Pending POs - ML Pending/widgets/Container1/Button1Copy.json b/pages/Pending POs - ML Pending/widgets/Container1/Button1Copy.json new file mode 100644 index 0000000..472940a --- /dev/null +++ b/pages/Pending POs - ML Pending/widgets/Container1/Button1Copy.json @@ -0,0 +1,45 @@ +{ + "animateLoading": true, + "borderRadius": "0.375rem", + "bottomRow": 12, + "boxShadow": "none", + "buttonColor": "#ffffff", + "buttonVariant": "PRIMARY", + "disabledWhenInvalid": false, + "dynamicBindingPathList": [], + "dynamicTriggerPathList": [ + { + "key": "onClick" + } + ], + "isDefaultClickDisabled": true, + "isDisabled": false, + "isLoading": false, + "isVisible": true, + "key": "0k5ucqsuin", + "leftColumn": 0, + "minWidth": 120, + "mobileBottomRow": 8, + "mobileLeftColumn": 0, + "mobileRightColumn": 16, + "mobileTopRow": 4, + "needsErrorInfo": false, + "onClick": "{{navigateTo('Sales - Units Shipped', {}, 'SAME_WINDOW');}}", + "originalBottomRow": 12, + "originalTopRow": 8, + "parentColumnSpace": 3.841796875, + "parentId": "ml1canvas01", + "parentRowSpace": 10, + "placement": "START", + "recaptchaType": "V3", + "renderMode": "CANVAS", + "resetFormOnClick": false, + "responsiveBehavior": "hug", + "rightColumn": 64, + "text": "Units Shipped", + "topRow": 8, + "type": "BUTTON_WIDGET", + "version": 1, + "widgetId": "ml1btnships", + "widgetName": "Button1Copy" +} diff --git a/pages/Pending POs - ML Pending/widgets/Container1/Button1Copy2.json b/pages/Pending POs - ML Pending/widgets/Container1/Button1Copy2.json new file mode 100644 index 0000000..9019d5b --- /dev/null +++ b/pages/Pending POs - ML Pending/widgets/Container1/Button1Copy2.json @@ -0,0 +1,45 @@ +{ + "animateLoading": true, + "borderRadius": "0.375rem", + "bottomRow": 16, + "boxShadow": "none", + "buttonColor": "#ffffff", + "buttonVariant": "PRIMARY", + "disabledWhenInvalid": false, + "dynamicBindingPathList": [], + "dynamicTriggerPathList": [ + { + "key": "onClick" + } + ], + "isDefaultClickDisabled": true, + "isDisabled": false, + "isLoading": false, + "isVisible": true, + "key": "0j7c9d2q1h", + "leftColumn": 0, + "minWidth": 120, + "mobileBottomRow": 8, + "mobileLeftColumn": 0, + "mobileRightColumn": 16, + "mobileTopRow": 4, + "needsErrorInfo": false, + "onClick": "{{navigateTo('Sales - Units Ordered', {}, 'SAME_WINDOW');}}", + "originalBottomRow": 16, + "originalTopRow": 12, + "parentColumnSpace": 3.841796875, + "parentId": "ml1canvas01", + "parentRowSpace": 10, + "placement": "START", + "recaptchaType": "V3", + "renderMode": "CANVAS", + "resetFormOnClick": false, + "responsiveBehavior": "hug", + "rightColumn": 64, + "text": "Units Ordered", + "topRow": 12, + "type": "BUTTON_WIDGET", + "version": 1, + "widgetId": "ml1btnorder", + "widgetName": "Button1Copy2" +} diff --git a/pages/Pending POs - ML Pending/widgets/Container1/Button2.json b/pages/Pending POs - ML Pending/widgets/Container1/Button2.json new file mode 100644 index 0000000..0fa3e9c --- /dev/null +++ b/pages/Pending POs - ML Pending/widgets/Container1/Button2.json @@ -0,0 +1,45 @@ +{ + "animateLoading": true, + "borderRadius": "0.375rem", + "bottomRow": 26, + "boxShadow": "none", + "buttonColor": "#ffffff", + "buttonVariant": "PRIMARY", + "disabledWhenInvalid": false, + "dynamicBindingPathList": [], + "dynamicTriggerPathList": [ + { + "key": "onClick" + } + ], + "isDefaultClickDisabled": true, + "isDisabled": false, + "isLoading": false, + "isVisible": true, + "key": "ml1btnkey01", + "leftColumn": 0, + "minWidth": 120, + "mobileBottomRow": 26, + "mobileLeftColumn": 0, + "mobileRightColumn": 16, + "mobileTopRow": 22, + "needsErrorInfo": false, + "onClick": "{{navigateTo('Pending POs - SLx Pending', {}, 'SAME_WINDOW');}}", + "originalBottomRow": 26, + "originalTopRow": 22, + "parentColumnSpace": 3.841796875, + "parentId": "ml1canvas01", + "parentRowSpace": 10, + "placement": "START", + "recaptchaType": "V3", + "renderMode": "CANVAS", + "resetFormOnClick": false, + "responsiveBehavior": "hug", + "rightColumn": 64, + "text": "SLx Pending", + "topRow": 22, + "type": "BUTTON_WIDGET", + "version": 1, + "widgetId": "ml1btnslxpn", + "widgetName": "Button2" +} diff --git a/pages/Pending POs - ML Pending/widgets/Container1/Button2Copy.json b/pages/Pending POs - ML Pending/widgets/Container1/Button2Copy.json new file mode 100644 index 0000000..8a59bdd --- /dev/null +++ b/pages/Pending POs - ML Pending/widgets/Container1/Button2Copy.json @@ -0,0 +1,49 @@ +{ + "animateLoading": true, + "borderRadius": "0.375rem", + "bottomRow": 30, + "boxShadow": "none", + "buttonColor": "{{appsmith.theme.colors.backgroundColor}}", + "buttonVariant": "PRIMARY", + "disabledWhenInvalid": false, + "dynamicBindingPathList": [ + { + "key": "buttonColor" + } + ], + "dynamicTriggerPathList": [ + { + "key": "onClick" + } + ], + "isDefaultClickDisabled": true, + "isDisabled": false, + "isLoading": false, + "isVisible": true, + "key": "ml1btnkey02", + "leftColumn": 0, + "minWidth": 120, + "mobileBottomRow": 30, + "mobileLeftColumn": 0, + "mobileRightColumn": 16, + "mobileTopRow": 26, + "needsErrorInfo": false, + "onClick": "{{navigateTo('Pending POs - ML Pending', {}, 'SAME_WINDOW');}}", + "originalBottomRow": 30, + "originalTopRow": 26, + "parentColumnSpace": 3.841796875, + "parentId": "ml1canvas01", + "parentRowSpace": 10, + "placement": "START", + "recaptchaType": "V3", + "renderMode": "CANVAS", + "resetFormOnClick": false, + "responsiveBehavior": "hug", + "rightColumn": 64, + "text": "ML Pending", + "topRow": 26, + "type": "BUTTON_WIDGET", + "version": 1, + "widgetId": "ml1btnmlpnd", + "widgetName": "Button2Copy" +} diff --git a/pages/Pending POs - ML Pending/widgets/Container1/Container1.json b/pages/Pending POs - ML Pending/widgets/Container1/Container1.json new file mode 100644 index 0000000..6a6e75f --- /dev/null +++ b/pages/Pending POs - ML Pending/widgets/Container1/Container1.json @@ -0,0 +1,87 @@ +{ + "animateLoading": true, + "backgroundColor": "#FFFFFF", + "borderColor": "#E0DEDE", + "borderRadius": "0px", + "borderWidth": "1", + "bottomRow": 124, + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "children": [ + { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "bottomRow": 1240, + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "canExtend": false, + "containerStyle": "none", + "detachFromLayout": true, + "dynamicBindingPathList": [ + { + "key": "borderRadius" + }, + { + "key": "boxShadow" + } + ], + "dynamicHeight": "AUTO_HEIGHT", + "flexLayers": [], + "isLoading": false, + "isVisible": true, + "key": "xorz42kdhi", + "leftColumn": 0, + "maxDynamicHeight": 9000, + "minDynamicHeight": 4, + "minHeight": 100, + "minWidth": 450, + "mobileBottomRow": 100, + "mobileLeftColumn": 0, + "mobileRightColumn": 132.9375, + "mobileTopRow": 0, + "needsErrorInfo": false, + "parentColumnSpace": 1, + "parentId": "ml1c0ntain", + "parentRowSpace": 1, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 132.9375, + "topRow": 0, + "type": "CANVAS_WIDGET", + "version": 1, + "widgetId": "ml1canvas01", + "widgetName": "Canvas1" + } + ], + "containerStyle": "card", + "dynamicBindingPathList": [ + { + "key": "boxShadow" + } + ], + "dynamicHeight": "FIXED", + "dynamicTriggerPathList": [], + "flexVerticalAlignment": "stretch", + "isCanvas": true, + "isLoading": false, + "isVisible": true, + "key": "36jaq5m9iy", + "leftColumn": 0, + "maxDynamicHeight": 12, + "minDynamicHeight": 10, + "minWidth": 450, + "mobileBottomRow": 10, + "mobileLeftColumn": 0, + "mobileRightColumn": 3, + "mobileTopRow": 0, + "needsErrorInfo": false, + "parentColumnSpace": 44.3125, + "parentId": "0", + "parentRowSpace": 10, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 9, + "shouldScrollContents": true, + "topRow": 0, + "type": "CONTAINER_WIDGET", + "version": 1, + "widgetId": "ml1c0ntain", + "widgetName": "Container1" +} diff --git a/pages/Pending POs - ML Pending/widgets/Container1/Text1.json b/pages/Pending POs - ML Pending/widgets/Container1/Text1.json new file mode 100644 index 0000000..ffabe1a --- /dev/null +++ b/pages/Pending POs - ML Pending/widgets/Container1/Text1.json @@ -0,0 +1,52 @@ +{ + "animateLoading": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "bottomRow": 4, + "dynamicBindingPathList": [ + { + "key": "truncateButtonColor" + }, + { + "key": "fontFamily" + }, + { + "key": "borderRadius" + } + ], + "dynamicHeight": "AUTO_HEIGHT", + "dynamicTriggerPathList": [], + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "fontSize": "1rem", + "fontStyle": "BOLD", + "isLoading": false, + "isVisible": true, + "key": "01n8bhu9n6", + "leftColumn": 0, + "maxDynamicHeight": 9000, + "minDynamicHeight": 4, + "minWidth": 450, + "mobileBottomRow": 6, + "mobileLeftColumn": 10, + "mobileRightColumn": 26, + "mobileTopRow": 2, + "needsErrorInfo": false, + "originalBottomRow": 4, + "originalTopRow": 0, + "overflow": "NONE", + "parentColumnSpace": 3.841796875, + "parentId": "ml1canvas01", + "parentRowSpace": 10, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 64, + "shouldTruncate": false, + "text": "Sales", + "textAlign": "LEFT", + "textColor": "#231F20", + "topRow": 0, + "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", + "type": "TEXT_WIDGET", + "version": 1, + "widgetId": "ml1txtsales", + "widgetName": "Text1" +} diff --git a/pages/Pending POs - ML Pending/widgets/Container1/Text2.json b/pages/Pending POs - ML Pending/widgets/Container1/Text2.json new file mode 100644 index 0000000..4f6f02e --- /dev/null +++ b/pages/Pending POs - ML Pending/widgets/Container1/Text2.json @@ -0,0 +1,52 @@ +{ + "animateLoading": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "bottomRow": 22, + "dynamicBindingPathList": [ + { + "key": "truncateButtonColor" + }, + { + "key": "fontFamily" + }, + { + "key": "borderRadius" + } + ], + "dynamicHeight": "AUTO_HEIGHT", + "dynamicTriggerPathList": [], + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "fontSize": "1rem", + "fontStyle": "BOLD", + "isLoading": false, + "isVisible": true, + "key": "ml1txkey01", + "leftColumn": 0, + "maxDynamicHeight": 9000, + "minDynamicHeight": 4, + "minWidth": 450, + "mobileBottomRow": 22, + "mobileLeftColumn": 10, + "mobileRightColumn": 26, + "mobileTopRow": 18, + "needsErrorInfo": false, + "originalBottomRow": 22, + "originalTopRow": 18, + "overflow": "NONE", + "parentColumnSpace": 3.841796875, + "parentId": "ml1canvas01", + "parentRowSpace": 10, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 64, + "shouldTruncate": false, + "text": "Pending POs", + "textAlign": "LEFT", + "textColor": "#231F20", + "topRow": 18, + "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", + "type": "TEXT_WIDGET", + "version": 1, + "widgetId": "ml1txtpndpo", + "widgetName": "Text2" +} diff --git a/pages/Pending POs - ML Pending/widgets/Heading.json b/pages/Pending POs - ML Pending/widgets/Heading.json new file mode 100644 index 0000000..b3d1899 --- /dev/null +++ b/pages/Pending POs - ML Pending/widgets/Heading.json @@ -0,0 +1,52 @@ +{ + "animateLoading": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "bottomRow": 5, + "dynamicBindingPathList": [ + { + "key": "truncateButtonColor" + }, + { + "key": "fontFamily" + }, + { + "key": "borderRadius" + } + ], + "dynamicHeight": "AUTO_HEIGHT", + "dynamicTriggerPathList": [], + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "fontSize": "1.875rem", + "fontStyle": "BOLD", + "isLoading": false, + "isVisible": true, + "key": "ml1hdkey01", + "leftColumn": 9, + "maxDynamicHeight": 9000, + "minDynamicHeight": 4, + "minWidth": 450, + "mobileBottomRow": 5, + "mobileLeftColumn": 1, + "mobileRightColumn": 17, + "mobileTopRow": 1, + "needsErrorInfo": false, + "originalBottomRow": 5, + "originalTopRow": 0, + "overflow": "NONE", + "parentColumnSpace": 25.109375, + "parentId": "0", + "parentRowSpace": 10, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 64, + "shouldTruncate": false, + "text": "Pending POs - ML Pending", + "textAlign": "LEFT", + "textColor": "#231F20", + "topRow": 0, + "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", + "type": "TEXT_WIDGET", + "version": 1, + "widgetId": "ml1heading1", + "widgetName": "Heading" +} diff --git a/pages/Pending POs - ML Pending/widgets/Table1.json b/pages/Pending POs - ML Pending/widgets/Table1.json new file mode 100644 index 0000000..4e4ee1b --- /dev/null +++ b/pages/Pending POs - ML Pending/widgets/Table1.json @@ -0,0 +1,102 @@ +{ + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "animateLoading": true, + "borderColor": "#E0DEDE", + "borderRadius": "0.375rem", + "borderWidth": "1", + "bottomRow": 67, + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "cachedTableData": {}, + "canFreezeColumn": true, + "childStylesheet": { + "button": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "editActions": { + "discardBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "discardButtonColor": "{{appsmith.theme.colors.primaryColor}}", + "saveBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "saveButtonColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "iconButton": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "menuButton": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none", + "menuColor": "{{appsmith.theme.colors.primaryColor}}" + } + }, + "columnOrder": [], + "columnWidthMap": {}, + "compactMode": "SHORT", + "customIsLoading": false, + "customIsLoadingValue": "", + "defaultPageSize": 0, + "defaultSelectedRowIndex": 0, + "defaultSelectedRowIndices": [ + 0 + ], + "delimiter": ",", + "dynamicBindingPathList": [ + { + "key": "accentColor" + }, + { + "key": "boxShadow" + }, + { + "key": "tableData" + } + ], + "dynamicPropertyPathList": [ + { + "key": "textSize" + } + ], + "dynamicTriggerPathList": [], + "enableClientSideSearch": true, + "endOfData": false, + "flexVerticalAlignment": "start", + "horizontalAlignment": "LEFT", + "inlineEditingSaveOption": "ROW_LEVEL", + "isLoading": false, + "isSortable": true, + "isVisible": true, + "isVisibleDownload": true, + "isVisibleFilters": false, + "isVisiblePagination": true, + "isVisibleSearch": false, + "key": "ml1tblkey01", + "label": "Data", + "leftColumn": 9, + "minWidth": 450, + "mobileBottomRow": 31, + "mobileLeftColumn": 15, + "mobileRightColumn": 64, + "mobileTopRow": 10, + "needsErrorInfo": false, + "originalBottomRow": 67, + "originalTopRow": 5, + "parentColumnSpace": 11.265625, + "parentId": "0", + "parentRowSpace": 10, + "primaryColumns": {}, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 64, + "searchKey": "", + "tableData": "{{pending_pos_ml_pending.data}}", + "textSize": "0.775rem", + "topRow": 5, + "totalRecordsCount": 0, + "type": "TABLE_WIDGET_V2", + "version": 2, + "verticalAlignment": "CENTER", + "widgetId": "ml1table001", + "widgetName": "Table1" +} diff --git a/pages/Pending POs - SLx Pending/widgets/Container1/Button2Copy.json b/pages/Pending POs - SLx Pending/widgets/Container1/Button2Copy.json new file mode 100644 index 0000000..aa9f95b --- /dev/null +++ b/pages/Pending POs - SLx Pending/widgets/Container1/Button2Copy.json @@ -0,0 +1,45 @@ +{ + "animateLoading": true, + "borderRadius": "0.375rem", + "bottomRow": 30, + "boxShadow": "none", + "buttonColor": "#ffffff", + "buttonVariant": "PRIMARY", + "disabledWhenInvalid": false, + "dynamicBindingPathList": [], + "dynamicTriggerPathList": [ + { + "key": "onClick" + } + ], + "isDefaultClickDisabled": true, + "isDisabled": false, + "isLoading": false, + "isVisible": true, + "key": "pp1btnkey02", + "leftColumn": 0, + "minWidth": 120, + "mobileBottomRow": 30, + "mobileLeftColumn": 0, + "mobileRightColumn": 16, + "mobileTopRow": 26, + "needsErrorInfo": false, + "onClick": "{{navigateTo('Pending POs - ML Pending', {}, 'SAME_WINDOW');}}", + "originalBottomRow": 30, + "originalTopRow": 26, + "parentColumnSpace": 3.841796875, + "parentId": "pp1canvas01", + "parentRowSpace": 10, + "placement": "START", + "recaptchaType": "V3", + "renderMode": "CANVAS", + "resetFormOnClick": false, + "responsiveBehavior": "hug", + "rightColumn": 64, + "text": "ML Pending", + "topRow": 26, + "type": "BUTTON_WIDGET", + "version": 1, + "widgetId": "pp1btnmlpnd", + "widgetName": "Button2Copy" +} diff --git a/pages/Sales - Capacity Planning/widgets/Container1/Button2Copy.json b/pages/Sales - Capacity Planning/widgets/Container1/Button2Copy.json new file mode 100644 index 0000000..4abb7aa --- /dev/null +++ b/pages/Sales - Capacity Planning/widgets/Container1/Button2Copy.json @@ -0,0 +1,45 @@ +{ + "animateLoading": true, + "borderRadius": "0.375rem", + "bottomRow": 30, + "boxShadow": "none", + "buttonColor": "#ffffff", + "buttonVariant": "PRIMARY", + "disabledWhenInvalid": false, + "dynamicBindingPathList": [], + "dynamicTriggerPathList": [ + { + "key": "onClick" + } + ], + "isDefaultClickDisabled": true, + "isDisabled": false, + "isLoading": false, + "isVisible": true, + "key": "cp1btnkey02", + "leftColumn": 0, + "minWidth": 120, + "mobileBottomRow": 30, + "mobileLeftColumn": 0, + "mobileRightColumn": 16, + "mobileTopRow": 26, + "needsErrorInfo": false, + "onClick": "{{navigateTo('Pending POs - ML Pending', {}, 'SAME_WINDOW');}}", + "originalBottomRow": 30, + "originalTopRow": 26, + "parentColumnSpace": 3.841796875, + "parentId": "x3pc17vp6q", + "parentRowSpace": 10, + "placement": "START", + "recaptchaType": "V3", + "renderMode": "CANVAS", + "resetFormOnClick": false, + "responsiveBehavior": "hug", + "rightColumn": 64, + "text": "ML Pending", + "topRow": 26, + "type": "BUTTON_WIDGET", + "version": 1, + "widgetId": "cp1btnmlpnd", + "widgetName": "Button2Copy" +} diff --git a/pages/Sales - Units Ordered/widgets/Container1/Button2Copy.json b/pages/Sales - Units Ordered/widgets/Container1/Button2Copy.json new file mode 100644 index 0000000..ca352ce --- /dev/null +++ b/pages/Sales - Units Ordered/widgets/Container1/Button2Copy.json @@ -0,0 +1,45 @@ +{ + "animateLoading": true, + "borderRadius": "0.375rem", + "bottomRow": 30, + "boxShadow": "none", + "buttonColor": "#ffffff", + "buttonVariant": "PRIMARY", + "disabledWhenInvalid": false, + "dynamicBindingPathList": [], + "dynamicTriggerPathList": [ + { + "key": "onClick" + } + ], + "isDefaultClickDisabled": true, + "isDisabled": false, + "isLoading": false, + "isVisible": true, + "key": "uo1btnkey02", + "leftColumn": 0, + "minWidth": 120, + "mobileBottomRow": 30, + "mobileLeftColumn": 0, + "mobileRightColumn": 16, + "mobileTopRow": 26, + "needsErrorInfo": false, + "onClick": "{{navigateTo('Pending POs - ML Pending', {}, 'SAME_WINDOW');}}", + "originalBottomRow": 30, + "originalTopRow": 26, + "parentColumnSpace": 3.841796875, + "parentId": "wj6fxg5wpg", + "parentRowSpace": 10, + "placement": "START", + "recaptchaType": "V3", + "renderMode": "CANVAS", + "resetFormOnClick": false, + "responsiveBehavior": "hug", + "rightColumn": 64, + "text": "ML Pending", + "topRow": 26, + "type": "BUTTON_WIDGET", + "version": 1, + "widgetId": "uo1btnmlpnd", + "widgetName": "Button2Copy" +} diff --git a/pages/Sales - Units Shipped/widgets/Container1/Button2Copy.json b/pages/Sales - Units Shipped/widgets/Container1/Button2Copy.json new file mode 100644 index 0000000..5c7653e --- /dev/null +++ b/pages/Sales - Units Shipped/widgets/Container1/Button2Copy.json @@ -0,0 +1,45 @@ +{ + "animateLoading": true, + "borderRadius": "0.375rem", + "bottomRow": 30, + "boxShadow": "none", + "buttonColor": "#ffffff", + "buttonVariant": "PRIMARY", + "disabledWhenInvalid": false, + "dynamicBindingPathList": [], + "dynamicTriggerPathList": [ + { + "key": "onClick" + } + ], + "isDefaultClickDisabled": true, + "isDisabled": false, + "isLoading": false, + "isVisible": true, + "key": "us1btnkey02", + "leftColumn": 0, + "minWidth": 120, + "mobileBottomRow": 30, + "mobileLeftColumn": 0, + "mobileRightColumn": 16, + "mobileTopRow": 26, + "needsErrorInfo": false, + "onClick": "{{navigateTo('Pending POs - ML Pending', {}, 'SAME_WINDOW');}}", + "originalBottomRow": 30, + "originalTopRow": 26, + "parentColumnSpace": 3.841796875, + "parentId": "wj6fxg5wpg", + "parentRowSpace": 10, + "placement": "START", + "recaptchaType": "V3", + "renderMode": "CANVAS", + "resetFormOnClick": false, + "responsiveBehavior": "hug", + "rightColumn": 64, + "text": "ML Pending", + "topRow": 26, + "type": "BUTTON_WIDGET", + "version": 1, + "widgetId": "us1btnmlpnd", + "widgetName": "Button2Copy" +} From dfc2ba3f79d8fdceadee5c45d7e3b4e60a451890 Mon Sep 17 00:00:00 2001 From: ibariss Date: Fri, 27 Feb 2026 12:40:59 +0000 Subject: [PATCH 47/71] autogenerated --- .../widgets/Table1.json | 503 +++++++++++++++++- 1 file changed, 500 insertions(+), 3 deletions(-) diff --git a/pages/Pending POs - ML Pending/widgets/Table1.json b/pages/Pending POs - ML Pending/widgets/Table1.json index 4e4ee1b..746c274 100644 --- a/pages/Pending POs - ML Pending/widgets/Table1.json +++ b/pages/Pending POs - ML Pending/widgets/Table1.json @@ -31,7 +31,22 @@ "menuColor": "{{appsmith.theme.colors.primaryColor}}" } }, - "columnOrder": [], + "columnOrder": [ + "matl", + "matl_classocde", + "matl_desc", + "matl_spec", + "qoh", + "po_released", + "po_opened", + "po_closed", + "poitem_due", + "wo_item", + "wo_demanding", + "wo_total_demand", + "uom" + ], + "columnUpdatedAt": 1772195991960, "columnWidthMap": {}, "compactMode": "SHORT", "customIsLoading": false, @@ -51,6 +66,45 @@ }, { "key": "tableData" + }, + { + "key": "primaryColumns.matl.computedValue" + }, + { + "key": "primaryColumns.matl_classocde.computedValue" + }, + { + "key": "primaryColumns.matl_desc.computedValue" + }, + { + "key": "primaryColumns.matl_spec.computedValue" + }, + { + "key": "primaryColumns.qoh.computedValue" + }, + { + "key": "primaryColumns.po_released.computedValue" + }, + { + "key": "primaryColumns.po_opened.computedValue" + }, + { + "key": "primaryColumns.po_closed.computedValue" + }, + { + "key": "primaryColumns.poitem_due.computedValue" + }, + { + "key": "primaryColumns.wo_item.computedValue" + }, + { + "key": "primaryColumns.wo_demanding.computedValue" + }, + { + "key": "primaryColumns.wo_total_demand.computedValue" + }, + { + "key": "primaryColumns.uom.computedValue" } ], "dynamicPropertyPathList": [ @@ -85,7 +139,450 @@ "parentColumnSpace": 11.265625, "parentId": "0", "parentRowSpace": 10, - "primaryColumns": {}, + "primaryColumns": { + "matl": { + "alias": "matl", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "cellBackground": "", + "columnType": "text", + "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"matl\"])) : matl })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "fontStyle": "", + "horizontalAlignment": "LEFT", + "id": "matl", + "index": 0, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "matl", + "notation": "standard", + "originalId": "matl", + "sticky": "", + "textColor": "", + "textSize": "0.775rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + }, + "matl_classocde": { + "alias": "matl_classocde", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "cellBackground": "", + "columnType": "text", + "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"matl_classocde\"])) : matl_classocde })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "fontStyle": "", + "horizontalAlignment": "LEFT", + "id": "matl_classocde", + "index": 1, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "matl_classocde", + "notation": "standard", + "originalId": "matl_classocde", + "sticky": "", + "textColor": "", + "textSize": "0.775rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + }, + "matl_desc": { + "alias": "matl_desc", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "cellBackground": "", + "columnType": "text", + "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"matl_desc\"])) : matl_desc })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "fontStyle": "", + "horizontalAlignment": "LEFT", + "id": "matl_desc", + "index": 2, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "matl_desc", + "notation": "standard", + "originalId": "matl_desc", + "sticky": "", + "textColor": "", + "textSize": "0.775rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + }, + "matl_spec": { + "alias": "matl_spec", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "cellBackground": "", + "columnType": "text", + "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"matl_spec\"])) : matl_spec })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "fontStyle": "", + "horizontalAlignment": "LEFT", + "id": "matl_spec", + "index": 3, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "matl_spec", + "notation": "standard", + "originalId": "matl_spec", + "sticky": "", + "textColor": "", + "textSize": "0.775rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + }, + "po_closed": { + "alias": "po_closed", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "cellBackground": "", + "columnType": "number", + "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"po_closed\"])) : po_closed })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "fontStyle": "", + "horizontalAlignment": "LEFT", + "id": "po_closed", + "index": 7, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "po_closed", + "notation": "standard", + "originalId": "po_closed", + "sticky": "", + "textColor": "", + "textSize": "0.775rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + }, + "po_opened": { + "alias": "po_opened", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "cellBackground": "", + "columnType": "number", + "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"po_opened\"])) : po_opened })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "fontStyle": "", + "horizontalAlignment": "LEFT", + "id": "po_opened", + "index": 6, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "po_opened", + "notation": "standard", + "originalId": "po_opened", + "sticky": "", + "textColor": "", + "textSize": "0.775rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + }, + "po_released": { + "alias": "po_released", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "cellBackground": "", + "columnType": "number", + "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"po_released\"])) : po_released })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "fontStyle": "", + "horizontalAlignment": "LEFT", + "id": "po_released", + "index": 5, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "po_released", + "notation": "standard", + "originalId": "po_released", + "sticky": "", + "textColor": "", + "textSize": "0.775rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + }, + "poitem_due": { + "alias": "poitem_due", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "cellBackground": "", + "columnType": "date", + "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"poitem_due\"])) : poitem_due })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "fontStyle": "", + "horizontalAlignment": "LEFT", + "id": "poitem_due", + "index": 8, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "poitem_due", + "notation": "standard", + "originalId": "poitem_due", + "sticky": "", + "textColor": "", + "textSize": "0.775rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + }, + "qoh": { + "alias": "qoh", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "cellBackground": "", + "columnType": "number", + "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"qoh\"])) : qoh })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "fontStyle": "", + "horizontalAlignment": "LEFT", + "id": "qoh", + "index": 4, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "qoh", + "notation": "standard", + "originalId": "qoh", + "sticky": "", + "textColor": "", + "textSize": "0.775rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + }, + "uom": { + "alias": "uom", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "cellBackground": "", + "columnType": "text", + "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"uom\"])) : uom })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "fontStyle": "", + "horizontalAlignment": "LEFT", + "id": "uom", + "index": 12, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "uom", + "notation": "standard", + "originalId": "uom", + "sticky": "", + "textColor": "", + "textSize": "0.775rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + }, + "wo_demanding": { + "alias": "wo_demanding", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "cellBackground": "", + "columnType": "text", + "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"wo_demanding\"])) : wo_demanding })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "fontStyle": "", + "horizontalAlignment": "LEFT", + "id": "wo_demanding", + "index": 10, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "wo_demanding", + "notation": "standard", + "originalId": "wo_demanding", + "sticky": "", + "textColor": "", + "textSize": "0.775rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + }, + "wo_item": { + "alias": "wo_item", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "cellBackground": "", + "columnType": "text", + "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"wo_item\"])) : wo_item })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "fontStyle": "", + "horizontalAlignment": "LEFT", + "id": "wo_item", + "index": 9, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "wo_item", + "notation": "standard", + "originalId": "wo_item", + "sticky": "", + "textColor": "", + "textSize": "0.775rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + }, + "wo_total_demand": { + "alias": "wo_total_demand", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "cellBackground": "", + "columnType": "number", + "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"wo_total_demand\"])) : wo_total_demand })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "fontStyle": "", + "horizontalAlignment": "LEFT", + "id": "wo_total_demand", + "index": 11, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "wo_total_demand", + "notation": "standard", + "originalId": "wo_total_demand", + "sticky": "", + "textColor": "", + "textSize": "0.775rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + } + }, "renderMode": "CANVAS", "responsiveBehavior": "fill", "rightColumn": 64, @@ -99,4 +596,4 @@ "verticalAlignment": "CENTER", "widgetId": "ml1table001", "widgetName": "Table1" -} +} \ No newline at end of file From 28bb0e65e5f88a2945d7f1b3c8bff6b94d2b6ce6 Mon Sep 17 00:00:00 2001 From: ivarsbariss Date: Fri, 27 Feb 2026 14:00:27 +0100 Subject: [PATCH 48/71] Add ALx page --- application.json | 4 + .../Pending POs - ALx Pending.json | 33 + .../pending_pos_alx_pending/metadata.json | 31 + .../pending_pos_alx_pending.txt | 1 + .../widgets/Container1/Button1.json | 45 ++ .../widgets/Container1/Button1Copy.json | 45 ++ .../widgets/Container1/Button1Copy2.json | 45 ++ .../widgets/Container1/Button2.json | 45 ++ .../widgets/Container1/Button2Copy.json | 45 ++ .../widgets/Container1/Button2Copy2.json | 49 ++ .../widgets/Container1/Container1.json | 87 +++ .../widgets/Container1/Text1.json | 52 ++ .../widgets/Container1/Text2.json | 52 ++ .../widgets/Heading.json | 52 ++ .../widgets/Table1.json | 599 ++++++++++++++++++ .../widgets/Container1/Button2Copy2.json | 45 ++ .../widgets/Container1/Button2Copy2.json | 45 ++ .../widgets/Container1/Button2Copy2.json | 45 ++ .../widgets/Container1/Button2Copy2.json | 45 ++ .../widgets/Container1/Button2Copy2.json | 45 ++ 20 files changed, 1410 insertions(+) create mode 100644 pages/Pending POs - ALx Pending/Pending POs - ALx Pending.json create mode 100644 pages/Pending POs - ALx Pending/queries/pending_pos_alx_pending/metadata.json create mode 100644 pages/Pending POs - ALx Pending/queries/pending_pos_alx_pending/pending_pos_alx_pending.txt create mode 100644 pages/Pending POs - ALx Pending/widgets/Container1/Button1.json create mode 100644 pages/Pending POs - ALx Pending/widgets/Container1/Button1Copy.json create mode 100644 pages/Pending POs - ALx Pending/widgets/Container1/Button1Copy2.json create mode 100644 pages/Pending POs - ALx Pending/widgets/Container1/Button2.json create mode 100644 pages/Pending POs - ALx Pending/widgets/Container1/Button2Copy.json create mode 100644 pages/Pending POs - ALx Pending/widgets/Container1/Button2Copy2.json create mode 100644 pages/Pending POs - ALx Pending/widgets/Container1/Container1.json create mode 100644 pages/Pending POs - ALx Pending/widgets/Container1/Text1.json create mode 100644 pages/Pending POs - ALx Pending/widgets/Container1/Text2.json create mode 100644 pages/Pending POs - ALx Pending/widgets/Heading.json create mode 100644 pages/Pending POs - ALx Pending/widgets/Table1.json create mode 100644 pages/Pending POs - ML Pending/widgets/Container1/Button2Copy2.json create mode 100644 pages/Pending POs - SLx Pending/widgets/Container1/Button2Copy2.json create mode 100644 pages/Sales - Capacity Planning/widgets/Container1/Button2Copy2.json create mode 100644 pages/Sales - Units Ordered/widgets/Container1/Button2Copy2.json create mode 100644 pages/Sales - Units Shipped/widgets/Container1/Button2Copy2.json diff --git a/application.json b/application.json index 9ffac0c..1c0fe84 100644 --- a/application.json +++ b/application.json @@ -48,6 +48,10 @@ { "id": "Pending POs - ML Pending", "isDefault": false + }, + { + "id": "Pending POs - ALx Pending", + "isDefault": false } ], "unpublishedAppLayout": { diff --git a/pages/Pending POs - ALx Pending/Pending POs - ALx Pending.json b/pages/Pending POs - ALx Pending/Pending POs - ALx Pending.json new file mode 100644 index 0000000..5a38b54 --- /dev/null +++ b/pages/Pending POs - ALx Pending/Pending POs - ALx Pending.json @@ -0,0 +1,33 @@ +{ + "gitSyncId": "102d543a26af44b2844593fc_fcaabe11-7464-4e41-850f-96e13fa19398", + "unpublishedPage": { + "isHidden": false, + "layouts": [ + { + "dsl": { + "backgroundColor": "none", + "bottomRow": 1240, + "canExtend": true, + "containerStyle": "none", + "detachFromLayout": true, + "dynamicBindingPathList": [], + "dynamicTriggerPathList": [], + "leftColumn": 0, + "minHeight": 1292, + "parentColumnSpace": 1, + "parentRowSpace": 1, + "rightColumn": 4896, + "snapColumns": 64, + "snapRows": 124, + "topRow": 0, + "type": "CANVAS_WIDGET", + "version": 94, + "widgetId": "0", + "widgetName": "MainContainer" + } + } + ], + "name": "Pending POs - ALx Pending", + "slug": "pending-pos-alx-pending" + } +} diff --git a/pages/Pending POs - ALx Pending/queries/pending_pos_alx_pending/metadata.json b/pages/Pending POs - ALx Pending/queries/pending_pos_alx_pending/metadata.json new file mode 100644 index 0000000..bda9101 --- /dev/null +++ b/pages/Pending POs - ALx Pending/queries/pending_pos_alx_pending/metadata.json @@ -0,0 +1,31 @@ +{ + "gitSyncId": "102d543a26af44b2844593fc_b5a08df6-cdc9-4a3b-8f1f-cbdc80c3ec49", + "id": "Pending POs - ALx Pending_pending_pos_alx_pending", + "pluginId": "postgres-plugin", + "pluginType": "DB", + "unpublishedAction": { + "actionConfiguration": { + "body": "select * from mpe.get_prototype_po_dashboard_data(array['25502', '27985']::text[]);", + "encodeParamsToggle": true, + "paginationType": "NONE", + "pluginSpecifiedTemplates": [ + { + "value": true + } + ], + "timeoutInMillisecond": 10000 + }, + "confirmBeforeExecute": false, + "datasource": { + "id": "xTuple_Sandbox", + "isAutoGenerated": false, + "name": "xTuple_Sandbox", + "pluginId": "postgres-plugin" + }, + "dynamicBindingPathList": [], + "name": "pending_pos_alx_pending", + "pageId": "Pending POs - ALx Pending", + "runBehaviour": "AUTOMATIC", + "userSetOnLoad": false + } +} diff --git a/pages/Pending POs - ALx Pending/queries/pending_pos_alx_pending/pending_pos_alx_pending.txt b/pages/Pending POs - ALx Pending/queries/pending_pos_alx_pending/pending_pos_alx_pending.txt new file mode 100644 index 0000000..1277f69 --- /dev/null +++ b/pages/Pending POs - ALx Pending/queries/pending_pos_alx_pending/pending_pos_alx_pending.txt @@ -0,0 +1 @@ +select * from mpe.get_prototype_po_dashboard_data(array['25502', '27985']::text[]); diff --git a/pages/Pending POs - ALx Pending/widgets/Container1/Button1.json b/pages/Pending POs - ALx Pending/widgets/Container1/Button1.json new file mode 100644 index 0000000..d728bff --- /dev/null +++ b/pages/Pending POs - ALx Pending/widgets/Container1/Button1.json @@ -0,0 +1,45 @@ +{ + "animateLoading": true, + "borderRadius": "0.375rem", + "bottomRow": 8, + "boxShadow": "none", + "buttonColor": "#ffffff", + "buttonVariant": "PRIMARY", + "disabledWhenInvalid": false, + "dynamicBindingPathList": [], + "dynamicTriggerPathList": [ + { + "key": "onClick" + } + ], + "isDefaultClickDisabled": true, + "isDisabled": false, + "isLoading": false, + "isVisible": true, + "key": "0k5ucqsuin", + "leftColumn": 0, + "minWidth": 120, + "mobileBottomRow": 8, + "mobileLeftColumn": 0, + "mobileRightColumn": 16, + "mobileTopRow": 4, + "needsErrorInfo": false, + "onClick": "{{navigateTo('Sales - Capacity Planning', {}, 'SAME_WINDOW');}}", + "originalBottomRow": 8, + "originalTopRow": 4, + "parentColumnSpace": 3.841796875, + "parentId": "al1canvas01", + "parentRowSpace": 10, + "placement": "START", + "recaptchaType": "V3", + "renderMode": "CANVAS", + "resetFormOnClick": false, + "responsiveBehavior": "hug", + "rightColumn": 64, + "text": "Capacity Planning", + "topRow": 4, + "type": "BUTTON_WIDGET", + "version": 1, + "widgetId": "al1btncappl", + "widgetName": "Button1" +} diff --git a/pages/Pending POs - ALx Pending/widgets/Container1/Button1Copy.json b/pages/Pending POs - ALx Pending/widgets/Container1/Button1Copy.json new file mode 100644 index 0000000..7a215fc --- /dev/null +++ b/pages/Pending POs - ALx Pending/widgets/Container1/Button1Copy.json @@ -0,0 +1,45 @@ +{ + "animateLoading": true, + "borderRadius": "0.375rem", + "bottomRow": 12, + "boxShadow": "none", + "buttonColor": "#ffffff", + "buttonVariant": "PRIMARY", + "disabledWhenInvalid": false, + "dynamicBindingPathList": [], + "dynamicTriggerPathList": [ + { + "key": "onClick" + } + ], + "isDefaultClickDisabled": true, + "isDisabled": false, + "isLoading": false, + "isVisible": true, + "key": "0k5ucqsuin", + "leftColumn": 0, + "minWidth": 120, + "mobileBottomRow": 8, + "mobileLeftColumn": 0, + "mobileRightColumn": 16, + "mobileTopRow": 4, + "needsErrorInfo": false, + "onClick": "{{navigateTo('Sales - Units Shipped', {}, 'SAME_WINDOW');}}", + "originalBottomRow": 12, + "originalTopRow": 8, + "parentColumnSpace": 3.841796875, + "parentId": "al1canvas01", + "parentRowSpace": 10, + "placement": "START", + "recaptchaType": "V3", + "renderMode": "CANVAS", + "resetFormOnClick": false, + "responsiveBehavior": "hug", + "rightColumn": 64, + "text": "Units Shipped", + "topRow": 8, + "type": "BUTTON_WIDGET", + "version": 1, + "widgetId": "al1btnships", + "widgetName": "Button1Copy" +} diff --git a/pages/Pending POs - ALx Pending/widgets/Container1/Button1Copy2.json b/pages/Pending POs - ALx Pending/widgets/Container1/Button1Copy2.json new file mode 100644 index 0000000..a3a8010 --- /dev/null +++ b/pages/Pending POs - ALx Pending/widgets/Container1/Button1Copy2.json @@ -0,0 +1,45 @@ +{ + "animateLoading": true, + "borderRadius": "0.375rem", + "bottomRow": 16, + "boxShadow": "none", + "buttonColor": "#ffffff", + "buttonVariant": "PRIMARY", + "disabledWhenInvalid": false, + "dynamicBindingPathList": [], + "dynamicTriggerPathList": [ + { + "key": "onClick" + } + ], + "isDefaultClickDisabled": true, + "isDisabled": false, + "isLoading": false, + "isVisible": true, + "key": "0j7c9d2q1h", + "leftColumn": 0, + "minWidth": 120, + "mobileBottomRow": 8, + "mobileLeftColumn": 0, + "mobileRightColumn": 16, + "mobileTopRow": 4, + "needsErrorInfo": false, + "onClick": "{{navigateTo('Sales - Units Ordered', {}, 'SAME_WINDOW');}}", + "originalBottomRow": 16, + "originalTopRow": 12, + "parentColumnSpace": 3.841796875, + "parentId": "al1canvas01", + "parentRowSpace": 10, + "placement": "START", + "recaptchaType": "V3", + "renderMode": "CANVAS", + "resetFormOnClick": false, + "responsiveBehavior": "hug", + "rightColumn": 64, + "text": "Units Ordered", + "topRow": 12, + "type": "BUTTON_WIDGET", + "version": 1, + "widgetId": "al1btnorder", + "widgetName": "Button1Copy2" +} diff --git a/pages/Pending POs - ALx Pending/widgets/Container1/Button2.json b/pages/Pending POs - ALx Pending/widgets/Container1/Button2.json new file mode 100644 index 0000000..bbf0d12 --- /dev/null +++ b/pages/Pending POs - ALx Pending/widgets/Container1/Button2.json @@ -0,0 +1,45 @@ +{ + "animateLoading": true, + "borderRadius": "0.375rem", + "bottomRow": 26, + "boxShadow": "none", + "buttonColor": "#ffffff", + "buttonVariant": "PRIMARY", + "disabledWhenInvalid": false, + "dynamicBindingPathList": [], + "dynamicTriggerPathList": [ + { + "key": "onClick" + } + ], + "isDefaultClickDisabled": true, + "isDisabled": false, + "isLoading": false, + "isVisible": true, + "key": "al1btnkey01", + "leftColumn": 0, + "minWidth": 120, + "mobileBottomRow": 26, + "mobileLeftColumn": 0, + "mobileRightColumn": 16, + "mobileTopRow": 22, + "needsErrorInfo": false, + "onClick": "{{navigateTo('Pending POs - SLx Pending', {}, 'SAME_WINDOW');}}", + "originalBottomRow": 26, + "originalTopRow": 22, + "parentColumnSpace": 3.841796875, + "parentId": "al1canvas01", + "parentRowSpace": 10, + "placement": "START", + "recaptchaType": "V3", + "renderMode": "CANVAS", + "resetFormOnClick": false, + "responsiveBehavior": "hug", + "rightColumn": 64, + "text": "SLx Pending", + "topRow": 22, + "type": "BUTTON_WIDGET", + "version": 1, + "widgetId": "al1btnslxpn", + "widgetName": "Button2" +} diff --git a/pages/Pending POs - ALx Pending/widgets/Container1/Button2Copy.json b/pages/Pending POs - ALx Pending/widgets/Container1/Button2Copy.json new file mode 100644 index 0000000..d89fcbc --- /dev/null +++ b/pages/Pending POs - ALx Pending/widgets/Container1/Button2Copy.json @@ -0,0 +1,45 @@ +{ + "animateLoading": true, + "borderRadius": "0.375rem", + "bottomRow": 30, + "boxShadow": "none", + "buttonColor": "#ffffff", + "buttonVariant": "PRIMARY", + "disabledWhenInvalid": false, + "dynamicBindingPathList": [], + "dynamicTriggerPathList": [ + { + "key": "onClick" + } + ], + "isDefaultClickDisabled": true, + "isDisabled": false, + "isLoading": false, + "isVisible": true, + "key": "al1btnkey02", + "leftColumn": 0, + "minWidth": 120, + "mobileBottomRow": 30, + "mobileLeftColumn": 0, + "mobileRightColumn": 16, + "mobileTopRow": 26, + "needsErrorInfo": false, + "onClick": "{{navigateTo('Pending POs - ML Pending', {}, 'SAME_WINDOW');}}", + "originalBottomRow": 30, + "originalTopRow": 26, + "parentColumnSpace": 3.841796875, + "parentId": "al1canvas01", + "parentRowSpace": 10, + "placement": "START", + "recaptchaType": "V3", + "renderMode": "CANVAS", + "resetFormOnClick": false, + "responsiveBehavior": "hug", + "rightColumn": 64, + "text": "ML Pending", + "topRow": 26, + "type": "BUTTON_WIDGET", + "version": 1, + "widgetId": "al1btnmlpnd", + "widgetName": "Button2Copy" +} diff --git a/pages/Pending POs - ALx Pending/widgets/Container1/Button2Copy2.json b/pages/Pending POs - ALx Pending/widgets/Container1/Button2Copy2.json new file mode 100644 index 0000000..9137358 --- /dev/null +++ b/pages/Pending POs - ALx Pending/widgets/Container1/Button2Copy2.json @@ -0,0 +1,49 @@ +{ + "animateLoading": true, + "borderRadius": "0.375rem", + "bottomRow": 34, + "boxShadow": "none", + "buttonColor": "{{appsmith.theme.colors.backgroundColor}}", + "buttonVariant": "PRIMARY", + "disabledWhenInvalid": false, + "dynamicBindingPathList": [ + { + "key": "buttonColor" + } + ], + "dynamicTriggerPathList": [ + { + "key": "onClick" + } + ], + "isDefaultClickDisabled": true, + "isDisabled": false, + "isLoading": false, + "isVisible": true, + "key": "al1btnkey03", + "leftColumn": 0, + "minWidth": 120, + "mobileBottomRow": 34, + "mobileLeftColumn": 0, + "mobileRightColumn": 16, + "mobileTopRow": 30, + "needsErrorInfo": false, + "onClick": "{{navigateTo('Pending POs - ALx Pending', {}, 'SAME_WINDOW');}}", + "originalBottomRow": 34, + "originalTopRow": 30, + "parentColumnSpace": 3.841796875, + "parentId": "al1canvas01", + "parentRowSpace": 10, + "placement": "START", + "recaptchaType": "V3", + "renderMode": "CANVAS", + "resetFormOnClick": false, + "responsiveBehavior": "hug", + "rightColumn": 64, + "text": "ALx Pending", + "topRow": 30, + "type": "BUTTON_WIDGET", + "version": 1, + "widgetId": "al1btnalxpn", + "widgetName": "Button2Copy2" +} diff --git a/pages/Pending POs - ALx Pending/widgets/Container1/Container1.json b/pages/Pending POs - ALx Pending/widgets/Container1/Container1.json new file mode 100644 index 0000000..5e7891a --- /dev/null +++ b/pages/Pending POs - ALx Pending/widgets/Container1/Container1.json @@ -0,0 +1,87 @@ +{ + "animateLoading": true, + "backgroundColor": "#FFFFFF", + "borderColor": "#E0DEDE", + "borderRadius": "0px", + "borderWidth": "1", + "bottomRow": 124, + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "children": [ + { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "bottomRow": 1240, + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "canExtend": false, + "containerStyle": "none", + "detachFromLayout": true, + "dynamicBindingPathList": [ + { + "key": "borderRadius" + }, + { + "key": "boxShadow" + } + ], + "dynamicHeight": "AUTO_HEIGHT", + "flexLayers": [], + "isLoading": false, + "isVisible": true, + "key": "xorz42kdhi", + "leftColumn": 0, + "maxDynamicHeight": 9000, + "minDynamicHeight": 4, + "minHeight": 100, + "minWidth": 450, + "mobileBottomRow": 100, + "mobileLeftColumn": 0, + "mobileRightColumn": 132.9375, + "mobileTopRow": 0, + "needsErrorInfo": false, + "parentColumnSpace": 1, + "parentId": "al1c0ntain", + "parentRowSpace": 1, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 132.9375, + "topRow": 0, + "type": "CANVAS_WIDGET", + "version": 1, + "widgetId": "al1canvas01", + "widgetName": "Canvas1" + } + ], + "containerStyle": "card", + "dynamicBindingPathList": [ + { + "key": "boxShadow" + } + ], + "dynamicHeight": "FIXED", + "dynamicTriggerPathList": [], + "flexVerticalAlignment": "stretch", + "isCanvas": true, + "isLoading": false, + "isVisible": true, + "key": "36jaq5m9iy", + "leftColumn": 0, + "maxDynamicHeight": 12, + "minDynamicHeight": 10, + "minWidth": 450, + "mobileBottomRow": 10, + "mobileLeftColumn": 0, + "mobileRightColumn": 3, + "mobileTopRow": 0, + "needsErrorInfo": false, + "parentColumnSpace": 44.3125, + "parentId": "0", + "parentRowSpace": 10, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 9, + "shouldScrollContents": true, + "topRow": 0, + "type": "CONTAINER_WIDGET", + "version": 1, + "widgetId": "al1c0ntain", + "widgetName": "Container1" +} diff --git a/pages/Pending POs - ALx Pending/widgets/Container1/Text1.json b/pages/Pending POs - ALx Pending/widgets/Container1/Text1.json new file mode 100644 index 0000000..ae14a3d --- /dev/null +++ b/pages/Pending POs - ALx Pending/widgets/Container1/Text1.json @@ -0,0 +1,52 @@ +{ + "animateLoading": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "bottomRow": 4, + "dynamicBindingPathList": [ + { + "key": "truncateButtonColor" + }, + { + "key": "fontFamily" + }, + { + "key": "borderRadius" + } + ], + "dynamicHeight": "AUTO_HEIGHT", + "dynamicTriggerPathList": [], + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "fontSize": "1rem", + "fontStyle": "BOLD", + "isLoading": false, + "isVisible": true, + "key": "01n8bhu9n6", + "leftColumn": 0, + "maxDynamicHeight": 9000, + "minDynamicHeight": 4, + "minWidth": 450, + "mobileBottomRow": 6, + "mobileLeftColumn": 10, + "mobileRightColumn": 26, + "mobileTopRow": 2, + "needsErrorInfo": false, + "originalBottomRow": 4, + "originalTopRow": 0, + "overflow": "NONE", + "parentColumnSpace": 3.841796875, + "parentId": "al1canvas01", + "parentRowSpace": 10, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 64, + "shouldTruncate": false, + "text": "Sales", + "textAlign": "LEFT", + "textColor": "#231F20", + "topRow": 0, + "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", + "type": "TEXT_WIDGET", + "version": 1, + "widgetId": "al1txtsales", + "widgetName": "Text1" +} diff --git a/pages/Pending POs - ALx Pending/widgets/Container1/Text2.json b/pages/Pending POs - ALx Pending/widgets/Container1/Text2.json new file mode 100644 index 0000000..6787780 --- /dev/null +++ b/pages/Pending POs - ALx Pending/widgets/Container1/Text2.json @@ -0,0 +1,52 @@ +{ + "animateLoading": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "bottomRow": 22, + "dynamicBindingPathList": [ + { + "key": "truncateButtonColor" + }, + { + "key": "fontFamily" + }, + { + "key": "borderRadius" + } + ], + "dynamicHeight": "AUTO_HEIGHT", + "dynamicTriggerPathList": [], + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "fontSize": "1rem", + "fontStyle": "BOLD", + "isLoading": false, + "isVisible": true, + "key": "al1txkey01", + "leftColumn": 0, + "maxDynamicHeight": 9000, + "minDynamicHeight": 4, + "minWidth": 450, + "mobileBottomRow": 22, + "mobileLeftColumn": 10, + "mobileRightColumn": 26, + "mobileTopRow": 18, + "needsErrorInfo": false, + "originalBottomRow": 22, + "originalTopRow": 18, + "overflow": "NONE", + "parentColumnSpace": 3.841796875, + "parentId": "al1canvas01", + "parentRowSpace": 10, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 64, + "shouldTruncate": false, + "text": "Pending POs", + "textAlign": "LEFT", + "textColor": "#231F20", + "topRow": 18, + "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", + "type": "TEXT_WIDGET", + "version": 1, + "widgetId": "al1txtpndpo", + "widgetName": "Text2" +} diff --git a/pages/Pending POs - ALx Pending/widgets/Heading.json b/pages/Pending POs - ALx Pending/widgets/Heading.json new file mode 100644 index 0000000..c552c0f --- /dev/null +++ b/pages/Pending POs - ALx Pending/widgets/Heading.json @@ -0,0 +1,52 @@ +{ + "animateLoading": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "bottomRow": 5, + "dynamicBindingPathList": [ + { + "key": "truncateButtonColor" + }, + { + "key": "fontFamily" + }, + { + "key": "borderRadius" + } + ], + "dynamicHeight": "AUTO_HEIGHT", + "dynamicTriggerPathList": [], + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "fontSize": "1.875rem", + "fontStyle": "BOLD", + "isLoading": false, + "isVisible": true, + "key": "al1hdkey01", + "leftColumn": 9, + "maxDynamicHeight": 9000, + "minDynamicHeight": 4, + "minWidth": 450, + "mobileBottomRow": 5, + "mobileLeftColumn": 1, + "mobileRightColumn": 17, + "mobileTopRow": 1, + "needsErrorInfo": false, + "originalBottomRow": 5, + "originalTopRow": 0, + "overflow": "NONE", + "parentColumnSpace": 25.109375, + "parentId": "0", + "parentRowSpace": 10, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 64, + "shouldTruncate": false, + "text": "Pending POs - ALx Pending", + "textAlign": "LEFT", + "textColor": "#231F20", + "topRow": 0, + "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", + "type": "TEXT_WIDGET", + "version": 1, + "widgetId": "al1heading1", + "widgetName": "Heading" +} diff --git a/pages/Pending POs - ALx Pending/widgets/Table1.json b/pages/Pending POs - ALx Pending/widgets/Table1.json new file mode 100644 index 0000000..d7e8cff --- /dev/null +++ b/pages/Pending POs - ALx Pending/widgets/Table1.json @@ -0,0 +1,599 @@ +{ + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "animateLoading": true, + "borderColor": "#E0DEDE", + "borderRadius": "0.375rem", + "borderWidth": "1", + "bottomRow": 67, + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "cachedTableData": {}, + "canFreezeColumn": true, + "childStylesheet": { + "button": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "editActions": { + "discardBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "discardButtonColor": "{{appsmith.theme.colors.primaryColor}}", + "saveBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "saveButtonColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "iconButton": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "menuButton": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none", + "menuColor": "{{appsmith.theme.colors.primaryColor}}" + } + }, + "columnOrder": [ + "matl", + "matl_classocde", + "matl_desc", + "matl_spec", + "qoh", + "po_released", + "po_opened", + "po_closed", + "poitem_due", + "wo_item", + "wo_demanding", + "wo_total_demand", + "uom" + ], + "columnUpdatedAt": 1772195991960, + "columnWidthMap": {}, + "compactMode": "SHORT", + "customIsLoading": false, + "customIsLoadingValue": "", + "defaultPageSize": 0, + "defaultSelectedRowIndex": 0, + "defaultSelectedRowIndices": [ + 0 + ], + "delimiter": ",", + "dynamicBindingPathList": [ + { + "key": "accentColor" + }, + { + "key": "boxShadow" + }, + { + "key": "tableData" + }, + { + "key": "primaryColumns.matl.computedValue" + }, + { + "key": "primaryColumns.matl_classocde.computedValue" + }, + { + "key": "primaryColumns.matl_desc.computedValue" + }, + { + "key": "primaryColumns.matl_spec.computedValue" + }, + { + "key": "primaryColumns.qoh.computedValue" + }, + { + "key": "primaryColumns.po_released.computedValue" + }, + { + "key": "primaryColumns.po_opened.computedValue" + }, + { + "key": "primaryColumns.po_closed.computedValue" + }, + { + "key": "primaryColumns.poitem_due.computedValue" + }, + { + "key": "primaryColumns.wo_item.computedValue" + }, + { + "key": "primaryColumns.wo_demanding.computedValue" + }, + { + "key": "primaryColumns.wo_total_demand.computedValue" + }, + { + "key": "primaryColumns.uom.computedValue" + } + ], + "dynamicPropertyPathList": [ + { + "key": "textSize" + } + ], + "dynamicTriggerPathList": [], + "enableClientSideSearch": true, + "endOfData": false, + "flexVerticalAlignment": "start", + "horizontalAlignment": "LEFT", + "inlineEditingSaveOption": "ROW_LEVEL", + "isLoading": false, + "isSortable": true, + "isVisible": true, + "isVisibleDownload": true, + "isVisibleFilters": false, + "isVisiblePagination": true, + "isVisibleSearch": false, + "key": "al1tblkey01", + "label": "Data", + "leftColumn": 9, + "minWidth": 450, + "mobileBottomRow": 31, + "mobileLeftColumn": 15, + "mobileRightColumn": 64, + "mobileTopRow": 10, + "needsErrorInfo": false, + "originalBottomRow": 67, + "originalTopRow": 5, + "parentColumnSpace": 11.265625, + "parentId": "0", + "parentRowSpace": 10, + "primaryColumns": { + "matl": { + "alias": "matl", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "cellBackground": "", + "columnType": "text", + "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"matl\"])) : matl })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "fontStyle": "", + "horizontalAlignment": "LEFT", + "id": "matl", + "index": 0, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "matl", + "notation": "standard", + "originalId": "matl", + "sticky": "", + "textColor": "", + "textSize": "0.775rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + }, + "matl_classocde": { + "alias": "matl_classocde", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "cellBackground": "", + "columnType": "text", + "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"matl_classocde\"])) : matl_classocde })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "fontStyle": "", + "horizontalAlignment": "LEFT", + "id": "matl_classocde", + "index": 1, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "matl_classocde", + "notation": "standard", + "originalId": "matl_classocde", + "sticky": "", + "textColor": "", + "textSize": "0.775rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + }, + "matl_desc": { + "alias": "matl_desc", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "cellBackground": "", + "columnType": "text", + "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"matl_desc\"])) : matl_desc })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "fontStyle": "", + "horizontalAlignment": "LEFT", + "id": "matl_desc", + "index": 2, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "matl_desc", + "notation": "standard", + "originalId": "matl_desc", + "sticky": "", + "textColor": "", + "textSize": "0.775rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + }, + "matl_spec": { + "alias": "matl_spec", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "cellBackground": "", + "columnType": "text", + "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"matl_spec\"])) : matl_spec })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "fontStyle": "", + "horizontalAlignment": "LEFT", + "id": "matl_spec", + "index": 3, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "matl_spec", + "notation": "standard", + "originalId": "matl_spec", + "sticky": "", + "textColor": "", + "textSize": "0.775rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + }, + "po_closed": { + "alias": "po_closed", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "cellBackground": "", + "columnType": "number", + "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"po_closed\"])) : po_closed })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "fontStyle": "", + "horizontalAlignment": "LEFT", + "id": "po_closed", + "index": 7, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "po_closed", + "notation": "standard", + "originalId": "po_closed", + "sticky": "", + "textColor": "", + "textSize": "0.775rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + }, + "po_opened": { + "alias": "po_opened", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "cellBackground": "", + "columnType": "number", + "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"po_opened\"])) : po_opened })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "fontStyle": "", + "horizontalAlignment": "LEFT", + "id": "po_opened", + "index": 6, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "po_opened", + "notation": "standard", + "originalId": "po_opened", + "sticky": "", + "textColor": "", + "textSize": "0.775rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + }, + "po_released": { + "alias": "po_released", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "cellBackground": "", + "columnType": "number", + "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"po_released\"])) : po_released })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "fontStyle": "", + "horizontalAlignment": "LEFT", + "id": "po_released", + "index": 5, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "po_released", + "notation": "standard", + "originalId": "po_released", + "sticky": "", + "textColor": "", + "textSize": "0.775rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + }, + "poitem_due": { + "alias": "poitem_due", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "cellBackground": "", + "columnType": "date", + "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"poitem_due\"])) : poitem_due })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "fontStyle": "", + "horizontalAlignment": "LEFT", + "id": "poitem_due", + "index": 8, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "poitem_due", + "notation": "standard", + "originalId": "poitem_due", + "sticky": "", + "textColor": "", + "textSize": "0.775rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + }, + "qoh": { + "alias": "qoh", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "cellBackground": "", + "columnType": "number", + "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"qoh\"])) : qoh })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "fontStyle": "", + "horizontalAlignment": "LEFT", + "id": "qoh", + "index": 4, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "qoh", + "notation": "standard", + "originalId": "qoh", + "sticky": "", + "textColor": "", + "textSize": "0.775rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + }, + "uom": { + "alias": "uom", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "cellBackground": "", + "columnType": "text", + "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"uom\"])) : uom })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "fontStyle": "", + "horizontalAlignment": "LEFT", + "id": "uom", + "index": 12, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "uom", + "notation": "standard", + "originalId": "uom", + "sticky": "", + "textColor": "", + "textSize": "0.775rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + }, + "wo_demanding": { + "alias": "wo_demanding", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "cellBackground": "", + "columnType": "text", + "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"wo_demanding\"])) : wo_demanding })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "fontStyle": "", + "horizontalAlignment": "LEFT", + "id": "wo_demanding", + "index": 10, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "wo_demanding", + "notation": "standard", + "originalId": "wo_demanding", + "sticky": "", + "textColor": "", + "textSize": "0.775rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + }, + "wo_item": { + "alias": "wo_item", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "cellBackground": "", + "columnType": "text", + "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"wo_item\"])) : wo_item })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "fontStyle": "", + "horizontalAlignment": "LEFT", + "id": "wo_item", + "index": 9, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "wo_item", + "notation": "standard", + "originalId": "wo_item", + "sticky": "", + "textColor": "", + "textSize": "0.775rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + }, + "wo_total_demand": { + "alias": "wo_total_demand", + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "cellBackground": "", + "columnType": "number", + "computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"wo_total_demand\"])) : wo_total_demand })()}}", + "currencyCode": "USD", + "decimals": 0, + "enableFilter": true, + "enableSort": true, + "fontStyle": "", + "horizontalAlignment": "LEFT", + "id": "wo_total_demand", + "index": 11, + "isCellEditable": false, + "isCellVisible": true, + "isDerived": false, + "isDisabled": false, + "isDiscardVisible": true, + "isEditable": false, + "isSaveVisible": true, + "isVisible": true, + "label": "wo_total_demand", + "notation": "standard", + "originalId": "wo_total_demand", + "sticky": "", + "textColor": "", + "textSize": "0.775rem", + "thousandSeparator": true, + "validation": {}, + "verticalAlignment": "CENTER", + "width": 150 + } + }, + "renderMode": "CANVAS", + "responsiveBehavior": "fill", + "rightColumn": 64, + "searchKey": "", + "tableData": "{{pending_pos_alx_pending.data}}", + "textSize": "0.775rem", + "topRow": 5, + "totalRecordsCount": 0, + "type": "TABLE_WIDGET_V2", + "version": 2, + "verticalAlignment": "CENTER", + "widgetId": "al1table001", + "widgetName": "Table1" +} diff --git a/pages/Pending POs - ML Pending/widgets/Container1/Button2Copy2.json b/pages/Pending POs - ML Pending/widgets/Container1/Button2Copy2.json new file mode 100644 index 0000000..589e378 --- /dev/null +++ b/pages/Pending POs - ML Pending/widgets/Container1/Button2Copy2.json @@ -0,0 +1,45 @@ +{ + "animateLoading": true, + "borderRadius": "0.375rem", + "bottomRow": 34, + "boxShadow": "none", + "buttonColor": "#ffffff", + "buttonVariant": "PRIMARY", + "disabledWhenInvalid": false, + "dynamicBindingPathList": [], + "dynamicTriggerPathList": [ + { + "key": "onClick" + } + ], + "isDefaultClickDisabled": true, + "isDisabled": false, + "isLoading": false, + "isVisible": true, + "key": "ml1btnkey03", + "leftColumn": 0, + "minWidth": 120, + "mobileBottomRow": 34, + "mobileLeftColumn": 0, + "mobileRightColumn": 16, + "mobileTopRow": 30, + "needsErrorInfo": false, + "onClick": "{{navigateTo('Pending POs - ALx Pending', {}, 'SAME_WINDOW');}}", + "originalBottomRow": 34, + "originalTopRow": 30, + "parentColumnSpace": 3.841796875, + "parentId": "ml1canvas01", + "parentRowSpace": 10, + "placement": "START", + "recaptchaType": "V3", + "renderMode": "CANVAS", + "resetFormOnClick": false, + "responsiveBehavior": "hug", + "rightColumn": 64, + "text": "ALx Pending", + "topRow": 30, + "type": "BUTTON_WIDGET", + "version": 1, + "widgetId": "ml1btnalxpn", + "widgetName": "Button2Copy2" +} diff --git a/pages/Pending POs - SLx Pending/widgets/Container1/Button2Copy2.json b/pages/Pending POs - SLx Pending/widgets/Container1/Button2Copy2.json new file mode 100644 index 0000000..d3d85da --- /dev/null +++ b/pages/Pending POs - SLx Pending/widgets/Container1/Button2Copy2.json @@ -0,0 +1,45 @@ +{ + "animateLoading": true, + "borderRadius": "0.375rem", + "bottomRow": 34, + "boxShadow": "none", + "buttonColor": "#ffffff", + "buttonVariant": "PRIMARY", + "disabledWhenInvalid": false, + "dynamicBindingPathList": [], + "dynamicTriggerPathList": [ + { + "key": "onClick" + } + ], + "isDefaultClickDisabled": true, + "isDisabled": false, + "isLoading": false, + "isVisible": true, + "key": "pp1btnkey03", + "leftColumn": 0, + "minWidth": 120, + "mobileBottomRow": 34, + "mobileLeftColumn": 0, + "mobileRightColumn": 16, + "mobileTopRow": 30, + "needsErrorInfo": false, + "onClick": "{{navigateTo('Pending POs - ALx Pending', {}, 'SAME_WINDOW');}}", + "originalBottomRow": 34, + "originalTopRow": 30, + "parentColumnSpace": 3.841796875, + "parentId": "pp1canvas01", + "parentRowSpace": 10, + "placement": "START", + "recaptchaType": "V3", + "renderMode": "CANVAS", + "resetFormOnClick": false, + "responsiveBehavior": "hug", + "rightColumn": 64, + "text": "ALx Pending", + "topRow": 30, + "type": "BUTTON_WIDGET", + "version": 1, + "widgetId": "pp1btnalxpn", + "widgetName": "Button2Copy2" +} diff --git a/pages/Sales - Capacity Planning/widgets/Container1/Button2Copy2.json b/pages/Sales - Capacity Planning/widgets/Container1/Button2Copy2.json new file mode 100644 index 0000000..3c7c5fd --- /dev/null +++ b/pages/Sales - Capacity Planning/widgets/Container1/Button2Copy2.json @@ -0,0 +1,45 @@ +{ + "animateLoading": true, + "borderRadius": "0.375rem", + "bottomRow": 34, + "boxShadow": "none", + "buttonColor": "#ffffff", + "buttonVariant": "PRIMARY", + "disabledWhenInvalid": false, + "dynamicBindingPathList": [], + "dynamicTriggerPathList": [ + { + "key": "onClick" + } + ], + "isDefaultClickDisabled": true, + "isDisabled": false, + "isLoading": false, + "isVisible": true, + "key": "cp1btnkey03", + "leftColumn": 0, + "minWidth": 120, + "mobileBottomRow": 34, + "mobileLeftColumn": 0, + "mobileRightColumn": 16, + "mobileTopRow": 30, + "needsErrorInfo": false, + "onClick": "{{navigateTo('Pending POs - ALx Pending', {}, 'SAME_WINDOW');}}", + "originalBottomRow": 34, + "originalTopRow": 30, + "parentColumnSpace": 3.841796875, + "parentId": "x3pc17vp6q", + "parentRowSpace": 10, + "placement": "START", + "recaptchaType": "V3", + "renderMode": "CANVAS", + "resetFormOnClick": false, + "responsiveBehavior": "hug", + "rightColumn": 64, + "text": "ALx Pending", + "topRow": 30, + "type": "BUTTON_WIDGET", + "version": 1, + "widgetId": "cp1btnalxpn", + "widgetName": "Button2Copy2" +} diff --git a/pages/Sales - Units Ordered/widgets/Container1/Button2Copy2.json b/pages/Sales - Units Ordered/widgets/Container1/Button2Copy2.json new file mode 100644 index 0000000..920cc58 --- /dev/null +++ b/pages/Sales - Units Ordered/widgets/Container1/Button2Copy2.json @@ -0,0 +1,45 @@ +{ + "animateLoading": true, + "borderRadius": "0.375rem", + "bottomRow": 34, + "boxShadow": "none", + "buttonColor": "#ffffff", + "buttonVariant": "PRIMARY", + "disabledWhenInvalid": false, + "dynamicBindingPathList": [], + "dynamicTriggerPathList": [ + { + "key": "onClick" + } + ], + "isDefaultClickDisabled": true, + "isDisabled": false, + "isLoading": false, + "isVisible": true, + "key": "uo1btnkey03", + "leftColumn": 0, + "minWidth": 120, + "mobileBottomRow": 34, + "mobileLeftColumn": 0, + "mobileRightColumn": 16, + "mobileTopRow": 30, + "needsErrorInfo": false, + "onClick": "{{navigateTo('Pending POs - ALx Pending', {}, 'SAME_WINDOW');}}", + "originalBottomRow": 34, + "originalTopRow": 30, + "parentColumnSpace": 3.841796875, + "parentId": "wj6fxg5wpg", + "parentRowSpace": 10, + "placement": "START", + "recaptchaType": "V3", + "renderMode": "CANVAS", + "resetFormOnClick": false, + "responsiveBehavior": "hug", + "rightColumn": 64, + "text": "ALx Pending", + "topRow": 30, + "type": "BUTTON_WIDGET", + "version": 1, + "widgetId": "uo1btnalxpn", + "widgetName": "Button2Copy2" +} diff --git a/pages/Sales - Units Shipped/widgets/Container1/Button2Copy2.json b/pages/Sales - Units Shipped/widgets/Container1/Button2Copy2.json new file mode 100644 index 0000000..7bf25dc --- /dev/null +++ b/pages/Sales - Units Shipped/widgets/Container1/Button2Copy2.json @@ -0,0 +1,45 @@ +{ + "animateLoading": true, + "borderRadius": "0.375rem", + "bottomRow": 34, + "boxShadow": "none", + "buttonColor": "#ffffff", + "buttonVariant": "PRIMARY", + "disabledWhenInvalid": false, + "dynamicBindingPathList": [], + "dynamicTriggerPathList": [ + { + "key": "onClick" + } + ], + "isDefaultClickDisabled": true, + "isDisabled": false, + "isLoading": false, + "isVisible": true, + "key": "us1btnkey03", + "leftColumn": 0, + "minWidth": 120, + "mobileBottomRow": 34, + "mobileLeftColumn": 0, + "mobileRightColumn": 16, + "mobileTopRow": 30, + "needsErrorInfo": false, + "onClick": "{{navigateTo('Pending POs - ALx Pending', {}, 'SAME_WINDOW');}}", + "originalBottomRow": 34, + "originalTopRow": 30, + "parentColumnSpace": 3.841796875, + "parentId": "wj6fxg5wpg", + "parentRowSpace": 10, + "placement": "START", + "recaptchaType": "V3", + "renderMode": "CANVAS", + "resetFormOnClick": false, + "responsiveBehavior": "hug", + "rightColumn": 64, + "text": "ALx Pending", + "topRow": 30, + "type": "BUTTON_WIDGET", + "version": 1, + "widgetId": "us1btnalxpn", + "widgetName": "Button2Copy2" +} From a753ae3651787be2f980c44518ea3816c5ebbd8a Mon Sep 17 00:00:00 2001 From: ibariss Date: Fri, 27 Feb 2026 13:00:53 +0000 Subject: [PATCH 49/71] System generated commit, for syncing changes with remote after git pull --- .../queries/pending_pos_alx_pending/metadata.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/Pending POs - ALx Pending/queries/pending_pos_alx_pending/metadata.json b/pages/Pending POs - ALx Pending/queries/pending_pos_alx_pending/metadata.json index bda9101..1eae84c 100644 --- a/pages/Pending POs - ALx Pending/queries/pending_pos_alx_pending/metadata.json +++ b/pages/Pending POs - ALx Pending/queries/pending_pos_alx_pending/metadata.json @@ -5,7 +5,7 @@ "pluginType": "DB", "unpublishedAction": { "actionConfiguration": { - "body": "select * from mpe.get_prototype_po_dashboard_data(array['25502', '27985']::text[]);", + "body": "select * from mpe.get_prototype_po_dashboard_data(array['25502', '27985']::text[]);\n", "encodeParamsToggle": true, "paginationType": "NONE", "pluginSpecifiedTemplates": [ @@ -28,4 +28,4 @@ "runBehaviour": "AUTOMATIC", "userSetOnLoad": false } -} +} \ No newline at end of file From 7e0e2e3086205b27bf45fcdb3259f1a6da03579a Mon Sep 17 00:00:00 2001 From: ivarsbariss Date: Fri, 27 Feb 2026 14:57:15 +0100 Subject: [PATCH 50/71] SR page --- README.md | 38 ++ application.json | 4 + .../widgets/Container1/Button2Copy3.json | 41 ++ .../widgets/Container1/Button2Copy3.json | 41 ++ .../widgets/Container1/Button2Copy3.json | 41 ++ .../Pending POs - SR Pending.json | 33 + .../pending_pos_sr_pending/metadata.json | 31 + .../pending_pos_sr_pending.txt | 149 +++++ .../widgets/Container1/Button1.json | 41 ++ .../widgets/Container1/Button1Copy.json | 41 ++ .../widgets/Container1/Button1Copy2.json | 41 ++ .../widgets/Container1/Button2.json | 41 ++ .../widgets/Container1/Button2Copy.json | 41 ++ .../widgets/Container1/Button2Copy2.json | 41 ++ .../widgets/Container1/Button2Copy3.json | 41 ++ .../widgets/Container1/Container1.json | 87 +++ .../widgets/Container1/Text1.json | 52 ++ .../widgets/Container1/Text2.json | 52 ++ .../widgets/Heading.json | 52 ++ .../widgets/Table1.json | 599 ++++++++++++++++++ .../widgets/Container1/Button2Copy3.json | 41 ++ .../widgets/Container1/Button2Copy3.json | 41 ++ .../widgets/Container1/Button2Copy3.json | 41 ++ 23 files changed, 1630 insertions(+) create mode 100644 pages/Pending POs - ALx Pending/widgets/Container1/Button2Copy3.json create mode 100644 pages/Pending POs - ML Pending/widgets/Container1/Button2Copy3.json create mode 100644 pages/Pending POs - SLx Pending/widgets/Container1/Button2Copy3.json create mode 100644 pages/Pending POs - SR Pending/Pending POs - SR Pending.json create mode 100644 pages/Pending POs - SR Pending/queries/pending_pos_sr_pending/metadata.json create mode 100644 pages/Pending POs - SR Pending/queries/pending_pos_sr_pending/pending_pos_sr_pending.txt create mode 100644 pages/Pending POs - SR Pending/widgets/Container1/Button1.json create mode 100644 pages/Pending POs - SR Pending/widgets/Container1/Button1Copy.json create mode 100644 pages/Pending POs - SR Pending/widgets/Container1/Button1Copy2.json create mode 100644 pages/Pending POs - SR Pending/widgets/Container1/Button2.json create mode 100644 pages/Pending POs - SR Pending/widgets/Container1/Button2Copy.json create mode 100644 pages/Pending POs - SR Pending/widgets/Container1/Button2Copy2.json create mode 100644 pages/Pending POs - SR Pending/widgets/Container1/Button2Copy3.json create mode 100644 pages/Pending POs - SR Pending/widgets/Container1/Container1.json create mode 100644 pages/Pending POs - SR Pending/widgets/Container1/Text1.json create mode 100644 pages/Pending POs - SR Pending/widgets/Container1/Text2.json create mode 100644 pages/Pending POs - SR Pending/widgets/Heading.json create mode 100644 pages/Pending POs - SR Pending/widgets/Table1.json create mode 100644 pages/Sales - Capacity Planning/widgets/Container1/Button2Copy3.json create mode 100644 pages/Sales - Units Ordered/widgets/Container1/Button2Copy3.json create mode 100644 pages/Sales - Units Shipped/widgets/Container1/Button2Copy3.json diff --git a/README.md b/README.md index 6fd8af1..01cbd12 100644 --- a/README.md +++ b/README.md @@ -57,3 +57,41 @@ Row 16 └─────────────────────── ### Dynamic Height Widgets with `"dynamicHeight": "AUTO_HEIGHT"` adjust height based on content. The `bottomRow` serves as an initial guide, and `originalTopRow`/`originalBottomRow` store the original placement values. + +--- + +## Adding a New Page + +New pages are added via AI agent (Cursor). The agent follows the skills in `.cursor/skills/` to clone the template, create the query, wire the table, add navigation buttons to all pages, and register the page in `application.json`. + +### What You Need + +1. **Page name** — Full display name in the format `
-