Skip to content

feat(viewer): data page viewer for XML, RSS, CSV, YAML and JSON Lines - #39

Merged
maxgfr merged 7 commits into
release-nextfrom
issue-27-viewer-formats
Nov 20, 2026
Merged

maxgfr merged 7 commits into
release-nextfrom
issue-27-viewer-formats

Conversation

@maxgfr

@maxgfr maxgfr commented Nov 20, 2026

Copy link
Copy Markdown
Owner

The JSON page viewer becomes a data page viewer: XML / RSS / Atom (element tree, attributes, feed summary, parse errors with position, XSLT pages left alone), CSV / TSV (RFC 4180, delimiter sniffing, header guess labeled as a heuristic, sort, filter), YAML (a documented subset reader, raw view with the reason when it hits unsupported syntax) and JSON Lines (one tree per line, invalid lines flagged). The always-on script is now a small gate; the viewer is injected only on data pages. Script id, action id and the Options toggle stay backward compatible. Also fixes site-commands reading keywords moved to the next line.

Closes #27

… viewer

An RFC 4180 CSV parser with delimiter sniffing, a header guess, sorting
and filtering; a focused YAML subset reader that reports what it does
not support; JSON Lines with per-line errors; an XML tree model with
paths, a filter, an indented serializer and RSS / Atom feed summaries.
The JSON page viewer becomes the data page viewer: XML, RSS and Atom as an
element tree with a feed summary, CSV and TSV as a sortable, filterable
table, YAML and JSON Lines as JSON trees. Detection stays pure in
src/lib/data-viewer.ts. The always-on content script is now a small gate
that asks the background to inject the viewer only on data pages; the
script id and the Options toggle stay the same, relabeled Format data
pages, and the palette action becomes Format this data page.
…er-formats

# Conflicts:
#	PRODUCT.md
#	README.md
#	tests/e2e/server.mjs
@maxgfr
maxgfr merged commit 7727f19 into release-next Nov 20, 2026
2 checks passed
@maxgfr
maxgfr deleted the issue-27-viewer-formats branch November 20, 2026 14:37
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.

1 participant