Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New form design for asking questions #904

Closed
jywarren opened this issue Oct 18, 2016 · 15 comments
Closed

New form design for asking questions #904

jywarren opened this issue Oct 18, 2016 · 15 comments
Assignees
Labels
design issue requires more design work and discussion (i.e. mockups and sketches) enhancement explains that the issue is to improve upon one of our existing features help wanted requires help by anyone willing to contribute Ruby
Milestone

Comments

@jywarren
Copy link
Member

jywarren commented Oct 18, 2016

Currently we re-use the basic note posting form at https://publiclab.org/post for questions. We should revise this to be more specific to, and helpful for, question asking.

Questions are often asked by people new to Public Lab, who will need extra clarity and context. Here's a design which addresses this:

screen shot 2016-10-18 at 12 44 10 pm

To implement, we'll need a new form at https://github.com/publiclab/plots2/blob/master/app/views/editor/ -- maybe called https://github.com/publiclab/plots2/blob/master/app/views/editor/question.html.erb?

That would be accessible (i believe) at /editor/question. I've created a separate issue for the routing portion to actually use the form: #910. (This is now complete!)

Now we need to tackle integration of the rich editor, at https://github.com/publiclab/PublicLab.Editor/

This can be done similarly to how it was done here: https://github.com/publiclab/plots2/tree/master/app/views/editor/rich.html.erb --

Happy to help with this one -- it's big!

@jywarren jywarren added enhancement explains that the issue is to improve upon one of our existing features help wanted requires help by anyone willing to contribute Ruby design issue requires more design work and discussion (i.e. mockups and sketches) labels Oct 18, 2016
@jywarren
Copy link
Member Author

@carolineh101 - I know you're busy, but curious if this issue is of interest to you! @steviepubliclab and I did some design work on it and it'd be a really key improvement to the Q&A system. Thanks!

@carolineh101
Copy link
Collaborator

I'd love to work on this issue! However, given that I'm in school, it may take a while before I have updates on it – would that be ok?

@jywarren
Copy link
Member Author

jywarren commented Oct 19, 2016

Sure -- would it help if we tried to break it into pieces -- say, one for
separating out the question form, another for the actual design work, maybe
a third for testing the template redirect, for example?

@carolineh101
Copy link
Collaborator

Yes, that would definitely help!

@jywarren
Copy link
Member Author

OK -- I broke out the routing tasks with some extra steps into #910!

@jywarren
Copy link
Member Author

jywarren commented Jan 3, 2017

Note from open call via @ebarry -- numbered steps are really helpful for guiding others through the new rich editor -- should add them here too.

@jywarren
Copy link
Member Author

jywarren commented Jan 6, 2017

I would start by coping the rich editor template and then modifying it to more closely match the mockup above.

@500swapnil
Copy link
Collaborator

@jywarren Okay I will have a look!

@jywarren
Copy link
Member Author

jywarren commented Jan 6, 2017

You may want to make a new template file to start with, rather than overwrite this one: https://github.com/publiclab/plots2/blob/master/app/views/editor/question.html.erb

Such as questionRich.html.erb -- that way we can test it out before making changes to the current one. Make sense? Thank you!!

@500swapnil
Copy link
Collaborator

@jywarren Ok I will start by copying the template and work on the copy!

@500swapnil
Copy link
Collaborator

@jywarren We may need to include most of what is there in the https://github.com/publiclab/plots2/tree/master/app/views/editor/rich.html.erb template. Am I right? And is there any way of viewing individual templates?

@jywarren
Copy link
Member Author

jywarren commented Jan 9, 2017 via email

@500swapnil
Copy link
Collaborator

I mean viewing them on a browser. I can get an idea of the design changes while integrating the editor.

@jywarren
Copy link
Member Author

jywarren commented Jan 9, 2017 via email

@500swapnil
Copy link
Collaborator

@jywarren I've opened a PR #1177 . Please have a look!

vaibhavgeek pushed a commit to vaibhavgeek/plots2 that referenced this issue Mar 23, 2017
* Rich editor added

* Starting from rich.html

* Simplified Interface

* publish and preview buttons added

* Bottom bar removed

* Text changed

* hr removed

* Title updated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design issue requires more design work and discussion (i.e. mockups and sketches) enhancement explains that the issue is to improve upon one of our existing features help wanted requires help by anyone willing to contribute Ruby
Projects
None yet
Development

No branches or pull requests

3 participants