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

DEV: Adds ability to see multiday events in sidebar #609

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

brrusselburg
Copy link
Contributor

@brrusselburg brrusselburg commented Sep 16, 2024

(This PR refers to the interactivity between the discourse-calendar plugin and the right-sidebar-blocks component.)

As of now, only the first day of an event gets listed in the Upcoming Events sidebar. So if the event is from 10-22-2024 to 10-26-2024, only the 22nd would have the event on it. On the 23rd, you wouldn't know the event was still happening.

After:
Screenshot 2024-10-23 at 5 11 04 PM

I tested this with both single-day events and multi-day events. There are a few spots that could use some polish. Additionally, with this change, we need to add a limit on the number of results we get back. (If someone throws in a month-long event, it'll get real hairy real quick.) I have some ideas, but I'm not positive of the best place to put that limiter. Ideas welcome!

@brrusselburg brrusselburg force-pushed the br/multiday_event branch 2 times, most recently from 06452ef to 5db5fcf Compare October 22, 2024 19:46
@brrusselburg brrusselburg marked this pull request as ready for review October 23, 2024 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant