Node page: missing/denied node spins 'Loading node…' forever; 'No calls recorded' is wrong for quiet nodes #288

Open
opened 2026-10-25 21:32:14 -04:00 by logan · 0 comments
Owner

Found in a UX pass 2026-10-25. Related: #109 item 5. Searched open+closed: no duplicate.

  • /nodes/[id] shows "Loading node…" forever when the doc does not exist, was just deleted by another admin, or the read is denied: onSnapshot (app/nodes/[id]/page.tsx:51-53) maps a missing doc to null, has no error callback, and if (!node) (:127) renders the loading text for both. Should distinguish loading / not found / no access, with a link back to /nodes.
  • "No calls recorded from this node." (:~254) is computed from useCalls(200) filtered client-side (:44-48): a quiet node in a busy org shows "none" although it has calls. Needs the server-side node_id filter (index) -- the TODO at :41.
Found in a UX pass 2026-10-25. Related: #109 item 5. Searched open+closed: no duplicate. - `/nodes/[id]` shows "Loading node…" forever when the doc does not exist, was just deleted by another admin, or the read is denied: `onSnapshot` (`app/nodes/[id]/page.tsx:51-53`) maps a missing doc to `null`, has no error callback, and `if (!node)` (`:127`) renders the loading text for both. Should distinguish loading / not found / no access, with a link back to /nodes. - "No calls recorded from this node." (`:~254`) is computed from `useCalls(200)` filtered client-side (`:44-48`): a quiet node in a busy org shows "none" although it has calls. Needs the server-side node_id filter (index) -- the TODO at `:41`.
logan added the
type
bug
area/frontend
priority
p2
labels 2026-10-25 21:32:14 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: logan/server-26#288