Show talk-circle partners and topic on the location panel and Now tab.

The frame and card share member ids; the client builds the sentence from the directory and locale.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Leonid Pershin
2026-08-20 10:43:16 +03:00
co-authored by Cursor
parent 1a21a64b4b
commit 2034946378
20 changed files with 356 additions and 30 deletions
+4 -1
View File
@@ -25,10 +25,13 @@ internal static class PresenceFrame
}
var walking = row.Path.Count > 0 || row.RemainingMinutes > 0;
var circle = school.TalkCircleOf(row.PersonId);
people.Add(new PresencePerson(
row.PersonId,
row.NodeId,
walking ? PresenceState.Walking : PresenceState.Here));
walking ? PresenceState.Walking : PresenceState.Here,
circle?.MemberIds ?? [],
circle?.TopicId ?? ""));
counts[row.NodeId] = counts.GetValueOrDefault(row.NodeId) + 1;
}