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

Refactor post view #4042

Closed
wants to merge 163 commits into from
Closed

Conversation

dullbananas
Copy link
Collaborator

@dullbananas dullbananas commented Oct 13, 2023

Later this will be done for all views

Other changes in this PR:

  • Made more subqueries deduplicated because that can now be done very cleanly using filter_var_eq
  • Read less data in top community prefetch
  • When no local user is logged in, enabling options like saved_only now returns no posts instead of ignoring the option

* Update post_view.rs

* person_insert_form, local_user_form

* Update post_view.rs

* Update post_view.rs

* Update post_view.rs

* Update post_view.rs

* Update post_view.rs

* Update post_view.rs

* Update post_view.rs

* Update post_view.rs

* Update post_view.rs

* Update post_view.rs

* Update post_view.rs

* Update post_view.rs

* Update post_view.rs

* Update post_view.rs

* Update post_view.rs

* Update lib.rs

* Update utils.rs

* Update post_view.rs

* Update post_view.rs

* Update post_view.rs
@Nutomic
Copy link
Member

Nutomic commented Dec 11, 2023

I would really prefer if you could make smaller PRs that can get reviewed and merged within a week or so. With a huge PR like this which spans 2 months and 160 commits, its extremely hard to understand what was changed and review it properly.

@dullbananas
Copy link
Collaborator Author

This PR takes a long time because it involves a lot of experimentation with different designs, but I will move some of the chages (and maybe the changes to tests) to separate PRs

@Nutomic
Copy link
Member

Nutomic commented May 17, 2024

Outdated, feel free to reopen when you work on it again.

@Nutomic Nutomic closed this May 17, 2024
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.

None yet

2 participants