# Suscripción: corrección para espacio en blanco en perfiles de otros usuarios; core: corrección de bucle de carga cuando se elimina un tema

**URL:** https://meta.discourse.org/t/subscription-fix-for-blank-space-on-other-users-profiles-core-fix-loading-loop-when-topic-is-removed/390243
**Category:** Bug
**Tags:** subscriptions
**Created:** [3 Diciembre, 2025 05:29 UTC](https://meta.discourse.org/t/subscription-fix-for-blank-space-on-other-users-profiles-core-fix-loading-loop-when-topic-is-removed/390243 "2025-12-03T05:29:54Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![small-lovely-cat](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/small-lovely-cat/32/553546_2.png) [@small-lovely-cat](https://meta.discourse.org/u/small-lovely-cat)
#### Post date: [3 Diciembre, 2025 05:29 UTC](https://meta.discourse.org/t/subscription-fix-for-blank-space-on-other-users-profiles-core-fix-loading-loop-when-topic-is-removed/390243/1 "2025-12-03T05:29:54Z")

</div>

1. Un error menor de UX en discourse-subscriptions.

Este PR resolvió el espacio en blanco que aparecía al visitar la página de perfil de otros usuarios.

> <https://github.com/discourse/discourse/pull/36408>
>
> The original discourse-subscriptions plugin uses a condition rendering logic to …make sure the button doesn't exist on other users' main page.
> 
> However, the logic doesn't consider the parent node \`\<li id="ember136" class="user-main-nav-outlet billing ember-view"\>\`. As a matther of fact, there exists a blank space that takes space and make the nav-bar misaligned.
> 
> This PR change the condition rendering logic \`{{#if this.viewingSelf}}\` to the class \`@classNameBindings("viewingSelf::hidden")\`, so that the whole element can hide entirely without leaving a blank space.
> 
> Before:
> \<img width="918" height="750" alt="image" src="https://github.com/user-attachments/assets/79cf0886-a77c-467c-a00c-b06a3ae3a2eb" /\>
> 
> After:
> \<img width="982" height="837" alt="image" src="https://github.com/user-attachments/assets/cea5139c-ffff-4a99-a1fb-b537ebc98c94" /\>

1. Solucionar de nuevo el bucle de carga cuando se elimina un tema.

> <https://github.com/discourse/discourse/pull/36410>
>
> In #35409, a fix has been implemented to fix the loading loop when a topic is re…moved.
> 
> However, that PR hasn't fully solved that problem, when admin enable the new post-stream setting, the fetch api will be \`findPostsByIds\`-\>\`loadIntoIdentityMap\` rather than the original \`fetchNextWindow\`, causing a regression.
> 
> This PR adds the same logic to the \`loadIntoIdentityMap\` function, so that the logic work as well in the new setting.

Este PR añade la misma lógica a la API `loadIntoIdentityMap` que vuelve a tratar el bucle de carga cuando se elimina una publicación, cuando la nueva transmisión de publicaciones (post-stream) está habilitada.  
Por favor, tómense el tiempo para revisarlos.

@cvx @pmusaraj

---

<div class="post-metadata">

### Author: ![saquetim](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/saquetim/32/116400_2.png) [@saquetim](https://meta.discourse.org/u/saquetim)
#### Post date: [9 Diciembre, 2025 19:29 UTC](https://meta.discourse.org/t/subscription-fix-for-blank-space-on-other-users-profiles-core-fix-loading-loop-when-topic-is-removed/390243/3 "2025-12-09T19:29:10Z")

</div>

Acabo de fusionar la PR @small-lovely-cat.

Gracias por detectar este.

---

<div class="post-metadata">

### Author: ![chapoi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chapoi/32/537252_2.png) [@chapoi](https://meta.discourse.org/u/chapoi)
#### Post date: [7 Julio, 2026 14:04 UTC](https://meta.discourse.org/t/subscription-fix-for-blank-space-on-other-users-profiles-core-fix-loading-loop-when-topic-is-removed/390243/4 "2026-07-07T14:04:21Z")

</div>


