Skip to content
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(upload): fix progress percent, support uploadPastedFiles #2671

Merged
merged 9 commits into from
Dec 28, 2023

Conversation

chaishi
Copy link
Collaborator

@chaishi chaishi commented Dec 15, 2023

🤔 这个 PR 的性质是?

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

🔗 相关 Issue

💡 需求背景和解决方案

📝 更新日志

  • feat(Space): 元素为空时,不再渲染一个子元素

  • fix(Table): 修复筛选值为 0/false 时,筛选图标不能高亮问题

  • fix(Upload): 修复手动上传时,无法更新上传进度问题

  • fix(Upload): 修复 uploadFilePercent 参数类型问题

  • feat(Upload): 新增支持使用 uploadPastedFiles 粘贴上传文件

  • feat(Upload): 输入框类型的上传组件,新增类名 t-upload--theme-file-input

  • feat(Upload): 新增支持 uploadPastedFiles,表示允许粘贴上传文件

  • feat(Upload): 支持 fileListDisplay=null 时,隐藏文件列表;并新增更加完整的 fileListDisplay 参数,用于自定义 UI

  • feat(Upload): 新增 cancelUploadButtonuploadButton,支持自定义上传按钮和取消上传按钮

  • feat(Upload): 新增 imageViewerProps,透传图片预览组件全部属性

  • feat(Upload): 新增 showImageFileName,用于控制是否显示图片名称

  • feat(Upload): 支持传入默认值为非数组形式,#2471

  • 本条 PR 不需要纳入 Changelog

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

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

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

Copy link
Contributor

github-actions bot commented Dec 15, 2023

完成

@uyarn uyarn changed the title [Upload] fix progress percent, support uploadPastedFiles fix(upload): fix progress percent, support uploadPastedFiles Dec 28, 2023
@HaixingOoO HaixingOoO merged commit f0abbe7 into Tencent:develop Dec 28, 2023
5 checks passed
@github-actions github-actions bot mentioned this pull request Dec 28, 2023
16 tasks
NWYLZW pushed a commit that referenced this pull request Jan 11, 2024
* fix(Table): filter icon can not highlight with number 0

* feat(Upload): support uploadPastedFiles

* feat(Upload): support hide file list with fileListDisplay

* feat(Upload): 图片上传风格,补充禁用状态颜色变化

* feat(fileListDisplay): 补充完整的参数

* fix(upload): fix some bugs and support some features

* fix(upload): import error

* test: update snapshots

* chore: update common

---------

Co-authored-by: Uyarn <uyarnchen@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants