Skip to content

feat:skill导入新增拖拽上传功能 - #264

Merged
jubaoliang merged 1 commit into
TencentCloud:mainfrom
chujieHong:feat/skill-zip-drag-upload
Aug 14, 2026
Merged

feat:skill导入新增拖拽上传功能#264
jubaoliang merged 1 commit into
TencentCloud:mainfrom
chujieHong:feat/skill-zip-drag-upload

Conversation

@chujieHong

Copy link
Copy Markdown
Contributor

变更概述

在技能导入的「从本地 ZIP 导入」页面新增拖拽上传功能,布局在提示文本下方、原选择文件按钮上方,样式完全匹配参考图的虚线边框设计。

改动详情

  • SkillImportModal 中新增拖拽上传区域
  • 样式参考图实现虚线边框设计
  • 添加中英文拖拽提示和选中文件展示的 i18n 字符串
  • 更新测试,优雅处理现在有两个移除按钮的情况
  • 保留原有文件选择按钮功能完好

Summary

新增技能导入的拖拽上传功能,提升用户体验,让技能 ZIP 的上传更便捷。

屏幕截图 2026-08-13 171411

Target branch

  • Base is develop (feature / fix — default)
  • Base is main (release/* or hotfix/* only)

Type of change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation
  • Refactor / chore
  • Release / hotfix

Test plan

  • make all passes locally
  • Added/updated tests

Checklist

  • Updated CHANGELOG.md (if user-facing)
  • README / docs updated (if needed)

- Add drag & drop upload zone in SkillImportModal
- Style matches reference image with dashed border
- Add i18n strings for drag hint and selected file display
- Update test to handle two remove buttons gracefully
- Keep original file selector button intact
@jubaoliang
jubaoliang merged commit 91aef68 into TencentCloud:main Aug 14, 2026
5 checks passed
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.

2 participants