-
Notifications
You must be signed in to change notification settings - Fork 53
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
Schedule fixes #125
Schedule fixes #125
Conversation
shreyas-satish
commented
Jun 16, 2015
- The slot size has been set to 5 minutes in the 'edit' view and 15 minutes in the read-only view.
- The date range for the calendar now accommodates changes in a proposal space's dates.
first_session_date = Session.query.filter_by(proposal_space=space).order_by("created_at asc").first().start | ||
last_session_date = Session.query.filter_by(proposal_space=space).order_by("created_at desc").first().start | ||
from_date = first_session_date if first_session_date.date() < space.date else space.date | ||
to_date = last_session_date if last_session_date.date() > space.date_upto else space.date_upto |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How does this work if the dates are several weeks/months apart? Do you get navigation and the ability to drag across weeks?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interesting use case; hasn't been covered here. One option is to provide a 'bulk edit' option that remaps the dates of the sessions to the new dates. Also, dragging multiple sessions across weeks or months can be cumbersome.
Merging since we need this urgently for Fifthel, but the highlighted concern needs to be examined. |