Skip to content

Face-to-face room rows stay on one line with the full title on hover (part of #304) - #376

Merged
Birfy merged 2 commits into
ThinkFlowLab:mainfrom
Birfy:fix/304-face-row-one-line
Oct 18, 2026
Merged

Birfy merged 2 commits into
ThinkFlowLab:mainfrom
Birfy:fix/304-face-row-one-line

Conversation

@Birfy

@Birfy Birfy commented Oct 18, 2026

Copy link
Copy Markdown
Collaborator

Part of #304 (item 5) and #173 (sidebar truncation). Not closing #304: items 4 (closed tab title) and the live check of item 5's "row vanished until reload" stay open.

Problem

A face-to-face room's sidebar row wrapped to two lines: the face-room people mark uses the bt-row-remote class, and the two-line clamp from #176 is keyed on that class (it is meant for a friend's Bot row). Neither the row nor a Past rooms entry had the full title on hover, so a cut title (Face-to-fa…) could not be read.

Change

  • core/src/client/sidebar.js: FaceMark also carries bt-row-face; RoomRow sets title to the room's full title.
  • core/src/client/styles.js: the two-line clamp applies to .bt-row-remote:not(.bt-row-face), so a face-room row keeps one line with an ellipsis. A friend's Bot row still wraps to two.
  • plugins/social/client.js: the Past rooms entry's name has the full title as hover text.
  • Generated: core/client.js, patches/ds-bot/ (generate, then check). Changelog fragment.

No status chip was added to the live row: a live room is already set apart by the people mark and being in the main list, while ended rooms move to Past rooms, which has chips. Say if you want one.

Tests

  • core/test/flybot-client.test.js: new source test for the class, the row title and the clamp selector (fails on main).
  • plugins/social/test/social.test.js: the Past/face card name carries title (fails on main).
  • TZ=UTC ARCH_DOCS_BASE=upstream/main npm run verify (Node 24) green.

Client-only CSS/markup; expected tier T1/T2 (core client + plugin client).

@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-18T16:22:51.643728Z — 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.

@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.

ℹ️ 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".

// A face room's people mark. It is not a friend's Bot marker, so the row keeps one line (#304).
function FaceMark() {
return h('span', { className: 'bt-row-remote', title: t('Face-to-face'), 'aria-label': t('Face-to-face') },
return h('span', { className: 'bt-row-remote bt-row-face', title: t('Face-to-face'), 'aria-label': t('Face-to-face') },

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Update subsystem docs for the owned-path changes

This commit changes paths owned by the core-client, plugin-runtime, and social subsystems, but includes neither a corresponding docs/subsystems/ update nor a Docs-not-needed: trailer. Running ARCH_DOCS_BASE=4bfade5^ node core/scripts/check-arch-docs.mjs at this commit reports the changed client and social files and exits 1, so the required CI gate cannot pass until the affected subsystem docs are updated or a justified trailer is added.

AGENTS.md reference: AGENTS.md:L94-L94

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Fixed in 09c100e: core-client.md, social.md and plugin-runtime.md now describe the one-line face-room row and hover titles; arch-docs passes and CI is green at that tip.

@Birfy
Birfy added this pull request to the merge queue Oct 18, 2026
Merged via the queue into ThinkFlowLab:main with commit ac546af Oct 18, 2026
8 checks passed
@Birfy
Birfy deleted the fix/304-face-row-one-line branch October 18, 2026 16:36
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