-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: [IOCOM-871] Pay button on SEND message details, with new DS sys…
…tem (#5664)⚠️ This PR depends on #5661⚠️ ## Short description This PR adds the Pay button to a SEND's message details, with the new DS.  ## List of changes proposed in this pull request - `MessageFooter` adapted to use the new DS - `MessageFooter` added to `MessageDetails` - Fixed bad alignment of loading "More Payments" link on `MessagePayments` ## How to test Using the io-dev-api-server, check that: - for a SEND message with no payments, there is no pay button - for a SEND message with one to-pay button, there is the pay button. By clicking it, the payment flow starts and, if the payment completes, the button disappears - for a SEND message with less or up-to five payments, all of them either paid or with an error, there is no button - for a SEND message with less or up-to five payments, where at least one is payable, there is the pay button. By clicking it, the payments bottom sheet appears. When all of them are paid (or have an error), the button disappears - for a SEND message, with more than five payments, no matter their statues, there is the pay button. By clicking it, the payments bottom sheet appears - for a cancelled SEND message with no payments, there is no pay button - for a cancelled SEND message with to-pay payments, there is no pay button - for a cancelled SEND message with paid payments, there is no pay button --------- Co-authored-by: Fabio Bombardi <[email protected]> Co-authored-by: Martino Cesari Tomba <[email protected]>
- Loading branch information
1 parent
8bc70f5
commit 96d0120
Showing
8 changed files
with
404 additions
and
315 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.