kestra-io / kestra

Infinitely scalable, event-driven, language-agnostic orchestration and scheduling platform to manage millions of workflows declaratively in code.
https://kestra.io
Apache License 2.0
7.04k stars 412 forks source link

Preview PDF files in Outputs Tab #4116

Open wrussell1999 opened 1 week ago

wrussell1999 commented 1 week ago

Describe the issue

Example flow that generates a PDF file in the Outputs tab

id: myflow2
namespace: company.myteam

tasks:

  - id: download
    type: io.kestra.plugin.core.http.Download
    uri: https://www.rs600.org/documents/p1h11hsft1125afa11n4m166r1iel3.pdf

Instead of previewing the PDF, it shows the raw content: Screenshot 2024-06-24 at 12 57 51

Environment

loicmathieu commented 1 week ago

This is not a bug as we never implemented PDF preview but I agree it can be a nice improvement.