Replies: 1 comment
|
我是插件库,我感觉你的想法很好,我想收录,可以提ISSUE。 具体提的方法如下。 我也帮你置顶帖子,省得被埋没。 被收录的插件审核前送STAR |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
需求
在 前端设置 → 插件 → 插件列表 中,所有插件目前以单一列表展示。组合规模变大后,很难快速定位某一类插件。建议为每个 cordis.yml 插件行增加静态
category元数据(core最小系统 /extension扩展系统 /uiUI界面 /other其他插件),并在列表上方提供单选分类筛选 chips(全部 / 最小系统 / 扩展系统 / UI界面 / 其他插件),与搜索叠加生效;每张卡片显示分类标签,选择仅作用于当前视图、不做持久化。演示
录制出处:
558afc408e(分支feat/plugin-inventory-categories,基于 master)DSH_HOME),录制后已停止--patch将目录选择器固定为 browse 后端(发布默认在 macOS 选 native 后端,无头环境无法驱动;这是官方浏览器可操作后端)实现要点(已按仓库规范完成,外部 PR 开放后可提交)
category是 cordis.yml 行的静态元数据,补丁层保留字段;缺失或未识别值归一化为otherverify-cordis-config静态门禁拒绝四个枚举之外的值,防止拼写错误悄悄降级English
Request: In Settings → Plugins → Plugin list, all plugins currently render as one flat list. As compositions grow it becomes hard to locate a class of plugin. Proposal: add a static
categoryfield (core/extension/ui/other) to each cordis.yml plugin row, render single-select filter chips (全部 / 最小系统 / 扩展系统 / UI界面 / 其他插件) above the list that compose with search, and show a category tag on every card; the selection is view-local and not persisted.Demo: the GIF above, recorded from commit
558afc408eon branchfeat/plugin-inventory-categories, served by a real web-profile server built from that commit (fresh scratchDSH_HOME, port 3090, stopped after recording), isolated Playwright browser (Chinese locale, 1280×800). One stated config override:--patchpinned the directory picker to the browser-operable browse backend (the shipped default picks the native backend on macOS, which headless automation cannot drive). No model round ran — the demo is pure settings UI.Implementation notes: the field is static loader metadata carried through patches;
verify-cordis-configrejects values outside the four-bucket set; filtering composes with search; docs, per-file 100% coverage tests, an Agent Note, and a settings-chrome snapshot are included. Ready to open as a PR whenever external PRs are accepted.All reactions