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

[#173102211] Adds the navigation flow through request bonus and checks if can be performed a new request #1867

Merged
merged 15 commits into from
Jun 8, 2020

Conversation

CrisTofani
Copy link
Contributor

Short description:
This PR adds a check on the Available bonuses list and on Wallet Home component:

  • if the bonus is present and in status ACTIVE or CONSUMED it is showed in the list and in the wallet home
  • if it is VOIDED or FAILED it is not showed and the request can be performed again

Adds the navigation flow from Available bonuses list to the eligibility check.

List of changes proposed in this pull request:

  • ts/features/bonusVacanze/components/RequestBonus.tsx
  • ts/features/bonusVacanze/screens/AcceptTosBonusScreen.tsx
  • ts/features/bonusVacanze/screens/AvailableBonusScreen.tsx
  • ts/features/bonusVacanze/screens/BonusInformationScreen.tsx
  • ts/screens/wallet/WalletHomeScreen.tsx

How to test:
On the dev server change the response on bonusVacanze.get("/activations/:bonus_id") handler to get any kind of bonus changing the status

@pagopa-github-bot
Copy link
Collaborator

pagopa-github-bot commented Jun 1, 2020

Affected stories

  • 🌟 #173102211: Come CIT voglio poter richiedere il bonus vacanze dalla pagina di presentazione del bonus

Generated by 🚫 dangerJS

@Undermaken Undermaken merged commit d5c8008 into master Jun 8, 2020
@Undermaken Undermaken deleted the 173102211-request-bonus branch June 8, 2020 13:27
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.

3 participants