(core) Add TSV and DSV import/export

Summary: Adds support for importing .dsv files (an April Fools 2024 easter egg), and options for exporting .dsv and .tsv files from the Share menu.

Test Plan: Browser and server tests.

Reviewers: jarek

Reviewed By: jarek

Differential Revision: https://phab.getgrist.com/D4210
This commit is contained in:
George Gevoian
2024-03-20 09:58:24 -04:00
parent 48a8af83fc
commit 07fcce548b
15 changed files with 2672 additions and 45 deletions

File diff suppressed because it is too large Load Diff

4
test/fixtures/export-tsv/text.tsv vendored Normal file
View File

@@ -0,0 +1,4 @@
Foo Bar Id is Baz Label is this Link Formula
1 a hello grist https://www.getgrist.com/ a --- grist https://www.getgrist.com/
2 b ,d world https://www.getgrist.com/ b ,d --- https://www.getgrist.com/
3 "the ""quote marks"" ?" "the ""quote marks"" ? --- "
1 Foo Bar Id is Baz Label is this Link Formula
2 1 a hello grist https://www.getgrist.com/ a --- grist https://www.getgrist.com/
3 2 b ,d world https://www.getgrist.com/ b ,d --- https://www.getgrist.com/
4 3 the "quote marks" ? the "quote marks" ? ---