-
Notifications
You must be signed in to change notification settings - Fork 410
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(chat): add new, rename and delete functionality to chat channels (…
…#320) * fix: Resolve mention dropdown issue in @ agent selection for light mode * feat(chat): add rename and delete functionality to chat channels Summary: - Add rename and delete icons to chat channels with hover effects - Implement channel rename functionality with inline editing - Implement channel delete functionality with confirmation - Update channel header to display current channel name - Convert numeric IDs to string format for message handling - Add blue and red color indicators for rename and delete actions
- Loading branch information
1 parent
467f138
commit a68b0b4
Showing
5 changed files
with
133 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
export interface Message { | ||
id: string; | ||
text: string; | ||
sender: 'user' | 'bot'; | ||
timestamp: Date; | ||
attachments?: string[]; | ||
thinking?: boolean; | ||
} | ||
|
||
export interface Chat { | ||
id: number; | ||
name: string; | ||
messages: Message[]; | ||
} |