Skip to content

feat: add ChatPanel AI element - #866

Merged
rohanchkrabrty merged 9 commits into
mainfrom
feat-ai-chatpanel
Jul 26, 2026
Merged

feat: add ChatPanel AI element#866
rohanchkrabrty merged 9 commits into
mainfrom
feat-ai-chatpanel

Conversation

@rohanchkrabrty

Copy link
Copy Markdown
Contributor

Summary

  • Adds ChatPanel, a dockable/floating/minimizable window frame for chat, to packages/raystack/components/chat-panel with Header, Title, Actions, MinimizeTrigger, ExpandTrigger, Content, and Trigger parts
  • The panel mounts once and morphs between docked (in-flow sidebar), floating (fixed, draggable and resizable, viewport-clamped), and minimized (corner bubble via ChatPanel.Trigger) using pure CSS — no portal or remount, so chat state survives transitions
  • Supports controlled/uncontrolled mode, side, size, and floating position, with slottable header actions instead of a built-in close button
  • Adds the ChatPanel docs page (demos, anatomy, props tables) under the AI Elements section and exports the component and types from the package root
  • Includes a component test suite covering mode transitions, drag/resize behavior, and trigger interactions
  • Stacked on feat: add Chat AI element #865 (feat-ai-chat) — review only the top commit here

rohanchkrabrty and others added 5 commits July 23, 2026 11:27
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01C7QST4WHS5DmTqgJkvQoyf
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01C7QST4WHS5DmTqgJkvQoyf
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01C7QST4WHS5DmTqgJkvQoyf
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01C7QST4WHS5DmTqgJkvQoyf
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01C7QST4WHS5DmTqgJkvQoyf
@vercel

vercel Bot commented Jul 23, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
apsara Ready Ready Preview, Comment Jul 26, 2026 9:49pm

@coderabbitai

coderabbitai Bot commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

@rohanchkrabrty, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 59 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 5f4c5da9-9127-427a-b97e-cd57bf504c21

📥 Commits

Reviewing files that changed from the base of the PR and between 03c5439 and 4beeb72.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (30)
  • apps/www/src/content/docs/ai-elements/chat-panel/demo.ts
  • apps/www/src/content/docs/ai-elements/chat-panel/index.mdx
  • apps/www/src/content/docs/ai-elements/chat-panel/props.ts
  • apps/www/src/content/docs/ai-elements/chat/demo.ts
  • apps/www/src/content/docs/ai-elements/chat/index.mdx
  • apps/www/src/content/docs/ai-elements/chat/props.ts
  • apps/www/src/content/docs/ai-elements/meta.json
  • apps/www/src/content/docs/ai-elements/prompt-input/demo.ts
  • apps/www/src/content/docs/ai-elements/prompt-input/index.mdx
  • apps/www/src/content/docs/ai-elements/prompt-input/props.ts
  • packages/raystack/components/chat-panel/__tests__/chat-panel.test.tsx
  • packages/raystack/components/chat-panel/chat-panel-context.tsx
  • packages/raystack/components/chat-panel/chat-panel-parts.tsx
  • packages/raystack/components/chat-panel/chat-panel-root.tsx
  • packages/raystack/components/chat-panel/chat-panel-trigger.tsx
  • packages/raystack/components/chat-panel/chat-panel.module.css
  • packages/raystack/components/chat-panel/chat-panel.tsx
  • packages/raystack/components/chat-panel/index.tsx
  • packages/raystack/components/chat/__tests__/chat.test.tsx
  • packages/raystack/components/chat/chat-composer.tsx
  • packages/raystack/components/chat/chat-messages.tsx
  • packages/raystack/components/chat/chat.module.css
  • packages/raystack/components/chat/chat.tsx
  • packages/raystack/components/chat/index.tsx
  • packages/raystack/components/prompt-input/__tests__/prompt-input.test.tsx
  • packages/raystack/components/prompt-input/prompt-input-parts.tsx
  • packages/raystack/components/prompt-input/prompt-input.module.css
  • packages/raystack/components/prompt-input/prompt-input.tsx
  • packages/raystack/index.tsx
  • packages/raystack/package.json

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Base automatically changed from feat-ai-chat to main July 24, 2026 05:03
@rohanchkrabrty
rohanchkrabrty merged commit 3ec82b4 into main Jul 26, 2026
4 of 5 checks passed
@rohanchkrabrty
rohanchkrabrty deleted the feat-ai-chatpanel branch July 26, 2026 21:48
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