sirtobiwan / Solar-Calculator-Capstone-Project

https://solar-calculator-pi.vercel.app
1 stars 0 forks source link

US-10 - Transfer Value to another component #24

Closed sirtobiwan closed 1 year ago

sirtobiwan commented 1 year ago

Value proposition

As a user I want to get the selected radiation displayed on the next page in order to see my savings

Description

Image

Acceptance criteria

Tasks

CJAkkuec commented 1 year ago

I'm not really sure I understand what's supposed to happen.

As a user I want to get the radiation displayed in order to see my savings

Radiation of what, and which savings? Monetary, radiation-wise, ...?

And where is the radiation being displayed?

transfer value of radiation accordingly to the chosen city to the CardSavings component

Do you mean you want to pass the radiation value of the selected city to the CardSavings component? Also, perhaps it should be SavingsCard instead. 🤔

sirtobiwan commented 1 year ago

I updated the US to better understand whats happening here. It's only that the value of the selected city from the dropdown menu on the radiation page, should be displayed on the savings page. It's just a transfer of the radiation value from one page to the next page