Improve tournament schedule editor UX - #2911
Open
idowolf wants to merge 5 commits into
Open
Conversation
tienne-B
reviewed
Aug 20, 2026
Member
|
A few smaller things that you might want to consider too:
|
Contributor
Author
|
Addressed the remaining review feedback in d13ffaf:
Desktop editor: Mobile editor: Validation completed:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR replaces the dense schedule formset with a day-grouped, responsive editor while preserving the existing
ScheduleEventand Django formset workflow.Problem: The current page repeats every field label and help text for every event, includes fixed blank forms, and makes schedule-wide editing difficult to scan. Native datetime controls also obscure the time at common admin widths.
Solution: Events are presented as compact rows grouped by local date, with time-only editing synchronized to the underlying datetime form fields. Administrators can add days and events dynamically, duplicate or delete rows, move events between dates, preview the public schedule, and drag events between time slots. Reordering deliberately moves the event into the destination time slot so persisted and public ordering remain chronological.
Changes
Schedule editing flow
Editor interaction
Automatic titles
display_titlein the API without changing the writabletitlefield's meaning.Presentation
Tests
Testing
python tabbycat/manage.py test tournaments.tests.test_lookup tournaments.tests.test_round_checks tournaments.tests.test_schedulepython tabbycat/manage.py test tournaments.tests.test_schedulepython tabbycat/manage.py checkpython tabbycat/manage.py makemigrations tournaments --check --dry-runnpm run build-vue