eddiewebb / flarum-calendar

MIT License
16 stars 9 forks source link

Show only future events in list & improved state management #52

Closed iPurpl3x closed 1 year ago

iPurpl3x commented 1 year ago

As the list view was showing all event the of current year, and that list could be quite long, I thought it would be better to start the year at the date of now and show the event of the next floating year. Else, users might have to scroll a lot, to find current events!

While doing that change, I made some minor updates to libraries and improved state management to avoid re-rendering the whole calendar so often and avoid fetching data from the server when there has actually been no changes.

@eddiewebb, would you be so kind and merge this PR and release a new version with the changes? Thanks in advance.

iPurpl3x commented 1 year ago

@eddiewebb bump ;)

eddiewebb commented 1 year ago

Published as 1.7.0 @iPurpl3x , sorry for delay

iPurpl3x commented 1 year ago

Cool, thanks @eddiewebb