mitodl / mitodl/open-discussions
Adding a contributor to a channel should also subscribe the user to the channel
Open
Nobody has claimed this yet.
bug
- Dominant language
- Python
- Stars
- 10
- Forks
- 2
- Avg merge
- 4d 23h
- Merged PRs (30d)
- 3
Description
Steps to Reproduce
- Go to
/c/edit/<channel_name>/members/contributors/and add a new contributor - Log in as that contributor. The channel will not show up in the nav bar, but you should be able to view the channel. This is because the user was not also added as a subscriber to that channel, just a contributor.
- Click 'Follow' on the channel page. Now the channel will show up in the nav bar.
Expected Behavior
User should be added as both a contributor and a subscriber.
Actual Behavior
User is added as a contributor only.
Contributor guide
No contributing guide indexed for this repository
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 reproducing the contributor addition at /c/edit/<channel_name>/members/contributors/, then trace the backend flow that adds channel contributors and compare it with the Follow action. Done means a newly added contributor is also subscribed and the channel appears in that user's navigation without manually following it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100