Skip to content

fix(ui): tab title says closed for an ended face-to-face room - #251

Merged
Birfy merged 1 commit into
ThinkFlowLab:mainfrom
Birfy:fix/tab-title-closed-face-room
Oct 18, 2026
Merged

Birfy merged 1 commit into
ThinkFlowLab:mainfrom
Birfy:fix/tab-title-closed-face-room

Conversation

@Birfy

@Birfy Birfy commented Oct 18, 2026

Copy link
Copy Markdown
Collaborator

Fixes #250

On B the tab title kept Face-to-face · UiA1415, UiB1415 · Oct 18 11:00 — FlyBot after A left (room origin: face-to-face, face.status: left, Members · 1).

Decision. The auto-generated face title lists the members the room was created with. Once the room has ended (face.status is closed or left, the same test the sidebar uses for Past rooms) the tab says Face-to-face · closed — FlyBot. A room name the user chose is kept; a running room is unchanged. The tab already re-reads on roster changes (#244), so it follows when the status flips.

Tests. core/test/branding.test.js: open room lists members; closed and left read closed with no session change; a user-chosen name, a non-face room and a generic title behave as described.

Tip 633e715. Ran: ARCH_DOCS_BASE=upstream/main TZ=UTC npm run verify (exit 0: core, social, tree, timeline, scripts, interop, live-e2e), build-client regenerated, patches regenerated.
Not run: a live two-home check of the tab title; smoke test.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 18, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-18T03:11:41.926944Z 633e715 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@Birfy
Birfy added this pull request to the merge queue Oct 18, 2026
Merged via the queue into ThinkFlowLab:main with commit 2a39f65 Oct 18, 2026
8 checks passed
@Birfy
Birfy deleted the fix/tab-title-closed-face-room branch October 18, 2026 03:10

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 633e7158a0

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread core/src/client/brand.js
}
// An ended face-to-face room (closed, or someone left) no longer lists people who are not in it (#250).
// A name the user chose is kept.
if (room && room.origin === 'face-to-face' && (room.face?.status === 'closed' || room.face?.status === 'left') && isAutoFaceTitle(room.name)) return 'Face-to-face · closed'

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Mark dropped face rooms closed before deriving the title

When an open face room disappears from Bot Social's list() response, pollFaceRooms records a closed entry in pastFaceRooms but never updates the hosted room (plugins/social/src/social.js:2267-2273), and openFaceRoom then returns that still-open hosted room before consulting the past entry (plugins/social/src/social.js:2426-2430). Opening that ended transcript therefore leaves room.face.status === 'open', so this predicate does not run and the tab still lists the former members; update the hosted status on disappearance (or otherwise account for the past-room state) before deriving the label.

Useful? React with 👍 / 👎.

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.

tab title keeps the member list after a face-to-face room is closed (#244 follow-up)

1 participant