martin
(Martin Brennan)
10 Settembre 2026, 1:55am
5
Abbiamo effettuato un rapido follow-up qui:
main ← feature/improve-filtered-channel-sections
merged 01:53AM - 10 Sep 26 UTC
Followup https://github.com/discourse/discourse/commit/3dfc739016f9ee6523d91a5b6… b28d0968ef028e6
When a channel section is empty because no channels match
the filter, we no longer show a bulky message + link for
the empty state.
Now, we show an eye icon in the header of the section, which
allows users to temporarily disable their filter and see all
channels in the section, still respecting their sort preferences.
This applies in the sidebar and in the channel list.
This commit also extends the sidebar section header to allow
for more than one action button.
**DM section, no channels**
<img width="257" height="45" alt="image" src="https://github.com/user-attachments/assets/64eef32e-86e3-4852-a0c7-480683c14981" />
**DM section, all channels temporarily shown**
<img width="273" height="120" alt="image" src="https://github.com/user-attachments/assets/0acbd1ab-a3fb-498f-ad4a-b6e175a45463" />
**DM in drawer and mobile, no channels matching filter**
<img width="553" height="670" alt="image" src="https://github.com/user-attachments/assets/604dc4be-9998-4b92-8175-8a16e9792c7e" />
**DM in drawer and mobile, all channels temporarily shown**
<img width="555" height="668" alt="image" src="https://github.com/user-attachments/assets/7be0588f-25be-458f-9b01-94a6f9ebf376" />
Ora, se un filtro rende una delle tue sezioni vuota, mostriamo questo pulsante in cima per mostrare temporaneamente tutti i canali, e non mostriamo più il segnaposto vuoto, che era un po’ ingombrante:
5 Mi Piace