Skip to content

perf(ui): isolate tab strip spring rebuilds (#357) - #367

Merged
ZhuchkaTriplesix merged 1 commit into
devfrom
issue/357-tab-strip-rebuild-scope
Jul 26, 2026
Merged

perf(ui): isolate tab strip spring rebuilds (#357)#367
ZhuchkaTriplesix merged 1 commit into
devfrom
issue/357-tab-strip-rebuild-scope

Conversation

@ZhuchkaTriplesix

Copy link
Copy Markdown
Member

Summary

  • Move sliding pill into _TabStripIndicator that listens to spring controllers
  • Tab row rebuilds only on selection/focus — not every spring tick
  • Wrap pill in RepaintBoundary

Closes #357

Test plan

  • flutter test test/shared/querya_tab_strip_test.dart
  • Manual: switch Server/SQL/History quickly — pill still redirects smoothly

Made with Cursor

Sliding pill listens on its own State so tab Focus/Gesture rows are not
rebuilt every QueryaSpring notify; pill uses RepaintBoundary.

Closes #357

Co-authored-by: Cursor <cursoragent@cursor.com>
@github-actions github-actions Bot added performance Theme parser epic label: performance motion Animation system, transitions, motion tokens ui User interface components and widgets labels Jul 26, 2026
@ZhuchkaTriplesix
ZhuchkaTriplesix merged commit 056a6b6 into dev Jul 26, 2026
3 checks passed
@ZhuchkaTriplesix
ZhuchkaTriplesix deleted the issue/357-tab-strip-rebuild-scope branch July 26, 2026 20:29
ZhuchkaTriplesix added a commit that referenced this pull request Jul 27, 2026
perf(ui): isolate tab strip spring rebuilds (#357)
@ZhuchkaTriplesix ZhuchkaTriplesix self-assigned this Jul 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

motion Animation system, transitions, motion tokens 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