How ali-hmed/netsom-desk-mobile works
This is a mobile workspace and task-management app. A user enters through onboarding or sign-in, restores or establishes a session, then works within a selected workspace across dashboard, tasks, calendar, analytics, todos, team, inbox, and profile screens. The sampled task screen loads and edits workspace tasks through a service backed by the remote API; authentication also persists credentials and workspace selection securely. The README is empty, and several routes were not sampled, so their capabilities are represented from the route tree without assuming internal calls.
Main entry points: workspace.service.ts Workspace service · auth.service.ts Authentication service · index.tsx Initial routing · secure-store.service.ts Secure storage
Components 22
Entry and account
- Initial routing
app/index.tsx - Onboarding
app/onboarding.tsx - Sign in
app/(auth)/login.tsx - Registration
app/(auth)/register.tsx - Authentication service
services/auth.service.ts - Profile
app/profile.tsx
Workspace operations
- Dashboard
app/(tabs)/dashboard.tsx - Task management
app/(tabs)/tasks.tsx - Calendar
app/(tabs)/calendar.tsx - Analytics
app/(tabs)/analytics.tsx - To-dos
app/(tabs)/todos.tsx - Team management
app/(tabs)/team.tsx - Notifications inbox
app/inbox.tsx - Workspace controls
components/ui/WorkspaceScreen.tsx
Session and preferences
- Auth state
store/useAuthStore.ts - Secure storage
services/secure-store.service.ts - Theme resolution
hooks/useTheme.ts - Theme preference
store/useThemeStore.ts
Backend access
- Workspace service
services/workspace.service.ts - API client
services/api.ts
Other components
- Mobile user
- Application backend
Connections 28
- Mobile user → Initial routing: opens app
- Initial routing → Secure storage: reads token
- Initial routing → Authentication service: restores session
- Initial routing → Dashboard: routes on success
- Initial routing → Onboarding: routes otherwise
- Onboarding → Sign in: opens sign-in
- Sign in → Authentication service: signs in
- Registration → Authentication service: registers account
- Authentication service → API client: requests auth
- Authentication service → Secure storage: persists session
- Authentication service → Auth state: updates session
- Authentication service → Application backend: calls endpoints
- Mobile user → Dashboard: views workspace
- Dashboard → Workspace service: loads metrics
- Task management → Workspace service: loads and edits tasks
- Calendar → Workspace service: loads appointments
- To-dos → Workspace service: manages todos
- Analytics → Workspace service: loads workspace data
- Team management → Workspace service: manages members
- Notifications inbox → Workspace service: handles notifications
- Workspace controls → Workspace service: manages workspaces
- Workspace controls → Auth state: updates selection
- Workspace controls → Secure storage: stores selection
- Workspace service → API client: sends requests
- API client → Application backend: transfers data
- Profile → Authentication service: uses account operations
- Theme resolution → Theme preference: reads preference
- Theme preference → Secure storage: persists preference