"Ask for help" button that pre-populates forum post
See original GitHub issueUser story
As a user, if I need help with a challenge, I can click a “Ask for help on the forum” button. A modal will pop up with the following text:
“If you’ve already tried the Read-Search-Ask Method, then you can ask for help on the freeCodeCamp forum.” [Create a help post on the forum]
A new tab will open with a prep-populated forum post with:
- the the title of my current challenge in the subject line
- the post body, which includes this:
What’s happening
My code so far
this should be automatically populated and formatted
My browser information
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36
.
Discourse URL
Here’s how to format a URL for creating a post on Discourse
http://forum.freecodecamp.org/new-topic?title=**topic%20title**&body=**topic%20body**&category=help
UI element
Here’s what the button should look like. This should be added to all views that have tests:
Issue Analytics
- State:
- Created 6 years ago
- Comments:22 (20 by maintainers)
Top GitHub Comments
@QuincyLarson I created the modal successfully with takes to the forum. But i need little help in pre-populating the forum post. Can you please guide me on how can I fetch the title and body so that I can pass them in querystring?
Currently I have placed the static link to forum post in the
challenge-modals.jade
.@QuincyLarson Thanks. Yes I understand this is a high-priority issue. Actually, being a beginner, I found it difficult to find the files. I will try and implement the modal soon.