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

285 - Refactor PublicationsController#index #286

Merged
merged 2 commits into from
Mar 12, 2024

Conversation

Janell-Huyck
Copy link
Contributor

@Janell-Huyck Janell-Huyck commented Nov 15, 2023

Fixes #285
Ref #87 - this should be the last refactor currently needed for PublicationsController.

Index method is now more readable. Same output given, so tests remain unchanged.

@Janell-Huyck Janell-Huyck changed the title 285 - Refactor PublicationsControlle#index 285 - Refactor PublicationsController#index Nov 15, 2023
@Janell-Huyck Janell-Huyck force-pushed the refactor-285-publications-controller-index-refactor branch from b52ac63 to 066de30 Compare January 24, 2024 22:19
@Janell-Huyck Janell-Huyck force-pushed the refactor-285-publications-controller-index-refactor branch from 066de30 to db63adc Compare February 13, 2024 21:50
@Janell-Huyck Janell-Huyck force-pushed the refactor-285-publications-controller-index-refactor branch 2 times, most recently from 8e21876 to 40cf1d7 Compare February 27, 2024 17:52
@Janell-Huyck Janell-Huyck force-pushed the refactor-285-publications-controller-index-refactor branch from 40cf1d7 to e065cf2 Compare March 6, 2024 17:18
@haitzlm haitzlm self-assigned this Mar 7, 2024
Copy link
Contributor

@haitzlm haitzlm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This code looks logical. I even had ChatGPT read it to me so i understood ... all looks well. Good on adding pagination as well, when appropriate.

@haitzlm haitzlm merged commit 77b1226 into qa Mar 12, 2024
2 checks passed
@Janell-Huyck Janell-Huyck deleted the refactor-285-publications-controller-index-refactor branch April 16, 2024 20:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refactor PublicationsController#index for readability and maintainability
2 participants