Skip to content

refactor(studio): move Message out of chat-workspace - #2322

Merged
kantord merged 1 commit into
studio-followups/11-pending-ask-cardfrom
studio-followups/12-move-message
Oct 15, 2026
Merged

kantord merged 1 commit into
studio-followups/11-pending-ask-cardfrom
studio-followups/12-move-message

Conversation

@kantord

@kantord kantord commented Oct 14, 2026 •

Copy link
Copy Markdown
Member

Summary

Breaks the chat-workspace to content-preview-panel to side-thread-panel to chat-workspace import cycle.

Part of #2303 ("Tiny follow-up fixes"); it does not close it. This is PR 12 of 14 in a stack of draft PRs, reviewed and merged in order.

What changed

  • Message moves verbatim to message.tsx; side-thread-panel.tsx and approval-interactions.test.tsx import it from there. The only non-test importer of chat-workspace left is the route.

Behavior changes

None. A pure move with no logic changes.

Verification

Biome, typecheck, the full Studio test suite and pnpm generated:check pass on this branch, run on the assembled stack. The full Playwright suite passes on the stack tip (122 passed, 30 skipped, 0 failed, including chat-approval against a real mecated build).

Not included

Removing Message in favor of ChatTranscript for side threads, which is a larger design question.

Fully or partially written by an AI agent.

🤖 Generated with Claude Code

@kantord
kantord added this pull request to stack #2325 October 14, 2026 13:27
@kantord kantord changed the title refactor(studio): move Message out of chat-workspace into message.tsx refactor(studio): move Message out of chat-workspace Oct 14, 2026
@kantord kantord mentioned this pull request Oct 14, 2026
41 tasks done
@kantord
kantord marked this pull request as ready for review October 15, 2026 08:41

@peppescg peppescg left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks Daniel, verbatim move that breaks the import cycle. LGTM.

@kantord
kantord force-pushed the studio-followups/12-move-message branch 6 times, most recently from cb85edc to fdef7ed Compare October 15, 2026 13:00
@kantord
kantord force-pushed the studio-followups/12-move-message branch from fdef7ed to 28064d7 Compare October 15, 2026 13:26
Message was exported from the 4000-line workspace only so the side-thread
panel could import it back, a circular import. It moves verbatim to its own
module; both importers are repointed.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@kantord
kantord force-pushed the studio-followups/12-move-message branch from 28064d7 to 200e894 Compare October 15, 2026 14:01
@kantord
kantord merged commit cd089ec into main Oct 15, 2026
31 checks passed
@kantord
kantord deleted the studio-followups/12-move-message branch October 15, 2026 14:07
@toolhive-release-app toolhive-release-app Bot mentioned this pull request Oct 20, 2026
2 tasks
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.

2 participants