fix(platform): grade-gate student app, isolate per-video resume & checkpoints, remove fake teachers, enhance arabic lab, clean flutter analyze

This commit is contained in:
Hamza-Ayed
2026-09-04 23:41:32 +03:00
parent ae00aa943e
commit e7bc20bc98
22 changed files with 291 additions and 316 deletions
@@ -15,6 +15,10 @@ class SuperAdminTheme {
static const Color surface = Color(0xFF0E1422);
static const Color surfaceCard = Color(0xFF141C2E);
static const Color border = Color(0xFF1E293B);
static const Color backgroundDark = Color(0xFF06090F);
static const Color surfaceDark = Color(0xFF0E1422);
static const Color crimsonRed = Color(0xFFEF4444);
static const Color royalGold = Color(0xFFFFD166);
static const Color imperialPurple = Color(0xFF8B5CF6);
@@ -187,8 +187,8 @@ class _SuperAdminShellState extends State<SuperAdminShell> {
label: 'الرصد الكلي',
),
BottomNavigationBarItem(
icon: Icon(CupertinoIcons.cpu),
activeIcon: Icon(CupertinoIcons.cpu, color: SuperAdminTheme.royalGold),
icon: Icon(CupertinoIcons.sparkles),
activeIcon: Icon(CupertinoIcons.sparkles, color: SuperAdminTheme.royalGold),
label: 'الذكاء المحلي',
),
BottomNavigationBarItem(
@@ -53,7 +53,7 @@ class AiClusterTab extends StatelessWidget {
children: [
const Row(
children: [
Icon(CupertinoIcons.cpu, color: SuperAdminTheme.cyberCyan, size: 22),
Icon(CupertinoIcons.sparkles, color: SuperAdminTheme.cyberCyan, size: 22),
SizedBox(width: 8),
Text(
'عنقود الذكاء الاصطناعي السيادي (Local Inference)',
@@ -31,7 +31,6 @@ class TreasuryCliqTab extends StatelessWidget {
if (state is TreasuryLoaded) {
final pendingItems = state.queue.where((item) => item.status == 'queued').toList();
final completedItems = state.queue.where((item) => item.status == 'completed').toList();
final double pendingSum = pendingItems.fold(0.0, (acc, item) => acc + item.amountJod);
return SingleChildScrollView(
+6 -6
View File
@@ -316,10 +316,10 @@ packages:
dependency: transitive
description:
name: matcher
sha256: "12956d0ad8390bbcc63ca2e1469c0619946ccb52809807067a7020d57e647aa6"
sha256: dc0b7dc7651697ea4ff3e69ef44b0407ea32c487a39fff6a4004fa585e901861
url: "https://pub.dev"
source: hosted
version: "0.12.18"
version: "0.12.19"
material_color_utilities:
dependency: transitive
description:
@@ -332,10 +332,10 @@ packages:
dependency: transitive
description:
name: meta
sha256: "23f08335362185a5ea2ad3a4e597f1375e78bce8a040df5c600c8d3552ef2394"
sha256: "1741988757a65eb6b36abe716829688cf01910bbf91c34354ff7ec1c3de2b349"
url: "https://pub.dev"
source: hosted
version: "1.17.0"
version: "1.18.0"
nested:
dependency: transitive
description:
@@ -561,10 +561,10 @@ packages:
dependency: transitive
description:
name: test_api
sha256: "93167629bfc610f71560ab9312acdda4959de4df6fac7492c89ff0d3886f6636"
sha256: "949a932224383300f01be9221c39180316445ecb8e7547f70a41a35bf421fb9e"
url: "https://pub.dev"
source: hosted
version: "0.7.9"
version: "0.7.11"
typed_data:
dependency: transitive
description: