Skip to content

refactor(motion): Redis scroll and chevron animations use QueryaMotion tokens (#1240) - #1259

Merged
ZhuchkaTriplesix merged 1 commit into
devfrom
issue/1240-scroll-motion-tokens
Oct 10, 2026
Merged

ZhuchkaTriplesix merged 1 commit into
devfrom
issue/1240-scroll-motion-tokens

Conversation

@ZhuchkaTriplesix

Copy link
Copy Markdown
Member

Summary

  • Redis CLI auto-scroll (redis_cli_workspace.dart): context.motionDuration(QueryaMotion.fast) and context.motionCurve(QueryaMotion.enter) replace Duration(milliseconds: 150) / Curves.easeOut. When reduced motion makes the duration zero, it jumpTos the end: animateTo asserts a non-zero duration. It also checks mounted in the post-frame callback.
  • Redis key folder chevron (redis_keys_view.dart): QueryaMotion.treeExpand / treeExpandCurve, like the chevrons in the connection tree.

No other bare duration: / Curves. remains in lib/features. Outside it: the update badge's pulse period is a named constant, and the popover timings in app/app.dart are configured above the motion scope; both left as they are.

Closes #1240

Test plan

  • CI: analysis and all test sections pass, including the Redis CLI and key tree e2e scenarios (no local runs, per team rule)

…yaMotion tokens

The CLI scrolls to the newest output with the fast token and the enter
curve, and jumps when reduced motion makes the duration zero (animateTo
needs a non-zero duration). The key folder chevron rotates with the tree
expand token and curve, like the other tree chevrons.
@github-actions github-actions Bot added performance Theme parser epic label: performance motion Animation system, transitions, motion tokens ui User interface components and widgets P3 Low priority / Polish & Enhancements labels Oct 10, 2026
@ZhuchkaTriplesix
ZhuchkaTriplesix merged commit 08f2aac into dev Oct 10, 2026
13 checks passed
@ZhuchkaTriplesix
ZhuchkaTriplesix deleted the issue/1240-scroll-motion-tokens branch October 11, 2026 15:02
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 P3 Low priority / Polish & Enhancements 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