-
Notifications
You must be signed in to change notification settings - Fork 4
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
add and edit matches manually #1534
base: dev
Are you sure you want to change the base?
Conversation
@calebeby When I try to test the match-creator form in the deploy preview, it throws a red Alert popup, but it doesn't tell me what the problem is. Can you look through the code and tell me if there's anything that should cause a problem? |
The same error occurs when saving the match-editor form. |
fixed back arrow on match-editor added match-editor link on match pages
@varCepheid When I look in devtools it shows me that the PATCH request did not go through; the server returned a Based on the API Docs for the backend, it looks like the server does not support updating matches, only creating new ones. So we are missing a backend method that you (or someone) will need to send a PR for. |
Looks like there is an undocumented And the Maybe it would be good to update the OpenAPI docs in https://github.com/Pigmice2733/peregrine-backend/blob/develop/internal/server/openapi.yaml Feel free to send a PR! |
The forms are going through fine now. I've fixed all the problems I could find except that when I go into the match editor, it will always display (in the |
@varCepheid It is because the |
Added the |
Admins and super-admins can create new matches for an event manually and edit existing matches. The editable fields are name, date & time, team list, and score.