Skip to content

feat: chat workflow agent + right-side push panel + markdown rendering - #116

Merged
rekabytes merged 1 commit into
mainfrom
dev
Mar 26, 2026
Merged

feat: chat workflow agent + right-side push panel + markdown rendering#116
rekabytes merged 1 commit into
mainfrom
dev

Conversation

@rekabytes

Copy link
Copy Markdown
Owner
  • BAML: new agent functions (FormatFoodResponse, FormatRecipeResponse, FormatApiHelpResponse, StreamChat), ApiHelp intent, claude client
  • Backend: SSE streaming endpoint (POST /api/chat/stream), async generator workflow with tRPC caller for food search, removed sendMessage mutation and food-search.ts
  • Frontend: right-side push panel with activity bar (replaces FAB popup), ChatPanelContext for open/close state, responsive panel (400-500px desktop, fullscreen mobile)
  • Markdown: react-markdown + remark-gfm for AI replies with dark theme styling, code blocks with copy button, tables, links
  • UI: global seamless dark scrollbar, gradient green chat icon, hamburger menu for thread list, no focus highlight on input
  • Shared: ChatSSEEvent discriminated union type, ChatToolName type

📝 Description

Brief description of what this PR does.

🔗 Related Issue

Fixes #(issue number)

🏷️ Type of Change

  • 🐛 Bug fix (non-breaking change that fixes an issue)
  • ✨ New feature (non-breaking change that adds functionality)
  • 💥 Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • 📚 Documentation update
  • 🧹 Code refactoring (no functional changes)
  • 🧪 Test update (adding or updating tests)

✅ Checklist

  • I have read the Contributing Guidelines
  • My branch is created from dev (not main)
  • I have run pnpm lint:fix
  • I have run pnpm typecheck
  • I have tested my changes locally
  • My code follows the project's coding standards
  • I have updated documentation (if applicable)

📸 Screenshots (if applicable)

Add screenshots to help explain your changes.

🧪 How to Test

Steps to test this PR:

  1. ...
  2. ...
  3. ...

📝 Additional Notes

Any additional information reviewers should know.

- BAML: new agent functions (FormatFoodResponse, FormatRecipeResponse,
  FormatApiHelpResponse, StreamChat), ApiHelp intent, claude client
- Backend: SSE streaming endpoint (POST /api/chat/stream), async
  generator workflow with tRPC caller for food search, removed
  sendMessage mutation and food-search.ts
- Frontend: right-side push panel with activity bar (replaces FAB
  popup), ChatPanelContext for open/close state, responsive panel
  (400-500px desktop, fullscreen mobile)
- Markdown: react-markdown + remark-gfm for AI replies with dark
  theme styling, code blocks with copy button, tables, links
- UI: global seamless dark scrollbar, gradient green chat icon,
  hamburger menu for thread list, no focus highlight on input
- Shared: ChatSSEEvent discriminated union type, ChatToolName type
@vercel

vercel Bot commented Mar 26, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
kal-admin Ready Ready Preview, Comment Mar 26, 2026 4:46pm
kal-frontend Ready Ready Preview, Comment Mar 26, 2026 4:46pm

@rekabytes
rekabytes merged commit 1edd6f2 into main Mar 26, 2026
19 checks passed
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