Skip to content

ui(motion): bring SDUI tree onto QueryaMotion tokens (#479) - #484

Merged
ZhuchkaTriplesix merged 2 commits into
devfrom
issue/479-sdui-tree-motion
Jul 28, 2026
Merged

ui(motion): bring SDUI tree onto QueryaMotion tokens (#479)#484
ZhuchkaTriplesix merged 2 commits into
devfrom
issue/479-sdui-tree-motion

Conversation

@ZhuchkaTriplesix

Copy link
Copy Markdown
Member

Summary

  • SDUI expand chevron uses context.motionDuration(QueryaMotion.fast) + motionCurve(standardCurve) — same dialect as PG/MySQL/SQLite trees.
  • Dropped hardcoded Duration(160ms) / Curves.easeOutCubic and Material IconButton for a native-tree-style chevron.
  • Motion Off verified: AnimatedRotation.duration == Duration.zero.
  • No QueryaAnimatedExpand on the flat virtualized row list (incompatible); noted in code comments → ui(motion): unify tree expand chevron and height choreography #480 for expand clock unification.

Test plan

  • flutter test test/core/sdui/sdui_builders_test.dart
  • Visual: extension driver tree chevron matches SQL trees
  • Motion Off: expand is instant

Closes #479

Replace magic 160ms/easeOutCubic IconButton rotation with the same
fast/standardCurve dialect as native connection trees; use muted
expandClosed chevron; respect Motion Off. Height morph stays out of
the flat virtualized ListView (documented; coordinated timing in #480).

Closes #479
@github-actions github-actions Bot added enhancement New feature or request motion Animation system, transitions, motion tokens ui User interface components and widgets labels Jul 28, 2026
@ZhuchkaTriplesix
ZhuchkaTriplesix merged commit 17a4f77 into dev Jul 28, 2026
4 checks passed
@ZhuchkaTriplesix ZhuchkaTriplesix self-assigned this Jul 29, 2026
@ZhuchkaTriplesix
ZhuchkaTriplesix deleted the issue/479-sdui-tree-motion 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

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