Skip to content

improvement(ui): share public chat composer actions - #8075

Open
BillLeoutsakosvl346 wants to merge 1 commit into
stagingfrom
codex/control-fix-public-chat-actions
Open

BillLeoutsakosvl346 wants to merge 1 commit into
stagingfrom
codex/control-fix-public-chat-actions

Conversation

@BillLeoutsakosvl346

Copy link
Copy Markdown
Contributor

Summary

  • Share the circular attachment, send and stop actions in public chat.
  • Preserve the existing quiet/primary palettes, 28px size, labels, icons and disabled/streaming conditions.

Type of Change

  • Refactor / maintainability improvement

Testing

  • Full workspace type checks, lint, repository audits (including import and API validation), generators and docs checks pass.
  • External source comparison confirms caller logic and content are unchanged.
  • Before/after browser fixtures cover the changed component's styling and interactions. Original and extracted controls have matching computed styles. These are isolated fixtures, not full authenticated product flows.
  • Relevant existing tests pass. No landing-page changes or audit tooling included.

Checklist

  • Code follows project style guidelines
  • Self-reviewed my changes
  • Tests added/updated and passing
  • No new warnings introduced
  • I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

@vercel

vercel Bot commented Sep 20, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
docs Skipped Skipped Sep 20, 2026 11:43pm UTC

Request Review

@greptile-apps

greptile-apps Bot commented Sep 20, 2026

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 5/5

The PR appears safe to merge because the extraction preserves the existing controls’ DOM behavior, accessibility, state handling, and styling.

Summary

This PR extracts the public-chat composer’s attachment, send, and stop controls into a shared circular action button while preserving their existing behavior and presentation.

  • Adds a typed, ref-forwarding PublicChatActionButton.
  • Reuses it for all three public-chat composer actions.
  • Keeps the existing callbacks, disabled states, accessibility labels, variants, icons, and 28px circular styling.

Reviews (1) · Last reviewed commit: "improvement(ui): share public chat compo..."

@cubic-dev-ai cubic-dev-ai Bot 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.

No issues found across 2 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Re-trigger cubic

@BillLeoutsakosvl346

Copy link
Copy Markdown
Contributor Author

Before / after visual comparison

Public-chat actions share their existing compact action-button treatment. The enabled primary Send action is shown.

Left = before; right = after.

Rendered component fixtures with application CSS and local data, rather than authenticated product-page screenshots. These are representative visual examples, not end-to-end behavior coverage.

Current PR head checked at posting: 07f25c268a.

Before and after: light chat primary false

Additional theme/state comparisons

Before and after: dark chat primary false

This branch was previously deployed

1 inactive deployment
Preview 07f25c26 Deployed Sep 20, 2026 by vercel[bot]
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