Skip to content

Conversation

@anlyyao
Copy link
Collaborator

@anlyyao anlyyao commented Dec 24, 2025

🤔 这个 PR 的性质是?

  • 日常 bug 修复
  • 新特性提交
  • 文档改进
  • 演示代码改进
  • 组件样式/交互改进
  • CI/CD 改进
  • 重构
  • 代码风格优化
  • 测试用例
  • 分支合并
  • 其他

🔗 相关 Issue

相关 PRs

TDesignOteam/tdesign-api#793
Tencent/tdesign-common#2375
Tencent/tdesign-common#2376
Tencent/tdesign-common#2377
Tencent/tdesign-common#2379

💡 需求背景和解决方案

reference from: Tencent/tdesign-miniprogram#4137

📝 更新日志

  • feat(Badge): shape 属性新增 ribbon-right/ribbon-left/triangle-right/triangle-left 可选项,其中 ribbonribbon-right 等效

  • feat(Badge): 优化 ribbon 实现,改用 background: linear-gradient(),移除伪元素相关样式

  • 本条 PR 不需要纳入 Changelog

☑️ 请求合并前的自查清单

⚠️ 请自检并全部勾选全部选项⚠️

  • 文档已补充或无须补充
  • 代码演示已提供或无须提供
  • TypeScript 定义已补充或无须补充
  • Changelog 已提供或无须提供

@github-actions
Copy link
Contributor

github-actions bot commented Dec 24, 2025

完成

@pkg-pr-new
Copy link

pkg-pr-new bot commented Dec 24, 2025

Open in StackBlitz

npm i https://pkg.pr.new/tdesign-mobile-react@855

commit: 47956eb

@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 56.68%. Comparing base (02b774b) to head (2760061).
⚠️ Report is 361 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff              @@
##           develop     #855       +/-   ##
============================================
+ Coverage     6.93%   56.68%   +49.75%     
============================================
  Files          400      287      -113     
  Lines         4241     7307     +3066     
  Branches       990     1977      +987     
============================================
+ Hits           294     4142     +3848     
+ Misses        3947     3165      -782     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@liweijie0812
Copy link
Collaborator

/update-common

@anlyyao anlyyao added the 🏃 in progress someone is developing label Dec 24, 2025
@anlyyao anlyyao changed the title feat(Badge): the shape attr add four optional values 【WIP】feat(Badge): the shape attr add four optional values Dec 25, 2025
@anlyyao anlyyao requested a review from hylpetter December 25, 2025 06:21
@anlyyao anlyyao changed the title 【WIP】feat(Badge): the shape attr add four optional values feat(Badge): the shape attr add four optional values Dec 25, 2025
@anlyyao
Copy link
Collaborator Author

anlyyao commented Dec 25, 2025

@hylpetter 设计走查记录:
截屏2025-12-25 14 38 58

@anlyyao anlyyao merged commit 9d43a91 into develop Dec 25, 2025
9 checks passed
@anlyyao anlyyao deleted the feat/badge/shape branch December 25, 2025 06:40
@github-actions github-actions bot mentioned this pull request Dec 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🏃 in progress someone is developing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants