gitdataai/src/components/room
ZhenYi 17e878c8b8 fix(room): fix Enter-on-category via React state update instead of DOM manipulation
Problem: dispatchEvent('input') doesn't trigger React's onChange in React 17+.

Solution: pass onCategoryEnter callback from ChatInputArea to MentionPopover.
When Enter is pressed on a category, MentionPopover calls onCategoryEnter(category)
which directly calls React setState (onDraftChange, setCursorPosition,
setShowMentionPopover) inside ChatInputArea, properly triggering re-render.
2026-04-18 00:51:14 +08:00
..
chatbotKitAdapter.ts init 2026-04-15 09:08:09 +08:00
CreateRoomDialog.tsx init 2026-04-15 09:08:09 +08:00
DeleteRoomAlert.tsx init 2026-04-15 09:08:09 +08:00
EditRoomDialog.tsx init 2026-04-15 09:08:09 +08:00
FunctionCallBadge.tsx init 2026-04-15 09:08:09 +08:00
icon-match.tsx init 2026-04-15 09:08:09 +08:00
index.ts init 2026-04-15 09:08:09 +08:00
MentionPopover.tsx fix(room): fix Enter-on-category via React state update instead of DOM manipulation 2026-04-18 00:51:14 +08:00
MessageMentions.tsx fix(room): resolve mention IDs to display names when rendering messages 2026-04-18 00:10:12 +08:00
RoomAiAuthBanner.tsx init 2026-04-15 09:08:09 +08:00
RoomAiTasksPanel.tsx init 2026-04-15 09:08:09 +08:00
RoomChatInterface.tsx init 2026-04-15 09:08:09 +08:00
RoomChatPanel.tsx fix(room): fix Enter-on-category via React state update instead of DOM manipulation 2026-04-18 00:51:14 +08:00
RoomList.tsx init 2026-04-15 09:08:09 +08:00
RoomMentionPanel.tsx init 2026-04-15 09:08:09 +08:00
RoomMessageActions.tsx init 2026-04-15 09:08:09 +08:00
RoomMessageBubble.tsx fix(room): resolve mention IDs to display names when rendering messages 2026-04-18 00:10:12 +08:00
RoomMessageEditDialog.tsx init 2026-04-15 09:08:09 +08:00
RoomMessageEditHistoryDialog.tsx init 2026-04-15 09:08:09 +08:00
RoomMessageList.tsx perf(room): increase virtualizer overscan to 30 for smoother scrolling 2026-04-17 21:31:36 +08:00
RoomMessageReactions.tsx init 2026-04-15 09:08:09 +08:00
RoomMessageSearch.tsx init 2026-04-15 09:08:09 +08:00
RoomParticipantsPanel.tsx feat(room): redesign mention system with AST-based format 2026-04-17 23:43:26 +08:00
RoomPinBar.tsx init 2026-04-15 09:08:09 +08:00
RoomSettingsPanel.tsx feat(room): redesign mention system with AST-based format 2026-04-17 23:43:26 +08:00
RoomThreadPanel.tsx init 2026-04-15 09:08:09 +08:00
sender.ts init 2026-04-15 09:08:09 +08:00