Acabo de hacer una actualización de este componente que lo integra mejor con Category Banners
main ← category-integration
opened 07:42PM - 24 Apr 23 UTC
This pairs with the category banner update https://github.com/discourse/discours… e-category-banners/pull/32
This utilizes the category banner component's presence service to determine when and how to render tag banners.
The `<DiscourseTagBanners />` component is mounted in the category banner's `category-banners-after-title` outlet, and the category banner presence dictates whether the component displays `<DiscourseTagBannersTextOnly />` or `<DiscourseTagBannersPresentation />`
The category banner's presence service also determines whether or not the tag banner will show at all in the `above-site-header` and `below-site-header` outlets, so we don't end up with a category banner stacked with a tag banner.

Cuando ambos componentes están instalados y se filtra por una categoría y una etiqueta, en lugar de apilar los banners, ahora se mostrará el nombre de la etiqueta dentro del banner de la categoría:
El banner de la etiqueta seguirá apareciendo como se espera cuando solo se filtra por una etiqueta.
10 Me gusta