Skip to content

Conversation

@schneems
Copy link
Member

Building on #1795

I prefer to stick to only the default resources inside of controller actions when possible. A pattern I use in other places is to use show coupled with params[:id] to represent differentiated resources. In this process I removed the API handler (as I don't think it's needed here). I also took out the logic for showing repo subscriptions. I wanted to get a barebones but solid page up first and make sure the performance is okay before adding in extra functionality. I also moved from the `includes(:repo_labels)` to a `joins(:repo_labels)` as the first will force all repo labels into memory and it can have massive memory side effects.
@schneems schneems force-pushed the avcwisesa-topics_view branch from c68d30c to 7c551ef Compare October 13, 2023 21:38
@schneems schneems force-pushed the avcwisesa-topics_view branch from 691b101 to cc84a7e Compare October 13, 2023 22:09
@schneems schneems merged commit 8440517 into main Oct 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants