diff --git a/lib/main.dart b/lib/main.dart index 9cb5c59..7d0a9bb 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -16,6 +16,11 @@ import 'theme/theme.dart'; import 'theme/tokens.dart'; import 'widgets/widgets.dart'; +/// Studio's own build version. Bump on every UI commit so the +/// running app self-identifies — visible in the sidebar header +/// and quick-glance proof that you're seeing the current build. +const String kStudioVersion = '0.7.1'; + Future main() async { WidgetsFlutterBinding.ensureInitialized(); // Restore the persisted endpoint and theme mode before the @@ -218,7 +223,15 @@ class _Sidebar extends StatelessWidget { fontWeight: FontWeight.w600, ), ), - const SizedBox(height: FaiSpace.xs), + const SizedBox(height: 2), + Text( + 'v$kStudioVersion · warm-minimalism', + style: FaiTheme.mono( + size: 10, + color: theme.colorScheme.primary, + ), + ), + const SizedBox(height: FaiSpace.md), // Connection pill. Padding( padding: const EdgeInsets.symmetric(horizontal: FaiSpace.lg), diff --git a/lib/pages/doctor.dart b/lib/pages/doctor.dart index 90d0669..b749e3a 100644 --- a/lib/pages/doctor.dart +++ b/lib/pages/doctor.dart @@ -142,10 +142,10 @@ class _SummaryStrip extends StatelessWidget { ), const SizedBox(width: FaiSpace.md), _StatTile( - label: 'Audit chain', + label: 'Audit', value: snapshot.chainHealthy ? '✓' : '⚠', subtitle: - '${snapshot.eventChainVerified}/${snapshot.eventChainTotal} verified', + '${snapshot.eventChainVerified}/${snapshot.eventChainTotal} chain', icon: Icons.shield_outlined, tone: snapshot.chainHealthy ? FaiPillTone.success @@ -196,14 +196,17 @@ class _StatTile extends StatelessWidget { children: [ Row( children: [ - Icon(icon, size: 16, color: theme.colorScheme.onSurfaceVariant), - const SizedBox(width: FaiSpace.sm), - Text( - label.toUpperCase(), - style: theme.textTheme.labelSmall?.copyWith( - color: theme.colorScheme.onSurfaceVariant, - letterSpacing: 0.6, - fontSize: 10, + Icon(icon, size: 14, color: theme.colorScheme.onSurfaceVariant), + const SizedBox(width: FaiSpace.xs), + Flexible( + child: Text( + label.toUpperCase(), + overflow: TextOverflow.ellipsis, + style: theme.textTheme.labelSmall?.copyWith( + color: theme.colorScheme.onSurfaceVariant, + letterSpacing: 0.5, + fontSize: 10, + ), ), ), ], diff --git a/pubspec.yaml b/pubspec.yaml index 29a623f..5cf6026 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,7 +1,7 @@ name: fai_studio description: "F∆I Studio — desktop GUI for the F∆I hub" publish_to: 'none' -version: 0.1.0 +version: 0.7.1 environment: sdk: ^3.11.0-200.1.beta