Plots2: Add new line character to the message displayed on dashboard

Created on 9 Mar 2019  ยท  8Comments  ยท  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!

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.

๐Ÿ“‹ Step by Step

  • [ ] ๐Ÿ™‹ 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 the file _header.html.erb to add a new line in the welcome message displayed on the Dashboard.

Current Behavior
new1old

Expected Behavior
new1final

  • [ ] ๐Ÿ’พ 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!

CSS HTML first-timers-only

Most helpful comment

I'm an Outreachy applicant and I'd love to work on this, @gauravano.

All 8 comments

@publiclab/plots2-reviewers Kindly review and label this issue for first timers.

@publiclab/community-reps agree with the design?

I'm an Outreachy applicant and I'd love to work on this, @gauravano.

Although, we are waiting for a word from @publiclab/community-reps but you can go ahead. Thanks!

@gauravano I ran into a problem when setting up the repo on my system. I followed the instructions up to rake db:setup where I got the error Mysql2::Error: The used table type doesn't support FULLTEXT indexes, which on further tracing, led me to db/schema.rb:58:

add_index "comments", ["comment"], name: "index_comments_on_comment", type: :fulltext if ActiveRecord::Base.connection.adapter_name == 'Mysql2'

I also got a notification to add Mysql2 to my Gemfile.

Now, the problem is that I ran bundle install with --without production mysql flag, and was using the sqlite database config file, so I should not have been getting Mysql errors.

I traced the error further and got to the file config/initializers/abstract_mysql2_adapter.rb. When I commented out the contents of this file and ran rake db:setup again, everything worked fine.

What do you think could be the problem here? Do I create an issue for this?

@madeofhuman feel free to open a new issue for this, so that other can also help us in resolving this issue. Also, we are having some discussion about database errors and using a single database, you are welcome to chime there.

Here are the links- https://github.com/publiclab/plots2/issues/4936, https://github.com/publiclab/plots2/issues/4919, https://github.com/publiclab/plots2/issues/4896 .

Thanks!

@gauravano I see you had the same problem in #4936. I added mine (and my solution) as a comment to it. Thanks for pointing that out to me.

Thanks, everyone but this issue is not required for now. We'll handle it in re-design project.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

milaaraujo picture milaaraujo  ยท  3Comments

keshavsethi picture keshavsethi  ยท  3Comments

grvsachdeva picture grvsachdeva  ยท  3Comments

bronwen9 picture bronwen9  ยท  3Comments

first-timers[bot] picture first-timers[bot]  ยท  3Comments