mirror of
https://github.com/Kuingsmile/PicList.git
synced 2025-03-13 00:18:13 -04:00
📝 Docs(custom): prepare for new version
This commit is contained in:
parent
3455c08eca
commit
a6a2f9a17b
@ -1,15 +1,4 @@
|
||||
### ✨ Features
|
||||
|
||||
- 优化了短链接处理逻辑:
|
||||
- 现在相册界面中复制链接时会得到相同的短链接,而不是每次重新获取
|
||||
- 现在开启短链接时上传结果通知会正确显示
|
||||
- 现在开启短链接时上传接口会返回短链接
|
||||
- 管理界面新增使用预签名链接显示预览图片选项
|
||||
- 现在图片压缩质量只允许设置1-100之间的正整数
|
||||
- 新增对短链项目[Sink](https://github.com/ccbikai/Sink)的支持
|
||||
|
||||
### 🐛 Bug Fixes
|
||||
|
||||
- 修复了管理页面设置项界面中,部分没有tooltip的选项依旧会显示图标的问题
|
||||
- 修复了在管理页面无法修改下载文件夹的问题
|
||||
- 修复了对HEIC图片无法转换格式的问题
|
||||
- 修复了自动重命名和剪贴板文件命名缺失秒数的问题
|
||||
- 修复了插件查询失效的问题
|
||||
|
@ -1,15 +1,4 @@
|
||||
### ✨ Features
|
||||
|
||||
- Optimized the short link processing logic:
|
||||
- Now when copying links in the album interface, the same short link will be obtained, instead of reacquiring it each time
|
||||
- Now the upload result notification will be displayed correctly when the short link is enabled
|
||||
- Now the upload interface will return a short link when the short link is enabled
|
||||
- Added the option to display preview images using presigned links in the management interface
|
||||
- Now the image compression quality only allows setting positive integers between 1-100
|
||||
- Added support for the short link project [Sink](https://github.com/ccbikai/Sink)
|
||||
|
||||
### 🐛 Bug Fixes
|
||||
|
||||
- Fixed the issue where some options without tooltips in the management page settings interface would still display icons
|
||||
- Fixed the issue where the download folder could not be modified in the management page
|
||||
- Fixed the issue where HEIC images could not be converted
|
||||
- Fix the problem of missing seconds in automatic renaming and clipboard file naming
|
||||
- Fix the problem of invalid plugin query
|
@ -413,23 +413,24 @@ function _getSearchResult(val: string) {
|
||||
}
|
||||
|
||||
function handleSearchResult(item: INPMSearchResultObject) {
|
||||
const name = handleStreamlinePluginName(item.package.name)
|
||||
const pkg = item.package
|
||||
const name = handleStreamlinePluginName(pkg.name)
|
||||
let gui = false
|
||||
if (item.package.keywords && item.package.keywords.length > 0) {
|
||||
if (item.package.keywords.includes('picgo-gui-plugin')) {
|
||||
if (pkg.keywords && pkg.keywords.length > 0) {
|
||||
if (pkg.keywords.includes('picgo-gui-plugin')) {
|
||||
gui = true
|
||||
}
|
||||
}
|
||||
return {
|
||||
name,
|
||||
fullName: item.package.name,
|
||||
author: item.package.author?.name || item.package.publisher?.username,
|
||||
description: item.package.description,
|
||||
logo: `https://cdn.jsdelivr.net/npm/${item.package.name}/logo.png`,
|
||||
fullName: pkg.name,
|
||||
author: pkg.author?.name || pkg.publisher?.username || 'unknown',
|
||||
description: pkg.description,
|
||||
logo: `https://cdn.jsdelivr.net/npm/${pkg.name}/logo.png`,
|
||||
config: {},
|
||||
homepage: item.package.links ? item.package.links.homepage : '',
|
||||
hasInstall: pluginNameList.value.some(plugin => plugin === item.package.name),
|
||||
version: item.package.version,
|
||||
homepage: pkg.links ? pkg.links.homepage : '',
|
||||
hasInstall: pluginNameList.value.some(plugin => plugin === pkg.name),
|
||||
version: pkg.version,
|
||||
gui,
|
||||
ing: false // installing or uninstalling
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user