Skip to content

[codex] Add bar graph support for numeric result columns#420

Draft
larsholm wants to merge 1 commit into
tareqimbasher:mainfrom
larsholm:feat/bar-graphs
Draft

[codex] Add bar graph support for numeric result columns#420
larsholm wants to merge 1 commit into
tareqimbasher:mainfrom
larsholm:feat/bar-graphs

Conversation

@larsholm

Copy link
Copy Markdown

Summary

  • add numeric-column detection metadata to HTML table output
  • add a result-pane toggle that renders simple proportional bar graphs for numeric cells
  • add runtime and frontend coverage for the new toggle behavior

Why

NetPad should offer the same quick visual scan for numeric result columns that LinqPad does, without requiring users to write charting code.

Impact

Users can toggle lightweight inline bars for numeric columns directly in query results.

Validation

  • dotnet test src/Tests/NetPad.Runtime.Tests/NetPad.Runtime.Tests.csproj --filter HtmlPresenterTests
  • npm test -- --runInBand test/windows/main/panes/output-pane/components/result-controls.spec.ts
  • npm run lint
    • completed with existing stylelint warnings in src/styles/_structural.scss

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