discourse-calendar/lib
Sam bdf8869a01
FEATURE: Add event location/description and "My Events" filter (#746)
This pull request introduces two major new features to the calendar plugin: the ability to add a location/description to an event, and a new "My Events" view on the upcoming events page.

### Event Location

You can now add a `location` to an event. This is a free-text field that can be used for a physical address, a URL, or any other location details.

*   A `location` field has been added to the event builder modal.
*   The location is displayed in the event details in the post, complete with a new "location-pin" icon. URLs within the location field are automatically linked.
*   This is supported by a database migration to add the `location` column, and updates to the event model, serializer, and parser.

### Event description 

You can now add a `description ` to an event. This is a free-text field that can be used to describe your event.

*   A `description` field has been added to the event builder modal.
*   The description  is displayed in the event details in the post, complete with a new "circle-info" icon. URLs within the location field are automatically linked. It supports linebreaks.
*   This is supported by a database migration to add the `description` column, and updates to the event model, serializer, and parser.

### "My Events" Filter

The `/upcoming-events` page now includes tabs to switch between "All events" and "My events".

*   The "My events" tab shows all upcoming events that the current user is "Going" to.
*   This creates a personalized calendar for users to easily see their own upcoming schedule.
*   A new `/upcoming-events/mine` route has been added, and the backend event finder now supports filtering by an `attending_user`.


### Other Improvements

*   The calendar view on the `/upcoming-events` page now defaults to a "list" view on mobile for a better experience.
*   The "Open Event" and "Close Event" actions now have a disabled/saving state to provide better feedback during the operation.
*   System tests have been added to cover the new functionality.
2025-06-25 10:20:38 +02:00
..
discourse_calendar FEATURE: Allow users to set a custom title to sidebar calendar (#649) 2024-12-03 11:42:25 -06:00
discourse_post_event FEATURE: Add event location/description and "My Events" filter (#746) 2025-06-25 10:20:38 +02:00
tasks DEV: Bump rubocop-discourse to 3.8.0 (#643) 2024-11-15 06:43:27 +08:00
calendar.rb DEV: Bump rubocop-discourse to 3.8.0 (#643) 2024-11-15 06:43:27 +08:00
calendar_settings_validator.rb DEV: Clean up the plugin (#426) 2023-08-01 22:32:30 +02:00
calendar_validator.rb DEV: Introduce syntax_tree for ruby formatting (#363) 2022-12-29 13:30:41 +01:00
event_validator.rb DEV: Introduce syntax_tree for ruby formatting (#363) 2022-12-29 13:30:41 +01:00
group_timezones.rb DEV: Introduce syntax_tree for ruby formatting (#363) 2022-12-29 13:30:41 +01:00
holiday_status.rb FIX: Allow events belonging to deleted users to be destroyed (#688) 2025-02-10 19:16:27 +02:00
time_sniffer.rb DEV: Introduce syntax_tree for ruby formatting (#363) 2022-12-29 13:30:41 +01:00
users_on_holiday.rb DEV: Introduce syntax_tree for ruby formatting (#363) 2022-12-29 13:30:41 +01:00