kestra-io / kestra

:zap: Workflow Automation Platform. Orchestrate & Schedule code in any language, run anywhere, 500+ plugins. Alternative to Zapier, Rundeck, Camunda, Airflow...
https://kestra.io
Apache License 2.0
12.98k stars 1.13k forks source link

fix(ui) : Generate table columns considering all rows in content when file preview type is List. #5781

Closed msravikrishna closed 1 week ago

msravikrishna commented 1 week ago

What changes are being made and why?

Preview is not working for LIST types, when content is unstructured. Only the first row is being considered for generating table columns. And if the following rows contain different data, the values are not being shown.

Modified ListPreview.vue to consider all the rows in the content to generate table columns.


How the changes have been QAed?

Done some dev testing with the scenario provided in the issue: New column is getting added based on the content.

Screenshot 2024-11-04 at 8 19 38 PM