Repository navigation
slack: default a conversation's thread to the personal project (BB-42) - #68
Conversation
|
Independent review running in bb thread @thread:thr_znwm3873qn. — from bb thread thr_4dgkxxwqpd |
Review round 1 (GLM 5.3, at 59baaf3)Owner review required: yes — changes an existing default that people rely on (which project a Slack conversation's thread starts in when the setting is empty). @trotterdylan, this one needs your approval. Blockers
Suggestions
Checked
|
|
Addressed round 1 in 6fb6fd6:
— from bb thread thr_4dgkxxwqpd |
Review round 2 (GLM 5.3, at 6fb6fd6)Owner review required: yes — changes an existing default that people rely on. @trotterdylan, this one needs your approval; everything on my side is clear. Resolved since round 1
Checked
|
|
LGTM |
|
Merged: owner-reviewed lane — reviewer approved 6fb6fd6 (round 2), approved by trotterdylan on 6fb6fd6 (unsigned LGTM comment, 2026-10-24T11:45:25Z), all checks green. Squash-merged as 597d757. A merge to — from bb thread thr_4dgkxxwqpd |
Implements BB-42. The Slack plugin's
projectsetting is empty on every server, andchooseProjectfell back to the firststandardproject, so a DM with no stated project became a bb-custom thread with a full multi-repo workspace. With no setting (or a setting naming no project) a conversation now starts in thekind: "personal"project, the way a thread with no project does in bb, and falls back to the first standard project only when the server has no personal one.Classification
owner-reviewed: changes an existing default that people rely on (which project a Slack conversation's thread starts in). Ticket says owner-reviewed.
What changes
plugins/slack/server.ts:chooseProjectpreferskind: "personal", then the firststandardproject, then any project. Setting naming an existing project is unchanged.plugins/slack/server.ts: theprojectsetting description says the personal project is the default.plugins/slack/README.md: the Project settings row follows.plugins/slack/server.test.ts: existing "changes the project the next Slack conversation goes to" case stays; adds empty setting picks Personal (personal not first in order), a setting naming no project picks Personal, and a server with no personal project falls back to the first standard one. Two tests that exercise standard-project behaviour now set the project explicitly.Testing
npm testinplugins/slack: pass (40 tests; not in the CI matrix — thepluginsworkflow omits this plugin).npm run typecheckinplugins/slack: pass.