Simulate active page button style
This commit is contained in:
4
docs/README.md
Normal file
4
docs/README.md
Normal file
@@ -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`.
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
"borderRadius": "0.375rem",
|
"borderRadius": "0.375rem",
|
||||||
"bottomRow": 8,
|
"bottomRow": 8,
|
||||||
"boxShadow": "none",
|
"boxShadow": "none",
|
||||||
"buttonColor": "{{appsmith.page.name === 'Sales - Capacity Planning' ? appsmith.theme.colors.primaryColor : appsmith.theme.colors.backgroundColor}}",
|
"buttonColor": "{{appsmith.theme.colors.primaryColor}}",
|
||||||
"buttonVariant": "PRIMARY",
|
"buttonVariant": "PRIMARY",
|
||||||
"disabledWhenInvalid": false,
|
"disabledWhenInvalid": false,
|
||||||
"dynamicBindingPathList": [
|
"dynamicBindingPathList": [
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
"borderRadius": "0.375rem",
|
"borderRadius": "0.375rem",
|
||||||
"bottomRow": 12,
|
"bottomRow": 12,
|
||||||
"boxShadow": "none",
|
"boxShadow": "none",
|
||||||
"buttonColor": "{{appsmith.page.name === 'Sales - Units Shipped' ? appsmith.theme.colors.primaryColor : appsmith.theme.colors.backgroundColor}}",
|
"buttonColor": "{{appsmith.theme.colors.backgroundColor}}",
|
||||||
"buttonVariant": "PRIMARY",
|
"buttonVariant": "PRIMARY",
|
||||||
"disabledWhenInvalid": false,
|
"disabledWhenInvalid": false,
|
||||||
"dynamicBindingPathList": [
|
"dynamicBindingPathList": [
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
"borderRadius": "0.375rem",
|
"borderRadius": "0.375rem",
|
||||||
"bottomRow": 16,
|
"bottomRow": 16,
|
||||||
"boxShadow": "none",
|
"boxShadow": "none",
|
||||||
"buttonColor": "{{appsmith.page.name === 'Sales - Units Ordered' ? appsmith.theme.colors.primaryColor : appsmith.theme.colors.backgroundColor}}",
|
"buttonColor": "{{appsmith.theme.colors.backgroundColor}}",
|
||||||
"buttonVariant": "PRIMARY",
|
"buttonVariant": "PRIMARY",
|
||||||
"disabledWhenInvalid": false,
|
"disabledWhenInvalid": false,
|
||||||
"dynamicBindingPathList": [
|
"dynamicBindingPathList": [
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
"borderRadius": "0.375rem",
|
"borderRadius": "0.375rem",
|
||||||
"bottomRow": 8,
|
"bottomRow": 8,
|
||||||
"boxShadow": "none",
|
"boxShadow": "none",
|
||||||
"buttonColor": "{{appsmith.page.name === 'Sales - Capacity Planning' ? appsmith.theme.colors.primaryColor : appsmith.theme.colors.backgroundColor}}",
|
"buttonColor": "{{appsmith.theme.colors.backgroundColor}}",
|
||||||
"buttonVariant": "PRIMARY",
|
"buttonVariant": "PRIMARY",
|
||||||
"disabledWhenInvalid": false,
|
"disabledWhenInvalid": false,
|
||||||
"dynamicBindingPathList": [
|
"dynamicBindingPathList": [
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
"borderRadius": "0.375rem",
|
"borderRadius": "0.375rem",
|
||||||
"bottomRow": 12,
|
"bottomRow": 12,
|
||||||
"boxShadow": "none",
|
"boxShadow": "none",
|
||||||
"buttonColor": "{{appsmith.page.name === 'Sales - Units Shipped' ? appsmith.theme.colors.primaryColor : appsmith.theme.colors.backgroundColor}}",
|
"buttonColor": "{{appsmith.theme.colors.backgroundColor}}",
|
||||||
"buttonVariant": "PRIMARY",
|
"buttonVariant": "PRIMARY",
|
||||||
"disabledWhenInvalid": false,
|
"disabledWhenInvalid": false,
|
||||||
"dynamicBindingPathList": [
|
"dynamicBindingPathList": [
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
"borderRadius": "0.375rem",
|
"borderRadius": "0.375rem",
|
||||||
"bottomRow": 16,
|
"bottomRow": 16,
|
||||||
"boxShadow": "none",
|
"boxShadow": "none",
|
||||||
"buttonColor": "{{appsmith.page.name === 'Sales - Units Ordered' ? appsmith.theme.colors.primaryColor : appsmith.theme.colors.backgroundColor}}",
|
"buttonColor": "{{appsmith.theme.colors.primaryColor}}",
|
||||||
"buttonVariant": "PRIMARY",
|
"buttonVariant": "PRIMARY",
|
||||||
"disabledWhenInvalid": false,
|
"disabledWhenInvalid": false,
|
||||||
"dynamicBindingPathList": [
|
"dynamicBindingPathList": [
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
"borderRadius": "0.375rem",
|
"borderRadius": "0.375rem",
|
||||||
"bottomRow": 8,
|
"bottomRow": 8,
|
||||||
"boxShadow": "none",
|
"boxShadow": "none",
|
||||||
"buttonColor": "{{appsmith.page.name === 'Sales - Capacity Planning' ? appsmith.theme.colors.primaryColor : appsmith.theme.colors.backgroundColor}}",
|
"buttonColor": "{{appsmith.theme.colors.backgroundColor}}",
|
||||||
"buttonVariant": "PRIMARY",
|
"buttonVariant": "PRIMARY",
|
||||||
"disabledWhenInvalid": false,
|
"disabledWhenInvalid": false,
|
||||||
"dynamicBindingPathList": [
|
"dynamicBindingPathList": [
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
"borderRadius": "0.375rem",
|
"borderRadius": "0.375rem",
|
||||||
"bottomRow": 12,
|
"bottomRow": 12,
|
||||||
"boxShadow": "none",
|
"boxShadow": "none",
|
||||||
"buttonColor": "{{appsmith.page.name === 'Sales - Units Shipped' ? appsmith.theme.colors.primaryColor : appsmith.theme.colors.backgroundColor}}",
|
"buttonColor": "{{appsmith.theme.colors.primaryColor}}",
|
||||||
"buttonVariant": "PRIMARY",
|
"buttonVariant": "PRIMARY",
|
||||||
"disabledWhenInvalid": false,
|
"disabledWhenInvalid": false,
|
||||||
"dynamicBindingPathList": [
|
"dynamicBindingPathList": [
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
"borderRadius": "0.375rem",
|
"borderRadius": "0.375rem",
|
||||||
"bottomRow": 16,
|
"bottomRow": 16,
|
||||||
"boxShadow": "none",
|
"boxShadow": "none",
|
||||||
"buttonColor": "{{appsmith.page.name === 'Sales - Units Ordered' ? appsmith.theme.colors.primaryColor : appsmith.theme.colors.backgroundColor}}",
|
"buttonColor": "{{appsmith.theme.colors.backgroundColor}}",
|
||||||
"buttonVariant": "PRIMARY",
|
"buttonVariant": "PRIMARY",
|
||||||
"disabledWhenInvalid": false,
|
"disabledWhenInvalid": false,
|
||||||
"dynamicBindingPathList": [
|
"dynamicBindingPathList": [
|
||||||
|
|||||||
Reference in New Issue
Block a user