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
Settings updated event [cleanup] #8451
Conversation
@RussKie could you please do a review. |
Codecov Report
@@ Coverage Diff @@
## master #8451 +/- ##
==========================================
+ Coverage 53.00% 53.12% +0.12%
==========================================
Files 877 880 +3
Lines 62129 62364 +235
Branches 11331 11348 +17
==========================================
+ Hits 32930 33131 +201
- Misses 26532 26565 +33
- Partials 2667 2668 +1
Flags with carried forward coverage won't be shown. Click here to find out more. |
So if we get more properties that we can wire up events too we should consider INotifyPropertyChanged? |
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.
👍
We still have one property "Value" |
I'm thinking instead of have something that works for every settings, e.g.: AppSetitngs.SettingChanged += (s, e) => { ... } |
We have different settings, this may require more changes. |
Ugh... we'll have to deal with it one day :) |
I had a go at refactoring it 3 years ago (ugh!) https://github.com/RussKie/gitextensions/tree/refactor_AppSettings |
Are you planning to apply these changes? |
Maybe... One day.... When I have completed other things :) There are so many things I'd like to do, and there's so much time I have for this project. |
Renamed DefaultValue to Default |
Continuation #8450
Proposed changes
Screenshots
After
We can replace
And use
Test methodology
Test environment(s)
✒️ I contribute this code under The Developer Certificate of Origin.