forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CSV] Include custom field label in CSV reports (elastic#181565)
- Closes elastic#100374 ## Summary This PR adds `field.customLabel` to CSV reports (column names) if available. Before: <img width="800" alt="Screenshot 2024-04-24 at 15 16 45" src="https://github.com/elastic/kibana/assets/1415710/870c9146-dd3a-4cc6-a12f-f67fbd7196f5"> After: <img width="800" alt="Screenshot 2024-04-24 at 15 17 04" src="https://github.com/elastic/kibana/assets/1415710/7f870899-71a2-42e7-ade4-d92acca9b96a"> ### Checklist - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
- Loading branch information
1 parent
41fd643
commit 4331175
Showing
4 changed files
with
41 additions
and
16 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
packages/kbn-generate-csv/src/__snapshots__/generate_csv.test.ts.snap
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,5 +29,6 @@ | |
"@kbn/es-query", | ||
"@kbn/es-types", | ||
"@kbn/esql-utils", | ||
"@kbn/data-views-plugin", | ||
] | ||
} |