Skip to content

[STACKED PR] csv_preview: Evolve into tabular data preview#60768

Draft
HalavicH wants to merge 19 commits into
zed-industries:mainfrom
HalavicH:local/feat/csv-preview/evolve-into-tabular-data-preview
Draft

[STACKED PR] csv_preview: Evolve into tabular data preview#60768
HalavicH wants to merge 19 commits into
zed-industries:mainfrom
HalavicH:local/feat/csv-preview/evolve-into-tabular-data-preview

Conversation

@HalavicH

@HalavicH HalavicH commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

NOTE: Diff is larger cuz it contains previous work of row filter ui. Will be reduced to ~200 lines after it's merged

Objective

The MVP version of CSV preview is ready. However it's trivial to extend it to TSV & other formats.

Solution

This PR does exactly that - switching from CSV only to any tabular data (TSV/CSV/PSV/SSV).

  1. added tsv/psv/ssv support
  2. renamed action/eye button & crate
  3. added .psv/.ssv types to use database icon (similar to csv/tsv)
  4. Added Table svg icon (was previously missing) so preview is not longer using book icon (from markdown preview).

Testing

Opened csv/tsv/psv/ssv files in peview

Self-Review Checklist:

  • I've reviewed my own diff for quality, security, and reliability
  • Unsafe blocks (if any) have justifying comments
  • The content adheres to Zed's UI standards (UX/UI and icon guidelines)
  • Tests cover the new/changed behavior
  • Performance impact has been considered and is acceptable

Showcase

PSV/SSV file formats icon

Before After
image image

Change namespace for actions (csv -> tabular data)

Before After
image image

Update parser & detection logic to support preview for TSV/PSV/SSV

Before After
image image

Introduce table svg icon

Before After
image image

Release Notes:

  • N/A or Added/Fixed/Improved ...

@cla-bot cla-bot Bot added the cla-signed The user has signed the Contributor License Agreement label Jul 10, 2026
@HalavicH HalavicH force-pushed the local/feat/csv-preview/evolve-into-tabular-data-preview branch from 9aa85d9 to eabd513 Compare July 10, 2026 16:48
@HalavicH HalavicH changed the title csv_preview: Evolve into tabular data preview [STACKED PR] csv_preview: Evolve into tabular data preview Jul 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant