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": [