Replace background task spinner with gear

Use an outlined settings gear with a running-count badge and slow linear rotation while background tasks are active. Preserve reduced-motion behavior, composer sizing, and tooltip coverage with updated focused tests and notes.
This commit is contained in:
2026-11-12 12:43:47 +00:00
parent 0bb3a5c5c6
commit a2a9a7e3c1
7 changed files with 332 additions and 224 deletions
@@ -675,7 +675,7 @@ void main() {
await tester.pump(const Duration(milliseconds: 500));
expect(find.byTooltip('Background tasks (2 running)'), findsOneWidget);
final counter = find.byKey(const Key('chat-background-tasks-button'));
// One '2' is the count inside the ring, one is the compact caption.
// One '2' is the count on the gear badge, one is the compact caption.
expect(
tester
.widget<Text>(find.byKey(const Key('chat-background-tasks-count')))