-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Comments
@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! |
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? |
Sure -- would it help if we tried to break it into pieces -- say, one for |
Yes, that would definitely help! |
OK -- I broke out the routing tasks with some extra steps into #910! |
Note from open call via @ebarry -- numbered steps are really helpful for guiding others through the new rich editor -- should add them here too. |
I would start by coping the rich editor template and then modifying it to more closely match the mockup above. |
@jywarren Okay I will have a look! |
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 |
@jywarren Ok I will start by copying the template and work on the copy! |
@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? |
Yes, i think including much of that is appropriate, yes (though not
MainImage).
Sorry, how do you mean viewing individual templates?
Thanks!
…On Mon, Jan 9, 2017 at 7:46 AM, Swapnil Gupta ***@***.***> wrote:
@jywarren <https://github.com/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?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#904 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABfJxnux2xNEBQAp5jSVqNxyS0ZOn1lks5rQiwQgaJpZM4KaDFC>
.
|
I mean viewing them on a browser. I can get an idea of the design changes while integrating the editor. |
ah yes, i believe you should be able to access a template named
"questionRich.html.erb" at "/editor/questionRich" -- though you should test
that locally. If it doesn't work, we'll need to add a temporary
/config/routes.rb entry.
…On Mon, Jan 9, 2017 at 12:35 PM, Swapnil Gupta ***@***.***> wrote:
I mean viewing them on a browser. I can get an idea of the design changes
while integrating the editor.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#904 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABfJ3ijbt3eFZHo5hloBLeCTueATBhiks5rQm_agaJpZM4KaDFC>
.
|
* Rich editor added * Starting from rich.html * Simplified Interface * publish and preview buttons added * Bottom bar removed * Text changed * hr removed * Title updated
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:
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!
The text was updated successfully, but these errors were encountered: