Logic-Legends / Decision-Making-Frmwk

Decision-Making Framework
https://starter-kit-snzl.onrender.com/
ISC License
1 stars 3 forks source link

Type of Decision #60

Open m-gurung11 opened 1 year ago

m-gurung11 commented 1 year ago

As a user I want to specify whether my decision is single or iterative so I can understand how often I need to consult the voting methods table.

Acceptance Criteria

Scenario 1 - Content GIVEN I am using the Decision Making Framework WHEN I am on the Type of Decision screen THEN I should see the title text 'Type of Decision' AND I should see the question text below it as 'Are we making a single or iterative decision?'

Scenario 2 - Responses GIVEN I am using the Decision Making Framework WHEN I am on the Type of Decision screen THEN I should see 2 radio buttons below the question text AND I should the options as Option 1 Option 2
Iterative Decision An ongoing decision that needs to updated on a regular schedule Single Decision A one-time decision which does not need further review
Scenario 2a GIVEN I am on the Type of Decision screenn WHEN I have selected an option THEN I should see an Advice Box appear below AND I should see content as Iterative Single
Advice Advice
Go through the voting methods table for each stage of the decision. Go through the voting methods table once.

Scenario 3 - Continue GIVEN I am on the Type of Decision screen WHEN I have selected a response AND I click Continue THEN I should be directed to the Type of Information screen

Scenario 4 - Back GIVEN I am on the Type of Decision screen WHEN I click on the Back button THEN I should be directed to the Time and Resource Allocation screen AND the input I previously entered should be displayed

Scenario 5 - Error Messaging GIVEN I am on the Type of Decision screen WHEN I have not selected either option AND I click Continue THEN I should see an error message, 'Please select a response'

Scenario 6 - URL GIVEN I am on the Decision Capacity screen WHEN I check the URL THEN it should be http://localhost:3000/type-of-decision

Ekremteke commented 1 year ago

Hello,

I took the ticket. I have started to create the component

m-gurung11 commented 1 year ago

@Ekremteke Hi Ekrem, please can you add hint text below the options as well in a slightly lighter shade of colour. Luan is creating some hint text too for another screen so the two of you can agree on the shade of colour

Ekremteke commented 1 year ago

I will today

m-gurung11 commented 1 year ago

HI @Ekremteke , I'd like you to pass the Option text (without hint text) and the advice text (on the line below) back to the result page

Ekremteke commented 1 year ago

Hi @m-gurung11, I added hints text near the options as Luan made. I will talk with @leilafaez about sending the advice and option to the result page.

leilafaez commented 1 year ago

Hi @m-gurung11. You mean that we want to see the advice of this page in a separate row in result page?

m-gurung11 commented 1 year ago

@leilafaez @Ekremteke like this with a line break on the same row

Image

m-gurung11 commented 1 year ago

If this requires too much effort just the option value is fine, we dont need the advice for MVP

Ekremteke commented 1 year ago

I finished as a syntax I can give some style

leilafaez commented 1 year ago

@Ekremteke the question should be 'Are we making a single or iterative decision?' now it is 'Are you making an iterative or single decision decision?'

Ekremteke commented 1 year ago

Thank you @leilafaez I fixed it

leilafaez commented 1 year ago

@Ekremteke thank you