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

[#172992621] Adds the available list screen and load the available bonuses #1848

Merged
merged 5 commits into from
May 27, 2020

Conversation

CrisTofani
Copy link
Contributor

Short description:
This PR adds the Available bonuses list screen and displays the active bonus if a bonus was already activated

List of changes proposed in this pull request:

  • ts/features/bonusVacanze/components/AvailableBonusItem.tsx
  • ts/features/bonusVacanze/screens/AvailableBonusScreen.tsx
  • ts/navigation/WalletNavigator.ts
  • ts/screens/wallet/WalletHomeScreen.tsx
  • ts/store/actions/navigation.ts

How to test:
Activate the flag BONUS_VACANZE_ENABLED on .env file then on wallet home screen click on Request new bonus button.

@pagopa-github-bot
Copy link
Collaborator

pagopa-github-bot commented May 26, 2020

Affected stories

  • 🌟 #172992621: Come CIT voglio poter visualizzare la lista dei bonus disponibili

Generated by 🚫 dangerJS

@@ -1238,6 +1238,9 @@ bonus:
bonusVacanza:
checkBonusEligibility:
loading: Checking bonus eligibility
bonusList:
title: Bonus disponibili
Copy link
Contributor

Choose a reason for hiding this comment

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

should be in english

},

// Navigator section for Bonus section
[ROUTES.AVAILABLE_BONUS_LIST]: {
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
[ROUTES.AVAILABLE_BONUS_LIST]: {
[ROUTES.BONUS_AVAILABLE_BONUSES]: {

Perhaps having BONUS prefix for all bonus screens could be better when we trace them in Mixpanel

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yep, sounds good! I'm changing it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Maybe just BONUS_AVAILABLE_LIST could be less redundant?

@Undermaken Undermaken merged commit 2d085ba into master May 27, 2020
@CrisTofani CrisTofani deleted the 172992621-available-bonuses-list branch March 12, 2021 09:42
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