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

feat(IDPay): [IOBP-1147] Add request help from IDPay beneficiary details screen #6622

Merged
merged 30 commits into from
Feb 6, 2025

Conversation

Hantex9
Copy link
Contributor

@Hantex9 Hantex9 commented Jan 21, 2025

⚠️ This PR depends on #6621 ⚠️

Short description

This PR adds the "Chiedi aiuto" call-to-action within the beneficiary details screen. By clicking this CTA, a support ticket is automatically created with the preselected category and subcategory, so the user is not prompted to choose them manually.

List of changes proposed in this pull request

  • Added the assistanceForIdPay flag that if it's true, it doesn't prompt the user choosing the category manually but it will be preselected;
  • Created a custom hook useIdPaySupportModal that shows the zendesk support modal and pre-select the category and subcategory for that screen;

How to test

  • Checkout the dev-server from this PR: chore: [IOBP-1143] add mock idpay expense type io-dev-api-server#457;
  • Run yarn sync;
  • Go inside the expense initiative detail and tap on the info icon on the top right corner of the screen;
  • Check that there is available a Chiedi aiuto call-to-action that shows a modal with the FAQ;
  • Check that if you tap on the button "Open a support request", it doesn't prompt to the user to select the category of the topic;

Preview

preview.mov

@Hantex9 Hantex9 added IDPay IO-Bonus e pagamenti IO - Bonus e pagamenti labels Jan 21, 2025
Copy link
Contributor

github-actions bot commented Jan 21, 2025

Jira Pull Request Link

This Pull Request refers to Jira issues:

@Hantex9 Hantex9 marked this pull request as ready for review February 4, 2025 09:23
Copy link
Contributor

github-actions bot commented Feb 4, 2025

PR Title Validation for conventional commit type

All good! PR title follows the conventional commit type.

Copy link
Contributor

@LeleDallas LeleDallas left a comment

Choose a reason for hiding this comment

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

Good job!💫

@Hantex9 Hantex9 enabled auto-merge February 6, 2025 11:33
@Hantex9 Hantex9 added this pull request to the merge queue Feb 6, 2025
Merged via the queue into master with commit cd5d68a Feb 6, 2025
18 checks passed
@Hantex9 Hantex9 deleted the IOBP-1147-add-request-help-from-idpay-details branch February 6, 2025 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
IDPay IO-Bonus e pagamenti IO - Bonus e pagamenti
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants