Giter VIP home page Giter VIP logo

liteloaderqqnt-nekoimagegallerysearch's Issues

Bug:按键区域有误

image
经常出现切换界面时候点不到按钮,只能按到红色部分,主要发生在窗体大小发生改变后。

支持图片上传

看上游支持上传图片了,能支持一下吗?
比如右键表情上传

BUG:Linux下无法正常使用

image

似乎每次搜索或者投🎲都会多一个界面不销毁
image

图片也无法显示(只有图片的名字)
并且右键搜索有概率不生效{似乎右键表情第二次才可以显示,第一次按不触发}

       _,met$$$$$gg.          shapaper@Debian 
    ,g$$$$$$$$$$$$$$$P.       --------------- 
  ,g$$P"     """Y$$.".        OS: Debian GNU/Linux 12 (bookworm) x86_64 
 ,$$P'              `$$$.     Host: 81FW Lenovo Legion Y7000 
',$$P       ,ggs.     `$$b:   Kernel: 6.1.0-21-amd64 
`d$$'     ,$P"'   .    $$$    Uptime: 14 hours, 40 mins 
 $$P      d$'     ,    $$P    Packages: 2723 (dpkg) 
 $$:      $$.   -    ,d$$'    Shell: bash 5.2.15 
 $$;      Y$b._   _,d$P'      Resolution: 1920x1080 
 Y$$.    `.`"Y$$$$P"'         DE: Plasma 5.27.5 
 `$$b      "-.__              WM: kwin 
  `Y$$                        Theme: [Plasma], Breeze [GTK2/3] 
   `Y$$.                      Icons: Fluent-orange-light [Plasma], Fluent-orange-light [GTK2/3] 
     `$$b.                    Terminal: konsole 
       `Y$$b.                 CPU: Intel i7-8750H (12) @ 4.100GHz 
          `"Y$b._             GPU: NVIDIA GeForce GTX 1050 Ti Mobile 
              `"""            GPU: Intel CoffeeLake-H GT2 [UHD Graphics 630] 
                              Memory: 13957MiB / 23904MiB 

image
image

Bug: Forward messages containing mixed content of images and text cannot be uploaded normally

d73f725d58ad5dd6fa2079b44db424d9

Log Output:

[Plugin-NekoImage DEBUG] 7/11/2024, 2:56:02 AM Got Forward Message {"peerUid":"***","chatType":2,"rootMsgId":"***","parentMsgId":"***","resId":"***"}
[Plugin-NekoImage DEBUG] 7/11/2024, 2:56:05 AM Error when downloading ForwardMsg images: Error: Error invoking remote method 'LiteLoader.imageSearch.getForwardMsgContent': TypeError: Cannot read properties of null (reading 'sourcePath')

[BUG]:与transitio冲突

image
我发现只要安装了这个插件,就会导致transitio的列表为空白。
因为个人测试transitio没和其他插件冲突,所以怀疑可能是该插件的BUG。
之前是可以正常使用的,似乎是最新几个版本的问题,我去测试下

没有数据

image
image
虽然说运行起来了,接口也能调通,但是并没有内容,是需要再下载个什么model吗还是?

构建报错

运行会返回未找到package.json,以下是运行日志,LiteLoaderQQNT和node安装位置都在D,不知道是不是安装位置的问题
C:\Users\23606>yarn install && yarn plugin-build
yarn install v1.22.22
[1/4] Resolving packages...
success Already up-to-date.
Done in 0.07s.
yarn run v1.22.22
error Couldn't find a package.json file in "C:\Users\23606"
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

无法使用

报错:
AxiosError: Network Error AxiosError: Network Error at XMLHttpRequest.handleError2 (local:///C:\Program Files\Tencent\QQNT\resources\app\LiteLoaderQQNT-main\plugins\LiteLoaderQQNT-NekoImage\renderer\renderer.mjs:33051:14) at Axios.request (local:///C:\Program Files\Tencent\QQNT\resources\app\LiteLoaderQQNT-main\plugins\LiteLoaderQQNT-NekoImage\renderer\renderer.mjs:33369:41) at async ImageSearchQuery.querySearch (local:///C:\Program Files\Tencent\QQNT\resources\app\LiteLoaderQQNT-main\plugins\LiteLoaderQQNT-NekoImage\renderer\renderer.mjs:33751:22) at async performQuerySearchService (local:///C:\Program Files\Tencent\QQNT\resources\app\LiteLoaderQQNT-main\plugins\LiteLoaderQQNT-NekoImage\renderer\renderer.mjs:31665:22) at async postAppImageSearchResCallBack (local:///C:\Program Files\Tencent\QQNT\resources\app\LiteLoaderQQNT-main\plugins\LiteLoaderQQNT-NekoImage\renderer\renderer.mjs:34047:9) at async local:///C:\Program Files\Tencent\QQNT\resources\app\LiteLoaderQQNT-main\plugins\LiteLoaderQQNT-NekoImage\renderer\renderer.mjs:31491:7
image
image

使用的教学的构建方式

依赖版本和构建过程的安装问题

当尝试在我的环境中安装 LiteLoaderQQNT-NekoImageGallerySearch 时,我遇到了一些依赖版本和构建过程中的问题。具体来说,有一些包的版本问题以及构建过程中的等待状态。

步骤重现
克隆仓库到本地。
运行 npm install -g yarn,yarn plugin-build和yarn install。
当运行yarn install时,遇到无法找到某些依赖的指定版本,例如 @rollup/rollup-android-arm-eabi 要求的 4.15.0 版本不存在,需要从列表中选择其他版本。
选择 4.14.3 版本后,出现了对 vite-plugin-cp 和 vite-plugin-singlefile 的警告,表明存在未满足的同伴依赖。
在安装过程中,多个 electron 包一直处于等待状态。

环境信息
操作系统:Windows 11
Node.js版本:v20.12.2
Yarn版本:1.22.22

尝试过的解决办法
更新 Node.js 和 Yarn 到最新版本。
尝试清除 Yarn 缓存。
检查网络连接。

希望得到你的帮助,感谢!

[Feature request]:关于用户界面的建议

以下是我的一些建议,假如您愿意实现可以尝试一下()


QQNT的主要受众可能还是以国内用户为主,是否能支持汉化


是否能够支持无感下拉,当进度条不足200xp时候自动发送请求,拉取的尽头添加“终末”提示

image


为表情添加用户权重,当该表情为用户选择表情时,给这个图片记录+1的权重数字,当二次搜索时,搜索顺序为“similar+权重”的降序排列,直接保存在Ntqq liteloader data目录下就完全够了,上游应该没有提供类似功能。
附上条:右键图片允许手动修改权重值or固定权重值、允许用户设置是否在搜索界面每张图片左下角以灰色小字显示similar和权重,允许用户修改每次权重+n,允许用户修改权重的占比值‘similar+权重*k’


允许右键删除图片,用户界面可以更方便的看出重复图片

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.