Test to show page name automatically

This commit is contained in:
ivarsbariss
2026-02-26 15:54:20 +01:00
parent c9e5a7d874
commit 30fd988494
4 changed files with 13 additions and 3 deletions

View File

@@ -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 doesnt 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.

View File

@@ -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,

View File

@@ -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,

View File

@@ -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,