From 4d969ba0a50edec23b649b03cdf0887619f597ad Mon Sep 17 00:00:00 2001 From: ssbg04 Date: Wed, 19 Aug 2026 00:59:35 +0800 Subject: [PATCH] chore: sync documentation and splash screen improvements --- frontend/AGENTS.md | 36 +++++++++++++++++-- frontend/SETUP.md | 35 ------------------ .../lib/ui/screens/splash/splash_screen.dart | 14 +++----- 3 files changed, 38 insertions(+), 47 deletions(-) delete mode 100644 frontend/SETUP.md diff --git a/frontend/AGENTS.md b/frontend/AGENTS.md index ce866ce..804f6c3 100644 --- a/frontend/AGENTS.md +++ b/frontend/AGENTS.md @@ -179,10 +179,40 @@ Files backup/restore - mirror mode or zip --> + + + + + + + + + + + + + +# NATIVE SPLASH SCREEN IN ANDROID APP +- use --- diff --git a/frontend/SETUP.md b/frontend/SETUP.md deleted file mode 100644 index 51cad0b..0000000 --- a/frontend/SETUP.md +++ /dev/null @@ -1,35 +0,0 @@ - - -# Server - -## Folder paths -1. root: F:\SumbrerongBato\tis_rms_server\backend -2. copy the root files including node module for fully standalone to F:\SumbrerongBato\tis_rms_server\backend_build -- root folder have dummy data for testing, do not add data in the backend_build folder - -## installer -1. use inno setup compiler -2. separate with dummy data and without data installer -3. save on specific location in local example C:\TIS_RMS -4. add checkbox for auto startup -5. add uninstaller -6. run in the background -7. add logo icon on the installer -8. add save folder path for the installer, default to F:\SumbrerongBato\tis_rms_server\installers - ---- - -# Client - -## Windows App - -### Folder paths -1. root release files: F:\SumbrerongBato\tis_rms_server\frontend\build\windows\x64\runner\Release -2. folder copy: F:\SumbrerongBato\tis_rms_server\frontend_build - -## installer -1. use inno setup compiler -2. separate with dummy data and without data installer -5. add uninstaller -7. add logo icon on the installer -8. add save folder path for the installer, default to F:\SumbrerongBato\tis_rms_server\installers diff --git a/frontend/lib/ui/screens/splash/splash_screen.dart b/frontend/lib/ui/screens/splash/splash_screen.dart index 29b610b..bdbf967 100644 --- a/frontend/lib/ui/screens/splash/splash_screen.dart +++ b/frontend/lib/ui/screens/splash/splash_screen.dart @@ -14,6 +14,7 @@ import '../../layouts/android_bottom_nav_layout.dart'; import '../../providers/auth_provider.dart'; import '../../../core/services/foreground_sync_service.dart'; import '../../shared/widgets/abstract_background.dart'; +import '../../shared/widgets/app_button_loader.dart'; class SplashScreen extends ConsumerStatefulWidget { const SplashScreen({super.key}); @@ -324,15 +325,10 @@ class _SplashScreenState extends ConsumerState const SizedBox(height: 40), // Smooth Loading Spinner - const SizedBox( - width: 28, - height: 28, - child: CircularProgressIndicator( - valueColor: AlwaysStoppedAnimation( - AppColors.primaryGreen, - ), - strokeWidth: 2.6, - ), + const AppButtonLoader( + size: 28, + strokeWidth: 2.6, + color: AppColors.primaryGreen, ), const SizedBox(height: 18),