mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-22 07:46:56 +08:00
In categories with the "events" type (using the upcoming change "Enable events category type setup"), users who can create events now see a "New Event" button with a calendar icon instead of the default "New Topic". <img width="600" alt="image" src="https://github.com/user-attachments/assets/dfed0063-16cb-4da4-ba28-f58a1aca670c" /> Adds a new `create-topic-icon` value transformer alongside the existing `create-topic-label`, so plugins and themes can swap the create-topic button's icon. Also moves core's hardcoded shared-drafts label override out of `CreateTopicButton` and into `DNavigation`, so we're utilizing the same transformer. Fixed an issue with the create-topic button label not updating when navigating between categories. |
||
|---|---|---|
| .. | ||
| javascripts/discourse | ||
| stylesheets | ||