Reply Anchor
Deep-link navigation to a nested reply by id.
- Permalinks such as
/post/123#reply-abcthat must reveal a deeply nested reply. - In-app notifications that jump to a specific reply in a thread.
Parse the URL fragment with parse_reply_anchor_hash, then call navigate_to_reply from a descendant of DiscussionProvider (typically inside a thread slot or host wrapper after mount).
The helper uncollapses ancestors on the path, drills focus through show-more barriers in tree mode, and scrolls the target row ([data-reply-id]) into view.
Jump to a nested reply
Five-level fixture with toolbar links that call navigate_to_reply for d-l4.
Root post for depth testing.
Level 1 reply.
Level 2 reply.
Level 3 reply.