Skip to content

Commit 8c7a7db

Browse files
committed
Merge branch 'release/4.0.2' into v4
2 parents 02606db + 6f13f6d commit 8c7a7db

132 files changed

Lines changed: 2741 additions & 1808 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Webperf Changelog
22

3+
## 4.0.2 - 2024.04.16
4+
### Fixed
5+
* Fixed an issue where the down and up arrows were reversed for sorting purposes
6+
37
## 4.0.1 - 2024.02.09
48
### Added
59
* Add `phpstan` and `ecs` code linting

buildchain/package-lock.json

Lines changed: 441 additions & 438 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

buildchain/src/css/components/tables.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,13 @@ table.vuetable {
1313
}
1414

1515
.webperf-menubtn-asc::after {
16-
content: "downangle";
16+
font-weight: bold;
17+
content: "upangle";
1718
}
1819

1920
.webperf-menubtn-desc::after {
20-
content: "upangle";
21+
font-weight: bold;
22+
content: "downangle";
2123
}
2224

2325
/**

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "nystudio107/craft-webperf",
33
"description": "Webperf helps you build & maintain high quality websites through Real User Measurement of your website's performance",
44
"type": "craft-plugin",
5-
"version": "4.0.1",
5+
"version": "4.0.2",
66
"keywords": [
77
"craft",
88
"cms",

docs/docs/.vitepress/config.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@ export default defineConfig({
2424
algolia: {
2525
appId: 'T6JC4YE35L',
2626
apiKey: '071b68301938ade2178101974f60c3ac',
27-
indexName: 'webperf'
27+
indexName: 'webperf',
28+
searchParameters: {
29+
facetFilters: ["version:v4"],
30+
},
2831
},
2932
lastUpdatedText: 'Last Updated',
3033
sidebar: [

docs/package-lock.json

Lines changed: 1369 additions & 468 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

phpstan.neon

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,5 @@ parameters:
66
paths:
77
- src
88
excludePaths:
9-
- src/lib/*
10-
ignoreErrors:
11-
- '#Function getCountryFromIP not found\.#'
9+
analyse:
10+
- src/lib/*

src/helpers/PluginTemplate.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ public static function renderPluginTemplate(
6060
string $templatePath,
6161
array $params = [],
6262
string $minifier = null,
63-
): string {
63+
): string
64+
{
6465
// Stash the old template mode, and set it Control Panel template mode
6566
$oldMode = Craft::$app->view->getTemplateMode();
6667
try {
@@ -77,7 +78,6 @@ public static function renderPluginTemplate(
7778
/** @var Minify|null $minify */
7879
$minify = Craft::$app->getPlugins()->getPlugin(self::MINIFY_PLUGIN_HANDLE);
7980
if ($minify) {
80-
/** @phpstan-ignore-next-line */
8181
$htmlText = $minify->minify->$minifier($htmlText);
8282
}
8383
}
-477 Bytes
Binary file not shown.

src/web/assets/dist/assets/DataSampleDate-UZX8PM_P.js renamed to src/web/assets/dist/assets/DataSampleDate-UiLkVbOT.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)