MCPcopy
hub / github.com/xcanwin/KeepChatGPT / getMenuGroups

Function getMenuGroups

KeepChatGPT.user.js:654–714  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

652
653 // 设置信息架构:仅负责视觉分组,不改变原有业务配置 key。
654 const getMenuGroups = function () {
655 return [
656 {
657 title: tl("通用"),
658 items: [
659 {
660 id: `af`,
661 title: tl("调整间隔"),
662 desc: tl("建议间隔50秒"),
663 type: `action`,
664 },
665 { id: `cu`, title: tl("检查更新"), type: `action` },
666 { id: `ab`, title: tl("关于"), type: `action` },
667 {
668 id: `ap`,
669 title: tl("赞赏鼓励"),
670 type: `action`,
671 extraClass: `kmenu-item-ap`,
672 },
673 ],
674 },
675 {
676 title: tl("隐私与安全"),
677 items: [
678 {
679 id: `ds`,
680 title: tl("数据安全"),
681 desc: tl("使用正则编写规则"),
682 type: `action`,
683 },
684 { id: `cm`, title: tl("取消审计"), type: `toggle` },
685 { id: `it`, title: tl("拦截跟踪"), type: `toggle` },
686 ],
687 },
688 {
689 title: tl("界面与阅读"),
690 items: [
691 { id: `dm`, title: tl("暗色主题"), type: `toggle` },
692 {
693 id: `hue`,
694 title: tl("按钮色调"),
695 desc: tl("0为当前色调"),
696 type: `range`,
697 min: -180,
698 max: 180,
699 step: 1,
700 },
701 { id: `ko`, title: tl("明察秋毫"), type: `toggle` },
702 { id: `pp`, title: tl("净化页面"), type: `toggle` },
703 { id: `ls`, title: tl("展示大屏"), type: `toggle` },
704 { id: `sc`, title: tl("言无不尽"), type: `toggle` },
705 { id: `cc`, title: tl("克隆对话"), type: `toggle` },
706 { id: `ec`, title: tl("日新月异"), type: `toggle` },
707 ],
708 },
709 {
710 title: tl("开发与调试"),
711 items: [{ id: `sd`, title: tl("显示调试"), type: `toggle` }],

Callers 1

loadMenuFunction · 0.85

Calls 1

tlFunction · 0.85

Tested by

no test coverage detected