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

C24_WMDE_Mobile_DE_10 #636

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

C24_WMDE_Mobile_DE_10 #636

wants to merge 5 commits into from

Conversation

moiikana
Copy link
Contributor

@moiikana moiikana commented Nov 22, 2024

  • based on mobde09

  • If the "Anderer Betrag" button is clicked in the mini banner, the amount option of €10 is changed to €5.

  • var:

  • When submitting the banner form with an amount below €10, users are redirected to a donation form variant.

  • When submitting the banner form with an amount above €10, users are redirected to the default donation form.

  • When submitting the banner form with any amount using direct-debit, users are redirected to the default donation form.

  • tests added + fixed

https://phabricator.wikimedia.org/T380461

@moiikana moiikana force-pushed the C24_WMDE_Mobile_DE_10 branch 2 times, most recently from 8a52cfa to 27ab26d Compare November 22, 2024 14:16
@moiikana moiikana marked this pull request as draft November 22, 2024 17:03
@moiikana moiikana force-pushed the C24_WMDE_Mobile_DE_10 branch 5 times, most recently from 9cedf88 to df84a45 Compare November 22, 2024 18:04
- got missing during some recent fixes
- both banners should have different amount options in the fullpage banner,
depending on what button was clicked on the mini banner

https://phabricator.wikimedia.org/T380461
@moiikana moiikana force-pushed the C24_WMDE_Mobile_DE_10 branch 5 times, most recently from 57264aa to 53b5605 Compare November 26, 2024 09:33
- var has custom formActions
    When submitting the banner form with an amount below €10, users are redirected to a donation form variant.
    When submitting the banner form with an amount above or equal to €10, users are redirected to the default donation form.
    When submitting the banner form with any amount using direct-debit, users are redirected to the default donation form.

- add tests for "changesAmountOption" feature

- make euro symbol white when value got entered in select group

https://phabricator.wikimedia.org/T380461
@moiikana moiikana marked this pull request as ready for review November 26, 2024 10:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants