* init * refactor * implement mention plugin for chat input - Updated pnpm-lock.yaml and pnpm-workspace.yaml to include new versions of @floating-ui packages. - Added MentionPlugin to the chat input component, enabling mention functionality. - Created necessary components, hooks, and utilities for mention handling, including MentionNode, MentionDropdown, and related styles. - Refactored existing code to integrate mention features seamlessly into the chat interface. This update enhances the chat experience by allowing users to mention others easily, improving interactivity and engagement. Signed-off-by: Innei <tukon479@gmail.com> * Enhance mention functionality in chat editor - Integrated MentionNode into AIRichTextMessage for improved mention handling. - Updated MentionPlugin to utilize new hooks for mention search and insertion. - Added useMentionIntegration and useMentionSearchService hooks for better mention management. - Created contextBarSearchService and feedEntrySearchService for unified search functionality. - Refactored LexicalRichEditor to support custom nodes from plugins. This update improves the chat experience by streamlining mention interactions and enhancing search capabilities. Signed-off-by: Innei <tukon479@gmail.com> * Enhance mention integration and synchronization in chat editor - Updated ChatInput layout for improved button positioning. - Added select-none class to mention styles for better user experience. - Refactored MentionDropdown to improve the display of mention types and content. - Introduced useMentionBlockSync hook for bidirectional synchronization between mention nodes and context blocks. - Enhanced useMentionIntegration to handle mention insertion with node key tracking. - Implemented useMentionSearchService for streamlined mention search functionality. These changes improve the overall mention handling and user interaction within the chat editor, making it more intuitive and efficient. Signed-off-by: Innei <tukon479@gmail.com> * Refactor ChatInput layout to include ScrollArea for improved scrolling experience - Wrapped LexicalRichEditor in a ScrollArea component to enhance the input area’s usability. - Adjusted styles in LexicalRichEditor for better layout consistency. These changes aim to improve user interaction within the chat input by providing a more flexible scrolling interface. Signed-off-by: Innei <tukon479@gmail.com> * Remove deprecated mention functionality and update MentionNode for markdown export - Deleted mention-related files and types as functionality has been moved to the desktop app. - Updated MentionNode to change the text content format for markdown export. - Refactored useMentionBlockSync to remove unused helper functions and streamline dependencies. - Adjusted LexicalRichEditor placeholder styles for better alignment. These changes clean up the codebase by removing obsolete mention features and enhancing the current mention handling in the chat editor. Signed-off-by: Innei <tukon479@gmail.com> * Implement AI chat message tracking functionality - Added tracking for AI chat messages sent by integrating the tracker module into the ChatInterface component. - Introduced a new tracker point for AIChatMessageSent in the TrackerMapper enum. - Removed deprecated entry tracking methods to streamline the tracking process. These changes enhance the analytics capabilities of the chat interface by monitoring AI interactions more effectively. Signed-off-by: Innei <tukon479@gmail.com> * Update VSCode settings for Tailwind CSS and i18n-ally configuration - Streamlined the tailwindCSS.experimental.classRegex by removing unnecessary line breaks for better readability. - Consolidated the tailwindCSS.experimental.configFile and i18n-ally settings into single-line arrays for consistency. - Ensured proper formatting and alignment of settings to enhance maintainability. These changes improve the clarity and organization of the VSCode settings file. Signed-off-by: Innei <tukon479@gmail.com> --------- Signed-off-by: Innei <tukon479@gmail.com>
103 lines
3.2 KiB
JSON
103 lines
3.2 KiB
JSON
{
|
|
"name": "@follow/components",
|
|
"type": "module",
|
|
"private": true,
|
|
"sideEffects": false,
|
|
"exports": {
|
|
".": "./exports.ts",
|
|
"./assets/*": "./assets/*",
|
|
"./atoms/*": "./src/atoms/*",
|
|
"./common/*": "./src/common/*",
|
|
"./constants/*": "./src/constants/*",
|
|
"./dayjs": "./src/utils/dayjs.ts",
|
|
"./hooks/*": "./src/hooks/*",
|
|
"./icons/*": "./src/icons/*",
|
|
"./modules/*": "./src/modules/*",
|
|
"./providers/*": "./src/providers/*",
|
|
"./tailwind": "./assets/index.css",
|
|
"./ui/*": "./src/ui/*",
|
|
"./utils/*": "./src/utils/*"
|
|
},
|
|
"scripts": {
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@essentials/request-timeout": "1.3.0",
|
|
"@floating-ui/core": "*",
|
|
"@floating-ui/react": "*",
|
|
"@floating-ui/react-dom": "*",
|
|
"@follow/hooks": "workspace:*",
|
|
"@follow/models": "workspace:*",
|
|
"@follow/types": "workspace:*",
|
|
"@follow/utils": "workspace:*",
|
|
"@headlessui/react": "2.2.4",
|
|
"@lexical/code": "0.33.1",
|
|
"@lexical/link": "0.33.1",
|
|
"@lexical/list": "0.33.1",
|
|
"@lexical/mark": "0.33.1",
|
|
"@lexical/markdown": "0.33.1",
|
|
"@lexical/react": "0.33.1",
|
|
"@lexical/rich-text": "0.33.1",
|
|
"@microflash/remark-callout-directives": "4.4.0",
|
|
"@radix-ui/react-accordion": "1.2.11",
|
|
"@radix-ui/react-avatar": "1.1.10",
|
|
"@radix-ui/react-checkbox": "1.3.2",
|
|
"@radix-ui/react-context-menu": "2.2.15",
|
|
"@radix-ui/react-dialog": "1.1.14",
|
|
"@radix-ui/react-dropdown-menu": "2.1.15",
|
|
"@radix-ui/react-hover-card": "1.1.14",
|
|
"@radix-ui/react-label": "2.1.7",
|
|
"@radix-ui/react-navigation-menu": "1.2.13",
|
|
"@radix-ui/react-popover": "1.1.14",
|
|
"@radix-ui/react-progress": "1.1.7",
|
|
"@radix-ui/react-radio-group": "1.3.7",
|
|
"@radix-ui/react-scroll-area": "1.2.9",
|
|
"@radix-ui/react-select": "2.2.5",
|
|
"@radix-ui/react-slider": "1.3.5",
|
|
"@radix-ui/react-slot": "1.2.3",
|
|
"@radix-ui/react-switch": "1.2.5",
|
|
"@radix-ui/react-tabs": "1.1.12",
|
|
"@radix-ui/react-toast": "1.2.14",
|
|
"@radix-ui/react-tooltip": "1.2.7",
|
|
"@react-hook/window-size": "3.1.1",
|
|
"@types/hast": "3.0.4",
|
|
"@types/unist": "3.0.3",
|
|
"class-variance-authority": "0.7.1",
|
|
"dayjs": "1.11.13",
|
|
"foxact": "0.2.49",
|
|
"hast-util-to-jsx-runtime": "2.3.6",
|
|
"hast-util-to-text": "4.0.2",
|
|
"input-otp": "1.4.2",
|
|
"jotai": "2.12.5",
|
|
"katex": "0.16.22",
|
|
"lexical": "0.33.1",
|
|
"masonic": "4.1.0",
|
|
"motion": "12.23.0",
|
|
"react-blurhash": "0.3.0",
|
|
"react-fast-marquee": "1.6.5",
|
|
"react-hook-form": "7.60.0",
|
|
"react-i18next": "15.6.0",
|
|
"rehype-infer-description-meta": "2.0.0",
|
|
"rehype-parse": "9.0.1",
|
|
"rehype-sanitize": "6.0.0",
|
|
"rehype-stringify": "10.0.1",
|
|
"remark-directive": "4.0.0",
|
|
"remark-gfm": "4.0.1",
|
|
"remark-gh-alerts": "0.0.3",
|
|
"remark-rehype": "11.1.2",
|
|
"sonner": "2.0.6",
|
|
"tailwindcss-uikit-colors": "1.0.0-alpha.1",
|
|
"unified": "11.0.5",
|
|
"unist-util-visit": "5.0.0",
|
|
"unist-util-visit-parents": "5.1.3",
|
|
"use-context-selector": "2.0.0",
|
|
"usehooks-ts": "3.1.1",
|
|
"vaul": "1.1.2",
|
|
"vfile": "5.3.7"
|
|
},
|
|
"devDependencies": {
|
|
"@follow/configs": "workspace:*",
|
|
"@types/katex": "0.16.7"
|
|
}
|
|
}
|