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

Improve how refundable items are displayed on payment list #329

Merged
merged 1 commit into from
Jan 27, 2025

Conversation

erdemyerebasmaz
Copy link
Collaborator

@erdemyerebasmaz erdemyerebasmaz commented Jan 21, 2025

Fixes #332

This PR is a continuation of #295, and applies the same style choice to payments in Refundable state, where applicable.

Changes:

  • Added a (Failed) suffix to subtitle of refundable items on payment list
  • Used a X icon as the payment avatar for refundable items on payment list
  • Added a Failed chip on payment details for refundable items

Amount & Fees are shown as is.

Misc:

  • Removed obsolete conditional on PaymentDetailsSheetRefundTxAmount

@erdemyerebasmaz erdemyerebasmaz force-pushed the get_refund_refundable_payment_item branch 3 times, most recently from 7c240fc to 65c7d65 Compare January 22, 2025 12:08
Base automatically changed from get_refund_acc_required_action to get_refund_refresh January 23, 2025 12:53
Base automatically changed from get_refund_refresh to get_refund_text January 23, 2025 12:53
Base automatically changed from get_refund_text to main January 23, 2025 12:57
@erdemyerebasmaz erdemyerebasmaz linked an issue Jan 23, 2025 that may be closed by this pull request
@erdemyerebasmaz erdemyerebasmaz force-pushed the get_refund_refundable_payment_item branch 2 times, most recently from 66c7a67 to 5f51822 Compare January 27, 2025 04:04
@erdemyerebasmaz erdemyerebasmaz force-pushed the get_refund_refundable_payment_item branch from 5f51822 to 7c7b80a Compare January 27, 2025 04:07
@erdemyerebasmaz erdemyerebasmaz changed the title [WIP] Improve how refundable items are displayed on payment list Improve how refundable items are displayed on payment list Jan 27, 2025
@erdemyerebasmaz erdemyerebasmaz marked this pull request as ready for review January 27, 2025 04:10
@erdemyerebasmaz erdemyerebasmaz merged commit 224ff15 into main Jan 27, 2025
1 check passed
@erdemyerebasmaz
Copy link
Collaborator Author

erdemyerebasmaz commented Jan 27, 2025

Testing Notes

Refundable payments should have:

    • an X icon to reflect that the payment has failed
      • on the payment list &
      • their payment details sheet
    • a (Failed) suffix added to their subtitle on the payment list
    • a Failed chip on their payment details sheet

Their amount & fees are shown as is & should reflect the original transaction. The refundable amount is only shown through Get Refund page.

CC: @Nackoo2000

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect display of Refundable payments in UI Mismatch between the amount and fee for failed transactions
4 participants