Closed akshat22 closed 1 week ago
First of all this looks awesome!
@akshat22 for the heatmap, you're going to need to either use the heatmap composable or adapt one of the vertical scrolling calendar views.
The Config Activity Fields icon is different, is that on purpose?
Tried to select a date range, I think it crashes if you only have one date:
FATAL EXCEPTION: main (Ask Gemini)
Process: com.fieldbook.tracker.debug, PID: 26100
java.lang.NullPointerException: Attempt to invoke virtual method 'int java.util.Calendar.get(int)' on a null object reference
at com.fieldbook.tracker.dialogs.DateRangePickerDialog.lambda$onCreateDialog$0$com-fieldbook-tracker-dialogs-DateRangePickerDialog(DateRangePickerDialog.java:60)
at com.fieldbook.tracker.dialogs.DateRangePickerDialog$$ExternalSyntheticLambda0.onClick(Unknown Source:2)
at androidx.appcompat.app.AlertController$ButtonHandler.handleMessage(AlertController.java:167)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loopOnce(Looper.java:232)
at android.os.Looper.loop(Looper.java:317)
at android.app.ActivityThread.main(ActivityThread.java:8501)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:878)
The Config Activity Fields icon is different, is that on purpose?
@chaneylc This is in reference to one of Trevor's notes in the previous comment to switch the icons for Fields and Plots.
Tried to select a date range, I think it crashes if you only have one date:
Noted, will fix this.
I've changed the target to fields_modifications which is going to be our base v6 version where this will be released. I have a few minor requests for updates to close this out and get it merged:
@chaneylc it looks your implementation crashes if the images don't exist on the device. I'll send you a database to test with to recreate the issue.
Description
Adds a new statistics page #871 to Field Book with the following features:
Type of change
What type of changes does your code introduce? Put an
x
in boxes that apply.CHANGE
(fix or feature that would cause existing functionality to not work as expected)FEATURE
(non-breaking change which adds functionality)BUGFIX
(non-breaking change which fixes an issue)ENHANCEMENT
(non-breaking change which improves existing functionality)NONE
(if none of the other choices apply. Example, tooling, build system, CI, docs, etc.)Checklist:
Changelog entry
Please add a one-line changelog entry below. This will be copied to the changelog file during the release process.