Skip to content

feat(calc): add distinct count, median, std dev, and copy stats summary action (#573) - #589

Merged
ZhuchkaTriplesix merged 1 commit into
devfrom
issue/573-advanced-selection-calc
Aug 25, 2026
Merged

feat(calc): add distinct count, median, std dev, and copy stats summary action (#573)#589
ZhuchkaTriplesix merged 1 commit into
devfrom
issue/573-advanced-selection-calc

Conversation

@ZhuchkaTriplesix

Copy link
Copy Markdown
Member

Summary

  • Enhances GridSelectionCalcEngine to compute:
    • distinctCount (unique values in selection).
    • median (sorted numerical midpoint calculation).
    • stdDev (standard deviation for distributions).
    • toSummaryString() formatted export string.
  • Updates DataGridCalcBar to show Count, Distinct, Sum, Avg, Median, Min, Max badges.
  • Adds "Copy Stats" action button with summary export.
  • Test coverage added in test/features/main_screen/data_grid_engines_test.dart.

Closes #573

Verification

  • flutter analyze lib/features/main_screen/ passed with 0 issues.
  • flutter test test/features/main_screen/data_grid_engines_test.dart passed all 17 tests.

@ZhuchkaTriplesix
ZhuchkaTriplesix merged commit f0dd16c into dev Aug 25, 2026
1 of 3 checks passed
@github-actions github-actions Bot added frontend Theme parser epic label: frontend data-grid Interactive data grid, cell editor, filtering, groupings ux User experience, keyboard shortcuts and interactions labels Aug 25, 2026
@github-actions github-actions Bot added this to the 0.4.13 milestone Aug 25, 2026
@ZhuchkaTriplesix
ZhuchkaTriplesix deleted the issue/573-advanced-selection-calc branch August 25, 2026 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

data-grid Interactive data grid, cell editor, filtering, groupings frontend Theme parser epic label: frontend ux User experience, keyboard shortcuts and interactions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant