-
-
Couldn't load subscription status.
- Fork 1k
Prevent changing profiles if settings are not saved #2616
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
Conversation
|
AUTOMERGE: (FAIL)
|
324a34d to
6cafc8a
Compare
6cafc8a to
8e1fcdf
Compare
8a8ebbc to
20cae6b
Compare
a6ca2bd to
1eb663d
Compare
1eb663d to
f893a87
Compare
|
Kudos, SonarCloud Quality Gate passed!
|
|
This works really well! Tests fine on Mac OSX.
I'd suggest one small change here, on the Mac, at least, the 'grey' for the non-editable numbers could be made more 'pale'. It didn't stand out so much. Perhaps the same paler grey as used in the PID controller settings sub-text fields? Apart from that minor suggestion, this is great! It is possible that, since sliders are now active by default, 'old-timer' users may not figure out why they can't edit the numbers. Perhaps some pop-up on hover over an inactive numeric field could explain that these values are controlled by sliders? Perhaps we can wait until we find out whether this is a real problem from user feedback. |
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.
Tested, seems to be working fine.
|
@mituritsyn - please set RPY to OFF and save to be able to edit PID values manual. Somehow Rates Roll Center and Expo are also effected (so have to check how this is happening as we use classes for selection). |










Keep
isDirtystate consistent with firmware sliders.Due to firmware sliders we save the current slider state to get PIDs etc loosing state in firmware until saved. So if user does not want to save we are storing and retrieving original state at tab load or using refresh.
Button
Reset all profilesresets theisDirtyflag so we can change to another profile while settings may have changed in the previous profile which could load saved settings to the wrong profile.isDirtyafter reset profile buttonisDirtywhen changes are undone.Problems solved:
isDirtyandsliderRetainConfigurationflag to keep state and prevent going to another profile without saving.sliderMode. This will users remind to save settings after changingsliderMode.