How gtiosclub/sonora works
Sonora is an iOS speaking-practice app with account access, session modes for interviews, debates, and speeches, and transcript-related analysis. The visible path runs from login through auth-state routing to the signed-in home; the session test view exercises queue joining and session acceptance. Models indicate supporting user, drill, preference, skill, and opponent data. The README offers no feature documentation, and several listed capabilities have only models or fixtures in the supplied evidence, so their runtime connections are not inferred.
Main entry points: AuthManager.swift Auth state · RootView.swift Root routing · Session.swift Session data · SkillProfile.swift Skill profile
Components 24
App and access
- App entry
Sonora/Sonora/Shared/SonoraApp.swift - Root routing
Sonora/Sonora/Shared/Views/RootView.swift - Login and signup
Sonora/Sonora/Shared/Views/LoginView.swift - Signed-in home
Sonora/Sonora/Shared/Views/ContentView.swift - Auth state
Sonora/Sonora/Shared/Services/AuthManager.swift - User records
Sonora/Sonora/Shared/Services/UserService.swift - Firebase helper
Sonora/Sonora/Shared/Services/FirebaseViewModel.swift
Practice sessions
- Session test view
Sonora/Sonora/LiveSession/Views/TestView.swift - Session operations
Sonora/Sonora/LiveSession/ViewModel/SessionViewModel.swift - AI model
Sonora/Sonora/LiveSession/Model/AIModel.swift
Speech analysis
- Transcript debug view
Sonora/Sonora/Analysis/Views/TranscriptDebugView.swift - Mock transcription
Sonora/Sonora/Analysis/Services/Speech/MockTranscriptionService.swift - Transcript
Sonora/Sonora/Analysis/Models/Transcript.swift - Transcript word
Sonora/Sonora/Analysis/Models/TranscriptWord.swift
User and practice data
- User profile
Sonora/Sonora/Shared/Models/User.swift - Session data
Sonora/Sonora/Shared/Models/Session.swift - Drill
Sonora/Sonora/Shared/Models/Drill.swift - AI opponent
Sonora/Sonora/Shared/Models/AIOpponent.swift - Preferences
Sonora/Sonora/Shared/Models/PreferenceProfile.swift - Skill profile
Sonora/Sonora/Shared/Models/SkillProfile.swift - Skill improvement
Sonora/Sonora/Shared/Models/SkillImprovement.swift
Other components
- User
- Firebase Auth
- Cloud Firestore
Connections 30
- User → App entry: launches
Sonora/Sonora/Shared/SonoraApp.swift - App entry → Root routing: shows
Sonora/Sonora/Shared/SonoraApp.swift - Root routing → Auth state: observes
Sonora/Sonora/Shared/Views/RootView.swift - Root routing → Signed-in home: routes signed-in
Sonora/Sonora/Shared/Views/RootView.swift - Root routing → Login and signup: routes signed-out
Sonora/Sonora/Shared/Views/RootView.swift - Login and signup → Auth state: submits credentials
Sonora/Sonora/Shared/Views/LoginView.swift - Auth state → Firebase Auth: authenticates
Sonora/Sonora/Shared/Services/AuthManager.swift - Auth state → Cloud Firestore: creates profiles
Sonora/Sonora/Shared/Services/AuthManager.swift - Auth state → User records: loads user
Sonora/Sonora/Shared/Services/AuthManager.swift - User records → Cloud Firestore: reads and updates
Sonora/Sonora/Shared/Services/UserService.swift - Auth state → User profile: builds user
Sonora/Sonora/Shared/Services/AuthManager.swift - Auth state → Skill profile: builds profile
Sonora/Sonora/Shared/Services/AuthManager.swift - Auth state → Preferences: builds profile
Sonora/Sonora/Shared/Services/AuthManager.swift - Signed-in home → Auth state: signs out
Sonora/Sonora/Shared/Views/ContentView.swift - Signed-in home → Session test view: opens
Sonora/Sonora/Shared/Views/ContentView.swift - Session test view → Auth state: gets current user
Sonora/Sonora/LiveSession/Views/TestView.swift - Session test view → Session operations: calls operations
Sonora/Sonora/LiveSession/Views/TestView.swift - Session operations → Cloud Firestore: updates queue and session
Sonora/Sonora/LiveSession/ViewModel/SessionViewModel.swift - Session operations → Session data: uses session mode
Sonora/Sonora/LiveSession/ViewModel/SessionViewModel.swift - Session data → AI opponent: references
Sonora/Sonora/Shared/Models/Session.swift - User profile → Drill: stores past drills
Sonora/Sonora/Shared/Models/User.swift - Drill → Session data: references
Sonora/Sonora/Shared/Models/Drill.swift - Drill → Skill profile: references
Sonora/Sonora/Shared/Models/Drill.swift - Preferences → Session data: references
Sonora/Sonora/Shared/Models/PreferenceProfile.swift - User profile → Skill profile: references
Sonora/Sonora/Shared/Models/User.swift - Skill improvement → Skill profile: references
Sonora/Sonora/Shared/Models/SkillImprovement.swift - Transcript debug view → Mock transcription: loads fixture transcript
Sonora/Sonora/Analysis/Views/TranscriptDebugView.swift - Mock transcription → Transcript: decodes
Sonora/Sonora/Analysis/Services/Speech/MockTranscriptionService.swift - Transcript → Transcript word: contains words
Sonora/Sonora/Analysis/Models/Transcript.swift - Transcript debug view → Transcript word: displays words
Sonora/Sonora/Analysis/Views/TranscriptDebugView.swift