How senti-risu/qrtree works
The repository contains a Flutter starter and a separate EcoTag web UI reference. The mapped product workflow is dashboard viewing, plant registration and listing, and reports backed by Supabase; the README also documents QR management and administrator workflows whose implementation files are not present in the tree. Those capabilities are included as documented but unlocated nodes. Native platform runners are startup shells, not product-domain components.
Main entry points: App.tsx Dashboard · supabase.ts Supabase client · PlantList.tsx Plant list · RegisterPlant.tsx Plant registration
Components 19
Web application
- EcoTag app
work/ecotag_ui_reference/src/App.tsx - Navigation sidebar
work/ecotag_ui_reference/src/components/AppSidebar.tsx - Quick actions
work/ecotag_ui_reference/src/components/QuickActions.tsx
Plant workflows
- Plant list
work/ecotag_ui_reference/src/pages/PlantList.tsx - Plant registration
work/ecotag_ui_reference/src/pages/RegisterPlant.tsx
Dashboard and reports
- Dashboard
work/ecotag_ui_reference/src/App.tsx - Reports
work/ecotag_ui_reference/src/pages/Reports.tsx - Dashboard data
work/ecotag_ui_reference/src/hooks/useDashboardData.ts - Stat cards
work/ecotag_ui_reference/src/components/StatCard.tsx - Health chart
work/ecotag_ui_reference/src/components/HealthChart.tsx - Campus chart
work/ecotag_ui_reference/src/components/CampusChart.tsx - Recent plants
work/ecotag_ui_reference/src/components/RecentPlants.tsx - Recent inspections
work/ecotag_ui_reference/src/components/RecentInspections.tsx
Data service
- Supabase client
work/ecotag_ui_reference/src/lib/supabase.ts - Supabase
Documented operations
- QR tag management
- Admin accounts
- Inspection team accounts
Other components
- User
Connections 21
- User → EcoTag app: uses
work/ecotag_ui_reference/src/App.tsx - EcoTag app → Navigation sidebar: renders
work/ecotag_ui_reference/src/App.tsx - EcoTag app → Dashboard: routes to
work/ecotag_ui_reference/src/App.tsx - EcoTag app → Plant list: routes to
work/ecotag_ui_reference/src/App.tsx - EcoTag app → Plant registration: routes to
work/ecotag_ui_reference/src/App.tsx - EcoTag app → Reports: routes to
work/ecotag_ui_reference/src/App.tsx - Dashboard → Dashboard data: loads
work/ecotag_ui_reference/src/App.tsx - Dashboard → Stat cards: renders
work/ecotag_ui_reference/src/App.tsx - Dashboard → Quick actions: renders
work/ecotag_ui_reference/src/App.tsx - Dashboard → Recent plants: renders
work/ecotag_ui_reference/src/App.tsx - Dashboard → Recent inspections: renders
work/ecotag_ui_reference/src/App.tsx - Dashboard → Campus chart: renders
work/ecotag_ui_reference/src/App.tsx - Dashboard data → Supabase client: queries
work/ecotag_ui_reference/src/hooks/useDashboardData.ts - Supabase client → Supabase: connects
work/ecotag_ui_reference/src/lib/supabase.ts - Plant list → Supabase client: queries
work/ecotag_ui_reference/src/pages/PlantList.tsx - Plant registration → Supabase client: uses
work/ecotag_ui_reference/src/pages/RegisterPlant.tsx - Reports → Supabase client: queries
work/ecotag_ui_reference/src/pages/Reports.tsx - User → QR tag management: manages tags
README.md - QR tag management → Supabase: stores tags
README.md - User → Admin accounts: manages accounts
README.md - User → Inspection team accounts: manages accounts
README.md