Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Subreddit to Multireddit #1251

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

mrboisvert
Copy link

@mrboisvert mrboisvert commented Nov 25, 2024

@QuantumBadger awesome app, I've been using it for ages. Thought I would take a shot at adding a multireddit management feature that I've wanted for a while.

This MR adds a subreddit action 'Add to Multireddit'. Users can add a subreddit to a multireddit, or create a multireddit while adding a subreddit to it at the same time. This also does some refactoring to support making PUT requests, which I used to implement the 'Add to Multireddit' action.

The endpoint for adding a subreddit to a multireddit returns 201 on success and 400 if an illegal multireddit name is used. This MR also adds handling for these status codes.

Related to #15 . This doesn't quite make the multireddits fully editable though.

@mrboisvert mrboisvert force-pushed the add-subredd-to-multi branch 4 times, most recently from 58a3925 to 9a4d736 Compare November 28, 2024 04:01
@mrboisvert
Copy link
Author

There is also a commit in here refactoring CacheRequest to use a builder. I can drop it if it doesn't seem necessary.

@mrboisvert mrboisvert force-pushed the add-subredd-to-multi branch from 629e61a to feac34a Compare January 3, 2025 04:18
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