Skip to content

feat: own handle in account menu, clearer agent row, visible leave status (#181, #191) - #190

Merged
Birfy merged 3 commits into
ThinkFlowLab:mainfrom
Birfy:fix181b
Oct 17, 2026
Merged

Birfy merged 3 commits into
ThinkFlowLab:mainfrom
Birfy:fix181b

Conversation

@Birfy

@Birfy Birfy commented Oct 17, 2026 •

Copy link
Copy Markdown
Collaborator

Fixes #181 (remaining items) and Fixes #191.

  • Own Bot Social handle with Copy at the top of the account menu (new flybot.account.header slot; social MyHandle).
    • menu: the DSH agent row reads "Add coding agent" (hint: a plain DSH session, not a Bot); Create new Bot is the one Bot creation entry.
  • Peer leave reads "Bob left the room" (the person) and an ended face room shows a plain status line above the composer (FaceRoomStatus).
  • Joining by number opens the new room in the main pane, so the top bar never keeps the previous room's title.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 17, 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-17T12:48:36.776794Z dc4ef1e 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 changed the title feat: own handle in the account menu; clearer coding-agent row (#181) feat: own handle in account menu, clearer agent row, visible leave status (#181, #191) Oct 17, 2026

@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: dc4ef1e8c7

ℹ️ 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 plugins/social/client.js
}
return h('div', { className: 'fs-me', 'data-flybot': 'my-handle-menu' },
h('span', { className: 'fs-me-handle', title: 'Your Bot Social handle' }, handle),
h('button', { type: 'button', className: 'fs-link', 'data-flybot': 'copy-my-handle', onClick: copy }, copied ? 'Copied' : 'Copy'))

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 Keep the Copy control from consuming the whole header

Whenever a connected user's handle renders in the account portal, this button is a descendant of .bt-menu, so the rule in core/src/client/styles.js gives it width:100%, min-height:30px, and display:flex. The more-specific .fs-me .fs-link rule only sets flex:none, which makes Copy reserve the entire flex-row width and shrinks the handle span away or overflows the header, defeating the new handle display; add account-header-specific sizing overrides or limit the core rule to actual menu items.

Useful? React with 👍 / 👎.

Comment thread plugins/social/client.js
const copy = async () => {
const clip = typeof navigator !== 'undefined' ? navigator.clipboard : undefined
try {
await clip?.writeText?.(handle)

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 Do not report unsupported clipboard writes as copied

In browsers where navigator.clipboard is absent, such as an insecure non-local HTTP deployment, optional chaining resolves this await to undefined and execution still sets copied to true. The menu therefore says Copied even though no write was attempted, so users can paste stale clipboard contents; only show success after calling a supported writeText, and otherwise expose a fallback or failure state.

Useful? React with 👍 / 👎.

@Birfy
Birfy added this pull request to the merge queue Oct 17, 2026
Merged via the queue into ThinkFlowLab:main with commit 5ad978a Oct 17, 2026
6 checks passed
@Birfy
Birfy deleted the fix181b branch October 17, 2026 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant