Add export functionality for XML, Markdown (MD), and TSV formats#438
Open
Barracudapi wants to merge 2 commits intoouterbase:developfrom
Open
Add export functionality for XML, Markdown (MD), and TSV formats#438Barracudapi wants to merge 2 commits intoouterbase:developfrom
Barracudapi wants to merge 2 commits intoouterbase:developfrom
Conversation
This update introduces the ability to export table data in multiple formats: XML, Markdown (MD), and TSV. The following changes were made: - **XML Export**: Added support for exporting data in XML format, where table headers and records are represented in standard XML tags. - **Markdown (MD) Export**: Added the option to export data as a Markdown table. This allows users to easily generate tables for use in documentation or README files. - **TSV Export**: Added support for exporting table data in Tab-Separated Values (TSV) format, which can be easily opened and manipulated in spreadsheet software. This update improves the overall export functionality and provides users with more options to download and share data.
Collaborator
|
@Barracudapi Thanks so much. I would be nice if you can help resolve conflict. |
Author
|
Small conflicts only. They have been resolved! |
keppere
requested changes
May 1, 2025
| ), | ||
| xml: () => exportRowsToXml(headers, records, exportTarget), | ||
| md: () => exportToMarkdown(headers, records, exportTarget), | ||
| tsv: () => exportToTSV(headers, records, exportTarget), |
Collaborator
There was a problem hiding this comment.
tsv: () => exportDataAsDelimitedText( headers, records, "\t", "\n", '"', exportTarget, exportOptions?.nullValue || "NULL" ),
- You can use function
exportDataAsDelimitedTextto export as tsv, we just need to put the right separators. - It also seems consistent to display TSV separators in our UI.
| options?.encloser || '"', | ||
| exportTarget | ||
| ), | ||
| xml: () => exportRowsToXml(headers, records, exportTarget), |
Collaborator
There was a problem hiding this comment.
We have users who want to transform null values into specific values. Please add support for this in the new export format.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This update introduces the ability to export table data in multiple formats: XML, Markdown (MD), and TSV. The following changes were made:
This update improves the overall export functionality and provides users with more options to download and share data.