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

MWPW-160157 Dispatch error to alert for missing IMS token #135

Open
wants to merge 76 commits into
base: stage
Choose a base branch
from

Conversation

sanjayms01
Copy link
Collaborator

@sanjayms01 sanjayms01 commented Oct 15, 2024

Dispatching an error when IMS token is missing. Will work with PMs to understand what messaging should be authored for this error.

Resolves: MWPW-160157

Test URLs:

Before: https://stage--dc--adobecom.hlx.page/acrobat/online/test/sign-pdf?unitylibs=stage
After: https://stage--dc--adobecom.hlx.page/acrobat/online/test/sign-pdf?unitylibs=MWPW-160157

aishwaryamathuria and others added 30 commits August 16, 2024 14:22
* Upload a pdf from UI
* Create chunks to upload on temp urls
* Connector api call for acrobat.
Animation loader for unity
- Map upload and drag & drop functionality
- Extract limits outside of actionMap in config
aishwaryamathuria and others added 18 commits September 23, 2024 21:30
- Centralized error handling in Unity UI
- Perform one-time storing of error map in window object for fast
lookups downstream
- Created fillsign actionType to consolidate config and break code out
into a singleFileUpload function (multiFileUpload can be implemented
based on future needs)
Adding check for asset metadata to verify and dispatch an error if the
number of pages for the uploaded PDF asset exceeds the max limit.

Resolves: [MWPW-159153](https://jira.corp.adobe.com/browse/MWPW-159153)

**Test URLs:**
- Before:
https://stage--dc--adobecom.hlx.page/acrobat/online/test/sign-pdf-projectunity?unitylibs=stage
- After:
https://stage--dc--adobecom.hlx.page/acrobat/online/test/sign-pdf-projectunity?unitylibs=MWPW-159153
Ensure metadata page count is checked even after interval timeout if
asset metadata exists. Also, reset operations array if `verifyContent`
fails so that redirection to product is interrupted.

Resolves: [MWPW-159947](https://jira.corp.adobe.com/browse/MWPW-159947)

Test URLs:

Before:
https://stage--dc--adobecom.hlx.page/acrobat/online/test/sign-pdf?unitylibs=stage
After:
https://stage--dc--adobecom.hlx.page/acrobat/online/test/sign-pdf?unitylibs=MWPW-159947
MWPW-159951 | Stop scrolling when splash screen is visible

Resolves: MWPW-159951
Splash screen is not over the jarvis chat if same is enabled on the page. Increasing the z-index to be over jarvis.
Resolves: MWPW-159953
Copy link

aem-code-sync bot commented Oct 15, 2024

Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch and validate page speed.
In case there are problems, just click a checkbox below to rerun the respective action.

  • Re-run PSI checks
  • Re-sync branch
Commits

@sanjayms01 sanjayms01 marked this pull request as ready for review October 17, 2024 15:17
@sanjayms01 sanjayms01 requested a review from a team October 17, 2024 15:19
Copy link
Collaborator

@robert-bogos robert-bogos left a comment

Choose a reason for hiding this comment

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

Looks good 👍

Comment on lines +19 to +23
if (!gat) {
const error = new Error();
error.message = 'imsError';
throw error;
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Nit: You can do this in 1 line

Suggested change
if (!gat) {
const error = new Error();
error.message = 'imsError';
throw error;
}
if (!gat) throw Object.assign(new Error(), { message: 'imsError' });

@sanjayms01 sanjayms01 force-pushed the stage branch 3 times, most recently from 3a0e2c8 to 20711cc Compare October 30, 2024 20:28
@aishwaryamathuria aishwaryamathuria self-requested a review December 9, 2024 06:03
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.

5 participants