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

Update blog post limit #3818

Merged
merged 2 commits into from
Mar 22, 2019
Merged

Conversation

shubhangi-chauhan
Copy link
Contributor

@shubhangi-chauhan shubhangi-chauhan commented Oct 28, 2018

Increased the limit on blog posts, set it to number of notes with tag 'blog'.

Fixes #3676 (<=== Add issue number here)

Make sure these boxes are checked before your pull request (PR) is ready to be reviewed and merged. Thanks!

  • 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
  • PR is descriptively titled
  • ask @publiclab/reviewers for help, in a comment below

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!

@plotsbot
Copy link
Collaborator

plotsbot commented Oct 28, 2018

1 Message
📖 @shubhangi-chauhan Thank you for your pull request! I’m here to help with some tips and recommendations. Please take a look at the list provided and help us review and accept your contribution! And don’t be discouraged if you see errors – we’re here to help.

Generated by 🚫 Danger

@shubhangi-chauhan
Copy link
Contributor Author

@publiclab/reviewers @jywarren
Please review.

@@ -246,7 +246,8 @@ def widget
end

def blog
nids = Tag.find_nodes_by_type(params[:id], 'note', 20).collect(&:nid)
blog_count = Tag.tagged_node_count('blog')
Copy link
Member

Choose a reason for hiding this comment

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

So sorry I missed this! I think we can actually skip this line and specify a length of nil -- that'll remove the limit!

@SidharthBansal
Copy link
Member

@shubhangi-chauhan do you need any help on this issue?

@SidharthBansal
Copy link
Member

As the person is inactive for more than a month, I am closing the PR. In case you want to push changes please feel free to open a new PR OR reopen this PR and add additional changes to it.
Thanks for contributing on Public Lab

@grvsachdeva grvsachdeva self-assigned this Feb 13, 2019
@grvsachdeva grvsachdeva reopened this Feb 13, 2019
@grvsachdeva
Copy link
Member

I will complete this PR @SidharthBansal . Thanks!

@SidharthBansal
Copy link
Member

SidharthBansal commented Feb 13, 2019 via email

shubhangi-chauhan and others added 2 commits March 22, 2019 21:33
Increased the limit on blog plots, set it to number of notes with tag 'blog'.
@grvsachdeva
Copy link
Member

@jywarren also tested on unstable.publiclab.org too

Peek 2019-03-22 22-15

@jywarren
Copy link
Member

Super, thank you!!!!

@jywarren jywarren merged commit 66ec521 into publiclab:master Mar 22, 2019
@welcome
Copy link

welcome bot commented Mar 22, 2019

Congrats on merging your first pull request! 🙌🎉⚡️
Your code will likely be published to PublicLab.org in the next few days, but first it will be published to https://stable.publiclab.org/ (it will take some minutes for this to load, and until then you may see logs from the build process). Please test out your work on this testing server and report back with a comment that all has gone well!
Now that you've completed this, you can help someone else take their first step!
Reach out to someone else working on theirs on Public Lab's code welcome page. Thanks!

Help others take their first step

Now that you've merged your first pull request, you're the perfect person to help someone else out with this challenging first step. 🙌

https://code.publiclab.org

Try looking at this list of `first-timers-only` issues, and see if someone else is waiting for feedback, or even stuck! 😕

People often get stuck at the same steps, so you might be able to help someone get unstuck, or help lead them to some documentation that'd help. Reach out and be encouraging and friendly! 😄 🎉

Read about how to help support another newcomer here, or find other ways to offer mutual support here.

jywarren pushed a commit that referenced this pull request Mar 29, 2019
* Update blog post limit

Increased the limit on blog plots, set it to number of notes with tag 'blog'.

* pasisng nil
icarito pushed a commit to icarito/plots2 that referenced this pull request Apr 9, 2019
* Update blog post limit

Increased the limit on blog plots, set it to number of notes with tag 'blog'.

* pasisng nil
SrinandanPai pushed a commit to SrinandanPai/plots2 that referenced this pull request May 5, 2019
* Update blog post limit

Increased the limit on blog plots, set it to number of notes with tag 'blog'.

* pasisng nil
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.

None yet

5 participants