This repository has been archived by the owner on Jun 16, 2022. It is now read-only.
LL-4281 Swap operation detail status styling #1550
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Introduces better styling for the swap status of a particular operation in the swap operation details screen, also adds tooltips to some of the status to aid the user to the provider's support instead of Ledger's since it's them who will be able to solve any held/failed cases.
Type
UI Polish
Context
https://ledgerhq.atlassian.net/browse/LL-4281
Parts of the app affected / Test plan
I've added a new debug flag to aid QA testing this feature. If you set the DEBUG_SWAP_STATUS flag on your
.env
file and then launch the app, the status of swap operations will be overridden by this value. It is expected that pending status are blue, hold should be orange, KO status red and OK status green.Only hold, refunded, and failed currently have tooltips.