Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add load/export support for TSV #2916

Merged
merged 5 commits into from
Dec 5, 2023
Merged

Add load/export support for TSV #2916

merged 5 commits into from
Dec 5, 2023

Conversation

philrz
Copy link
Contributor

@philrz philrz commented Dec 1, 2023

Now that TSV read/write support exists in Zed (brimdata/zed#4746) this enables it in Zui as well.

In addition to the tests that will be triggered in CI, I've confirmed locally that all the e2e tests run successfully with this branch.

Closes #2908

@philrz philrz requested a review from jameskerr December 1, 2023 19:26
@philrz philrz self-assigned this Dec 1, 2023
@@ -51,7 +51,7 @@ import { getPath } from 'zui-test-data';

play('Preview & Load', (app, test) => {
test('create new pool, change key, type <enter>', async () => {
await app.dropFile(getPath('sample.tsv'));
await app.dropFile(getPath('sample.zeektsv'));
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I took the liberty of renaming the popular sample.tsv to sample.zeektsv as part of this PR. Since we now support what's more widely thought of as "TSV" (i.e., generic), using the .tsv extension on the Zeek-specific variant felt wrong.

packages/zed-js/src/client/types.ts Outdated Show resolved Hide resolved
Co-authored-by: Noah Treuhaft <noah.treuhaft@gmail.com>
@philrz philrz merged commit 8aaf798 into main Dec 5, 2023
4 checks passed
@philrz philrz deleted the tsv-support branch December 5, 2023 19:11
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.

Add TSV support
2 participants