Skip to content

fix(output): align TSV rows to block headers - #32

Merged
HenningTimm merged 3 commits into
HenningTimm:mainfrom
Athemis:fix/align-tsv-rows-to-headers
Jun 15, 2026
Merged

fix(output): align TSV rows to block headers#32
HenningTimm merged 3 commits into
HenningTimm:mainfrom
Athemis:fix/align-tsv-rows-to-headers

Conversation

@Athemis

@Athemis Athemis commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Fix TSV row generation so values are written in final header order.
  • Preserve empty cells for missing optional fields to keep later columns aligned.
  • Add regression coverage for mixed YAML key order within one block.

Closes #31

@HenningTimm

HenningTimm commented Jun 11, 2026

Copy link
Copy Markdown
Owner

Thank you! Is it intentional that the displayFormat entry for the First entry is missing? This seems to mess up the column order of the generated TSV, but this unrelated to this PR.

@HenningTimm
HenningTimm merged commit 4ee999c into HenningTimm:main Jun 15, 2026
2 checks passed
@Athemis

Athemis commented Jun 15, 2026

Copy link
Copy Markdown
Contributor Author

Thank you! Is it intentional that the displayFormat entry for the First entry is missing? This seems to mess up the column order of the generated TSV, but this unrelated to this PR.

That's intentional: With this PR merged, all entries should be taken into account regardless whether they are present in the first or any other item. That's what the test checks for: Are all entries included in the final tsv output even if they are not all present in the first item.

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.

TSV output misaligns values when YAML field key order differs

2 participants