-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Insulin Management outside ProfilePlugin #3952
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
base: dev
Are you sure you want to change the base?
Conversation
Philoul
commented
Apr 17, 2025
- New Insulin Plugin
- Dia tab removed from ProfilePlugin and from PureProfile
- ProfileSwitch updated to include Insulin Selection
- Migration updated (from 3.3.2.0 or 3.3.3.0)
- Tests updated
|
Hi @Philoul! :) I tested this PR upon latest dev + AAPSClient and here are some feedback. Also is this PR a replacement for #3853 ? If the issues below doesn't appear on your end, is there something I need to do before testing this PR than building upon latest dev?
|
|
@olorinmaia Yes, this PR is a new version with Profiles and insulin completely independant. This PR is a first step (already very big), and I have 3 additional PR based on this branch:
So issue concerning NS synchro should be fixed with another PR. |
|
@olorinmaia Concerning your second issue, I don't know if it could be a side effect of NS synchro (especially if AAPS version behind source of data is a previous version with dia managed within profile. The only automatic insulin creation are done in 2 situations:
|
|
@Philoul I tried disabling NSClient plugin on AAPS and deleted all other profiles and insulin templates. Here is a video of the issue that still persist on my testrig. Seems like insulin template with custom name gets overwritten by "default name". Can you reproduce this on your end? |
|
Thanks, I could reproduce the issue (bug with migration, previous key was not removed properly so migration was done again on each launch) 🙈 |
|
@olorinmaia Issue fixed with my latest commits |
# Conflicts: # core/keys/src/main/kotlin/app/aaps/core/keys/interfaces/Preferences.kt # implementation/src/main/kotlin/app/aaps/implementation/sharedPreferences/PreferencesImpl.kt # wear/src/main/kotlin/app/aaps/wear/sharedPreferences/PreferencesImpl.kt
|
# Conflicts: # app/src/main/kotlin/app/aaps/MainApp.kt # core/ui/src/main/res/values/strings.xml # plugins/main/src/test/kotlin/app/aaps/plugins/main/general/smsCommunicator/SmsCommunicatorPluginTest.kt
|






