How 3-1-choiinsawman/gesture_client works
Gesture is a sign-language communication frontend. Its user-facing flow runs from account creation or login into a profile and home experience, where users can discover or create call rooms and enter a video room. Separate branches cover friends and chat, profile settings, quick slots, meeting notes, and notifications. The graph uses the README and indexed import references; several feature implementations, especially video-room internals and API modules, were not sampled, so their internal links are omitted or marked unverified.
Main entry points: CallRoomSection.tsx Room Discovery · authApi.ts Auth API · page.tsx Profile Page · VideoRoom.tsx Video Room
Components 31
Identity
- Signup Flow
src/app/auth/signup/page.tsx - Email Verification
src/components/signup/Step1Email.tsx - Profile Setup
src/components/signup/Step3Profile.tsx - Login Page
src/app/auth/login/page.tsx - Auth Actions
src/hooks/useAuth.ts - Auth API
src/api/authApi.ts
Home And Rooms
- Home Page
src/app/(main)/page.tsx - Room Discovery
src/components/home/CallRoomSection.tsx - Room Actions
src/components/callroom - Room State
src/store/callRoomStore.ts - Call Page
src/app/(main)/call/page.tsx
Communication
- Room Entry
src/app/room/page.tsx - Video Room
src/components/videoroom/VideoRoom.tsx - WebRTC Media
src/components/videoroom/useWebRTC.ts - Sign Recognition
src/components/videoroom/useSignLanguage.ts - Speech To Text
src/components/videoroom/useSpeechToText.ts - Friends
src/components/friends/FriendsPage.tsx - Direct Chat
src/components/friends/chat/ChatWindow.tsx - Chat Socket
src/components/friends/chat/useDmChatSocket.ts - Chat State
src/store/chatStore.ts
Profile And Preferences
- Profile Page
src/app/(main)/auth/profile/page.tsx - Profile Editor
src/app/(main)/auth/profile/edit/page.tsx - Profile Actions
src/hooks/useProfile.ts - Sign Quick Slots
src/components/profile/QuickSlots.tsx - Meeting Notes
src/components/profile/MeetingNotes.tsx - Notifications
src/components/profile/NotificationSettings.tsx
Shared Client Layer
- Auth State
src/store/authStore.ts - HTTP Client
src/api/axiosInstance.ts - Cookie Helpers
src/lib/cookie.ts
Other components
- Visitor
- Service Backend
Connections 33
- Visitor → Signup Flow: registers
README.md - Visitor → Login Page: signs in
README.md - Signup Flow → Email Verification: renders
src/app/auth/signup/page.tsx - Signup Flow → Profile Setup: renders
src/app/auth/signup/page.tsx - Email Verification → Auth API: verifies email
src/components/signup/Step1Email.tsx - Profile Setup → Auth API: registers account
src/components/signup/Step3Profile.tsx - Login Page → Auth Actions: submits credentials
src/app/auth/login/page.tsx - Auth Actions → Auth API: authenticates
src/hooks/useAuth.ts - Auth Actions → Auth State: updates user
src/hooks/useAuth.ts - Auth API → HTTP Client: sends requests
src/api/authApi.ts - Auth API → Cookie Helpers: stores token
src/api/authApi.ts - HTTP Client → Cookie Helpers: reads tokens
src/api/axiosInstance.ts - Home Page → Room Discovery: renders
src/app/(main)/page.tsx - Call Page → Room Discovery: renders
src/app/(main)/call/page.tsx - Room Discovery → Room State: loads rooms
src/components/home/CallRoomSection.tsx - Room Discovery → Room Actions: opens room actions
src/components/home/CallRoomSection.tsx - Room Discovery → Service Backend: requests room data
- Room Entry → Video Room: renders
src/app/room/page.tsx - Video Room → WebRTC Media: uses media transport
- Video Room → Sign Recognition: uses recognition
- Video Room → Speech To Text: uses transcription
- Visitor → Friends: manages friends
README.md - Friends → Direct Chat: opens chat
- Direct Chat → Chat Socket: uses live messaging
- Chat Socket → HTTP Client: gets valid token
src/components/friends/chat/useDmChatSocket.ts - Profile Page → Profile Editor: offers editing
- Profile Editor → Profile Actions: updates profile
- Profile Page → Sign Quick Slots: renders
src/app/(main)/auth/profile/page.tsx - Profile Page → Meeting Notes: renders
src/app/(main)/auth/profile/page.tsx - Profile Page → Notifications: renders
src/app/(main)/auth/profile/page.tsx - Sign Quick Slots → Service Backend: loads slot data
- Meeting Notes → Service Backend: loads notes
- Notifications → Service Backend: loads settings