Skip to content

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

@CliffAw

Description

@CliffAw

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementAdds to an existing feature

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions