Let organizers list, create, edit and delete their Events
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- typescript
- Domain
- frontend
Research direction
Read #213 and the frontend app shell to understand the existing organizer flow, then inspect the API client and mock handlers for the listed organizer event endpoints. The issue says this work is blocked until the backend exposes organizer memberships and organizer codes; open that backend issue first. Done means organizer pages support listing, creating, editing and deleting Events with the specified responses, plus mock handlers and tests.
Written by the indexing model from the issue text.
Description
Why
Verified organizers can now manage their Events through the API (backend#125, backend#163). The app has no organizer pages, so an organizer has to ask someone with Django admin access to set up an Event before they can upload results (#218) or settle disputes (#219).
What
- An organizer area in the app shell, shown only to accounts that belong to an organizer.
- List Events from
GET /api/v1/organizer/events(list_organizer_events): every Event of every organizer the account belongs to, verified or not, newest start date first. - Create an Event with
POST /api/v1/organizer/events(create_organizer_event): name, kind (tournament,leagueorrec_verified, in plain words), organizer, optional club, start and end dates. Only a verified organizer may create one: show the 403 plainly. A club that hasn't granted the organizer access gets a 422 onclub. - Edit with
PATCH /api/v1/organizer/events/{code}(update_organizer_event). The kind can change at any time and applies only to matches recorded after it. Name and dates change only while no match names the Event, so explain the 409. - Delete with
DELETE /api/v1/organizer/events/{code}(delete_organizer_event). A 409 means a match or an upload names it. - Mock handlers with made-up organizers and Events, and tests.
Blocked on the backend
- The app can't tell whether an account belongs to an organizer.
GET /api/v1/accounts/mereturns only the email, andlist_organizer_eventsis empty both for a non-member and for a member with no Events yet. EventCreateInneeds the organizer's code, and an organizer with no Events has no way to learn it in the app.- Both need a backend change, such as the account's organizer memberships (code, name, verified, role) on
accounts/meor aGET /api/v1/organizer/organizersoperation. Open a backend issue before starting this one.
Depends on
- #213
Context
- backend#125, backend#163 (ADR 0035: the match type is stored on each match), backend#227 (ADR 0021: only verified organizers are trusted submitters).
- Rule 6 in
AGENTS.md: the backend enforces who may do what. The app only hides controls.
- Dominant language
- HTML
- Stars
- 0
- Forks
- 1
- Avg merge
- 42m
- Merged PRs (30d)
- 108
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from openpickleball/frontend
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
openpickleball/frontend#222 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
openpickleball/frontend#70 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
openpickleball/frontend#19 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 42/100
openpickleball/frontend#220 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 58/100
openpickleball/frontend#219 ·
Maintainers usually reply within 1 day
All issues in openpickleball/frontend
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
canonical/canonical.com#3135 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
we-promise/sure#5844 ·
Maintainers usually reply within 1 day
-
BitVariantVariablesBrowserTests fails on the scrolled variables of BitHeaderPossibly taken @yasmoradi claimed this today. Openarea / BlazorUI
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
bitfoundation/bitplatform#15485 ·
Maintainers usually reply within 1 day
-
bug help wanted ui
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
userFRM/egui-charts#4292 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Maintainers usually reply within 1 day