ui changes
This commit is contained in:
parent
76f86adc25
commit
63cd800615
92
README.md
92
README.md
@ -184,8 +184,8 @@ API Request → Redux Action → State Update → UI Re-render → User Interact
|
||||
|
||||
**For Android Development:**
|
||||
- **Android Studio**: [Download from developer.android.com](https://developer.android.com/studio)
|
||||
- **Android SDK**: API level 21 (Android 5.0) or higher
|
||||
- **Java Development Kit (JDK)**: Version 11 or 17
|
||||
- **Android SDK**: API level 29 (Android 5.0) or higher
|
||||
- **Java Development Kit (JDK)**: Version 17 and above
|
||||
- **Android Emulator**: For testing without physical device
|
||||
|
||||
**For iOS Development (macOS only):**
|
||||
@ -198,7 +198,7 @@ API Request → Redux Action → State Update → UI Re-render → User Interact
|
||||
#### **1. Clone the Repository**
|
||||
```bash
|
||||
# Clone the project
|
||||
git clone <repository-url>
|
||||
git clone <https://git.tech4biz.wiki/Tech4Biz-Services/NewScan-Physician-Mobile>
|
||||
cd NeoScan_Radiologist
|
||||
|
||||
# Verify the structure
|
||||
@ -226,15 +226,7 @@ nano .env
|
||||
**Required Environment Variables:**
|
||||
```env
|
||||
# API Configuration
|
||||
API_BASE_URL=https://api.neoscan.com
|
||||
API_TIMEOUT=30000
|
||||
|
||||
# Authentication
|
||||
AUTH_TOKEN_KEY=neoscan_auth_token
|
||||
REFRESH_TOKEN_KEY=neoscan_refresh_token
|
||||
|
||||
# DICOM Viewer
|
||||
DICOM_VIEWER_URL=https://viewer.neoscan.com
|
||||
BASE_URL=https://neoscan-backend.tech4bizsolutions.com
|
||||
```
|
||||
|
||||
#### **4. Start Development Server**
|
||||
@ -471,24 +463,66 @@ interface RootState {
|
||||
|
||||
|
||||
|
||||
### **Testing Strategy**
|
||||
### **User Signup Flow Diagram**
|
||||
|
||||
#### **Unit Testing**
|
||||
```bash
|
||||
# Run unit tests
|
||||
npm test
|
||||
|
||||
# Run tests with coverage
|
||||
npm run test:coverage
|
||||
|
||||
# Run specific test file
|
||||
npm test -- PatientCard.test.tsx
|
||||
```
|
||||
|
||||
#### **Component Testing**
|
||||
- **React Native Testing Library**: Component behavior testing
|
||||
- **Jest**: Test runner and assertion library
|
||||
- **Mock Services**: API service mocking
|
||||
┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐
|
||||
│ App Launch │───►│ Email Entry │───►│ Email Check │
|
||||
└─────────────────┘ └─────────────────┘ └─────────────────┘
|
||||
│
|
||||
▼
|
||||
┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐
|
||||
│ Already │◄───│ Email Exists? │───►│ New Email │
|
||||
│ Registered │ └─────────────────┘ └─────────────────┘
|
||||
└─────────────────┘ │
|
||||
│ ▼
|
||||
▼ ┌─────────────────┐
|
||||
┌─────────────────┐ │ Set Password │
|
||||
│ Redirect to │ └─────────────────┘
|
||||
│ Login │ │
|
||||
└─────────────────┘ ▼
|
||||
┌─────────────────┐
|
||||
│ Personal Info │
|
||||
│ (Name, Age, │
|
||||
│ Sex, etc.) │
|
||||
└─────────────────┘
|
||||
│
|
||||
▼
|
||||
┌─────────────────┐
|
||||
│ Upload Hospital │
|
||||
│ ID │
|
||||
└─────────────────┘
|
||||
│
|
||||
▼
|
||||
┌─────────────────┐
|
||||
│ Select Hospital │
|
||||
│/Institution │
|
||||
└─────────────────┘
|
||||
│
|
||||
▼
|
||||
┌─────────────────┐
|
||||
│ Wait for Admin │
|
||||
│ Approval │
|
||||
└─────────────────┘
|
||||
│
|
||||
▼
|
||||
┌─────────────────┐
|
||||
│ Admin Review │
|
||||
│ Complete │
|
||||
└─────────────────┘
|
||||
│
|
||||
▼
|
||||
┌─────────────────┐
|
||||
│ Login & Reset │
|
||||
│ Password │
|
||||
└─────────────────┘
|
||||
│
|
||||
▼
|
||||
┌─────────────────┐
|
||||
│ Radiologist │
|
||||
│ Dashboard │
|
||||
└─────────────────┘
|
||||
```
|
||||
|
||||
### **Code Quality Tools**
|
||||
|
||||
@ -635,7 +669,7 @@ This project is proprietary software developed for healthcare institutions. All
|
||||
### **1. Environment Setup (5 minutes)**
|
||||
```bash
|
||||
# Clone and setup
|
||||
git clone <repository-url>
|
||||
git clone <https://git.tech4biz.wiki/Tech4Biz-Services/NewScan-Physician-Mobile>
|
||||
cd NeoScan_Radiologist
|
||||
npm install
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user