"dusk bot can't be deleted" points at Settings → General, where there is no such switch
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 72/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- typescript
- Domain
- accessibility, frontend
Research direction
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.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- TypeScript
- Stars
- 277
- Forks
- 27
- Avg merge
- 2h 47m
- Merged PRs (30d)
- 1
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from DuskBotAI/duskbot
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 63/100
Maintainers usually reply within 1 day
-
After uninstalling an own server, the desktop app stays on it and shows Cloudflare's Error 1033 pageOpen
Difficulty 3/5 1-2 days Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
install.sh --tailscale replaces whatever the host already serves on tailnet port 443Possibly taken @viniciusbregoli claimed this today. Open
Difficulty 4/5 3-5 days Newbie friendliness 25/100
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
Maintainers usually reply within 1 day
All issues in DuskBotAI/duskbot
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
vercel-labs/ui#865 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 63/100
outline/outline#14638 · 1 comment ·
Maintainers usually reply within 1 day
-
wayfinder:grilling
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
patricktree/cup#484 ·
-
bot:ai-assisted component:platform-js status:untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
midnightntwrk/platform-js#69 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
Maintainers usually reply within 1 day