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,