This task is about enabling users of the Editor help panel to post a question to the Help desk directly (rather than being directed to do so on the Help desk edit page in a new tab).
== User story
When I am seeking help on how to edit an article and do not find the help panel links shown relevant...
...I want to ask for specific help from within the help panel ...
...so that I can articulate my editing question whilst still attempting the task.
== General requirements
* **Platform:** This feature will eventually need to exist for both desktop and mobile. Desktop should be built and deployed first. This feature does not need to support Structured Discussions.
* **Languages:** KO and CS (Growth team's target wikis)
* **Target users of the help panel:** Determined by business rules defined on T206716
* **Eventlogging:** This feature will need to be instrumented with EventLogging for all interactions.
* **A/B testing:** This feature should be A/B testable. We might want to test these sorts of things:
*** Having the feature at all.
*** Different configurations of elements in the ask a question screens.
*** Different copy and call to action text.
*** Making the email field (for logged in users who do not have a confirmed email) optional or mandatory
== Proposed feature design + requirements
* **Mocks:** Invision (clickable) prototype at https://wikimedia.invisionapp.com/share/XSP2H5Z7ZMY //(Click/Tap on this task in the contents screen to view the relevant mocks) //
* **Prototype: http://reetssydney.github.io/prototypes/help-pane-v1/index.html **
* **Notes on the design:**
** **'Step 2' Review question for submission screen:**
*** Follows on from the preferred implementation whereby the question field is shown on the Help panel (Mock "B" in T206717) – the field is pre-populated with the text inputted in that initial screen.
*** Copy is likely to change - it will be tracked on T210213.
*** If the logged in user has not yet provided a confirmed email address, they will be given the opportunity to enter one here (in step 2 when they review the question for submission)
*** Question text-area:
**** Only text content is permitted in this field (including emojis and URLs)
**** There is no stated limit to the size of this field, but there can be a hidden limit of 2,000 characters.
**** We may wish to add some 'assistive' help text below this field warning users not to include personal information since the question will be posted publicly
*** The option to include the article title in the submission is checked by default
*** Error message format if the question fails to post: {F27334478}
** **'Step 3' Question posted confirmation screen:**
*** Shown when the question is posted (ie after selecting 'Submit' in Step 2)
*** The question should be posted to the Help desk directly ~~(via a bot)~~ with an autogenerated section header:
**** Users will not be able to customize the header. Keeps the process simple for users and reduces noise for responders.
**** Users will have the checkbox to include the title, defaulted to "on". Allows users to ask questions without disclosing the article, and allows us to learn whether users are inclined to turn it off.
**** Headers will not contain the username or timestamp because those are in the signature.
**** Headers will not contain the section because that is more likely to add confusion than subtract it.
**** We will prevent duplicate headers by numbering them sequentially.
**** Headers will include links to the pages they came from if the user included the title of the article.
**** Headers will look like the following (the last one is the case where the user unchecked the box to include title):
***** Help panel question on [[ https://en.wikipedia.org/wiki/Profiterole | Profiterole ]] (2)
***** Help panel question on [[ https://en.wikipedia.org/wiki/Talk:Profiterole | Talk:Profiterole ]] (2)
***** Help panel question (5)
*** The post is automatically accompanied with the user's signature and timestamp, regardless of whether the user included a signature in their typed message.
*** **Tag** the post as coming from the help panel so that other users may monitor the content
*** If the user had opted-out of providing the article title in step 2, then `:<article title>` is omitted from the section title
*** "View my question on Help Desk" opens the Help Desk in a new tab, anchored to the new section where their question has been posted
*** Copy is likely to change - we may not wish to link to an "More about this feature" page to give details about this experiment
*** The "Close" button will close the help panel (back into the Call to action button/tab)
*** If posting their question is the user's first edit, their confirmation message is different, and acknowledges that they just made their first edit.
_____
=== Related:
* {T209325}
* {T209327} //proposed enhancement for later release//
* {T209328} //proposed enhancement for later release //