Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

fix: update Slack App setup instructions for User Token only#188

Merged
breaking-brake merged 1 commit intomainbreaking-brake/cc-wf-studio:mainfrom
fix/update-slack-app-setup-instructionsbreaking-brake/cc-wf-studio:fix/update-slack-app-setup-instructionsCopy head branch name to clipboard
Dec 1, 2025
Merged

fix: update Slack App setup instructions for User Token only#188
breaking-brake merged 1 commit intomainbreaking-brake/cc-wf-studio:mainfrom
fix/update-slack-app-setup-instructionsbreaking-brake/cc-wf-studio:fix/update-slack-app-setup-instructionsCopy head branch name to clipboard

Conversation

@breaking-brake
Copy link
Copy Markdown
Owner

@breaking-brake breaking-brake commented Dec 1, 2025

Problem

The Slack App setup instructions in the UI still reference both Bot Token and User Token, but the recent migration (#185, #187) changed the implementation to use User Token only.

Current Behavior

  1. ❌ Instructions show 6 steps including Bot Token setup
  2. ❌ Error messages reference Bot Token
  3. ❌ Security notice mentions Bot Token

Expected Behavior

  1. ✅ Instructions show 4 simplified steps for User Token only
  2. ✅ Error messages reference User Token
  3. ✅ Security notice mentions User Token

Solution

Update all UI text and translations to reflect User Token only usage.

Changes

UI Component (SlackManualTokenDialog.tsx):

  • Removed step 5 and step 6 display (reduced from 6 to 4 steps)

Translation Keys (translation-keys.ts):

  • Removed slack.manualToken.howToGet.step5
  • Removed slack.manualToken.howToGet.step6
  • Removed slack.manualToken.botToken.label

Translation Files (en, ja, ko, zh-CN, zh-TW):

  • Updated step2: All scopes now listed under User Token Scopes
  • Updated step3: Install App (was step4)
  • Updated step4: Copy User Token only (was step6)
  • Updated security.sharing: User Token instead of Bot Token
  • Updated error.tokenRequired: User Token instead of Bot Token
  • Updated error.invalidTokenFormat: xoxp- instead of xoxb-
  • Removed botToken.label

Updated Setup Instructions

1. Create Slack App (at api.slack.com/apps)
2. Add User Token Scopes (OAuth & Permissions): chat:write, files:read, files:write, channels:read, groups:read
3. Install App to your workspace (OAuth & Permissions)
4. Copy User Token (xoxp-...) from OAuth & Permissions page

Impact

  • UX improvement: Simplified setup instructions
  • No breaking changes
  • Consistent with actual implementation

Testing

  • Code quality checks passed (format, lint, check)
  • Build successful
  • Manual E2E testing

🤖 Generated with Claude Code

- Update setup steps from 6 to 4 (removed Bot Token steps)
- Consolidate all scopes under User Token Scopes
- Update error messages and security notice for User Token
- Remove unused translation keys (step5, step6, botToken.label)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@breaking-brake breaking-brake merged commit a8e4463 into main Dec 1, 2025
3 checks passed
@breaking-brake breaking-brake deleted the fix/update-slack-app-setup-instructions branch December 1, 2025 11:31
github-actions Bot added a commit that referenced this pull request Dec 1, 2025
## [2.17.3](v2.17.2...v2.17.3) (2025-12-01)

### Bug Fixes

* remove Author display and users:read scope from Slack sharing ([#187](#187)) ([17aaa83](17aaa83))
* remove Bot Token required check from manual connection ([#189](#189)) ([18c00d7](18c00d7))
* update Slack App setup instructions for User Token only ([#188](#188)) ([a8e4463](a8e4463))
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Dec 1, 2025

🎉 This PR is included in version 2.17.3 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.