nathank
(Nathan Kershaw)
10 Giugno 2026, 1:02am
1
Una piccola regressione è sfuggita con i recenti (fantastici) aggiornamenti su Discourse Calendar and Events .
Sembra tutto a posto con la barra laterale chiusa (anche su mobile):
Tuttavia, nel testo della barra laterale viene ripristinato «Nuovo argomento». Fortunatamente la funzionalità (si apre con un evento) è stata mantenuta, quindi si tratta solo di un problema estetico:
2 Mi Piace
chapoi
10 Giugno 2026, 9:27am
2
Ah, grazie per la segnalazione, è stato effettivamente un errore di distrazione.
Dovrebbe essere risolto con:
main ← horizon-sidebar-btn-extension
opened 09:27AM - 10 Jun 26 UTC
Previously, the new topic button in the Horizon theme's sidebar hardcoded its la… bel and icon, so plugins like
discourse-calendar could not relabel it (e.g. to "New Event" in an events category) even though the button outside the sidebar updated correctly.
This change runs the label and icon through the `create-topic-label` and `create-topic-icon` value transformers,
matching core's `d-navigation` behaviour so plugin overrides apply in the sidebar too.
<img width="1397" height="817" alt="CleanShot 2026-06-10 at 11 28 16" src="https://github.com/user-attachments/assets/eb650ce8-6c0b-4a66-a707-f2f9e360987d" />