plots2 icon indicating copy to clipboard operation
plots2 copied to clipboard

Improve pagination in the blog page

Open avsingh999 opened this issue 8 years ago β€’ 17 comments

We are preparing to participate in Google Code-in, and have reserved this issue for participants in GCI - but we'd love to have your help with another one! Please check out https://code.publiclab.org to see more.

Hi, this is a first-timers-only issue. This means we've worked to make it more legible to folks who either haven't contributed to our codebase before, or even folks who haven't contributed to open source before.

If that's you, we're interested in helping you take the first step and can answer questions and help you out as you do. Note that we're especially interested in contributions from people from groups underrepresented in free and open source software!

We know that the process of creating a pull request is the biggest barrier for new contributors. This issue is for you πŸ’

If you have contributed before, consider leaving this one for someone new, and looking through our general help wanted issues. Thanks!

πŸ€” What you will need to know.

Nothing. This issue is meant to welcome you to Open Source :) We are happy to walk you through the process.

Problem

https://publiclab.org/blog in this page pagination is not center to the body

pagin1

πŸ“‹Solution

  • [ ] πŸ™‹ Claim this issue: Comment below. If someone else has claimed it, ask if they've opened a pull request already and if they're stuck -- maybe you can help them solve a problem or move it along!

  • [ ] πŸ“ Update add <div class="text-center"> </div> Code links…. https://github.com/publiclab/plots2/blob/a128622eb132eef4733c0067e2c6b2c1669d3042/app/views/tag/blog.html.erb#L77

for help you can see this file https://github.com/publiclab/plots2/blob/0c0408ea8741e55af7cc96238a915bc343e70f31/app/views/questions/_questions.html.erb#L39

  • [ ] πŸ’Ύ Commit your changes

  • [ ] πŸ”€ Start a Pull Request. There are two ways how you can start a pull request:

  1. If you are familiar with the terminal or would like to learn it, here is a great tutorial on how to send a pull request using the terminal.

  2. You can also edit files directly in your browser and open a pull request from there.

  • [ ] 🏁 Done Ask in comments for a review :)

πŸ€”β“ Questions?

Leave a comment below!

Is someone else already working on this?

We encourage you to link to this issue by mentioning the issue # in your pull request, so we can see if someone's already started on it. If someone seem stuck, offer them some help! Otherwise, take a look at some other issues you can help with. Thanks!

(This issue was created by First-Timers-Bot.)

avsingh999 avatar Oct 22 '18 20:10 avsingh999

This task is published on GCI dashboard. Thanks all.

SidharthBansal avatar Oct 22 '18 20:10 SidharthBansal

Go ahead

On Wed, Oct 24, 2018, 6:35 AM gilletted [email protected] wrote:

I'd like to claim this issue πŸ™‹

β€” You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/publiclab/plots2/issues/3736#issuecomment-432475221, or mute the thread https://github.com/notifications/unsubscribe-auth/AUACQ8szh_0Qzs1mImk27NuLsIzNBJArks5un7zPgaJpZM4X0I6V .

SidharthBansal avatar Oct 24 '18 06:10 SidharthBansal

I would like to claim this task

ghost avatar Oct 24 '18 14:10 ghost

I am a GCI canditate

ghost avatar Oct 24 '18 14:10 ghost

Yes @codesterlife ! Go head πŸ˜„ !

sagarpreet-chadha avatar Oct 24 '18 14:10 sagarpreet-chadha

how can i get the webpage that needs to edited??

ghost avatar Oct 24 '18 14:10 ghost

@codesterlife that webpage is https://publiclab.org/blog

avsingh999 avatar Oct 24 '18 14:10 avsingh999

@codesterlife This might help - Page where change is to be made

vanguard07 avatar Oct 24 '18 19:10 vanguard07

Should i make a pull request to start editing the file?? Please help. I dont know how to do things in github.

ghost avatar Oct 25 '18 12:10 ghost

@codesterlife yes you have to make a pull request after editing the file

There are two ways how you can start a pull request:

  1. If you are familiar with the terminal or would like to learn it, here is a great tutorial or http://rogerdudler.github.io/git-guide/ on how to send a pull request using the terminal.

  2. You can also edit files directly in your browser and open a pull request from there.

avsingh999 avatar Oct 25 '18 13:10 avsingh999

@codesterlife You have to create a fork of this repository, make changes in locally, push it, and then send a pull request, i.e.

  • Navigate to the repo on GitHub.
  • Click on the 'Fork' button in the top right corner. GitHub will take some time to fork the repo.
  • Navigate to the forked repo. Should be like https://github.com/<your_github_username>/plots2
  • Click on the green color 'Clone or download' button
  • Copy the command given in the text box. Should be like https://github.com/<your_github_username>/plot2.git
  • Clone it on your local machine using the command git clone https://github.com/<your_github_username>/plots2.git
  • Navigate to the cloned directory cd plot2
  • Create a new branch using git checkout -b <your_branch_name>
  • Change the required file locally.
  • Commit your changes using git add . and git commit -m "<your_message>"
  • Push your local branch to your GitHub repo git push --set-upstream origin <your_branch_name>
  • Go to your GitHub repo on a browser, you will see a notification asking to create a PR.
  • Click on the Create Pull Request button, Give a meaningful title to the PR. And you're done. πŸ˜„

vanguard07 avatar Oct 25 '18 14:10 vanguard07

@codesterlife have you done it? i would like to do it.

AyeshaSherAli avatar Oct 27 '18 19:10 AyeshaSherAli

I've complete it. On Oct 28, 2018 1:24 AM, "AyeshaSherAli" [email protected] wrote:

@codesterlife https://github.com/codesterlife have you done it? i would like to do it.

β€” You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/publiclab/plots2/issues/3736#issuecomment-433650453, or mute the thread https://github.com/notifications/unsubscribe-auth/AqOMZT68z1_sxR52CXYwCiL-b-KnRbv-ks5upLoHgaJpZM4X0I6V .

ghost avatar Oct 28 '18 02:10 ghost

So, this one is closed, @codesterlife ?

leanyanko avatar Oct 29 '18 17:10 leanyanko

Has this issue been closed? For I would like to work on it too. @codesterlife ?

shriyakaneriya avatar Nov 01 '18 05:11 shriyakaneriya

I would like to work on this issue

arungoel123456 avatar Dec 08 '18 15:12 arungoel123456

The issue is resolved

SidharthBansal avatar Dec 08 '18 15:12 SidharthBansal