gitdataai/src/lib
ZhenYi 168fdc4da8 refactor(frontend): rewrite mention system with clean state architecture
Replace module-level refs and circular dependencies with a centralized
mention state hook (useMentionState) and shared types (mention-types).

- Introduce mention-types.ts for shared types (avoid circular deps)
- Introduce mention-state.ts with useMentionState hook (replace global refs)
- Rewrite MentionInput as contenteditable with AST-based mention rendering
- Rewrite MentionPopover to use props-only communication (no module refs)
- Fix MessageMentions import cycle (mention-types instead of MentionPopover)
- Wire ChatInputArea to useMentionState with proper cursor handling
2026-04-18 01:26:35 +08:00
..
storage perf(room): prioritize IndexedDB cache for instant loads 2026-04-17 21:36:55 +08:00
api-error.ts init 2026-04-15 09:08:09 +08:00
audio-utils.ts init 2026-04-15 09:08:09 +08:00
diffUtils.ts init 2026-04-15 09:08:09 +08:00
functionCallParser.ts init 2026-04-15 09:08:09 +08:00
mention-ast.ts feat(room): redesign mention system with AST-based format 2026-04-17 23:43:26 +08:00
mention-refs.ts fix(room): fix mention Enter key by reading textarea DOM directly 2026-04-18 00:25:03 +08:00
mention-state.ts refactor(frontend): rewrite mention system with clean state architecture 2026-04-18 01:26:35 +08:00
mention-types.ts refactor(frontend): rewrite mention system with clean state architecture 2026-04-18 01:26:35 +08:00
room-ws-client.ts fix(room): add HTTP batch reactions endpoint and clean up dead code 2026-04-17 22:12:10 +08:00
room.ts init 2026-04-15 09:08:09 +08:00
rsa.ts init 2026-04-15 09:08:09 +08:00
seo.ts init 2026-04-15 09:08:09 +08:00
timezone.ts init 2026-04-15 09:08:09 +08:00
universal-ws.ts init 2026-04-15 09:08:09 +08:00
utils.ts init 2026-04-15 09:08:09 +08:00
validation.ts init 2026-04-15 09:08:09 +08:00
ws-protocol.ts fix(room): handle reaction updates in onRoomMessage WS handler 2026-04-17 22:37:20 +08:00
ws-token.ts init 2026-04-15 09:08:09 +08:00