As a Tournament CCO
I would like to be able to upload documents myself
So that I have greater control over the tournament preparation and do not have to depend on an operator
Description
Current imports are done by saving a csv "spreadsheet" and running a series of cli commands to validate and then import directly using mysql.
This is a lot of unnecesary operations works.
A users should be able to select a csv file from their local system and upload it to the PitchPerfect backend.
The user should be presented with validation errors to be fixed before proceeding.
Acceptance criteria
The user can upload a documents
Validation errors are shown as a count and as a descriptive list
If there are no validation errors a "Create tournament" button is displayed
The button is greyed out until required fields: Title, date, location are provided by the user
Pushing the button results in the tournament being ingested in the database using the existing import modules:
Motivation
As a Tournament CCO I would like to be able to upload documents myself So that I have greater control over the tournament preparation and do not have to depend on an operator
Description
Current imports are done by saving a csv "spreadsheet" and running a series of cli commands to validate and then import directly using mysql.
This is a lot of unnecesary operations works. A users should be able to select a csv file from their local system and upload it to the PitchPerfect backend. The user should be presented with validation errors to be fixed before proceeding.
Acceptance criteria