Files
website/src
Copilot 77329b9a59 Add nested reply threading in note detail views (#68)
* Initial plan

* Add nested reply threading to note detail view

Derive parent/child relationships from NIP-10 references and render replies
beneath their logical parent instead of as a flat list. Replies can be
answered inline at any point in the thread, with proper root/reply markers
and p tags. Deep nesting is capped so threads stay readable on mobile, the
conversation exposes tree semantics to assistive technology, and malformed,
cyclic, or incomplete reference chains render safely in a separate section
instead of breaking the thread.

Co-authored-by: mroxso <24775431+mroxso@users.noreply.github.com>

* Render orphaned reply sub-trees and open the composer for orphaned notes

A reply whose parent was never fetched is promoted out of the thread, but
its own children resolved against it fine — keep them nested beneath it
instead of dropping them, and mount the inline composer when an orphaned
note is the reply target so the Reply button never claims a composer that
isn't there (aria-expanded/aria-controls now always point at a real node).

Co-authored-by: mroxso <24775431+mroxso@users.noreply.github.com>

* Restore package-lock.json platform flags dropped by a stray npm install

No dependency changed; keep the lockfile byte-identical to the base branch.

Co-authored-by: mroxso <24775431+mroxso@users.noreply.github.com>

* Apply remaining changes

Co-authored-by: mroxso <24775431+mroxso@users.noreply.github.com>

* Address review feedback on nested reply threading

- Remove invalid aria-setsize={-1}; the real set size isn't tracked here.
- Make aria-expanded an explicit boolean and keep aria-controls consistent
  across active/inactive Reply buttons.
- Fix cycle field docstring to match its boolean type.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BYiUtZMQeA5RHggQw73wto

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: mroxso <24775431+mroxso@users.noreply.github.com>
Co-authored-by: highperfocused <highperfocused@pm.me>
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-07 22:34:08 +02:00
..
2026-09-06 11:37:43 +02:00
2026-09-06 23:08:17 +02:00
2026-09-06 11:37:43 +02:00
2025-12-27 21:42:31 +01:00
2026-09-06 11:37:43 +02:00
2026-09-06 11:37:43 +02:00
2026-09-06 11:37:43 +02:00
2025-12-27 21:42:31 +01:00