lobe-chat
lobe-chat copied to clipboard
✨ feat: Add image download functionality to DallE render component
💻 变更类型 | Change Type
- [x] ✨ feat
- [ ] 🐛 fix
- [ ] ♻️ refactor
- [ ] 💄 style
- [ ] 🔨 chore
- [ ] 📝 docs
🔀 变更说明 | Description of Change
在DallE中的图片预览中增加下载功能,页面预览如下:
📝 补充信息 | Additional Information
当前并未实现下载功能,因为lobe-ui中的preview组件的当前实现不能获取当前图片数组的下标,所以需要等lobe-ui发版之后,这里再更新一下组件库版号应该就可以了
onVisibleChange: (visible: boolean, _prevVisible: boolean, current: number) => {
if (visible) {
setCurrent(current);
}
},
_prevVisible: boolean, current: numbe
这两个参数传不进去
@Justin3go is attempting to deploy a commit to the LobeHub Team on Vercel.
A member of the Team first needs to authorize it.
👍 @Justin3go
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
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
4592515
) 84.76% compared to head (03b69ec
) 84.76%. Report is 9 commits behind head on main.
Additional details and impacted files
@@ Coverage Diff @@
## main #778 +/- ##
=======================================
Coverage 84.76% 84.76%
=======================================
Files 166 166
Lines 7415 7415
Branches 736 736
=======================================
Hits 6285 6285
Misses 1130 1130
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
这里再更新一下组件库版号应该就可以了
lobe-ui 的 form 组件重构了一版,样式有点问题。得等 @canisminor1990 修好再升上去了。
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
It should be enough to update the component library version number here.
The form component of lobe-ui has been refactored, but there is a problem with the style. Have to wait until @canisminor1990 fixes it before moving up.
这里再更新一下组件库版号应该就可以了
lobe-ui 的 form 组件重构了一版,样式有点问题。得等 @canisminor1990 修好再升上去了。
那边也提了个PR,增加了传入参数:https://github.com/lobehub/lobe-ui/pull/98
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
It should be enough to update the component library version number here.
The form component of lobe-ui has been restructured, but there are some issues with the style. Have to wait until @canisminor1990 fixes it before moving up.
A PR was also raised over there, adding incoming parameters: https://github.com/lobehub/lobe-ui/pull/98
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
lobe-chat | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Dec 27, 2023 1:57pm |
这里再更新一下组件库版号应该就可以了
lobe-ui 的 form 组件重构了一版,样式有点问题。得等 @canisminor1990 修好再升上去了。
我修好了
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
It should be enough to update the component library version number here.
The form component of lobe-ui has been restructured, but there are some issues with the style. Have to wait until @canisminor1990 fixes it before moving up.
I fixed it
这里再更新一下组件库版号应该就可以了
lobe-ui 的 form 组件重构了一版,样式有点问题。得等 @canisminor1990 修好再升上去了。
我修好了
麻烦再看一下呀,好像最近一次发版并没有带上我的提交样:
刚才将lobe-ui的版号更新到最新的1.124.0了,下载功能已经实现,目前自测是没有问题的,效果演示如下:
❤️ Great PR @Justin3go ❤️
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 0.117.1 :tada:
The release is available on:
Your semantic-release bot :package::rocket: