Skip to content

Commit 73e67f1

Browse files
committed
Merge branch 'master' into develop
2 parents 9375dd2 + b4436b7 commit 73e67f1

13 files changed

+36
-25
lines changed

CHANGELOG.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
# Changelog
22

3-
## [Unreleased]
3+
## [1.5.6] - 2024-07-22
4+
5+
- Improve responsive tab rendering
6+
7+
## [1.5.5] - 2024-02-28
8+
9+
- Fix deprecation warning
10+
11+
## [1.5.4] - 2023-10-20
12+
13+
- Update dependencies
414

515
## [1.5.3] - 2023-03-18
616

@@ -255,8 +265,9 @@ Chart panel improvements:
255265

256266
- Initial public release
257267

258-
[Unreleased]: https://github.com/daun/processwire-dashboard/compare/v1.5.3...HEAD
259-
268+
[1.5.6]: https://github.com/daun/processwire-dashboard/releases/tag/v1.5.6
269+
[1.5.5]: https://github.com/daun/processwire-dashboard/releases/tag/v1.5.5
270+
[1.5.4]: https://github.com/daun/processwire-dashboard/releases/tag/v1.5.4
260271
[1.5.3]: https://github.com/daun/processwire-dashboard/releases/tag/v1.5.3
261272
[1.5.2]: https://github.com/daun/processwire-dashboard/releases/tag/v1.5.2
262273
[1.5.1]: https://github.com/daun/processwire-dashboard/releases/tag/v1.5.1

Dashboard.module

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ use function ProcessWire\wireIconMarkup;
1313
* @author Philipp Daun <post@philippdaun.net>
1414
* @license GPL-3.0
1515
*
16-
* @version 1.5.2
16+
* @version 1.5.6
1717
*/
1818

1919
// Include abstract panel base class
@@ -31,7 +31,7 @@ class Dashboard extends Process implements Module
3131
'summary' => __('Configurable dashboard page', __FILE__),
3232
'href' => 'https://github.com/daun/processwire-dashboard',
3333
'author' => 'Philipp Daun',
34-
'version' => '1.5.2',
34+
'version' => '1.5.6',
3535
'icon' => 'compass',
3636
'permission' => 'dashboard-view',
3737
'permissions' => [

DashboardPanelAddNew.module

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class DashboardPanelAddNew extends DashboardPanel
1919
'title' => __('Dashboard Panel: Add New Page', __FILE__),
2020
'summary' => __('Allow adding new pages from the dashboard', __FILE__),
2121
'author' => 'Philipp Daun',
22-
'version' => '1.5.2',
22+
'version' => '1.5.6',
2323
]
2424
);
2525
}

DashboardPanelChart.module

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class DashboardPanelChart extends DashboardPanel
1515
'title' => __('Dashboard Panel: Chart', __FILE__),
1616
'summary' => __('Display a customizable chart from any data source', __FILE__),
1717
'author' => 'Philipp Daun',
18-
'version' => '1.5.2',
18+
'version' => '1.5.6',
1919
]
2020
);
2121
}

DashboardPanelCollection.module

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class DashboardPanelCollection extends DashboardPanel
1818
'title' => __('Dashboard Panel: Collection', __FILE__),
1919
'summary' => __('Display a collection of pages in a table', __FILE__),
2020
'author' => 'Philipp Daun',
21-
'version' => '1.5.2',
21+
'version' => '1.5.6',
2222
]
2323
);
2424
}
@@ -107,7 +107,7 @@ class DashboardPanelCollection extends DashboardPanel
107107
}
108108

109109
// Special case: icon as column header
110-
if (strpos($label, 'fa-') === 0) {
110+
if (strpos($label ?: '', 'fa-') === 0) {
111111
$label = $this->renderIcon($label);
112112
}
113113

DashboardPanelNotice.module

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class DashboardPanelNotice extends DashboardPanel
1616
'title' => __('Dashboard Panel: Notice', __FILE__),
1717
'summary' => __('Display a notice with icon', __FILE__),
1818
'author' => 'Philipp Daun',
19-
'version' => '1.5.2',
19+
'version' => '1.5.6',
2020
]
2121
);
2222
}

DashboardPanelNumber.module

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class DashboardPanelNumber extends DashboardPanel
1616
'title' => __('Dashboard Panel: Number', __FILE__),
1717
'summary' => __('Display a single number with trend indicator', __FILE__),
1818
'author' => 'Philipp Daun',
19-
'version' => '1.5.2',
19+
'version' => '1.5.6',
2020
]
2121
);
2222
}

DashboardPanelPageList.module

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class DashboardPanelPageList extends DashboardPanel
1515
'title' => __('Dashboard Panel: PageList', __FILE__),
1616
'summary' => __('Display a ProcessPageList widget for any parent', __FILE__),
1717
'author' => 'Philipp Daun',
18-
'version' => '1.5.2',
18+
'version' => '1.5.6',
1919
]
2020
);
2121
}

DashboardPanelShortcuts.module

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class DashboardPanelShortcuts extends DashboardPanel
1919
'title' => __('Dashboard Panel: Shortcuts', __FILE__),
2020
'summary' => __('Display a list of shortcuts to admin pages', __FILE__),
2121
'author' => 'Philipp Daun',
22-
'version' => '1.5.2',
22+
'version' => '1.5.6',
2323
]
2424
);
2525
}
@@ -138,7 +138,7 @@ class DashboardPanelShortcuts extends DashboardPanel
138138
}
139139

140140
$url = $link['url'] ?? null;
141-
$isAdminLink = strpos($url, $this->config->urls->admin) === 0;
141+
$isAdminLink = strpos($url ?: '', $this->config->urls->admin) === 0;
142142
$title = $this->sanitizer->entities1($link['title'] ?? $link['url'] ?? '');
143143
$summary = $this->summaries ? $this->sanitizer->entities1($link['summary'] ?? '') : '';
144144
$icon = $this->renderPageIcon($link['icon'] ?? null);

DashboardPanelTemplate.module

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class DashboardPanelTemplate extends DashboardPanel
1515
'title' => __('Dashboard Panel: Template', __FILE__),
1616
'summary' => __('Display the output of any file in the templates folder', __FILE__),
1717
'author' => 'Philipp Daun',
18-
'version' => '1.5.2',
18+
'version' => '1.5.6',
1919
]
2020
);
2121
}

0 commit comments

Comments
 (0)