Skip to content

One-step /mumbl join + auto-create reads channel + Slack teamspace fixes#18

Merged
lladawn merged 1 commit into
mainfrom
dev
Jun 28, 2026
Merged

One-step /mumbl join + auto-create reads channel + Slack teamspace fixes#18
lladawn merged 1 commit into
mainfrom
dev

Conversation

@lladawn

@lladawn lladawn commented Jun 28, 2026

Copy link
Copy Markdown
Owner

Summary

  • One-step /mumbl join for newcomers — invite + pin in a single command for teammates with no mumbl account; pins key on Slack identity with a nullable mumbl_user_id, backfilled on connect (migration 0002). App Home lists pins by Slack identity so a just-joined user sees the room without connecting.
  • Auto-create Slack reads channel — reuse the workspace's stored elevated bot token to create the channel inline on room creation once a workspace has granted team-reads scopes; falls back to the one-time upgrade link otherwise.
  • Workspace-pinned OAuth — add the team param so multi-workspace users authorize the right workspace.
  • Timeout hardening — defer modal-submission room creation to after() with a loading view so added Slack API calls can't trip the ~3s view_submission timeout / report "failed but created".
  • Smaller fixes — "create reads channel" option in manage teamspaces; dropped the mumbl- prefix from private channel names; warmer team invite message.

Migration

Requires supabase/migrations/0002_nullable_pinned_space_user.sql applied to prod before/with deploy.

Testing

Data-layer smoke test (scripts/slack-join-smoke.mjs) passes against the linked DB. Slack API paths need a live workspace to exercise end-to-end.

🤖 Generated with Claude Code

- Reuse the workspace's stored elevated bot token to create the reads
  channel inline on room creation — no second OAuth once a workspace has
  enabled team reads. Falls back to the one-time upgrade link otherwise.
- Defer modal-submission room creation to after() with a loading view so
  the added Slack API calls can't trip the ~3s view_submission timeout.
- Pin the team-reads OAuth consent to the acting workspace via the `team`
  param, so multi-workspace users don't authorize the wrong one.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 28, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
mumbl-app Ready Ready Preview, Comment Jun 28, 2026 10:09am

@lladawn lladawn merged commit 724298f into main Jun 28, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant