Skip to content

perf(ui): stop update badge pulse ticker when hidden (Fluid F7) #363

Description

@ZhuchkaTriplesix

Parent

Part of #356 · Fluid perf audit F7 (P1)

Problem

UpdateAvailableBadge starts AnimationController..repeat() in initState even when showBadge is false and the build returns SizedBox.shrink — perpetual vsync work.

Where: lib/features/updater/update_available_badge.dart

Expected

  • Start pulse only when badge visible; stop when hidden
  • Honor Motion Off / reduced (no pulse or instant)
  • Prefer QueryaMotion tokens over bare 1400ms (ties to F9)

Acceptance

  • No repeating ticker while badge hidden
  • Widget test for show/hide lifecycle
  • Reduced/Off motion respected

Related

  • F9 magic durations

Metadata

Metadata

Labels

motionAnimation system, transitions, motion tokensperformanceTheme parser epic label: performanceuiUser interface components and widgets

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions