Skip to content

add option to create new categories in non-brapi categorical traits#1411

Merged
trife merged 5 commits intomainfrom
categorical-other
Mar 10, 2026
Merged

add option to create new categories in non-brapi categorical traits#1411
trife merged 5 commits intomainfrom
categorical-other

Conversation

@trife
Copy link
Copy Markdown
Member

@trife trife commented Feb 16, 2026

Description

closes #435

Change Type

  • ADDITION (non-breaking change that adds functionality)
  • CHANGE (fix or feature that alters existing functionality)
  • FIX (non-breaking change that resolves an issue)
  • OTHER (use only for changes like tooling, build system, CI, docs, etc.)

Release Note

Categorical traits now have an option that allows new categories to be defined during collection

@trife trife requested a review from chaneylc February 16, 2026 08:23
introduced collect activity view model
Copy link
Copy Markdown
Member

@chaneylc chaneylc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you consider themeing the "Other" button a bit different than the categorical buttons? Maybe instead we can make a ic_categorical_other button; this came to mind when I tested creating an "Other" category (literally named "Other") and the buttons looked the same.

trife and others added 2 commits March 4, 2026 16:03
# Conflicts:
#	app/src/main/java/com/fieldbook/tracker/activities/CollectActivity.java
#	app/src/main/java/com/fieldbook/tracker/database/DbConstants.kt
#	app/src/main/java/com/fieldbook/tracker/database/models/TraitAttributes.kt
#	app/src/main/java/com/fieldbook/tracker/objects/TraitObject.kt
#	app/src/main/java/com/fieldbook/tracker/traits/formats/CategoricalFormat.kt
#	app/src/main/java/com/fieldbook/tracker/traits/formats/parameters/Parameters.kt
#	app/src/main/java/com/fieldbook/tracker/ui/screens/traits/components/TraitOptionsSection.kt
#	app/src/main/res/values/strings.xml
@trife trife merged commit f7c5e67 into main Mar 10, 2026
@trife trife deleted the categorical-other branch March 10, 2026 04:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add 'Other' functionality to categorical traits that let's user input undefined category manually

2 participants