How maldoddiakshitha/lifeloop-ai12345 works
LifeLoop AI lets community members submit local problems, then analyzes and checks reports before they are saved and surfaced for community tracking. The main workflow runs through the app shell: report form, text/image analysis and duplicate matching, then persistence and dashboard views with confirmation, status, and category correction. Separate dashboard capabilities include a location heatmap, impact metrics, and contributor leaderboard. Evidence is limited to the excerpts and README; some documented UI and persistence details are therefore shown without asserted implementation-level links.
Main entry points: App.tsx App shell · ReportForm.tsx Report form · DuplicatePanel.tsx Duplicate review · supabase.ts Supabase client and report types
Components 16
Report Submission
- App shell
src/App.tsx - Report form
src/components/ReportForm.tsx
Analysis and Matching
- AI analysis
src/lib/ai.ts - Duplicate matching
src/lib/ai.ts - Duplicate review
src/components/DuplicatePanel.tsx
Community Dashboard
- Report cards
src/components/ReportCard.tsx - Community heatmap
src/components/Heatmap.tsx - Impact score
src/components/ImpactScore.tsx - Contributor leaderboard
src/components/Leaderboard.tsx - Category and status badges
src/components/Badges.tsx - Brand mark
src/components/Logo.tsx
Data Platform
- Reports database
supabase/migrations/20261121113747_create_reports_table.sql - Photo storage
supabase/migrations/20261121114008_storage_bucket_and_seed.sql - Supabase client and report types
src/lib/supabase.ts
Other components
- Community member
- Browser speech recognition
Connections 21
- Community member → App shell: uses
README.md - App shell → Report form: renders
src/App.tsx - Report form → App shell: submits report
src/components/ReportForm.tsx - Report form → AI analysis: previews with
src/components/ReportForm.tsx - App shell → AI analysis: analyzes image
src/App.tsx - App shell → Duplicate matching: checks duplicates
src/App.tsx - Duplicate matching → Duplicate review: surfaces matches
- Report form → Duplicate review: renders
src/components/ReportForm.tsx - App shell → Supabase client and report types: uses
src/App.tsx - Report form → Supabase client and report types: imports
src/components/ReportForm.tsx - Supabase client and report types → Reports database: accesses reports
- App shell → Report cards: renders
src/App.tsx - App shell → Community heatmap: renders
src/App.tsx - App shell → Impact score: renders
src/App.tsx - App shell → Contributor leaderboard: shows leaderboard
src/App.tsx - Report cards → Category and status badges: uses
src/components/ReportCard.tsx - Community heatmap → Category and status badges: uses
src/components/Heatmap.tsx - Duplicate review → Category and status badges: uses
src/components/DuplicatePanel.tsx - App shell → Brand mark: renders
src/App.tsx - Community member → Browser speech recognition: dictates report
README.md - Browser speech recognition → Report form: provides transcript
README.md