-
Notifications
You must be signed in to change notification settings - Fork 13
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
Set user’s most-recently used treatment doses as default when it's "turned-on" #2
Comments
Summary of slack conversation with @lmerriam to clarify reqs
|
👍 |
@algodave this isn't quite working for me, I still get "no dose" on all my treatments when I add them |
@lmerriam can you provide an example treatment you added which was not populated? Consider that currently you have to wait one second before "turning-on" the treatment just added in order to see the auto-set dose (sorry I should have mentioned that) |
Prednisone, Stelara, Folic Acid, Methotrexate on my logan@flaredown.com account Just tried again waiting 10 seconds, I still see the issue unfortunately |
@lmerriam I should have found what the issue was. I was discarding |
Looks good now 👍 |
@algodave still seeing issues: https://www.dropbox.com/s/zjz5t0f651auuas/autoTreatmentDose.mov?dl=0 |
@lmerriam just watched the video. The checkin you clicked on already existed before I released the feature, that means the object was initialized without most-recent doses. I realized that because the summary screen opened up rather than the first checkin screen (the "You haven't checked-in yet"). |
@lmerriam oh by the way, if you want to test on some past day, I can manually remove your existing checkins; just give me the dates in case you want to do that |
Gotcha! Makes sense. If you wanna clear the past 5 days of my check-ins that would be awesome |
@lmerriam Done! |
@algodave getting the same thing i got before, it seems to be targeting the wrong dose. right now i added a "5mg" dose of prednisone in the days you recently cleared for me, then the next day I turned on prednisone and the auto-dose was "3mg". I have used 3mg before, but not the prior day. Any way I can help diagnose? |
video, in case I'm doing something weird again: https://www.dropbox.com/s/0wzv58dlcdj0p4c/autoTreatmentDose2.mov?dl=0 |
No, this time you're not doing anything weird :) |
Random UX thought: if the last dose was "no dose" the auto dose should be "no dose" |
Oh this is important, thanks for posting! At the moment it's ignoring both |
@lmerriam You can now test again; let me know which days should I delete checkin for you, if needed. |
Works for me! Closing 👍 |
The most recent dose used for a treatment has to be saved for each user, in order to allow him to quickly select it during checkin
The text was updated successfully, but these errors were encountered: