"dusk bot can't be deleted" points at Settings → General, where there is no such switch
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 72/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- typescript
调研方向
Start with server/default-bot.ts:21 and trace the refusal notice, then read DefaultBotSidebarRow in src/components/DefaultBotControls.tsx:36 and its rendering path through src/components/SettingsBots.tsx:104 and src/components/SettingsPanes.tsx:526. Check how the viewer's Dusk row is determined in src/lib/default-bot.ts:33. Update the notice or control placement so the guidance matches what viewers can access; done when the notice points to the actual setting and is omitted when that setting is absent.
由索引模型根据 Issue 内容生成。
描述
What happened
Trying to delete or archive the helper, dusk bot, shows this notice by the composer:
dusk bot can't be deleted or archived. To take it off the sidebar, choose Hide in its menu, or turn off "Show dusk bot in the sidebar" in Settings → General.
Settings → General has no such switch. The notice's own words (server/default-bot.ts:21) and the switch's home disagree:
GeneralPane(src/components/SettingsPanes.tsx:185) holds the account rows, appearance, typing, notifications and data sharing. Nothing about Dusk.- "Show dusk bot in the sidebar" is
DefaultBotSidebarRow(src/components/DefaultBotControls.tsx:36, itself commented "Settings → General"), rendered only byBotDefaultsRows(src/components/SettingsBots.tsx:104), whichModelsPaneshows atsrc/components/SettingsPanes.tsx:526. - So the switch is in Settings → Models, in the group labelled "New bots" (
settings.advanced.bots.defaults), not General. Under "New bots" it also reads as a policy for bots made later rather than for the Dusk row you have. - On a shared server the row is absent entirely:
myDefaultBotfinds the viewer's own Dusk (src/lib/default-bot.ts:33) and the row renders nothing when there is none, so the only sentence offering a way out points at a switch that does not exist for that viewer.
Steps to reproduce
- Right-click dusk bot's row, choose Hide (or try Delete).
- Read the notice: it says Settings → General.
- Open Settings → General: no "Show dusk bot in the sidebar".
- Find it in Settings → Models, under "New bots".
Version
0.2.17
Platform
macOS
Engine
No response
Logs or screenshots
server/default-bot.ts:21 defaultBotRefusal() says "in Settings → General"
src/components/SettingsPanes.tsx:185 GeneralPane: account, appearance, typing, notifications, data sharing
src/components/SettingsPanes.tsx:526 has("bots") && <BotDefaultsRows />
src/components/SettingsBots.tsx:104 BotDefaultsRows → DefaultBotSidebarRow (group: "New bots")
Fix direction: say where it is (Settings → Models → New bots), or move the switch beside the bot it
governs, and leave the sentence out when the row cannot render for the viewer.
- 主要语言
- TypeScript
- 星标
- 277
- 派生
- 27
- 平均合并
- 2 小时 47 分钟
- 30 天内合并 PR
- 1
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
DuskBotAI/duskbot 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 63/100
维护者通常 1 天内回复
-
After uninstalling an own server, the desktop app stays on it and shows Cloudflare's Error 1033 page未关闭
难度 3/5 1-2 天 新手友好度 65/100
维护者通常 1 天内回复
-
install.sh --tailscale replaces whatever the host already serves on tailnet port 443可能已有人在做 @viniciusbregoli 今天认领。 未关闭
难度 4/5 3-5 天 新手友好度 25/100
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 48/100
维护者通常 1 天内回复
查看 DuskBotAI/duskbot 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
inabagumi/shinju-date#7406 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
umami-software/umami#4787 ·
维护者通常 3 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复