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 endpoint for getting posts from multiple communities #4

Open
4 tasks done
Ategon opened this issue Nov 27, 2023 · 0 comments
Open
4 tasks done

Add endpoint for getting posts from multiple communities #4

Ategon opened this issue Nov 27, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@Ategon
Copy link
Contributor

Ategon commented Nov 27, 2023

Requirements

  • Is this a feature request? For questions or discussions use https://programming.dev/c/pangora
  • Did you check to see if this issue already exists?
  • Is this only a feature request? Do not put multiple feature requests in one issue.
  • Is this a backend issue? Use the lemmy-ui repo for UI / frontend issues.

Is your proposal related to a problem?

Currently when doing multi community functionality it doesnt give posts in the correct order since they get queried separately and then I cant access how active sort sorted them for example

Describe the solution you'd like.

Add a new argument to GetPosts called community_ids that when populated it pulls from instead of community_id (or make community_id accept both). (same for community_name)

Describe alternatives you've considered.

Doing sorting in the frontend - not feasible with all of the different sorts, lack of data, and slowness

Additional context

Also let it enter ids or names that dont actually exist and just ignore those. Also allow wildcards to allow communities with a name name on any instance (and ignore ones that dont work)

@Ategon Ategon added the enhancement New feature or request label Nov 27, 2023
@Ategon Ategon self-assigned this Nov 27, 2023
@Ategon Ategon added this to the Pangora v1.0 milestone Nov 27, 2023
@Ategon Ategon moved this from Verify to Todo in Pangora Tasks Nov 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Todo
Development

No branches or pull requests

1 participant