Topic Preview Modal

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

  1. Nested view: readPosts() was delegated to core’s site-wide nested controller instead of the modal’s own postRegistry, so the per-post read-state dot was never cleared inside the modal.
  2. New topics: only unread_posts, unread, and new_posts were reset, but the separate unseen flag that drives the new-topic dot wasn’t, so it remained visible in the topic list after the topic was read in the modal.
1 Like