-
Notifications
You must be signed in to change notification settings - Fork 37
feat: adapt semantic close #83
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -40,7 +40,8 @@ export default function DefaultPanel(props: DefaultPanelProps) { | |||||
onClick={onClose} | ||||||
aria-label="Close" | ||||||
{...ariaProps} | ||||||
className={`${prefixCls}-close`} | ||||||
className={classNames(`${prefixCls}-close`, tourClassNames?.close)} | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 关键错误:使用了未定义的 第 43 行使用了 应用此 diff 修复: - className={classNames(`${prefixCls}-close`, tourClassNames?.close)}
+ className={clsx(`${prefixCls}-close`, tourClassNames?.close)} 📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents
|
||||||
style={styles?.close} | ||||||
Comment on lines
+43
to
+44
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. While the implementation for applying custom
Comment on lines
+43
to
+44
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain验证测试覆盖是否已补充。 过往评审中 coding-ice 和 gemini-code-assist[bot] 都提到需要补充测试用例来验证 运行以下脚本验证测试覆盖: 🏁 Script executed: #!/bin/bash
# 描述:验证 tests/index.test.tsx 中是否包含对 close 按钮样式的测试
# 搜索测试文件中与 close 相关的断言
rg -n -A 5 -B 5 "tourClassNames.*close|styles.*close|\.close" tests/index.test.tsx Length of output: 361 补充关闭按钮类名和样式测试 🤖 Prompt for AI Agents
|
||||||
> | ||||||
{closeIcon} | ||||||
</button> | ||||||
|
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.
测试用例需要补一下