Skip to content

Feat: see all performance settings / toggle done settings#384

Open
zukucker wants to merge 13 commits into
FriendsOfShopware:mainfrom
zukucker:feat/see-all-settings
Open

Feat: see all performance settings / toggle done settings#384
zukucker wants to merge 13 commits into
FriendsOfShopware:mainfrom
zukucker:feat/see-all-settings

Conversation

@zukucker

Copy link
Copy Markdown
Contributor

Hey,

tried my best to implement a solution for #360 .
Please let me know if if i can do anything better.

@schneider-felix schneider-felix left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

I think it could be a bit better if you refactored the checkers a bit. Instead of adding an else clause to each checker, I would add a new static function to SettingsResult.

Theoretically you could also add a constructor to SettingsResult, but that would be a breaking change and I know that there are people who use this class in their plugins.

So I would do it like this:
Add a new static function SettingsResult::create() which takes the same parameters as the other static functions but also additionally takes the state as the first parameter. With that, you can simply remove the if-else clause from the checkers and use the SettingsResult::create() function instead.

@zukucker

Copy link
Copy Markdown
Contributor Author

Hi, thank you - way better solution. You are absolute right. ill do it asap 👍

<template v-slot:header-right>
<sw-switch-field
v-model:value="showDone"
label="Erledigte anzeigen"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should use a snippet here :)

@shyim

shyim commented Jul 2, 2026

Copy link
Copy Markdown
Member

@claude can you take over this branch and fix conflicts

@zukucker

zukucker commented Jul 2, 2026

Copy link
Copy Markdown
Contributor Author

Should i carry on with the snippet / conflicts?

@shyim
shyim force-pushed the feat/see-all-settings branch from a448fc7 to c996914 Compare July 2, 2026 08:36
@greptile-apps

greptile-apps Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR adds completed performance settings to the health view. The main changes are:

  • Always emits performance checker rows with a done state when settings match the recommendation.
  • Adds a Show done toggle to the administration performance table.
  • Updates current and recommended values for the previously visible performance rows.
  • Adds localized labels for the done-settings UI.

Confidence Score: 5/5

This looks safe to merge.

  • No blocking issues found in the changed code.

Important Files Changed

Filename Overview
src/Components/Health/Checker/PerformanceChecker/FixCacheIdSetChecker.php Reports fixed cache id as done only when the cache id is set.
src/Components/Health/Checker/PerformanceChecker/FineGrainedCachingChecker.php Reports fine-grained caching state and current value from the actual enabled flags.
src/Components/Health/Checker/PerformanceChecker/MessengerAutoSetupChecker.php Reports messenger auto setup as done when all configured transports have it disabled.
src/Components/Health/Checker/PerformanceChecker/ProductStreamIndexingChecker.php Reports product stream indexing with current and recommended values for both enabled and disabled states.
src/Components/Health/Checker/PerformanceChecker/QueueConnectionChecker.php Emits a queue adapter row for each schema and gives healthy Redis or RabbitMQ rows a visible name.
src/Components/Health/Checker/PerformanceChecker/RedisTagAwareChecker.php Reports the actual HTTP cache adapter type for Redis tag-aware checks.
src/Resources/app/administration/src/module/frosh-tools/component/frosh-tools-tab-index/index.js Adds the Show done state and filters completed performance rows by default.
src/Resources/app/administration/src/module/frosh-tools/component/frosh-tools-tab-index/template.twig Uses the filtered performance rows for the count, empty state, and table rendering.

Reviews (3): Last reviewed commit: "fix: address review findings" | Re-trigger Greptile

Comment thread src/Components/Health/Checker/PerformanceChecker/FixCacheIdSetChecker.php Outdated
Comment thread src/Components/Health/Checker/PerformanceChecker/FineGrainedCachingChecker.php Outdated
Comment thread src/Components/Health/Checker/PerformanceChecker/MessengerAutoSetupChecker.php Outdated
Comment thread src/Components/Health/Checker/PerformanceChecker/ProductStreamIndexingChecker.php Outdated
Comment thread src/Components/Health/Checker/PerformanceChecker/QueueConnectionChecker.php Outdated
Comment thread src/Components/Health/Checker/PerformanceChecker/RedisTagAwareChecker.php Outdated
shyim added 3 commits July 2, 2026 10:48
# Conflicts:
#	src/Components/Health/Checker/PerformanceChecker/CompressionMethodChecker.php
#	src/Resources/app/administration/src/module/frosh-tools/component/frosh-tools-tab-index/index.js
#	src/Resources/app/administration/src/module/frosh-tools/component/frosh-tools-tab-index/template.twig
- restore error severity for group_concat_max_len check
- show actual increment storage backend values instead of recommended text
- skip sql_mode/timezone rows when the value cannot be read
- type SettingsResult::create() state with class constants
@codecov

codecov Bot commented Jul 18, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 219 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (main@1be4daf). Learn more about missing BASE report.

Files with missing lines Patch % Lines
.../Checker/PerformanceChecker/PhpSettingsChecker.php 0.00% 46 Missing ⚠️
...hecker/PerformanceChecker/MysqlSettingsChecker.php 0.00% 39 Missing ⚠️
...cker/PerformanceChecker/QueueConnectionChecker.php 0.00% 23 Missing ⚠️
...ker/PerformanceChecker/IncrementStorageChecker.php 0.00% 12 Missing ⚠️
...r/PerformanceChecker/FineGrainedCachingChecker.php 0.00% 9 Missing ⚠️
...r/PerformanceChecker/MessengerAutoSetupChecker.php 0.00% 9 Missing ⚠️
.../Checker/PerformanceChecker/AdminWorkerChecker.php 0.00% 8 Missing ⚠️
...manceChecker/DisableAppUrlExternalCheckChecker.php 0.00% 8 Missing ⚠️
...erformanceChecker/DisableSymfonySecretsChecker.php 0.00% 8 Missing ⚠️
.../PerformanceChecker/DisabledMailUpdatesChecker.php 0.00% 8 Missing ⚠️
... and 7 more
Additional details and impacted files
@@          Coverage Diff           @@
##             main    #384   +/-   ##
======================================
  Coverage        ?   8.30%           
  Complexity      ?    1366           
======================================
  Files           ?     101           
  Lines           ?    4298           
  Branches        ?       0           
======================================
  Hits            ?     357           
  Misses          ?    3941           
  Partials        ?       0           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants