-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(settings): add method that saves settings to file #1362
feat(settings): add method that saves settings to file #1362
Conversation
|
5e78cd1
to
2f8e5d7
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1362 +/- ##
==========================================
- Coverage 53.47% 53.43% -0.04%
==========================================
Files 451 451
Lines 25802 25827 +25
Branches 2386 2390 +4
==========================================
+ Hits 13797 13801 +4
- Misses 12005 12026 +21 ☔ View full report in Codecov by Sentry. |
2f8e5d7
to
c0b3680
Compare
c0b3680
to
0039bd8
Compare
0039bd8
to
dd7b3fa
Compare
If we do end up reimplementing the settings resource as a system argument, this would no longer be necessary 🤔 |
I think we wanted events to be able to do something if a setting changes, e.g reload graphics if you change a graphics setting or something and there we will need to use something similar if not events (like an observer idk). |
Yeah on that case I agree that we should have an event. But yeah, here I think it's probably best to keep the 'save trigger' as a method only. I don't see a use case for the event rn |
dd7b3fa
to
5c25ce5
Compare
3fb4eb3
to
ccb712a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for working on this! I would just simplify this a bit before merging.
Also, don't forget the changelog entry 😌
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Accidentally dismissed my own review, my bad
What is the status on this? Is this ready for review? |
3df89fd
to
e98b276
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Clang-Tidy
found issue(s) with the introduced code (1/1)
The settings part should be done now. I just intend on adding a few tests and the changelog. |
e98b276
to
017d5cd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Clang-Tidy
found issue(s) with the introduced code (1/1)
017d5cd
to
e86254f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other than the comments I pointed out, LGTM!
Also don't forget to update the CHANGELOG! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
e86254f
to
8a4458a
Compare
65118a6
to
09d72cb
Compare
09d72cb
to
a0a4782
Compare
Description
Include a summary of the changes here.
Checklist