Skip to content
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

New schedule editor #1340

Merged
merged 37 commits into from
Aug 4, 2023
Merged

New schedule editor #1340

merged 37 commits into from
Aug 4, 2023

Conversation

rixx
Copy link
Member

@rixx rixx commented Jul 26, 2022

We're getting a new schedule editor (it actually looks like the frontend schedule!), and also a new build process and everything related. Merging this PR will resolve #736 and hopefully #958.

There's a lot yet to be done, but we're getting there.

To do

  • Display current schedule
  • Schedule and undschedule talks correctly
  • Expand timesteps on click
  • Handle overlapping talks
  • Move editor to a pop-up for more available space
  • Create breaks (with a permanent generic unassigned break block)
  • Push changes to pretalx
  • Scroll while dragging talks
  • make sure we have no polling race conditions
  • Move breaks
  • Run vite and django runserver from the same command
  • Document new build requirement for developers and administrators (node 14)
  • Bug: broken with empty schedule and/or 1-day event
  • Refuse to put sessions on top of each other
  • Edit breaks
  • Show speaker availabilities while dragging
  • Show warnings (aka: use different API)
  • Show new warnings on updates
  • Support i18n
    • Build translation files including JS strings
    • Add translation files to translate.pretalx.com
    • Set language on page load
    • Moment locale
  • Don't pull in all of moment.js
  • Add filter/search to unassigned column

Current bugs:

  • Drag-select is buggy, finds incorrect slices
  • Not all start times are available for alignment/drag-select
  • Scheduling unscheduled talks from the sidebar is broken again
  • Schedule background colour only applies to initially visible area, disappears on scroll
  • Lower half of larger slices can't be hover-selected. Not sure how to fix - try a bit further up, basically?
  • breaks forget their length when getting unscheduled
  • but-tabs not showing up
  • cursor "cannot drp" indicator only works whne not above dragged talk
  • Talk drag is offset during side scroll

Nice to haves:

  • Schedule release overlay (probably an issue for later)
  • Change details in editor: time, date, room, duration (needs to block overlaps, though!)
  • Warnings summary in a corner somewhere?
  • Find talks (by title, speaker)
  • Filter by track/session type
  • Make backend reject overlapping sessions
  • Filter out rooms, super useful for very wide schedules
  • Allow to reorder unassigned talks by track/duration/alnum
  • re-add "look at past version" / "reset to past version"

Really great to have:

  • multi select talks with shift or rectangle select
  • Show distances to other talks, maybe even snap to neighbouring sessions?
  • "strict mode" where warnings are errors

@rixx rixx force-pushed the schedule-editor branch 4 times, most recently from 95b5bea to 47a6c8a Compare August 4, 2023 21:57
@rixx rixx force-pushed the schedule-editor branch 3 times, most recently from a1402b2 to 834b800 Compare August 4, 2023 23:05
@rixx rixx merged commit ae3e470 into main Aug 4, 2023
12 checks passed
@rixx rixx deleted the schedule-editor branch August 4, 2023 23:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support short talks in schedule editor
2 participants