Events Plugin šŸ“†

Iā€™ve now installed the events plugin on my instance and have started adding some dates to topics, though havenā€™t added it to the menus yet. Looking really good!

Some feedback:

  • would be nice to be able to add links to calendar and agenda on the hamburger menu as an optional setting
  • editing topics OPs to add events is a bit cumbersome - would be nice to be able to do this from the title edit interface as well which quicker to find and get to.
  • editing topics to add events adds a revision, but the date addition itself is not saved to the revision
  • no pretty onebox links to calendars?
  • when adding an event with end date, it would be nice if the end date picker would automatically change to the same month when I choose the start date, as one is used to seeing when booking flights. :slight_smile:

bugs?

  • multiple day events with no start/end times are getting a start time showing up in the calendar - but not one day events with no start/end time

  • I added dates to a topic, then changed my mind and removed them - but the topic is still appearing on the agenda page.
  • I added dates to a topic and accidentally put them in november 2018. I went back and fixed the date to november 2017. but the topic is still showing up towards the end fo the list as though it were chronologically in november 2018
  • one of the events I added has a munged title in the calendar view and is illegible. see screenshot. seens the event on the 14th is overwriting the event on the 15th. should it/can it not wrap within the box? or at least have full name appear as helper text on mouseover?

  • from the calendar, when I select the forum title to go back to the front page, I am taken to /latest but it is filtered for the date range that was showing in the calendar. click again and it resets and shows all /latest topics.

5 Likes

Great feedback as usual :+1:

Bugs

Thankfully, these are all relatively minor (from a code perspective).

Fixed. Like on Google Calendar, the default should be that the text doesnā€™t wrap and overflow is hidden. I might add showing full title on mouseover after Iā€™ve addressed the other issues.

https://github.com/angusmcleod/discourse-events/commit/2f3fddb3a50ae060e6d4ebbb4b629189c191f88a

This is fixed:

https://github.com/angusmcleod/discourse-events/commit/55387aedc51d59c4fc2755203645d63d6f9b9ffe

Good catch. This only happens when the setting ā€˜remove past events from the agendaā€™ is off.

https://github.com/angusmcleod/discourse-events/commit/a3e926c75dc8d96db5fbe48b7c0ab065d44d2d29

Fixed (youā€™ll need to save the event again):

https://github.com/angusmcleod/discourse-events/commit/960b6ad126f18184dd1a2d06173172744ffb2c78

Iā€™m not seeing this one. Could you double check? Are there any errors in the console?

Features

Good idea. Iā€™ll add this later today.

Yes, Iā€™ll add this as an option too later today.

Indeed, Iā€™ll also add this.

This one is a bit more complex :slight_smile: . It will have to wait until weā€™re sure there are no more issues with the existing feature set.

Yes, Iā€™ll add this too later today.

7 Likes

Awesome - youā€™re a magician, Angus. Iā€™ll plan to do an update tomorrow or Thursday.

4 Likes

I managed to repro this and itā€™s fixed now as well.

https://github.com/angusmcleod/discourse-events/commit/343eee2b69a3a84bb7ac302a88299352cd15ae9b

6 Likes

Angus, I stumbled upon this JavaScript application that creates a timeline: wouldnā€™t it be awesome to have this option integrated in discourse-events, linking to topics?

TimelineJS is released under the Mozilla Public License (MPL), version 2.0

2 Likes

Hello, How can i setup add event to all category, all topic?
I wanna add event when user comment, Display add event in Comment?
Thank you!
@angus
Can we setup quickly for all category user this plugin?

1 Like

You have to enable events on a per-category basis, so you would need to turn them on in all categories.

This is not possible in this plugin right now, but it may be possible in this plugin in the near future.

1 Like

Yes, timelines are nice :slight_smile:

If you really wanted to you could probably add one to a site via Site Customisations using the existing API endpoints for events, e.g. https://discourse.angusmcleod.com.au/calendar?end=2018-04-01&start=2018-02-25

Youā€™d need to find a different timeline library though. That one requires you have the data in a google spreadsheet.

3 Likes

Please allow me access this topic. Thank you!

1 Like

@angus probably wanted to link to https://meta.discourse.org/t/discourse-chronos-globe-with-meridians-timer-clock/69281 instead of linking to a PM about that plugin. :wink:

7 Likes

How to change first day in monday on calendar ?

1 Like

Like this:

1 Like

So how to change locale ?

1 Like

The local means the language settings of your user. Example: If your user selected German as his language, the calendar starts with Monday.

2 Likes

what to do if no locale in my native language ? (Lithuanian)

1 Like

I have a feeling this is going to be a frequent request.

Iā€™ve added a control in the user ā€˜Interfaceā€™ settings that allows you to select the first day of the week.

https://github.com/angusmcleod/discourse-events/commit/af9224d6b5ceaaf48cf6df047d9028f3bcbe453b

Screenshot%20at%20Mar%2019%2013-18-50

The default is whatever the start of the week in the relevant moment_locale config is.

cc @ZackFea

6 Likes

So i need to update plugin ? can you tel my how? do i need to rebuild app?

1 Like

You can update plugins from

http://sitename.tld/admin/upgrade

7 Likes

can you do for admin settings that for all users set start day andtime 24 h ?

1 Like

Hi @Angus. An issue has come up twice in the last 24 hours on my forum:

An event organiser created a topic with a date/time, and a lot of interested people got notified of the new topic via email.

Unfortunately the notification emails didnā€™t contain the date/time, so members are now responding to the forum by email to ask the organiser what the date isā€¦ I think sheā€™ll quickly get annoyed at having to respond to each person to repeat the date that she already set on her topic.

Could you include date/times in email notifications?

3 Likes