Skip to content
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

Fields modifications including trait statistics graphs #985

Open
wants to merge 134 commits into
base: main
Choose a base branch
from

Conversation

bellerbrock
Copy link
Collaborator

@bellerbrock bellerbrock commented Jun 10, 2024

Description

Provide a summary of your changes including motivation and context.
If these changes fix a bug or resolves a feature request, be sure to link to that issue.

Closes #178
Closes #968
Closes #960
Closes #52

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:

  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have updated relevant documentation

Changelog entry

Please add a one-line changelog entry below. This will be copied to the changelog file during the release process.

Added trait statistics graphs to field detail page

chaneylc and others added 30 commits March 13, 2024 11:35
# Conflicts:
#	app/src/main/java/com/fieldbook/tracker/dialogs/NewTraitDialog.kt
#	app/src/main/java/com/fieldbook/tracker/offbeat/traits/formats/Formats.kt
#	app/src/main/java/com/fieldbook/tracker/offbeat/traits/formats/parameters/CameraTypes.kt
# Conflicts:
#	app/src/main/java/com/fieldbook/tracker/dialogs/NewTraitDialog.kt
#	app/src/main/java/com/fieldbook/tracker/offbeat/traits/formats/parameters/CameraTypes.kt
# Conflicts:
#	app/src/main/java/com/fieldbook/tracker/dialogs/NewTraitDialog.kt
#	app/src/main/java/com/fieldbook/tracker/offbeat/traits/formats/parameters/CameraTypes.kt
added gopro hardware capture
fit gopro preview to screen
…of images, necessary for raw/large images that exceed phone memory
Added system, preview, and resolution settings to photo trait layout.
Photo trait now optionally uses camerax when in non-system mode, which allows a preview and target resolution selection (target is not guaranteed)
# Conflicts:
#	app/src/main/java/com/fieldbook/tracker/offbeat/traits/formats/contracts/UsbCameraFormat.kt
Added preview, auto white balance and auto focus checkboxes.
@bellerbrock
Copy link
Collaborator Author

How are traits sorted in Data? Should we sort by percent complete?

They're sorted the same way as in the collect and traits activity. I'm thinking that's probably the expected order.

@trife
Copy link
Member

trife commented Aug 8, 2024

Changes based on external review:

  • Let's treat active chips like buttons instead of informational so it's more clear what they do. Fixed text for 'Rename' and 'Sort'
  • For graphs, how difficult is it to add 'Count' and 'Values' labels to axes? Units are currently ambiguous

@trife trife requested a review from chaneylc August 8, 2024 17:21
@bellerbrock
Copy link
Collaborator Author

bellerbrock commented Aug 12, 2024

For charts it would be difficult to add axis labels, they are not supported natively in MPAndroidChart and the workarounds with custom textviews are pretty messy. I don't think it's worth it to add more elements to the already complex data card, only case I can think of where the axis meanings could initially be confusing with the existing labels (a trait with numbered categories and little data collected) should be pretty rare.

Still working on the chip change per our discussion in slack

@bellerbrock bellerbrock reopened this Aug 12, 2024
bellerbrock and others added 8 commits August 12, 2024 18:03
…o fields_modifications

# Conflicts:
#	app/src/main/java/com/fieldbook/tracker/activities/CollectActivity.java
#	app/src/main/java/com/fieldbook/tracker/dialogs/NewTraitDialog.kt
#	app/src/main/java/com/fieldbook/tracker/offbeat/traits/formats/contracts/GoProFormat.kt
#	app/src/main/java/com/fieldbook/tracker/offbeat/traits/formats/contracts/PhotoFormat.kt
#	app/src/main/java/com/fieldbook/tracker/traits/LabelPrintTraitLayout.java
#	app/src/main/java/com/fieldbook/tracker/traits/PhotoTraitLayout.kt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants