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

Error when trying to open zendesk ticket with popup blocked - Fix/pn 10724 #1262

Draft
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

AndreaCimini90
Copy link
Contributor

@AndreaCimini90 AndreaCimini90 commented Jun 20, 2024

Short description

When user browser has popups blocked, the POST of the zendesk form goes in error. So we have decided to open the form in the same page and show an error message when the POST going in error.

List of changes proposed in this pull request

  • Removed target _blank from ZendeskForm.tsx and managed error cases

How to test

Disable popup in your browser -> login with pf -> click on assistance link -> fill the form and click on confirm -> check that the zendesk form is opened without errors

} catch (e) {
dispatch(
appStateActions.addError({
title: t('messages.generic-title'),
Copy link
Contributor

Choose a reason for hiding this comment

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

@AndreaCimini90 which could be the reasons why the opening of zendesk ticket gives error?
Like, if it's specific to popup configurations, it is better to return to the user a better message

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@ZorbaDimatteo i'm waiting for a feedback from UI/UX about the message. The reasons why the submission to the form gives error, can include for example server errors or network issues

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.

None yet

2 participants