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

Move XLSForm mapping fields from XLS to code #315

Open
spwoodcock opened this issue Nov 20, 2024 · 3 comments
Open

Move XLSForm mapping fields from XLS to code #315

spwoodcock opened this issue Nov 20, 2024 · 3 comments
Labels
enhancement New feature or request Priority: Should have xlsform Related to modifying XLSForms

Comments

@spwoodcock
Copy link
Member

Is your feature request related to a problem? Please describe.

Describe the solution you'd like

  • We should move the mandatory_fields form and digitisation form out of XLS format and into code.
  • It's more verbose, but it's version controlled and more obvious what is being added.
@spwoodcock
Copy link
Member Author

Following on from discussion in #312

We need a nice way to implement this without it being overly verbose and cumbersome.

It's a bit of work, so we can consider this later after more pressing priorities

@manjitapandey
Copy link

But this way, if user don't want to add the injected fields on their projects. Adding the mandatory fields on code can be less flexible.

@spwoodcock
Copy link
Member Author

I would argue it makes things more flexible, as we could probably have flags so the user can decide which fields they want. Say the need the geometry related questions, but don't want the photo verification for whatever reason photo_question=False.

The issue we have is that while simply merging in the XLS file keeps things simple, we have no idea what changes in the mandatory fields between osm-fieldwork releases. If it were in code, it's more obvious what fields changed over time 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Priority: Should have xlsform Related to modifying XLSForms
Projects
Development

No branches or pull requests

3 participants