Skip to content

forms improvements - make form per event & add number input#367

Open
pigrammer3 wants to merge 8 commits intoFIRSTTeam102:masterfrom
pigrammer3:forms-improvements
Open

forms improvements - make form per event & add number input#367
pigrammer3 wants to merge 8 commits intoFIRSTTeam102:masterfrom
pigrammer3:forms-improvements

Conversation

@pigrammer3
Copy link
Copy Markdown
Contributor

closes #362
mostly what this PR would do is change forms to happen per event instead of per year, so that organizations could change their forms over a season and not worry about affecting old data; this would also help when having some sort of inter-organization collaboration & data sharing in the future as they could have entirely different schemas in different events. I did limited testing locally but I don't really think that's enough as my local DB doesn't really have a lot of variety of data in it. Additionally, this change would require admins, whenever they want to scout a new event, to have to go in to the edit form area and submit the form which automatically is pulled from the latest event at that year; later it would probably be good to make this happen whenever you switch to a new event. This also could create some issues when comparing data across multiple events.
this PR includes a migration script which should pick reasonable events to set schemas to, which is also only tested on my limited local dataset.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Add 'number comment boxes' (HTML input) as form options

1 participant