Subscription: fix for blank space on other users' profiles; core: fix loading loop when topic is removed

AI-generated summary

small-lovely-cat submitted two pull requests addressing specific bugs in Discourse. The first, PR #36408, fixes a minor UX issue where a blank space appeared on other users’ profile pages within the discourse-subscriptions plugin. The second, PR #36410, resolves a loading loop that occurred when a topic was removed. This fix applies the same logic used in the loadIntoIdentityMap API to handle post removals when the new post-stream is enabled. saquetim merged the PRs, thanking small-lovely-cat for identifying and fixing these issues.

  1. A minor UX bug in discourse-subscriptions.

This PR solved the blank space occuring when visiting other users’ profile page.

https://github.com/discourse/discourse/pull/36408

  1. ReFix the loading loop when a topic is removed.

https://github.com/discourse/discourse/pull/36410

This PR adds the same logic to the loadIntoIdentityMap api that redeals with the loading loop when a post is removed, when the new post-stream is enabled.

Please take time to have them checked.

@cvx @pmusaraj

4 Likes

I just merged the PR @small-lovely-cat.

Thank you for catching this one.

2 Likes