I’ve fixed two issues: FIX: unread dot not clearing for nested topics and never-opened topics - Pull Request #14 - VaperinaDEV/discourse-topic-preview-modal - GitHub
- Nested view:
readPosts()was delegated to core’s site-wide nested controller instead of the modal’s ownpostRegistry, so the per-post read-state dot was never cleared inside the modal. - New topics: only
unread_posts,unread, andnew_postswere reset, but the separateunseenflag that drives the new-topic dot wasn’t, so it remained visible in the topic list after the topic was read in the modal.