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 pagy for likes #8442

Merged
merged 1 commit into from
Oct 2, 2020
Merged

add pagy for likes #8442

merged 1 commit into from
Oct 2, 2020

Conversation

Tlazypanda
Copy link
Collaborator

Follow up #8426

Added pagy for /likes and liked user likes (/profile/user/likes) routes.

  • PR is descriptively titled 📑 and links the original issue above 🔗
  • tests pass -- look for a green checkbox ✔️ a few minutes after opening your PR -- or run tests locally with rake test
  • code is in uniquely-named feature branch and has no merge conflicts 📁
  • screenshots/GIFs are attached 📎 in case of UI updation
  • ask @publiclab/reviewers for help, in a comment below

Screenshots

Screenshot from 2020-09-30 14-48-31
Screenshot from 2020-09-30 14-37-39

We're happy to help you get this ready -- don't be afraid to ask for help, and don't be discouraged if your tests fail at first!

If tests do fail, click on the red X to learn why by reading the logs.

Please be sure you've reviewed our contribution guidelines at https://publiclab.org/contributing-to-public-lab-software

Thanks!

@Tlazypanda Tlazypanda requested a review from a team as a code owner September 30, 2020 09:22
@gitpod-io
Copy link

gitpod-io bot commented Sep 30, 2020

@codecov
Copy link

codecov bot commented Sep 30, 2020

Codecov Report

Merging #8442 into main will increase coverage by 0.11%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #8442      +/-   ##
==========================================
+ Coverage   81.87%   81.99%   +0.11%     
==========================================
  Files         101      101              
  Lines        5899     5899              
==========================================
+ Hits         4830     4837       +7     
+ Misses       1069     1062       -7     
Impacted Files Coverage Δ
app/controllers/like_controller.rb 72.22% <100.00%> (ø)
app/controllers/users_controller.rb 81.11% <100.00%> (ø)
app/api/srch/search.rb 70.06% <0.00%> (+3.82%) ⬆️
app/services/execute_search.rb 94.44% <0.00%> (+5.55%) ⬆️

@jywarren
Copy link
Member

jywarren commented Oct 2, 2020

Looks awesome! Thanks!!!!!!

@jywarren jywarren merged commit f2b23bb into publiclab:main Oct 2, 2020
shubhangikori pushed a commit to shubhangikori/plots2 that referenced this pull request Oct 12, 2020
alvesitalo pushed a commit to alvesitalo/plots2 that referenced this pull request Oct 14, 2020
piyushswain pushed a commit to piyushswain/plots2 that referenced this pull request Oct 22, 2020
manchere pushed a commit to manchere/plots2 that referenced this pull request Feb 13, 2021
lagunasmel pushed a commit to lagunasmel/plots2 that referenced this pull request Mar 2, 2021
reginaalyssa pushed a commit to reginaalyssa/plots2 that referenced this pull request Oct 16, 2021
ampwang pushed a commit to ampwang/plots2 that referenced this pull request Oct 26, 2021
billymoroney1 pushed a commit to billymoroney1/plots2 that referenced this pull request Dec 28, 2021
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.

2 participants