Discourse Calendar עודכן לשימוש ב-fullcalendar 6

Discourse calendar received a significant update today :rocket:. The core of the update is migrating from fullcalendar 4 to fullcalendar 6 which will bring us an updated UI:

We also used this opportunity to make the following changes:

  • Clean URLs for upcoming events page, eg: /upcoming-events/day/2025/8/2

  • Post event preview on click over an event

  • Performance has been vastly improved and having a large number of events should now be possible.

  • We now rely on the css variables provided by fullcalendar which should make the calendar work with your theme out of the box.

29 לייקים

Bravo, great job, thank you very much :heart_eyes:

2 לייקים

שאלה קטנה, האם ניתן להגדיר את (year) כברירת מחדל עבור החלק הנייד?
אם לא, שוב, זה מעולה!!

Thank you for the work ! Is both US/EU date format system supported for those url? and what if there are several events on the same day?

מצטערים, כרגע נתמוך רק בפורמט URL אחד.
זה לא מונע ממך לראות את כל האירועים ביום/חודש/שנה זה. אם ברצונך לקשר לאירוע ישירות, קשר לפוסט האירוע.

2 לייקים

אכן ניתן לשתף את הקישור הישיר לאירוע ומתן פורמטים מרובים של כתובות URL אינו משימה קלה. אנו כבר מודים לך על כך שאתה מספק לנו את העדכון הזה ל-fullcalendar 6 עם תכונות חדשות!

לייק 1

מאז השדרוג אני רואה מקרים של הבדל של שעה אחת בין זמן הפרסום של הנושא (נכון) לבין זמן התצוגה בלוח השנה (שעה אחת קודם) בחלק מהאירועים, אך לא בכולם.

זה או מתיישר לאחר ששעון האזור המקומי שלנו עובר לשעון קיץ או משבש אירועים אחרים (בכיוון ההפוך) לאחר תחילת שעון הקיץ. לא כל האירועים מושפעים. האם זו בעיה ידועה? האם יש תיקון בדרך?

#באג

This is brilliant! It really lifts the calendar to the next level.

I notice that the text of the event titles doesn’t wrap in the (default) Month view. Is this intentional?

Desktop Calendar

It would be nice to see the whole titles in the Month view on desktop (?perhaps on hover), as these are often packed with useful information. Of course, that would mean that the events could get greedy and take up more space.

Mobile Calendar

Also, in mobile it is rare to see more than the time. I guess this doesn’t matter so much as it is easy to tap them to see more.

An agenda view?

Lastly, it would be super helpful to have an agenda view, which is a common way of representing events. Is this at all possible via the calendar?

I know that it is doable using the Right Sidebar Blocks, but that is in a different context.

2 לייקים

כן, אני אתקן זאת היום, אני מחכה לקבל רפרו דפניטיבי, תודה.

3 לייקים

Should have been fixed by: FIX: removes support for include_expired param (#34582) · discourse/discourse@249ae00 · GitHub

לייק 1

I have a small suggestion:sweat_smile:
Instead of going to today’s date, wouldn’t it be better to go directly to the date of the next event?
It’s just an idea! :innocent:

אני חושב שזה צפוי להיפתח היום באופן כללי. אם אתה צריך לקשר את המשתמשים שלך ליום ספציפי, אתה יכול פשוט ליצור את הקישור הרצוי כעת: /upcoming-events/day/2025/9/2

Thank you!

Would following ISO date format be possible? As in YYYY/MM/DD (two digits for months and days)?

3 לייקים

Im mostly following what google is doing here:

Screenshot 2025-08-28 at 15.47.18

Ah, why would they follow standards when they can break it and create more work for others. :person_facepalming:

2 לייקים

מתקשה להבין מדוע /day/2025/09/01 כל כך טוב יותר מ-/day/2025/9/1

אני טוען שזה גרוע יותר להוסיף את האפסים כי זה תופס יותר מקום בשורת הכתובת.

זה לא טוב יותר. פשוט יותר סטנדרטי, ועקבי עם האופן שבו תאריכים מקודדים בחלקים אחרים של Discourse.

לעומת זאת, הדרך שבה זה מיושם כרגע עקבית עם כתובות URL של Discourse (שצריכות להיות בעלות מספר פתוח).

לכן, זו החלטה פילוסופית. עקביות פנימית עם כתובות URL או עקביות פנימית/חיצונית עם תאריכים. יש יתרונות וחסרונות לכל אחד. אני מעדיף את היישום הנוכחי.

If I would start write that date the form would be mm/dd. Because it is a standard practically everywhere — except when connection is from US and they would drop leading zeros and and start words with capital letters :smirking_face:. Or from coders who count spaces, because even americans can read and use mm/dd.

So, it is matter of muscle memory and a factoid that most of the word is used to use ISO format and it is hard to remember which software and platform uses which format. That is one of those questions where always someone loses — the question is which group is the biggest.

2 לייקים

הא! מצטער, לא רציתי לעשות “אופניים”. מספרים טהורים ממוינים לפי סדר מספרי, אפסים מובילים גורמים לחודשים להופיע בסדר הנכון.

3 לייקים

אני עדיין רואה התנהגות שגויה של אירועים חוזרים לפני ואחרי שינוי השעון המקומי לשעון קיץ. אנחנו בתוכנית אירוח, אז האם זה רק עניין של המתנה לתיקון שידחף?