Commit Graph

50 Commits

Author SHA1 Message Date
jjaffeux 8b15720654 UX: improved mobile view for calendars 2020-04-12 12:03:29 +02:00
jjaffeux f7c2903096 REFACTOR: uses only defined status in the UI 2020-03-27 17:06:00 +01:00
jjaffeux ef78e587bb FIX: ensures DIscourseURL is defined 2020-03-16 19:14:24 +01:00
jjaffeux 45e7b258da FIX: set post_url so calendar events can be clicked from anywhere 2020-03-11 01:56:29 +01:00
jjaffeux 68500cadd2 FIX: ensures category outlet works with subcategories too 2020-03-09 14:40:43 +01:00
jjaffeux 49f1886759 REFACTOR: simpler selector value logic 2020-03-09 14:26:55 +01:00
Mark VanLandingham 1a8c15872a
FIX: Events ending at 12:00am are not automatically all-day (#21) 2020-02-27 10:53:32 -06:00
jjaffeux 0bd275e180 FEATURE: allows to choose the outlet to display category calendar 2020-02-27 10:15:37 +01:00
jjaffeux 31d261f54d UX: fake calendar height while loading 2020-02-19 17:52:03 +01:00
Joffrey JAFFEUX 2fb5d54a25
FEATURE: allows to show a calendar from a post on a category header (#20) 2020-02-18 08:50:39 +01:00
Mark VanLandingham b7e1c83bcf
FIX: All-day event logic fixed (#18) 2020-01-28 11:19:17 -06:00
Mark VanLandingham 97db2ccc7c
Fix excerpt length being up to 1000 chars (#17) 2020-01-23 11:24:50 -06:00
Penar Musaraj 30119dda08 Fix Prettier 2020-01-21 10:25:02 -05:00
Mark VanLandingham 336607f70b
FIX: Prevent sticky hover on mobile and tz picker overflowFixes for mobile styling (#15) 2020-01-21 08:59:13 -06:00
Mark VanLandingham d2c3e3c348
Post excerpt increased for adding description to events (#14) 2020-01-20 16:00:56 -06:00
Mark VanLandingham fc7e79a07d
Site setting for all-day event times (#13) 2020-01-16 14:14:57 -06:00
Mark VanLandingham 13cbdb5315
FEATURE: Add to google calendar link on list view (#12) 2020-01-14 08:25:16 -06:00
Martin Brennan 3561c3919b
FEATURE: Add timezone picker and options (#11)
Added these options for the markdown block, which utilise fullcalendar's inbuilt timezone functionality:

* `defaultTimezone` - Provide a default timezone to display the calendar dates in. If this is null we fall back to the current user timezone, and if that is null (or the current user is null) we fall back to moment.tz.guess(). This value is validated.
* `tzPicker` - If set to true, show a dropdown list allowing the user to pick the timezone the calendar displays in. The selected value is based on the rules described in tzdefault. If this is not turned on we show the text of the timezone in the header. The options for the picker come from moment.tz.names() and are rendered into the select at runtime, so we are not storing huge amounts of <option> HTML elements in the DB for no real reason.

I also hid the fullcalendar title because the title is now up in the header of the calendar
2019-12-31 07:52:12 +10:00
jjaffeux 1812c778b9 FIX: removes support for emojis and images from event titles 2019-12-30 16:31:53 +01:00
jjaffeux 2a2af14a73 FIX: improves grouping over multi days 2019-12-30 15:24:29 +01:00
David Taylor 75714f9dfd DEV: Remove unused import 2019-12-30 11:41:54 +00:00
jjaffeux 91e98a02cd UX: attempts to display few usernames when possible 2019-12-30 11:53:56 +01:00
jjaffeux 6183106960 UX: sort events and usernames 2019-12-30 10:58:45 +01:00
jjaffeux c5772b5700 UX: optimize grouped events displays for various cases
- only one event
- only one user
- one event / multiple users
- mumtiple events / multiple users
2019-12-30 10:40:12 +01:00
jjaffeux fc66847e1f FIX: ensures multi days events are correctly showing 2019-12-30 10:39:29 +01:00
jjaffeux 81511536a8 FEATURE: improves official holidays grouping 2019-12-30 10:07:43 +01:00
David Taylor 1e6c2ec589
FEATURE: Improve timezone logic for all-day events (#10)
- Render all-day events from 6am to 6pm local time, so that they appear more logically for users in other timezones
- Set the `nextDayThreshold` to 6am, so that multi-day events in slightly more easterly timezones display the end date correctly
2019-12-16 13:12:09 +00:00
Gerhard Schlager 5dd3cf458b Fix Prettier 2019-12-14 22:57:01 +01:00
Joffrey JAFFEUX 2ae47a46ea
UX: improves calendar for holiday events (#7) 2019-12-14 19:51:54 +01:00
jjaffeux 095d7ab9de FEATURE: allows to have set a defaultView
```
[calendar defaultView="listNextYear"]
[/calendar]
```

Possible values:  `month,basicWeek,listNextYear`

Defaults to `month`
2019-12-13 17:41:15 +01:00
Penar Musaraj 3478045e9c Fix Prettier 2019-11-15 11:07:31 -05:00
Penar Musaraj 4c50c54210 Fix Prettier 2019-11-15 10:58:57 -05:00
Régis Hanol fcc2c01189 DEV: ensure 'post_number' is an integer on the server 2019-09-11 23:15:43 +02:00
Sam Saffron deb7f0dd5d DEV: Run prettier on files
hopefully I have the right version
2019-06-24 17:22:48 +10:00
Robin Ward c15ec21cef FIX: Better to give an `id` even if not required in `onlyStream` 2019-06-21 15:25:52 -04:00
Penar Musaraj d013e2f94a Run Prettier 2019-06-14 13:27:11 -04:00
Penar Musaraj d78741221e Fix eslint 2019-06-14 12:16:16 -04:00
Régis Hanol a8a560cc67 FEATURE: regional holidays 2019-05-23 12:40:53 +02:00
Joffrey JAFFEUX 9a1e5a4eba FIX: calendar_details could be undefined at this point 2019-04-23 15:02:13 +02:00
Régis Hanol 363c9119a5 FIX: properly jumpToPost when not in the stream 2019-02-12 17:02:51 +01:00
Joffrey JAFFEUX a378584ee5 FIX: displays username when in holday calendar topic 2018-12-28 17:02:27 +01:00
Joffrey JAFFEUX d3d92b1481 FIX: positioning issues 2018-12-28 10:58:13 +01:00
Joffrey JAFFEUX b0cd8471bf DEV: more explicit filename 2018-12-27 19:48:30 +01:00
Joffrey JAFFEUX 1bd8339b31 FIX: more resilient calendar loading 2018-12-27 18:36:06 +01:00
Joffrey JAFFEUX 4f1f514dc1 FIX: do not generate color if using first post line as title 2018-12-27 18:35:48 +01:00
Joffrey JAFFEUX c18108819d
UX: multiple improvements (#2)
- better timezone support
- validation
- recuring events support for static
- full calendar 4.0
2018-12-27 16:48:58 +01:00
Penar Musaraj d51f8a6708 fix prettier offences 2018-11-12 13:35:17 -05:00
Vinoth Kannan b8bb6ab764 FIX: Display events in correct local time 2018-09-18 17:25:20 +05:30
Vinoth Kannan 196cd6450f FIX: Rename plugin in remaining missed places 2018-09-17 20:05:23 +05:30
Vinoth Kannan e86497a3a4 Rename discourse-simple-calendar to discourse-calendar 2018-09-17 17:19:46 +05:30