plots2 icon indicating copy to clipboard operation
plots2 copied to clipboard

Remove "hasn't been edited in a while" blue banner from automatically appearing on wikis

Open ebarry opened this issue 8 years ago • 5 comments

Please describe the problem (or idea)

What happened just before the problem occurred? Or what problem could this idea solve?

I have been noticing the blue header at the top of wiki pages that haven't been edited in a while, perhaps longer than 6 months: This wiki page hasn't been edited for a while. If you see anything that needs updating, please help out!

Since all wiki pages already display the last edit date in the "toolbar" area, i suggest we remove this alert.

What did you expect to see that you didn't?

I expected to read the page without this distracting alert

Please show us where to look

https://publiclab.org/wiki/h2s

What's your PublicLab.org username?

This can help us diagnose the issue:

liz

ebarry avatar Aug 21 '18 20:08 ebarry

I would like to take up this issue. Would you please guide me through @ebarry ? Thanking you in advance!

shubhscoder avatar Aug 23 '18 02:08 shubhscoder

I have made changes to the code,installed required gems on my local machine. When I ran "rails s" on my terminal to test the made changes , I got the following error :

"/home/scube97/.rvm/gems/ruby-2.4.1/gems/railties-5.2.0/lib/rails/application/configuration.rb:185:in database_configuration': Cannot load Rails.application.database_configuration`: (RuntimeError) Could not load database configuration. No such file - ["config/database.yml"] ".

I know that a rails application needs a database setup initially , can someone please guide me on setting up my database in accordance with this application. Thanking you in advance!

shubhscoder avatar Aug 23 '18 03:08 shubhscoder

I just took a look at pull request #3260 and it looks good to me. Thanks, @shubhscoder 🎉 👍

pdurbin avatar Aug 25 '18 13:08 pdurbin

This looks great. @ebarry it'd be great if you could think about other ways we might encourage people to keep stale pages up to date, which was the original intent of the notice -- thanks!

jywarren avatar Aug 27 '18 13:08 jywarren

Thanks, all, and thanks to @pdurbin for reviewing!

jywarren avatar Aug 27 '18 13:08 jywarren