Feat: see all performance settings / toggle done settings#384
Feat: see all performance settings / toggle done settings#384zukucker wants to merge 11 commits into
Conversation
schneider-felix
left a comment
There was a problem hiding this comment.
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.
|
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" |
There was a problem hiding this comment.
You should use a snippet here :)
|
@claude can you take over this branch and fix conflicts |
|
Should i carry on with the snippet / conflicts? |
a448fc7 to
c996914
Compare
Greptile SummaryThis PR adds a done-settings view for performance checks. The main changes are:
Confidence Score: 5/5This looks safe to merge.
Important Files Changed
Reviews (2): Last reviewed commit: "fix: address performance settings review" | Re-trigger Greptile |
Hey,
tried my best to implement a solution for #360 .
Please let me know if if i can do anything better.