Skip to content

重写菜单功能 #2227

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
4 tasks done
nonameShijian opened this issue Feb 3, 2025 · 7 comments · May be fixed by #2455
Open
4 tasks done

重写菜单功能 #2227

nonameShijian opened this issue Feb 3, 2025 · 7 comments · May be fixed by #2455

Comments

@nonameShijian
Copy link
Collaborator

nonameShijian commented Feb 3, 2025

功能描述

需要重写菜单以解决老旧接口问题和高版本内核错位问题

功能信息

将实现的功能

1.菜单配置项使用vue的数据绑定来写以实现自动更新UI
2.使用vue创建菜单内部的组件,允许扩展仅修改部分组件样式(如按钮,开关,输入框等)
3.扩展或部分本体的代码加载失败后,不应该连菜单都唤不出来
4.完善跳转功能,允许从菜单内的任意一项跳转到菜单内的其他项
5.删除导入素材包功能,改为使用Service Worker实现FileSystem和文件预览等功能,使浏览器不依靠本地也可以读写文件
6.导入背景图片等功能,也改为使用上一条实现,且给出对应接口
7.限制扩展的权限,实现新扩展结构,并对老扩展结构进行兼容。扩展权限需要用户手动确定给予权限
8.补充老旧的游戏名词之类的栏目
9.有需要额外补充的,请在issue下方说明,合适的可以加

或许会实现的功能

1.使用服务器实现扩展作者的注册,收录其的扩展,与扩展的审核

检查清单

  • 此问题没有在其他issue(议题)中出现
  • 我已将无名杀本体更新为最新版本
  • 我已将所有扩展更新为最新版本
  • 我填写了上面所有必要的信息
@rintim
Copy link
Member

rintim commented Feb 3, 2025

支持诗笺!无名杀就该解决这坨十年屎山!

(暂时没啥意见,先占位(小声))

@dragonJadeRan
Copy link
Collaborator

好好好🥰😍
老东西要飞起来啦~~~

@rintim rintim modified the milestone: 1.10.17 Feb 9, 2025
@rintim rintim moved this to Backlog in Noname Entirety Feb 10, 2025
@rintim rintim moved this from Preparing to Doing in Noname Entirety Feb 11, 2025
@rintim rintim removed this from Noname Entirety Feb 11, 2025
@rintim rintim moved this to Doing in Noname Entirety Feb 11, 2025
@hupan666
Copy link

会加入以下功能吗?

  • 允许扩展在自身的 config 中使用update: function (config, map) {}来控制某一菜单项的 .show() 或 .hide() 并刷新菜单ui
  • 我目前没能实现类似菜单中「选项」-「外观」-「随机背景」那样,让某些选项的显示由另一选项控制的功能,希望大佬能优化一下。

@nonameShijian
Copy link
Collaborator Author

会加入以下功能吗?

  • 允许扩展在自身的 config 中使用update: function (config, map) {}来控制某一菜单项的 .show() 或 .hide() 并刷新菜单ui
  • 我目前没能实现类似菜单中「选项」-「外观」-「随机背景」那样,让某些选项的显示由另一选项控制的功能,希望大佬能优化一下。

应该会的

@1TheLeaderOne
Copy link

大佬是否有计划加入一个对菜单配置项的搜索功能?
目前无名杀不同模式、不同扩展的菜单配置项太多了,加入搜索功能可以便于查找

@rintim rintim added this to the v1.10.18 milestone Feb 20, 2025
@nonameShijian
Copy link
Collaborator Author

菜单的扩展界面可以新增势力功能,以及可以为势力选取颜色

@nonameShijian
Copy link
Collaborator Author

扩展上传武将图片时,可以裁剪图片大小

@rintim rintim linked a pull request May 2, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Doing
Development

Successfully merging a pull request may close this issue.

5 participants