Feature collection #19
Reference in New Issue
Block a user
No description provided.
Delete Branch "mwarning/luna-tracker:bottle_time"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Features:
<empty>, "little", "normal", "plenty")Bugfix:
Miscellaneous:
Gradle:
All changes are backwards compatible.
add time to ask bottle content dialogto [WIP] add time to ask bottle content dialog5be2917839tocbba6b7a90cbba6b7a90to53bab2d22c53bab2d22cto4e9eeff6aa[WIP] add time to ask bottle content dialogto [WIP] Use edit button for all events4e9eeff6aatoaaccef54a5aaccef54a5tob719903a73b719903a73to5ffeff445f[WIP] Use edit button for all eventsto [WIP] Allow editing of all events5ffeff445ftoc52a74c7e3[WIP] Allow editing of all eventsto Allow editing of all eventsAllow editing of all eventsto events: allow editing of all valuesc52a74c7e3tof8bd760f7af8bd760f7atod8978a9b8cd8978a9b8cto83294401dc83294401dctoa941fc4fcea941fc4fceto4c5ac593554c5ac59355to17e1d2c6ea@penguin86 ready for review :)
17e1d2c6eatof7969541aef7969541aeto4492b36b234492b36b23to563e431c1devents: allow editing of all valuesto Feature collection6b1a82d7d0to99c7e5f94d99c7e5f94dto3ae71c36a7The only thing missing now is a statistics activity. But that is for another time.
3ae71c36a7to88e9cb7debFeature collectionto [WIP] Feature collection88e9cb7debtod34aa8e950[WIP] Feature collectionto Feature collectionLooks good now.
d34aa8e950toe756a2a3fce756a2a3fctoed10dca216ed10dca216tofc3b67638dd4df3cfc18to9cce54c05e9cce54c05eto11a4f12fbe11a4f12fbeto19774016e119774016e1tof8f5d68bb6Ok, I think it is done.
@penguin86 feel free to pick all changes you like :)
20d7612b46to479335f1c9479335f1c9toe9b41b4e06e9b41b4e06to3e64da2e2eFeature collectionto [WIP] Feature collectionWIP: the statistics feature does not compile yet. It is being overhault.
3e64da2e2eto341d2c5229341d2c5229to58088aeec758088aeec7to8e4a5b89c08e4a5b89c0to4f0416e1c14f0416e1c1to6f69b581e46f69b581e4toe820c11e68Hello Moritz,
I started reviewing your pull request without noticing it was WIP.
I have some bug reports, but please ignore the ones you are currently working on (I may have tested incomplete features).
Statistics: Crash selecting Statistics -> Bottle per day:
Statistics: empty screen for medicine statistics
On a logbook with a lot of medicine events (I can provide this one to you, if you need it to troubleshoot), I obtain a blank statistic screen: see screenshots:
Events: I'm not sure how the sleep event works: I see I can set a duration with the +5 button, but when I save, it says invalid date. I also tought it may measure between sleep events (i.e. create one sleep event to mark te start of the sleep and another one to mark the end), but in that case it doesn't seem to calculate the duration between the two events in the statistics.
Maybe the interface can be made more clear on how to use it.
As a side note, I'm a little worried the MPAndroidChart library is not currently mantained: the last release is from 2019, I hope it will not break due to one of the destructive changes Google likes to do to Android from release to release...
One last thing: may I suggest to split the features between more self-contained pull requests in the future? I.e. in the current case, the statistics feature could have been on another pull request, so I could have merged the other changes while the statistics feature is being worked on.
No need to change this one, it's just a suggestion for the future ones, if any.
As always, thanks very much for your contribution, Moritz!
Have a nice day.
Hi @penguin86 , thank you for your constructive feedback. This MR is indeed work in progress and I am working on fixing the crashes (correct calender operations are difficult to get right and are the source of the crash you have seen).
Sleep Event: Yeah, it is a bit confusing. If you create a sleep event, then the "-5 / NOW / +5" buttons should not be visible. Those buttons are for setting and adjusting the wake up time after the event has been created and the baby woke up. I will improve it.
MPAndroidChart: it was what I have found every time I was looking for a Android chart library. The maintainance status is of a concern to me as well. The only thing I can do at this point is to make it easy to remove the statistics feature once the library becomes a liability.
Separated commits: I will try to improve it a bit while working on this MR. But it is a pain to do. :P
Medicine Events: That part I haven't had time to polish at all yet. Work in progress.
e820c11e68to0cc9dc53fe0cc9dc53fetoc636e48c7ec636e48c7eto38930fe26938930fe269toa4b5ae7cd0a4b5ae7cd0toa8b9691861a8b9691861tobe5463bf18be5463bf18to43f0519487[WIP] Feature collectionto Feature collectionhi @penguin86, I think this MR is ready.
Here is a commit to remove the statistics completely in case MPAndroidChart becomes a liability due to missing maintainance:
a8305b8fc9@penguin86 should this MR target the develop branch?
43f0519487toff48d1af59ff48d1af59to87442057db87442057dbtoe1dbc2c628View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.