Move "search by topic" to top of page and remove sidebar on /questions #2333
Labels
enhancement
explains that the issue is to improve upon one of our existing features
fto-candidate
issues which are meant to be solved by first timers but aren't well-formatted yet
HTML
Milestone
(via @ebarry) This is a two-part issue -- on http://publiclab.org/questions, we have a sidebar area called
Filter questions by topic
which we'd like to move to a 2-column area in the main column, next to the "Ask a question" area.The code for the form to be moved is here:
plots2/app/views/sidebar/_user.html.erb
Lines 9 to 11 in d078466
We can move the form into a
col-md-6
div using Bootstrap's grid system: https://getbootstrap.com/docs/3.3/css/#grid-options -- so,Then we'd like to delete the sidebar entirely, by deleting this line:
plots2/app/views/questions/index.html.erb
Line 1 in d078466
We should then change the main area to be full-with, so
9
becomes12
on this line:plots2/app/views/questions/index.html.erb
Line 3 in d078466
The new side-by-side forms could use some text tweaking too:
View questions by topic
, with placeholder input texttype your topic
and button textSearch
Ask a question here
with placeholder texttype your question
and button textContinue
The new two-column area may need some design tweaking to get it right, so if you're able to take on this issue, please post a screenshot with your pull request! Thank you!
The text was updated successfully, but these errors were encountered: