Plots2: invite involvement in updating wiki pages via notices

Created on 19 Jun 2014  Â·  12Comments  Â·  Source: publiclab/plots2

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!

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

The problem

Give a bootstrap alert on top of wiki pages that haven't been edited for the past 6 months prompting users to contribute to it.

Solution

Go to the wiki/show template and add an alert with .alert-info bootstrap class with some text like "This wiki page hasn't been edited for quite long. Consider updating it if you are acquainted with it."

This should be shown for wiki pages that haven't been edited for past 6 months. So the code should be like

<% if @node.latest.created_at < Time.now - 6.months %>
  <div class="alert alert-info" role="alert">...</div>
<% end %>

Steps to Fix

  • [ ] claim this issue with a comment here, below, and ask any clarifying questions you need
  • [ ] set up a repository locally following the README instructions, and make sure that all tests pass
  • [ ] try to fix the issue following the steps above, but even before you're done, you can:
  • [ ] commit your changes and start a pull request (see contributing to Public Lab software) but mark it as "in progress" if you have questions or if you haven't finished
  • [ ] alert someone via the developers list (see below) to have your pull request merged. This may take a few extra steps depending on when you do it, but we'll help you out!

Please email the developers list (see https://publiclab.org/wiki/developers) if you have questions, and take a look at our first-timers landing page for more information!

enhancement first-timers-only help wanted summer-of-code

Most helpful comment

@jywarren Does this look ok now? I was thinking of adding this as a Google Code-in task.

All 12 comments

@jywarren Some idea on this?

We could display a notice if a wiki page hasn't been edited in more than 6
months, and say "wiki pages need help from contributors like you" or
something...

@jywarren Does this look ok now? I was thinking of adding this as a Google Code-in task.

I think this would make a good GCI task, yes!

I would like to take this up if no one is working on it.

@fankee This is actually reserved as a Google Code-in task. Can you take up other issues that aren't labelled with gcin label? You can look at fto-candidate issues. They are close to becoming first-timer issues.

@jywarren I would like to take this issue , because I think no one work on it

@jywarren can i work on this issue.?

Yes I think you're right, and GCI is now over for a few months. Please go ahead, and thanks!

OK @jwarren , I am working on it

@MayankKashyap , are you still working on this one. As I'm hoping to contribute for Wiki Discussion idea in GSoC, I'm just fixing issues related to it.

Hi, yes apologies for my slow reply. What exactly do you want to check?

On Mar 24, 2017 9:45 PM, "Ashan Priyadarshana" notifications@github.com
wrote:

@MayankKashyap https://github.com/MayankKashyap , are you still working
on this one. As I'm hoping to contribute for Wiki Discussion idea in GSoC,
I'm just fixing issues related to it.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/publiclab/plots2/issues/106#issuecomment-289179662,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABfJ1A_YoElRtahX86bOvVPSa-PBWUXks5rpHG7gaJpZM4CF0Vi
.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

first-timers[bot] picture first-timers[bot]  Â·  3Comments

jywarren picture jywarren  Â·  3Comments

ebarry picture ebarry  Â·  3Comments

milaaraujo picture milaaraujo  Â·  3Comments

first-timers[bot] picture first-timers[bot]  Â·  3Comments