🐛 fix(DragUpload): resolve issue with pasting clipboard images in Safari
💻 变更类型 | Change Type
- [ ] ✨ feat
- [x] 🐛 fix
- [ ] ♻️ refactor
- [ ] 💄 style
- [ ] 👷 build
- [ ] ⚡️ perf
- [ ] 📝 docs
- [ ] 🔨 chore
🔀 变更说明 | Description of Change
Safari browser may throw error when using FileSystemFileEntry.file(), so we prioritize using getAsFile() method first for better browser compatibility.
closes: #7381
📝 补充信息 | Additional Information
@kingsword09 is attempting to deploy a commit to the LobeHub Team on Vercel.
A member of the Team first needs to authorize it.
👍 @kingsword09
Thank you for raising your pull request and contributing to our Community
Please make sure you have followed our contributing guidelines. We will review it as soon as possible.
If you encounter any problems, please feel free to connect with us.
非常感谢您提出拉取请求并为我们的社区做出贡献,请确保您已经遵循了我们的贡献指南,我们会尽快审查它。
如果您遇到任何问题,请随时与我们联系。
Codecov Report
Attention: Patch coverage is 63.63636% with 4 lines in your changes missing coverage. Please review.
Project coverage is 88.44%. Comparing base (
fca25e1) to head (bbd618a). Report is 18 commits behind head on main.
| Files with missing lines | Patch % | Lines |
|---|---|---|
| src/components/DragUpload/useDragUpload.tsx | 63.63% | 4 Missing :warning: |
Additional details and impacted files
@@ Coverage Diff @@
## main #7961 +/- ##
==========================================
- Coverage 88.47% 88.44% -0.03%
==========================================
Files 821 821
Lines 60274 60275 +1
Branches 3806 5492 +1686
==========================================
- Hits 53325 53313 -12
- Misses 6949 6962 +13
| Flag | Coverage Δ | |
|---|---|---|
| app | 88.44% <63.63%> (-0.03%) |
:arrow_down: |
| server | 95.67% <ø> (ø) |
Flags with carried forward coverage won't be shown. Click here to find out more.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
- :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| lobe-chat-preview | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | May 25, 2025 4:25pm |
❤️ Great PR @kingsword09 ❤️
The growth of project is inseparable from user feedback and contribution, thanks for your contribution! If you are interesting with the lobehub developer community, please join our discord and then dm @arvinxx or @canisminor1990. They will invite you to our private developer channel. We are talking about the lobe-chat development or sharing ai newsletter around the world.
项目的成长离不开用户反馈和贡献,感谢您的贡献! 如果您对 LobeHub 开发者社区感兴趣,请加入我们的 discord,然后私信 @arvinxx 或 @canisminor1990。他们会邀请您加入我们的私密开发者频道。我们将会讨论关于 Lobe Chat 的开发,分享和讨论全球范围内的 AI 消息。
:tada: This PR is included in version 1.88.7 :tada:
The release is available on:
Your semantic-release bot :package::rocket: