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

Bugfix/new donation flow issues #1962

Merged

Conversation

nikolay-yankov
Copy link
Contributor

Motivation and context

Fixes several issues from ticket #1960 related to the new donation flow, discovered during QA testing.

Screenshots:

Issue # Before After
1 image image
2 image image
3 Cannot reproduce - message sent to QA for details N/A
4 image imageimage
5 image Yes, it should work exactly the opposite way. Now when the user selects the X button or Cancel button, the user remains on the same page. If the user selects Continue button, then it will be redirected to the Campaign preview page.
10 image image
11 image image
12 image image

Additional change:

IMO we should not disable the Amount field when bank payment option is selected as this creates several side effect. IMO we should either hide it completely when Bank options is chosen or leave it always available. This is because currently, if the user selects an amount and then selects bank payment type, the Amount field becomes disabled. This could create some confusion because the user cannot change the amount anymore and they cannot use the calculator for amount + fees at the bottom. Also if validation is triggered and the field, they cannot select an option to continue with the donation.
Here I removed the option for disabling in commit 2ceeef5

Copy link

github-actions bot commented Oct 19, 2024

✅ Tests will run for this PR. Once they succeed it can be merged.

@sashko9807 sashko9807 added the run tests Allows running the tests workflows for forked repos label Oct 19, 2024
@github-actions github-actions bot removed the run tests Allows running the tests workflows for forked repos label Oct 19, 2024
disabled={values.payment === DonationFormPaymentMethod.BANK}
error={Boolean(errors.finalAmount) && Boolean(submitCount > 0)}
/>
<Amount error={Boolean(errors.finalAmount) && Boolean(submitCount > 0)} />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we please revert this change for now?
I understand the reasoning for this, but since this Amount Picker has no effect on bank transactions, in my opinion it will cause more confusion to keep it enabled.
I've already contacted the design team to look at this. If there are any changes regarding this step, lets handle them in a separate PR.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I just reverted this one. Also reverted the change in Amount validation to not take into account the bank type payment with this commit ef26ae3
Here is a visual what I meant that the user cannot select another amount when Bank is selected and the calculation at the bottom cannot be used if the user wants to see what the fees would be.
cc @swolf86

chrome_WnBgUR0833

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nikolay-yankov
I think the transactions fees should not be displayed it should be ---- until we have the integration with paysera.

Why the amount cannot be changed, after selecting a bank transfer?
I saw that too

@nikolay-yankov nikolay-yankov force-pushed the bugfix/new-donation-flow-issues branch from ef26ae3 to 8149d2a Compare October 20, 2024 07:40
@sashko9807 sashko9807 added the run tests Allows running the tests workflows for forked repos label Oct 23, 2024
@github-actions github-actions bot removed the run tests Allows running the tests workflows for forked repos label Oct 23, 2024
@sashko9807 sashko9807 added the run tests Allows running the tests workflows for forked repos label Oct 29, 2024
@github-actions github-actions bot removed the run tests Allows running the tests workflows for forked repos label Oct 29, 2024
@sashko9807 sashko9807 merged commit f3725c7 into podkrepi-bg:master Oct 29, 2024
15 of 17 checks passed
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.

3 participants