Skip to content

style(yasr): give the Response view a Lucide outline icon - #238

Open
MathiasVDA wants to merge 1 commit into
mainfrom
claude/project-thread-09a04o
Open

MathiasVDA wants to merge 1 commit into
mainfrom
claude/project-thread-09a04o

Conversation

@MathiasVDA

Copy link
Copy Markdown
Collaborator

Requested by Mathias · project thread

Before: the Response tab in the results header used the filled Font Awesome fa-align-left glyph, which looked heavier than and out of place next to the Table, Geo, Graph, Chart and Explain icons.

After: the Response tab uses the Lucide file-code icon (a document with <>), drawn the same way as the other views: 24×24 viewBox, outline only, 1.75 stroke, currentColor.

How
All view plugins already use inline Lucide outline icons; Response was the only one still on Font Awesome. getIcon() now returns icon("file-code") from yasr's existing describe/icons.ts set, so nothing new is added to the bundle. file-code was picked over braces and code-xml because it matches the visual weight of the table and map icons and does not suggest JSON only (the view also shows XML and Turtle). Changeset included (@matdata/yasr patch).

Before/after screenshots (light and dark) are in the project thread.


Generated by Claude Code

@MathiasVDA MathiasVDA self-assigned this Oct 20, 2026

This branch has not been deployed

No deployments
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