"dusk bot can't be deleted" points at Settings → General, where there is no such switch
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 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分
- マージ済み PR(30日)
- 1
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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 日以内に返信