mitodl / mitodl/open-discussions

Adding a contributor to a channel should also subscribe the user to the channel

Open
#1,908 1 comment 0 reactions 0 assignees View on GitHub

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

  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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.