Skip to content

Commit

Permalink
Merge branch 'release/4.0.2' into v4
Browse files Browse the repository at this point in the history
  • Loading branch information
khalwat committed Apr 16, 2024
2 parents 02606db + 6f13f6d commit 8c7a7db
Show file tree
Hide file tree
Showing 132 changed files with 2,741 additions and 1,808 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Webperf Changelog

## 4.0.2 - 2024.04.16
### Fixed
* Fixed an issue where the down and up arrows were reversed for sorting purposes

## 4.0.1 - 2024.02.09
### Added
* Add `phpstan` and `ecs` code linting
Expand Down
879 changes: 441 additions & 438 deletions buildchain/package-lock.json

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions buildchain/src/css/components/tables.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,13 @@ table.vuetable {
}

.webperf-menubtn-asc::after {
content: "downangle";
font-weight: bold;
content: "upangle";
}

.webperf-menubtn-desc::after {
content: "upangle";
font-weight: bold;
content: "downangle";
}

/**
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "nystudio107/craft-webperf",
"description": "Webperf helps you build & maintain high quality websites through Real User Measurement of your website's performance",
"type": "craft-plugin",
"version": "4.0.1",
"version": "4.0.2",
"keywords": [
"craft",
"cms",
Expand Down
5 changes: 4 additions & 1 deletion docs/docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ export default defineConfig({
algolia: {
appId: 'T6JC4YE35L',
apiKey: '071b68301938ade2178101974f60c3ac',
indexName: 'webperf'
indexName: 'webperf',
searchParameters: {
facetFilters: ["version:v4"],
},
},
lastUpdatedText: 'Last Updated',
sidebar: [
Expand Down
1,837 changes: 1,369 additions & 468 deletions docs/package-lock.json

Large diffs are not rendered by default.

5 changes: 2 additions & 3 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@ parameters:
paths:
- src
excludePaths:
- src/lib/*
ignoreErrors:
- '#Function getCountryFromIP not found\.#'
analyse:
- src/lib/*
4 changes: 2 additions & 2 deletions src/helpers/PluginTemplate.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ public static function renderPluginTemplate(
string $templatePath,
array $params = [],
string $minifier = null,
): string {
): string
{
// Stash the old template mode, and set it Control Panel template mode
$oldMode = Craft::$app->view->getTemplateMode();
try {
Expand All @@ -77,7 +78,6 @@ public static function renderPluginTemplate(
/** @var Minify|null $minify */
$minify = Craft::$app->getPlugins()->getPlugin(self::MINIFY_PLUGIN_HANDLE);
if ($minify) {
/** @phpstan-ignore-next-line */
$htmlText = $minify->minify->$minifier($htmlText);
}
}
Expand Down
Binary file not shown.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
Binary file not shown.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
Loading

0 comments on commit 8c7a7db

Please sign in to comment.