Skip to content

Added PDF preview feature in workflow attachments - #4

Merged
anuragxxd merged 6 commits into
masterfrom
unknown repository
Jul 11, 2022
Merged

anuragxxd merged 6 commits into
masterfrom
unknown repository

Conversation

@ghost

@ghost ghost commented Jul 11, 2022

Copy link
Copy Markdown

Added PDF preview as mentioned in issue#2 in workflow attachment field

@anuragxxd anuragxxd left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@tanya17-05 Looks good to me. Can you see the little change I suggested!

Comment thread src/components/RunWorkflow.js Outdated
</svg>
)}
{(() => {
console.log(file.preview.type)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Remove consoles!

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

@anuragxxd

Copy link
Copy Markdown
Member

Also, @tanya17-05 Can you post the screenshot of the demo images & different types of files as file attachments. It will be great to see the changes before merging the changes.

@ghost

ghost commented Jul 11, 2022

Copy link
Copy Markdown
Author

@git-anurag-hub I have selected an image and a PDF file for upload before and after changes which can be reflected after the upload workflow attachments section. Now PDFs can be previewed along with images

Before changes
Web capture_11-7-2022_17131_krini rahtiapp fi
After changes
Web capture_11-7-2022_17140_localhost

@anuragxxd
anuragxxd merged commit 16392ee into elixir-cloud-aai:master Jul 11, 2022
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.

1 participant