spacebarchat / spacebarchat/server
Promote a thread into a top level guild channel: /channels/:id/promote
Nobody has claimed this yet.
- 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
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.
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