Closed thescientist13 closed 1 year ago
I can take care of this issue if you want!
Thank you! Let me know if you have any questions.
Hi @thescientist13, I smoothed out the next upcoming event indicator logic and fixed this bug in the pull request linked above. First-time contributor here so let me know if I'm missing anything!
Looks like @bjcreal has taken care of the issue, check his pull request!
Thank you both of you for wanting to help out!
@bjcreal Did a quick glance but will dive in a little deeper to test in a couple days, thanks for the PR! 🙏
@adrianmarinwork Let me know if any other issues catch your eye, even if not a good first issue, depending on what you're up for and if I can articulate well enough (😅 ) would love your help on the project! 💯
Currently the Upcoming Events list is designed to show an upcoming event indicator ( 👈 ) to indicate the next future event.
Unfortunately in the code, I think it will only handle indicators in the current month, due to the hardcoded
0
. https://github.com/AnalogStudiosRI/www.tuesdaystunes.tv/blob/main/src/components/upcoming-events/upcoming-events.js#L77What I think will happen if you have this upcoming schedule This Month
Next Month
If a user comes onto the site after the 26th (but before it is Next Month) I think the indicator would just disappear, or just be stuck on the second event in This Month.
What it should come out as is This Month
Next Month