-
Notifications
You must be signed in to change notification settings - Fork 88
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
fix: optimize the option settings of the cli confirm dialog #894
Conversation
- 分别对 Description、Affirmative 和 Negative 选项进行单独设置 - 确保每个选项都能正确传递给输入对话框
- 分别对 Description、Affirmative 和 Negative 选项进行单独设置 - 确保每个选项都能正确传递给输入对话框
Important Review skippedAuto reviews are limited to specific labels. 🏷️ Labels to auto review (1)
Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 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 (
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #894 +/- ##
==========================================
- Coverage 67.65% 66.68% -0.97%
==========================================
Files 152 154 +2
Lines 10050 10195 +145
==========================================
Hits 6799 6799
- Misses 2925 3070 +145
Partials 326 326 ☔ View full report in Codecov by Sentry. |
- Add env:encrypt command - Add env:decrypt command
- 将多个 if 语句合并为一个,提高代码可读性 - 确保只在 option存在时执行相关方法,增强代码健壮性
📑 Description
If only Default is set for
![image](https://private-user-images.githubusercontent.com/13517412/414252071-00e98d1b-a502-4856-bf20-29b7b5e561f3.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk5MDUzMjUsIm5iZiI6MTczOT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XJlPThmMTZiNjBkYzdmOTc1MjE2N2JjNzg2YjI0OTQ1MGI3OWRiNTlkMWUxN2E5N2RmYTg0YmQzMzBjOGE4ZDY1ZmEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.o0YzNkt-c-KvSX9Li2Yoa5QUJk5XeSPhYIqeqI-R-1o)
console.ConfirmOption
, the text of the dialog box button will be empty@coderabbitai summary
✅ Checks