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

Limit number of gatherings on Vihko documents #578

Open
4 tasks
mikkohei13 opened this issue Oct 9, 2024 · 0 comments
Open
4 tasks

Limit number of gatherings on Vihko documents #578

mikkohei13 opened this issue Oct 9, 2024 · 0 comments
Assignees
Labels
improvement Fixes that are not really bugs and are not really new features

Comments

@mikkohei13
Copy link
Member

mikkohei13 commented Oct 9, 2024

Number of gatherings on Vihko documents should be limited, so that users cannot (on purpose or accidentally) create documents with so many gatherings, that Vihko UI and/or ETL process cannot handle them.

  • Limit on frontend: if document has N gatherings, don't display button or allow shortcut to add more gatherings
  • Limit on backend and schema
  • Limit on how many gatherings Vihko import will create. At least in the beginning, the import tool could add multiple days into one document using gathering dates. Disable that if it still exists.
  • Add a note to documentation

What would be a good limit for backend/frontend? Line transect documents need to have many gatherings, but how many? E.g. this one has 76: http://tun.fi/JX.1762683

@wkmor1 wkmor1 added the improvement Fixes that are not really bugs and are not really new features label Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Fixes that are not really bugs and are not really new features
Projects
None yet
Development

No branches or pull requests

3 participants