feat: Refactor SearchResultsList component for improved loading and empty state handling

- Updated UI to use AnimatedVisibility for loading indicator and empty state message.
- Enhanced user feedback with a centered loading spinner and message during search.
- Improved layout and spacing for search results and user items.
- Adjusted colors and sizes for better visual consistency.

chore: Update gradle.properties to use new Java 17 path

- Changed Java home path to reflect new installation location.

docs: Add comprehensive README for project setup and development

- Included quick start instructions, available emulators, technologies used, and useful commands.
- Documented project structure and debugging tips.
- Added license information and contact details for the development team.

build: Add development scripts for quick rebuild and installation

- Created dev.sh for fast rebuild and install without cleaning.
- Added run.sh for a complete build and install process with emulator checks.
- Introduced watch-dev.sh for automatic rebuild on file changes.
This commit is contained in:
senseiGai
2026-01-11 17:14:02 +05:00
parent 5f21f120f1
commit 5e3b9d0882
9 changed files with 1428 additions and 1086 deletions

35
dev.sh Executable file
View File

@@ -0,0 +1,35 @@
#!/bin/bash
# Quick Dev Script - Fast rebuild and install
echo "🔄 Quick rebuild and install..."
# Check if emulator is running
if ! adb devices | grep -q "emulator"; then
echo "⚠️ Эмулятор не запущен. Запускаю..."
$ANDROID_HOME/emulator/emulator -avd Pixel_9_Pro_API_35 &
adb wait-for-device
# Wait for boot complete
while [ "$(adb shell getprop sys.boot_completed 2>/dev/null | tr -d '\r')" != "1" ]; do
sleep 2
done
fi
echo "📱 Эмулятор готов!"
# Fast install (no clean)
./gradlew installDebug --no-daemon
if [ $? -eq 0 ]; then
echo "✅ Установлено!"
# Auto-launch
adb shell am start -n com.rosetta.messenger/.MainActivity
echo ""
echo "🎉 Приложение запущено!"
echo "📝 Для просмотра логов: adb logcat | grep rosetta"
else
echo "❌ Ошибка установки"
fi