Skip to content

perf(ui): 2D virtualization for VirtualResultGrid (#423) - #444

Merged
ZhuchkaTriplesix merged 2 commits into
devfrom
issue/423-result-grid-2d-virtualize
Jul 27, 2026
Merged

perf(ui): 2D virtualization for VirtualResultGrid (#423)#444
ZhuchkaTriplesix merged 2 commits into
devfrom
issue/423-result-grid-2d-virtualize

Conversation

@ZhuchkaTriplesix

Copy link
Copy Markdown
Member

Summary

  • Column window from horizontal scroll + viewport width (with overscan); off-screen columns are spacers, not cells.
  • Header and body share the same window so columns stay aligned.
  • Target: wide grids (50+ cols) without building every cell for every visible row.

Closes #423

Test plan

  • flutter test test/features/main_screen/results_tab_test.dart
  • Run a query with many columns; horizontal scroll stays smooth; headers track body

Build only the visible column window (plus overscan) with leading/trailing
spacers so wide result sets do not mount O(rows×cols) cells. Header stays
aligned with the body.

Closes #423
@github-actions github-actions Bot added performance Theme parser epic label: performance ui User interface components and widgets labels Jul 27, 2026
@ZhuchkaTriplesix
ZhuchkaTriplesix merged commit e46d527 into dev Jul 27, 2026
4 checks passed
@ZhuchkaTriplesix
ZhuchkaTriplesix deleted the issue/423-result-grid-2d-virtualize branch July 27, 2026 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

performance Theme parser epic label: performance ui User interface components and widgets

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant