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
As a user, I want to be able to see the solution buttons for the node of the tree as defined in the Guided Answers
Description
While creating the tree the content creator can add solution buttons to a node of a tree and other outcomes.
If a content creator chooses to show solution buttons and add other outcomes then as there is other outcomes available to the user only the 'This is solved the issue' button is displayed to the user along with the other outcomes. Currently, the API returns only the outcomes in this scenario. If the user has added solution buttons and other outcomes then whether the solution buttons are present should also be returned to the API so this scenario can be reflected in the extension.
If a content creator chooses to add the solutions buttons with no others outcomes then the 'This solved my issue' and 'This did not solve my issue' buttons are displayed to the user. As this scenario would mean that this node is the last node in the tree then 'This solved my issue' and 'This did not solve my issue' buttons are displayed by default. Regardless, that these buttons are displayed by default the solutions should be returned by the API also.
Technical Design
This is an example of the last node where no outcomes are returned
This is an example of a node where solution buttons and outcomes are defined, but only the outcomes are returned in the API and not the solution buttons
Acceptance Criteria
Given the user has reached the last node of the Guided Answers tree,
solution buttons should be displayed with or without the custom outcomes
Notes
Tasks
Unit Tests added
Test Cases defined
The text was updated successfully, but these errors were encountered:
ritarora
changed the title
FEATURE - Add the ability to return the solution buttons for last node
FEATURE - Add the ability to return the solution buttons
Jun 14, 2022
carwelsh
changed the title
FEATURE - Add the ability to return the solution buttons
FEATURE - Add the ability to return the solution buttons in a node
Jun 14, 2022
carwelsh
changed the title
FEATURE - Add the ability to return the solution buttons in a node
FEATURE - API - Add the ability to return the solution buttons in a node
Jun 16, 2022
As a user, I want to be able to see the solution buttons for the node of the tree as defined in the Guided Answers
Description
While creating the tree the content creator can add solution buttons to a node of a tree and other outcomes.
If a content creator chooses to show solution buttons and add other outcomes then as there is other outcomes available to the user only the 'This is solved the issue' button is displayed to the user along with the other outcomes. Currently, the API returns only the outcomes in this scenario. If the user has added solution buttons and other outcomes then whether the solution buttons are present should also be returned to the API so this scenario can be reflected in the extension.
If a content creator chooses to add the solutions buttons with no others outcomes then the 'This solved my issue' and 'This did not solve my issue' buttons are displayed to the user. As this scenario would mean that this node is the last node in the tree then 'This solved my issue' and 'This did not solve my issue' buttons are displayed by default. Regardless, that these buttons are displayed by default the solutions should be returned by the API also.
Technical Design
This is an example of the last node where no outcomes are returned
![Screenshot 2022-06-14 at 13 26 18](https://user-images.githubusercontent.com/43745372/173576888-35396903-a7b1-4a51-b2ba-0c4d347cbf73.png)
This is an example of a node where solution buttons and outcomes are defined, but only the outcomes are returned in the API and not the solution buttons
![Screenshot 2022-06-14 at 13 26 30](https://user-images.githubusercontent.com/43745372/173576909-571eced3-0c19-4f79-947f-3738ac72dbac.png)
Acceptance Criteria
Given the user has reached the last node of the Guided Answers tree,
solution buttons should be displayed with or without the custom outcomes
Notes
Tasks
The text was updated successfully, but these errors were encountered: