-
-
Notifications
You must be signed in to change notification settings - Fork 231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: New component Bubble #19
Conversation
RFC 里这个组件叫 Message? |
感觉 Chatbox 更准确一点,另外 Message 不是跟 antd 重复了吗?cc @zombieJ |
感觉 ChatBox 的语义有点像一整个聊天窗口。另外我们应该不需要考虑和 antd 里 Message 组件命名重复的事。 |
WalkthroughThe recent updates enhance the Changes
Sequence Diagram(s)sequenceDiagram
participant User as User
participant Bubble as Bubble Component
participant Hook as useTypedEffect
User->>Bubble: Sends message
Bubble->>Hook: Trigger typing effect
Hook->>Bubble: Updates displayed content
Bubble->>User: Shows message with typing effect
Note Summarized by CodeRabbit FreeYour organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Pro by visiting https://app.coderabbit.ai/login. TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configuration File (
|
@zombieJ @li-jia-nan 这个确定就叫 ChatBox 了嘛? |
@zombieJ 终于合了! |
feat: New component Chatbox
Summary by CodeRabbit
New Features
Bubble
component for displaying content with customizable loading and typing states.Bubble
component.Bug Fixes
ChatBox
toBubble
for consistency.Chores
Bubble
component.Documentation
Bubble
component and its properties, improving usability for diverse developers.Tests
Bubble
component, ensuring reliability and expected functionality across various scenarios.