Skip to content

feat(stats): add multi-select descriptive column picker#191

Merged
fahimfaisaal merged 7 commits into
goptics:mainfrom
hfl0506:feat/multi-select-column-picker
Jul 6, 2026
Merged

feat(stats): add multi-select descriptive column picker#191
fahimfaisaal merged 7 commits into
goptics:mainfrom
hfl0506:feat/multi-select-column-picker

Conversation

@hfl0506

@hfl0506 hfl0506 commented Jul 5, 2026

Copy link
Copy Markdown
Collaborator

Related Issues

Resolve #179

Summary

  • Adds a multi-select/descriptive column picker flow for the UI.
  • Updates the stats panel to work with descriptive column metadata.
  • Adds reusable combobox UI pieces needed by the new picker.
  • Regenerates pkg/template/vizb-ui.gen.go after resolving the upstream UI bundle conflict.

Changes

  • Added DescriptiveColumnSelect.vue.
  • Added descriptive column parsing/helper logic in ui/src/lib/descriptiveColumns.ts.
  • Added tests for descriptive column handling.
  • Updated CSV-related tests for the new descriptive column behavior.
  • Updated StatsPanel.vue to use the new selection flow.
  • Added ComboboxLabel.vue and ComboboxSeparator.vue.
  • Updated combobox exports.
  • Resolved the three generated-file conflicts in pkg/template/vizb-ui.gen.go.

Test Result

Ran commands below in ui folder

pnpm test
pnpm typecheck
pnpm format:check
task build:ui
task build:cli

Ran ./bin/vizb bar examples/csv/sales.csv --stat -o /tmp/stat-all.html to have result below
Screenshot 2026-07-05 at 8 33 49 AM

Ran ./bin/vizb bar examples/csv/sales.csv --stat=spread -o /tmp/stat-spread.html to have result below
Screenshot 2026-07-05 at 8 59 21 AM

Ran ./bin/vizb bar examples/csv/sales.csv --stat=correlations -o /tmp/stat-correlation.html to have result below
Screenshot 2026-07-05 at 9 00 31 AM

Checked select all columns field and reset button work as expected

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@hfl0506
hfl0506 force-pushed the feat/multi-select-column-picker branch from 85c2dfe to e602e73 Compare July 5, 2026 16:10
@hfl0506
hfl0506 marked this pull request as ready for review July 5, 2026 16:13

@fahimfaisaal fahimfaisaal left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@hfl0506 Well Done. Everything is LGTM for the first version.

@fahimfaisaal fahimfaisaal changed the title Feat/multi select column picker feat(stats): add multi-select descriptive column picker Jul 6, 2026
@fahimfaisaal fahimfaisaal added enhancement New feature or request ui ui-related tasks statistics labels Jul 6, 2026
@fahimfaisaal
fahimfaisaal merged commit 2f11802 into goptics:main Jul 6, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request statistics ui ui-related tasks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[feat]: Multi-select column picker for descriptive stats in Stats panel

3 participants