This defines how ODK choice lists and choices are handled in the data structures. It sets up a usable UI for people to manage the choice list entries at the team level.
Notes
This needs to add to the Xlsform template unpacking being done in #23 to unpack the choice lists and choice list entries into the database.
The intention is that when an xlsform template is uploaded (new or replacement), the following workflow happens:
The user is shown the choice lists in the form, and asked "which of these are localisable?" and "which of these are linked to 'datasets'? (Note - need to figure out how to clearly explain what that means...)
Then, when a team makes their own version of the template, they get shown all the choice lists that are localisable, and can edit them. Choice lists linked to datasets will be handled by however those datasets are handled (e.g., "farms" and "locations" are handled through the custom sample frame upload; "crops" or "units" might be handled separately too).
DRAFT - WORK IN PROGRESS
resolves #4;
This defines how ODK choice lists and choices are handled in the data structures. It sets up a usable UI for people to manage the choice list entries at the team level.
Notes
Then, when a team makes their own version of the template, they get shown all the choice lists that are localisable, and can edit them. Choice lists linked to datasets will be handled by however those datasets are handled (e.g., "farms" and "locations" are handled through the custom sample frame upload; "crops" or "units" might be handled separately too).