You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What are "helpful error messages"? Ask yourself these five questions to start:
Does the error...
focus my attention on the source of the problem?
give all of the relevant facts (and none of the irrelevant ones)?
consistently use a set of accessible terms?
make clear what's wrong?
help me figure out how to fix it?
What were the results from the initial round of user testing?
During the first rounds of user testing, we found that our proposed error messages had addressed questions 1-4, but lacked any guidance on how to fix the problem. Since we know that our proposed changes to the error messages are improvements (based on user tests), we think it would be smartest to implement these improvements iteratively, rather than waiting until we have the "perfect" error message.
How
During the user testing stage, we worked out a general template on how we want the new error messages to look, however we only drafted complete errors in three different scenarios. Template Error Message:
ytt: Error: Overlaying (in order: <overlay file>):
Expected:
<overlay file>:<line failure> (<match type>, '<node value>') to match <expected match number> item in
<template file>:<line failure> (<match type> in '<parent of match>') but matched <actual match number>.
<overlay file>:<line failure>
<context from overlay file consisting of:
- document start (---)
- parent tree down to line of failure
- annotation matcher above the failure line
- ellipsis (...) to skip lines such as siblings and unimportant context
>
<template file>:<line failure>
<context from the template file consisting of:
- document start (---)
- parent tree down to lines where the overlay matched
- ellipsis (...) to skip lines such as siblings and unimportant context
>
Since an overlay can match via an expression, the domain of overlay error messages is vast, making it difficult to implement changes. In order to address this, a HackMD Doc was created with a subset of scenarios and proposed errors. This document will also act as the acceptance criteria for the following implementation story.
Acceptance Criteria
At this time, this document is not the source of truth, and we are looking identify more error scenarios. Once an example error message is fleshed out for each major category that is identified, there should be enough information for implementation to begin.
If you would like to provide feed back on the proposed error message, please capture that in a HackMD document so that we can include your thoughts during the next round of user testing.
The text was updated successfully, but these errors were encountered:
What are "helpful error messages"? Ask yourself these five questions to start:
Does the error...
What were the results from the initial round of user testing?
During the first rounds of user testing, we found that our proposed error messages had addressed questions 1-4, but lacked any guidance on how to fix the problem. Since we know that our proposed changes to the error messages are improvements (based on user tests), we think it would be smartest to implement these improvements iteratively, rather than waiting until we have the "perfect" error message.
How
During the user testing stage, we worked out a general template on how we want the new error messages to look, however we only drafted complete errors in three different scenarios.
Template Error Message:
Since an overlay can match via an expression, the domain of overlay error messages is vast, making it difficult to implement changes. In order to address this, a HackMD Doc was created with a subset of scenarios and proposed errors. This document will also act as the acceptance criteria for the following implementation story.
Acceptance Criteria
At this time, this document is not the source of truth, and we are looking identify more error scenarios. Once an example error message is fleshed out for each major category that is identified, there should be enough information for implementation to begin.
Notes
The text was updated successfully, but these errors were encountered: