Test to show page name automatically
This commit is contained in:
@@ -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.
|
- 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`.
|
- 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.
|
||||||
|
|||||||
@@ -3,6 +3,9 @@
|
|||||||
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
|
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
|
||||||
"bottomRow": 5,
|
"bottomRow": 5,
|
||||||
"dynamicBindingPathList": [
|
"dynamicBindingPathList": [
|
||||||
|
{
|
||||||
|
"key": "text"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"key": "truncateButtonColor"
|
"key": "truncateButtonColor"
|
||||||
},
|
},
|
||||||
@@ -40,7 +43,7 @@
|
|||||||
"responsiveBehavior": "fill",
|
"responsiveBehavior": "fill",
|
||||||
"rightColumn": 64,
|
"rightColumn": 64,
|
||||||
"shouldTruncate": false,
|
"shouldTruncate": false,
|
||||||
"text": "Sales - Capacity Planning",
|
"text": "{{ appsmith.page.name }}",
|
||||||
"textAlign": "LEFT",
|
"textAlign": "LEFT",
|
||||||
"textColor": "#231F20",
|
"textColor": "#231F20",
|
||||||
"topRow": 0,
|
"topRow": 0,
|
||||||
|
|||||||
@@ -3,6 +3,9 @@
|
|||||||
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
|
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
|
||||||
"bottomRow": 5,
|
"bottomRow": 5,
|
||||||
"dynamicBindingPathList": [
|
"dynamicBindingPathList": [
|
||||||
|
{
|
||||||
|
"key": "text"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"key": "truncateButtonColor"
|
"key": "truncateButtonColor"
|
||||||
},
|
},
|
||||||
@@ -40,7 +43,7 @@
|
|||||||
"responsiveBehavior": "fill",
|
"responsiveBehavior": "fill",
|
||||||
"rightColumn": 64,
|
"rightColumn": 64,
|
||||||
"shouldTruncate": false,
|
"shouldTruncate": false,
|
||||||
"text": "Sales - Units Shipped",
|
"text": "{{ appsmith.page.name }}",
|
||||||
"textAlign": "LEFT",
|
"textAlign": "LEFT",
|
||||||
"textColor": "#231F20",
|
"textColor": "#231F20",
|
||||||
"topRow": 0,
|
"topRow": 0,
|
||||||
|
|||||||
@@ -3,6 +3,9 @@
|
|||||||
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
|
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
|
||||||
"bottomRow": 5,
|
"bottomRow": 5,
|
||||||
"dynamicBindingPathList": [
|
"dynamicBindingPathList": [
|
||||||
|
{
|
||||||
|
"key": "text"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"key": "truncateButtonColor"
|
"key": "truncateButtonColor"
|
||||||
},
|
},
|
||||||
@@ -40,7 +43,7 @@
|
|||||||
"responsiveBehavior": "fill",
|
"responsiveBehavior": "fill",
|
||||||
"rightColumn": 64,
|
"rightColumn": 64,
|
||||||
"shouldTruncate": false,
|
"shouldTruncate": false,
|
||||||
"text": "Sales - Units Shipped",
|
"text": "{{ appsmith.page.name }}",
|
||||||
"textAlign": "LEFT",
|
"textAlign": "LEFT",
|
||||||
"textColor": "#231F20",
|
"textColor": "#231F20",
|
||||||
"topRow": 0,
|
"topRow": 0,
|
||||||
|
|||||||
Reference in New Issue
Block a user