-
Notifications
You must be signed in to change notification settings - Fork 22
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: Sender support Sender.Header #156
Conversation
📝 Walkthrough📝 WalkthroughWalkthrough本次更改涉及多个组件的更新和新功能的引入。 Changes
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (3)
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 using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Deploying x with Cloudflare Pages
|
我倒觉得附件功能是 Chatbot 类应用中输入上的必备维度,是 llm context 的重要类型,语义上应该留出来。Header 反而是一个布局语义,抽象程度略低。 |
不同业务需要的文件展示样式是不同的,在 antd 的 UploadList 里已经遇到过一次要么魔改要么自己实现一个 List。这个 PR 目的是先把样式上的弹层做出来,文件管理的实现有开发者自己决定。 |
预览
https://support-header.x-73x.pages.dev/components/sender-cn#sender-demo-header
支持自定义面板
Summary by CodeRabbit
Summary by CodeRabbit
SenderHeader
组件,支持动态属性注入。SemanticPreview
组件,允许更灵活的子组件渲染。App
组件的本地化功能,支持中英文切换。Sender
组件现在支持可定制的前缀和头部。genSenderHeaderStyle
函数,为SenderHeader
组件生成样式。Sender
组件的样式逻辑,增强了布局处理。