Skip to content

ui(motion): TabStrip Reduced cubic indicator (#493) - #503

Merged
ZhuchkaTriplesix merged 1 commit into
devfrom
issue/493-tabstrip-reduced-cubic
Jul 28, 2026
Merged

ui(motion): TabStrip Reduced cubic indicator (#493)#503
ZhuchkaTriplesix merged 1 commit into
devfrom
issue/493-tabstrip-reduced-cubic

Conversation

@ZhuchkaTriplesix

Copy link
Copy Markdown
Member

Summary

  • QueryaSpringController: when useSprings is false, optional cubicDuration animates instead of jumpTo (null/zero still snaps — drag settle / Off unchanged).
  • QueryaTabStrip: Full → springs; Reduced → halved fast + enter cubic; Off / OS disable → snap.
  • Tests for cubic controller path + Reduced mid-flight slide.

Closes #493

Test plan

  • flutter test test/core/motion/querya_spring_test.dart test/shared/querya_tab_strip_test.dart test/core/layout/querya_drag_settle_test.dart
  • Preferences Motion = Reduced → workspace / Extension Manager tab pill slides (shorter), does not jump
  • Full: spring feel unchanged; Off: instant snap

QueryaSpringController gains optional cubicDuration when springs are off;
TabStrip wires halved fast/enter under Reduced and keeps Off as snap.
@github-actions github-actions Bot added enhancement New feature or request accessibility Reduced motion, OS accessibility preferences motion Animation system, transitions, motion tokens ui User interface components and widgets labels Jul 28, 2026
@ZhuchkaTriplesix
ZhuchkaTriplesix merged commit d20f9fd into dev Jul 28, 2026
4 checks passed
@ZhuchkaTriplesix ZhuchkaTriplesix self-assigned this Jul 29, 2026
@ZhuchkaTriplesix
ZhuchkaTriplesix deleted the issue/493-tabstrip-reduced-cubic branch July 30, 2026 07:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

accessibility Reduced motion, OS accessibility preferences enhancement New feature or request motion Animation system, transitions, motion tokens ui User interface components and widgets

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant