Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the ability to swap the to/from currencies #6

Open
CliffAw opened this issue Jul 27, 2022 · 0 comments
Open

Add the ability to swap the to/from currencies #6

CliffAw opened this issue Jul 27, 2022 · 0 comments
Labels
enhancement Adds to an existing feature

Comments

@CliffAw
Copy link
Contributor

CliffAw commented Jul 27, 2022

Description

Add the ability to swap the currencies between to/from, so that a user can quickly swap between the two values.

Note: This is an extension of the functionality implemented in #1.

Acceptance Criteria

Given... The application is running
And... The currencies request is functioning
And... There has been no conversion yet made
When... I select a button to swap the to/from values
Then... The currency and rate values in the in the inputs are swapped

Given... The application is running
And... The currencies request is functioning
And... There has been a conversion made and the conversion result is outputted into the UI
When... I select a button to swap the to/from values
Then... The currency and rate values in the in the inputs are swapped
And... The conversion result panel should be highlighted indicating the result is no longer valid and "Convert" button should be pressed again

Assets

Before conversion result:
image

After conversion result, before swapping currencies
image

After conversion result, after swapping currencies
image

@CliffAw CliffAw changed the title Add the ability to swap the currencies between Add the ability to swap the to/from currencies Jul 27, 2022
@CliffAw CliffAw added the enhancement Adds to an existing feature label Jul 27, 2022
@CliffAw CliffAw moved this to Todo in Frontend Interview Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Adds to an existing feature
Projects
Status: Todo
Development

No branches or pull requests

1 participant