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

Schedule fixes #125

Merged
merged 2 commits into from
Jun 29, 2015
Merged

Schedule fixes #125

merged 2 commits into from
Jun 29, 2015

Conversation

shreyas-satish
Copy link
Contributor

  • 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
Copy link
Member

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?

Copy link
Contributor Author

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.

@jace
Copy link
Member

jace commented Jun 29, 2015

Merging since we need this urgently for Fifthel, but the highlighted concern needs to be examined.

jace added a commit that referenced this pull request Jun 29, 2015
@jace jace merged commit 5d8596a into master Jun 29, 2015
@jace jace deleted the schedule_fixes branch June 29, 2015 11:25
jace added a commit that referenced this pull request Apr 6, 2020
jace added a commit that referenced this pull request Apr 6, 2020
vidya-ram pushed a commit that referenced this pull request Nov 23, 2021
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.

2 participants