Skip to content

Totem 1.1: the chats panel is one T3 Code-style list (+12 more) - #65

Merged
ehonis merged 1 commit into
mainfrom
sync/private-main
Nov 24, 2026
Merged

ehonis merged 1 commit into
mainfrom
sync/private-main

Conversation

@ehonis

@ehonis ehonis commented Nov 24, 2026

Copy link
Copy Markdown
Owner

Published from the private repository by oss-sync.

  • iPhone: the drawer's Tasks face, task chats and a chat's task strip
  • iPhone: the chat list never rolls back to the phone's stored copy
  • iPhone: cached folders and drawer keyboard (#297)
  • Chat drafts (#296)
  • Composer: inline attachment chips (#295)
  • iPhone drafts (#299)
  • Composer: list formatting (#298)
  • Chats: writing in a settled or snoozed chat brings it back, however the words arrive
  • Chat: stop Claude leaving its answer in its thinking
  • Tasks panel: a task with no chats starts a chat on click
  • Project page: centred composer, first five chats
  • Chat: pictures a tool returns stay on its step card, not in the reply
  • Totem 1.1: the chats panel is one T3 Code-style list

179 files changed, 14580 insertions(+), 2917 deletions(-)

Published from the private repository by oss-sync.

- iPhone: the drawer's Tasks face, task chats and a chat's task strip
- iPhone: the chat list never rolls back to the phone's stored copy
- iPhone: cached folders and drawer keyboard (#297)
- Chat drafts (#296)
- Composer: inline attachment chips (#295)
- iPhone drafts (#299)
- Composer: list formatting (#298)
- Chats: writing in a settled or snoozed chat brings it back, however the words arrive
- Chat: stop Claude leaving its answer in its thinking
- Tasks panel: a task with no chats starts a chat on click
- Project page: centred composer, first five chats
- Chat: pictures a tool returns stay on its step card, not in the reply
- Totem 1.1: the chats panel is one T3 Code-style list

 179 files changed, 14580 insertions(+), 2917 deletions(-)
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-24T18:22:32.990772Z 532ad84 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.

@ehonis
ehonis merged commit 861c587 into main Nov 24, 2026
4 checks passed
@ehonis
ehonis deleted the sync/private-main branch November 24, 2026 18:13

@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: 532ad84e33

ℹ️ 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 on lines +992 to +994
// A task done or reopened here: the list reads again, so its chats settle or come back
// (each chat's `taskDoneAt` is the bridge's reading of its task; settle.ts taskDoneSince).
onTaskStatus(() => { void syncThreads() })

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 Refresh mobile tasks after an agent changes them

When a chat agent completes, reopens, or edits a task, this callback never fires because onTaskStatus is only triggered by task mutations made through the mobile API wrappers. The chat end handler reloads only the current thread, so the newly added mobile task strip, badges, and task page continue showing the stale task state—potentially offering Done for an already completed task—until some unrelated screen explicitly reloads the board. The web handles this by announcing task changes when a chat run ends; invalidate/reload the mobile board and sheet at the same point.

AGENTS.md reference: mobile/AGENTS.md:L150-L152

Useful? React with 👍 / 👎.

Comment thread web/src/chat/Composer.tsx
const isImage = /^image\//.test(file.type)
const draft: DraftAttachment & { progress?: number } = {
const chip = !chipsOff.current && (!isImage || !!valueRef.current.trim())
const capture = chip && live.current ? ed.current?.capture() : undefined

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 Preserve inline file chips during editor loading

When a user attaches a file while the lazy TipTap chunk is still loading and the plain textarea is visible, chip is true for the file but this live.current gate leaves capture undefined. Upload completion only calls capture?.insert(...), so the file remains in the tray without the inline chip that preserves its position in the message. Capture the plain textarea selection or queue the insertion through the editor handover instead.

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

Useful? React with 👍 / 👎.

Comment thread bridge.mjs
for (const c of content) {
if (c?.type === 'image' && c.source?.type === 'base64' && c.source.data) {
emitSafe(onImage, { buffer: Buffer.from(c.source.data, 'base64'), mime: c.source.media_type || 'image/png' }, 'image')
emitSafe(onImage, { buffer: Buffer.from(c.source.data, 'base64'), mime: c.source.media_type || 'image/png', toolId: block.tool_use_id, path: readPaths.get(block.tool_use_id) || '' }, 'image')

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 Await tool images before embedding the final answer

When Claude reads an image outside the chat outputs or temp directories and then includes that path in its final reply, this fire-and-forget callback can still be saving the tool image when finalization calls embedLocalImages. Because seenImages is populated only after that save and the embedder snapshots the map immediately, the path is rejected as unapproved and remains plain text instead of becoming the promised inline image. Track and await these image callbacks before embedding and saving the final reply.

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

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.

1 participant