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
Add the ability to complete the conversion of one currency to another for a specific amount.
The API already exists for this and can be accessed at: /convert
Acceptance Criteria
Given... The application is running And... The convert API request is functioning When... I add in a valid currency code as the "From" value And... I add in a valid currency code as the "To" value And... I add in a valid amount Then... The currency conversion button should become enabled And... When clicked, the /convert API should be called with the entered values And... The result outputted into the UI
Stretch Goal
Add handling of non-valid currency codes to the UI to make clear that the currency code submitted is not supported.
Assets
Before conversion:
After conversion:
The text was updated successfully, but these errors were encountered:
CliffAw
changed the title
[FEATURE] Integrate "/convert" API into conversion UI
[Feature] Integrate "/convert" API into conversion UI
Jul 27, 2022
Description
Add the ability to complete the conversion of one currency to another for a specific amount.
The API already exists for this and can be accessed at:
/convert
Acceptance Criteria
Given... The application is running
And... The convert API request is functioning
When... I add in a valid currency code as the "From" value
And... I add in a valid currency code as the "To" value
And... I add in a valid amount
Then... The currency conversion button should become enabled
And... When clicked, the
/convert
API should be called with the entered valuesAnd... The result outputted into the UI
Stretch Goal
Add handling of non-valid currency codes to the UI to make clear that the currency code submitted is not supported.
Assets
Before conversion:
![image](https://user-images.githubusercontent.com/3371240/181245950-db45821f-c787-4320-8818-cd726cd081d5.png)
After conversion:
![image](https://user-images.githubusercontent.com/3371240/181234141-09d664be-f3dd-4773-9983-5ea197a3049f.png)
The text was updated successfully, but these errors were encountered: