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

add feature : quicker download of report PDF #156

Merged
merged 2 commits into from
Mar 27, 2024

Conversation

SmartWolf1220
Copy link
Contributor

feat: quicker download of report PDF #129

Please check the type of change your PR introduces:

  • Feature

What is the current behavior?

Users can only report the session to a zip file.

Issue Number: 129

What is the new behavior?

Now users can report the session to a zip and pdf types.

I have added quicker download of report PDF.

@dacoaster dacoaster linked an issue Mar 27, 2024 that may be closed by this pull request
? item.filePath
: item.filePath.substring(0, item.filePath.length - 1);
zip.addLocalFile(sanitizedPath, FILE_TYPES[item.fileType]);
params.type === "pdf"
Copy link
Collaborator

Choose a reason for hiding this comment

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

@dockabernathy01 please put this in an if statement instead. It is hard to read the multi-line ternary operator.

@dacoaster dacoaster merged commit cc6f4bf into testfiesta:ok/integration Mar 27, 2024
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.

feat: quicker download of report PDF
2 participants