Plots2: Message Consistency on the Subscriptions Page

Created on 17 Jan 2019  路  6Comments  路  Source: publiclab/plots2

First Time?

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.

The problem

On the subscriptions page, we need to pluralize the word 'email' in the description around the 'Email Settings' button. While we're at, we can go ahead and standardize the styling to match that of the description above it.

screen shot 2019-01-17 at 1 24 38 am

Solution

Where to find the relevant lines of code:

in app/views/home/subscriptions.html.erb, the code the description and link is all written on one line:
https://github.com/publiclab/plots2/blob/9f7cfc47ded41ed3a7370c66a9c4f7af9704af59/app/views/home/subscriptions.html.erb#L20

1) The link (a tag) is currently nested in the paragraph (p tag), lets move the paragraph below it instead of around it.

2) Lets change the text to "Control which emails you want to receive." to make it more succinct.

3) Add italics to the text with a style attribute and the declaration font-style:italic;

It should look something like this afterwards:
<p style="font-style:italic;">Control which emails you want to receive.</p>

4) One last change. The 'Email Settings' button needs a margin under it. Add a style attribute onto the a tag with the declaration margin-bottom:10px;

The goal is for it to look just like the one above in the end:
screen shot 2019-01-17 at 1 41 08 am

Thanks!!

Steps to Fix

  • [ ] Claim this issue with a comment here, below, and ask any clarifying questions you need
  • [ ] Fork the repository and set it up locally following the main repo README instructions https://github.com/publiclab/plots2

    • [ ] Create a new feature branch with a unique name descriptive to the issue

  • [ ] Try to fix the issue following the steps above, but even before you're done, you can:
    commit your changes to your branch 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
  • [ ] Reference this issue in your pull request body
  • [ ] Once you submit your pull request, an additional checklist will be provided for getting it merged

馃挰 Get help

If you need any help - here are some options:

CSS HTML first-timers-only good first issue help wanted

Most helpful comment

Hi!
First timer on your codebase, can I start with this issue?

All 6 comments

Hi @sashadev-sky, issue is looking nice :100: .

Some points regarding FTO: There are 2 types of beginner issues -

  1. first-timers-only: This issue contains detailed instructions and template like you used in this one.
  2. fto-candidate: This type issue require some effort from contributor's side. It contains relevant links and goal but not the exact code to be changed/added.

Thanks!

I added some more labels. I hope it's fine!

@gauravano of course thank you!

Hi!
First timer on your codebase, can I start with this issue?

Hi @SashwatAnagolum, welcome to Public Lab and please go ahead with the issue. Thanks!

Thanks @gauravano, I submitted a PR: https://github.com/publiclab/plots2/pull/4642#issue-245487726

Was this page helpful?
0 / 5 - 0 ratings

Related issues

milaaraujo picture milaaraujo  路  3Comments

ebarry picture ebarry  路  3Comments

divyabaid16 picture divyabaid16  路  3Comments

grvsachdeva picture grvsachdeva  路  3Comments

grvsachdeva picture grvsachdeva  路  3Comments