p-v-o-s / infragram-js

A web application for producing NDVI and other composites from DIY multispectral cameras
http://infragram.org
GNU General Public License v2.0
25 stars 11 forks source link

Add a "Ask a question" button to the front of infragram.org #82

Closed ebarry closed 7 years ago

ebarry commented 7 years ago

Hi, this is a Public Lab 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.

Just a heads-up, this repo does not have a smooth install process or documentation the way our others Public Lab repos do. But, because the requested change is so small, and mostly HTML, it should be OK; getting the app running is not a requirement.

If this works for 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

infragram.org, one of the main analytical platforms for infrared imagery, is disconnected from the rest of the Public Lab community, and as a result, there isn't any good place for people trying to use the site to ask their questions.

The Solution

Thanks to 2016's Google Summer of Code, publiclab.org now has a a "stack overflow" like community question and answer area: https://publiclab.org/questions

screen shot 2016-12-12 at 10 59 44 am

Let's add a button to the front of http://infragram.org/ labelled Ask a question

For reference, although it's not the same to put a button in a wiki page as in the code of infragram.org, see the button on https://publiclab.org/wiki/spectrometry

screen shot 2016-12-12 at 10 59 13 am

So, we'd need a line in our templating language (note it's similar to HTML but not identical) like:

        a.btn.btn-default.btn-large(style="float:left;margin-left:5px;" href="https://publiclab.org/questions/new?tags=infragram,infrared,multispectral-imaging,ndvi,question:infragram,question:infrared,question:multispectral-imaging,question:ndvi&template=question") Ask a question

Let's also change the text on the additional button labelled Get help & learn more that was added in https://github.com/p-v-o-s/infragram-js/pull/81/files to be labelled simply Learn more

Steps to Fix

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

dristibutola commented 7 years ago

Tried to work out the issue.Some queries -- would these two changes be enough, or do i need to look into other aspects. a.btn.btn-default.btn-large(style="float:left;margin-left:5px;" href="https://publiclab.org/questions/new?tags=infragram,infrared,multispectral-imaging,ndvi,question:infragram,question:infrared,question:multispectral-imaging,question:ndvi&template=question") Ask a question

a.btn.btn-default.btn-large(style="float:left;" href="https://publiclab.org/wiki/multispectral-imaging") Learn more Thanks.

jywarren commented 7 years ago

Hi, that looks good to me! Can you open a pull request? Thank you!

On Dec 15, 2016 8:29 AM, "dristybutola" notifications@github.com wrote:

Tried to work out the issue.Some queries -- would these two changes be enough, or do i need to look into other aspects. a.btn.btn-default.btn-large(style="float:left;margin-left:5px;" href=" https://publiclab.org/questions/new?tags=infragram,infrared,multispectral- imaging,ndvi,question:infragram,question:infrared,question:multispectral- imaging,question:ndvi&template=question") Ask a question

a.btn.btn-default.btn-large(style="float:left;" href=" https://publiclab.org/wiki/multispectral-imaging") Learn more Thanks.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/p-v-o-s/infragram-js/issues/82#issuecomment-267327110, or mute the thread https://github.com/notifications/unsubscribe-auth/AABfJ6jBafeVILDNJsA9B-D6Pu46Vd8hks5rIUB1gaJpZM4LKtTY .

dristibutola commented 7 years ago

yes sure, but i am having problem in how to go further with the changes, as i am new to working with a code base, so i might take sometime to figure out. update-----opened a pull request