spacebarchat / spacebarchat/server

Promote a thread into a top level guild channel: /channels/:id/promote

Open
#980 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Enhancement Good first issue Module: API Route
Dominant language
TypeScript
Stars
2.2k
Forks
323
Avg merge
14h 48m
Merged PRs (30d)
4

Description

Is your feature request related to a problem? Please describe.
Certain threads eventually become active topics, deserving a top level channel in its own right.

Describe the solution you'd like
Permissions: per-guild MANAGE_CHANNELS on all affected channels
Preconditions: Public threads and news threads can be promoted. Public thread gets promoted to guild-text, news thread gets promoted to announcement.
Postconditions: On success, returns 200 and the new channel object. The promoted channel is positioned just after its former parent. Membership data is retained. Thread starter messages are retained.

Describe alternatives you've considered
none

Additional context
Add any other context or screenshots about the feature request here.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the /channels/:id/promote endpoint and the channel and thread models it would affect. Verify the permission and thread-type preconditions, then define success as returning the new channel while preserving position, membership data, and starter messages.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.