-
-
Notifications
You must be signed in to change notification settings - Fork 71
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 - Prompts #55
Conversation
WalkthroughThe recent updates introduce the Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant App
participant Prompts
User->>App: Requests prompts display
App->>Prompts: Renders with data props
Prompts-->>App: Displays prompts
App-->>User: Shows prompts on UI
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 (
|
- PromptsProps.flex -> PromptsProps.wrap and PromptsProps.vertical - PromptsProps.onClick Object Params -> Array Params - PromptsProps.styles -> Keep only the necessary key - PromptsProps.classNames -> Keep only the necessary key
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #55 +/- ##
==========================================
+ Coverage 90.54% 91.47% +0.92%
==========================================
Files 17 19 +2
Lines 275 305 +30
Branches 77 90 +13
==========================================
+ Hits 249 279 +30
Misses 26 26 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
🤔 这个变动的性质是?
🔗 相关 Issue
💡 需求背景和解决方案
[RFC] New Component - Prompts
📝 更新日志
Prompts
Prompts
Summary by CodeRabbit
Summary by CodeRabbit
New Features
Prompts
component for displaying customizable UI elements with predefined questions or suggestions.Prompts
component, including disabled prompts, prompts with scroll support, and interactive prompts.Documentation
Prompts
component in both English and Chinese.Tests
Prompts
component and its related features.