mirror of
https://github.com/stackblitz-labs/bolt.diy
synced 2025-06-26 02:06:36 +00:00
- Implement discuss mode toggle and UI in chat box - Add quick action buttons for file, message, implement and link actions - Extend markdown parser to handle quick action elements - Update message components to support discuss mode and quick actions - Add discuss prompt for technical consulting responses - Refactor chat components to support new functionality The changes introduce a new discuss mode that allows users to switch between code implementation and technical discussion modes. Quick action buttons provide immediate interaction options like opening files, sending messages, or switching modes.
18 lines
457 B
TypeScript
18 lines
457 B
TypeScript
import { classNames } from '~/utils/classNames';
|
|
import { IconButton } from '~/components/ui';
|
|
|
|
export function DiscussMode() {
|
|
return (
|
|
<div>
|
|
<IconButton
|
|
title="Discuss"
|
|
className={classNames(
|
|
'transition-all flex items-center gap-1 bg-bolt-elements-item-backgroundAccent text-bolt-elements-item-contentAccent',
|
|
)}
|
|
>
|
|
<div className={`i-ph:chats text-xl`} />
|
|
</IconButton>
|
|
</div>
|
|
);
|
|
}
|