mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
## Summary - replace mobile connecting and reconnecting banners with element-shaped skeletons for channel lists and message timelines - add a low-contrast two-second shimmer and same-slot reveal, with reduced-motion support - align top, section, loaded-row, and skeleton label columns ## Why Connection banners shifted content and did not match the desktop loading treatment. The skeletons preserve layout and make reconnects less disruptive. ## Testing - `just mobile-check` - `just mobile-test` — 704 passed, 1 skipped - Pixel 10 visual verification in loaded and reconnecting states --------- Signed-off-by: kenny lopez <klopez4212@gmail.com>
12 lines
319 B
Dart
12 lines
319 B
Dart
part of 'skeleton.dart';
|
|
|
|
class _SkeletonMask extends InheritedWidget {
|
|
const _SkeletonMask({required super.child});
|
|
|
|
static bool isActive(BuildContext context) =>
|
|
context.dependOnInheritedWidgetOfExactType<_SkeletonMask>() != null;
|
|
|
|
@override
|
|
bool updateShouldNotify(_SkeletonMask oldWidget) => false;
|
|
}
|