Skip to content

feat(rooms): a room page can read a room as its conversation (rooms.conversation) - #451

Merged
stormer78 merged 1 commit into
mainfrom
feat/room-page-conversation
Nov 24, 2026
Merged

stormer78 merged 1 commit into
mainfrom
feat/room-page-conversation

Conversation

@stormer78

Copy link
Copy Markdown
Contributor

A page signed in through the wallet can now ask for a shared room as a
conversation: every record read, verified and assembled by the room reading
rules (assembleRoomRecords) — messages and notes by kind, in writtenAt order,
replies, reactions, edits, withdrawn and unverifiable records as placeholders,
and each author's own name from their memberProfile record. The page lays out
what it is handed and never re-derives the rules.

Same gates as browse/read: the page must be the sign-in portal's origin, the
room must be shared with it, and the share's member is used, never the page's.
No file key leaves the offscreen document.

The read-and-verify step the console's records pane did inline is now
recordInputFromRead in @openvtc/pnm-core/rooms, used by both.

Used by the VTC member portal to show a room used for chat the way Keyring does (companion VTI PR follows).

Tests: extension 1575 passed, core 1332 passed, tsc -b clean.

…onversation)

A page signed in through the wallet can now ask for a shared room as a
conversation: every record read, verified and assembled by the room reading
rules (assembleRoomRecords) — messages and notes by kind, in writtenAt order,
replies, reactions, edits, withdrawn and unverifiable records as placeholders,
and each author's own name from their memberProfile record. The page lays out
what it is handed and never re-derives the rules.

Same gates as browse/read: the page must be the sign-in portal's origin, the
room must be shared with it, and the share's member is used, never the page's.
No file key leaves the offscreen document.

The read-and-verify step the console's records pane did inline is now
recordInputFromRead in @openvtc/pnm-core/rooms, used by both.

Signed-off-by: Glenn Gore <glenn.g@affinidi.com>
@stormer78
stormer78 merged commit 28c1d39 into main Nov 24, 2026
4 checks passed
@stormer78
stormer78 deleted the feat/room-page-conversation branch November 24, 2026 20:51
@stormer78
stormer78 restored the feat/room-page-conversation branch November 24, 2026 20:51
stormer78 added a commit to OpenVTC/verifiable-trust-infrastructure that referenced this pull request Nov 24, 2026
…member portal (#2804)

A room holding messages is shown as its conversation, read from the wallet's
rooms.conversation: day dividers, each message under the name its author
gave themselves in the room (said as their own name) or "You", the time,
replies quoting what they answer, reaction counts, edited / arrived-late
marks, and placeholders for withdrawn or unverifiable records. Notes and
files are one line each with a See button that opens the record pane.

The wallet applies the reading rules; the portal only lays out what it is
handed. A room of only notes and files, a wallet without the method, or a
failed read keeps the records list.

Needs OpenVTC/vta-browser-plugin#451.

Signed-off-by: Glenn Gore <glenn.g@affinidi.com>
@stormer78
stormer78 deleted the feat/room-page-conversation branch November 25, 2026 07:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant