martin
(Martin Brennan)
10 Septiembre, 2026 01:55
5
Hemos realizado una corrección rápida al respecto:
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" />
Ahora, si un filtro deja vacía una de tus secciones, mostramos este botón en la parte superior para mostrar temporalmente todos los canales, y ya no mostramos el marcador de posición vacío, que resultaba un poco voluminoso:
5 Me gusta