├── .env ├── .env.example ├── .github └── pull_request_template.md ├── .gitignore ├── .prettierrc ├── LICENSE ├── README.md ├── bun.lockb ├── components.json ├── eslint.config.js ├── eslint.config.mjs ├── index.html ├── package.json ├── postcss.config.js ├── public ├── data │ ├── Hat_Yai_Rescue.kml │ ├── Hat_Yai_Rescue.kmz │ └── poly_s1a_20251124_0602.kml ├── favicon.ico ├── favicon.png ├── lovable-uploads │ └── c56c1c6e-4c02-46b7-b430-02dad0220435.png ├── og-image.png ├── placeholder.svg ├── robots.txt └── thaifloodhelp.png ├── src ├── App.css ├── App.tsx ├── assets │ ├── hero-flood.jpg │ ├── logo.png │ └── social-icons-cluster.svg ├── components │ ├── ApiKeyManager.tsx │ ├── BasemapControl.tsx │ ├── DraggableMap.tsx │ ├── DuplicateDialog.tsx │ ├── EditReportDialog.tsx │ ├── Footer.tsx │ ├── InteractiveMap.tsx │ ├── MapControlPanel.tsx │ ├── MissionSections.tsx │ ├── NavLink.tsx │ ├── Navbar.tsx │ ├── PhoneList.tsx │ ├── QueryBot.tsx │ ├── ReportHeatmap.tsx │ ├── StatsCard.tsx │ └── ui │ │ ├── accordion.tsx │ │ ├── alert-dialog.tsx │ │ ├── alert.tsx │ │ ├── aspect-ratio.tsx │ │ ├── avatar.tsx │ │ ├── badge.tsx │ │ ├── breadcrumb.tsx │ │ ├── button.tsx │ │ ├── calendar.tsx │ │ ├── card.tsx │ │ ├── carousel.tsx │ │ ├── chart.tsx │ │ ├── checkbox.tsx │ │ ├── collapsible.tsx │ │ ├── command.tsx │ │ ├── context-menu.tsx │ │ ├── dialog.tsx │ │ ├── drawer.tsx │ │ ├── dropdown-menu.tsx │ │ ├── form.tsx │ │ ├── hover-card.tsx │ │ ├── input-otp.tsx │ │ ├── input.tsx │ │ ├── label.tsx │ │ ├── map.tsx │ │ ├── menubar.tsx │ │ ├── navigation-menu.tsx │ │ ├── pagination.tsx │ │ ├── popover.tsx │ │ ├── progress.tsx │ │ ├── radio-group.tsx │ │ ├── resizable.tsx │ │ ├── scroll-area.tsx │ │ ├── select.tsx │ │ ├── separator.tsx │ │ ├── sheet.tsx │ │ ├── sidebar.tsx │ │ ├── skeleton.tsx │ │ ├── slider.tsx │ │ ├── sonner.tsx │ │ ├── switch.tsx │ │ ├── table.tsx │ │ ├── tabs.tsx │ │ ├── textarea.tsx │ │ ├── toast.tsx │ │ ├── toaster.tsx │ │ ├── toggle-group.tsx │ │ ├── toggle.tsx │ │ ├── tooltip.tsx │ │ └── use-toast.ts ├── constants │ └── helpCategories.ts ├── contexts │ ├── AuthContext.tsx │ └── LiffContext.tsx ├── hooks │ ├── use-help-stats.ts │ ├── use-mobile.tsx │ ├── use-reports.ts │ ├── use-stats.ts │ └── use-toast.ts ├── index.css ├── integrations │ └── supabase │ │ ├── client.ts │ │ └── types.ts ├── lib │ ├── reportUtils.ts │ └── utils.ts ├── main.tsx ├── pages │ ├── Api.tsx │ ├── Auth.tsx │ ├── Dashboard.tsx │ ├── Help.tsx │ ├── HelpBrowse.tsx │ ├── HelpOffer.tsx │ ├── HelpRequest.tsx │ ├── Input.tsx │ ├── Landing.tsx │ ├── Map.tsx │ ├── Mission.tsx │ ├── NotFound.tsx │ ├── Privacy.tsx │ ├── ReportDetail.tsx │ ├── Review.tsx │ ├── SelectReports.tsx │ └── Stats.tsx ├── styles │ └── map.css ├── types │ ├── map.ts │ └── report.ts ├── utils │ └── ErrorUtils.ts └── vite-env.d.ts ├── supabase ├── config.toml ├── functions │ ├── api-v1-extract │ │ └── index.ts │ ├── api-v1-ocr │ │ └── index.ts │ ├── api-v1-save-mock │ │ └── index.ts │ ├── api-v1-save │ │ └── index.ts │ ├── check-duplicates │ │ └── index.ts │ ├── complete-address │ │ └── index.ts │ ├── extract-report │ │ └── index.ts │ ├── generate-embedding │ │ └── index.ts │ ├── geocode-address │ │ └── index.ts │ ├── line-webhook │ │ └── index.ts │ ├── ocr-image │ │ └── index.ts │ ├── parse-map-link │ │ └── index.ts │ ├── query-reports │ │ └── index.ts │ └── search-reports │ │ └── index.ts └── migrations │ ├── 20241126_create_line_sessions.sql │ ├── 20251125045152_066970bf-f9fc-42fe-8179-4fe526e47a2e.sql │ ├── 20251125051735_3405d019-021b-44ee-98fa-7c7bad7c0ca0.sql │ ├── 20251125104857_2c99cb76-ef05-4f71-b209-ec118da61857.sql │ ├── 20251125112015_7bef3e45-53f5-485e-8d6a-360316345f13.sql │ ├── 20251125113455_0675a409-190a-4bda-ae9a-502bb7df8ba7.sql │ ├── 20251125114243_a684fd0b-2589-4289-afa1-15b7cf43cb5b.sql │ ├── 20251125120745_c84d5393-0bcf-463c-b689-1a17b57beaf2.sql │ ├── 20251125160850_17aeca84-d724-4a34-9877-cdb05e779241.sql │ ├── 20251126000000_add_line_user_fields.sql │ ├── 20251126034756_ddd2a311-ba19-407a-b6e9-983b0fc82929.sql │ ├── 20251126055914_338a2c9f-016a-4069-9920-5bc586b76bbb.sql │ ├── 20251126103748_67de37c1-9b20-4fd6-953d-dbff4f2900c5.sql │ ├── 20251126121731_0dd7ce40-0290-412e-b2f1-86a7351cc21e.sql │ ├── 20251126143752_6bb5d8c0-4929-4ddb-bbd0-91add3dbd3ba.sql │ ├── 20251127000000_optimize_category_filtering.sql │ ├── 20251127190039_a3bad31c-33a6-4168-9859-6f3a11cae988.sql │ └── 20251127192744_463d1730-d271-4bbc-8a8a-468acd7a3804.sql ├── tailwind.config.ts ├── tsconfig.app.json ├── tsconfig.json ├── tsconfig.node.json └── vite.config.ts /.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/.env -------------------------------------------------------------------------------- /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/.env.example -------------------------------------------------------------------------------- /.github/pull_request_template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/.github/pull_request_template.md -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/.prettierrc -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/README.md -------------------------------------------------------------------------------- /bun.lockb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/bun.lockb -------------------------------------------------------------------------------- /components.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/components.json -------------------------------------------------------------------------------- /eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/eslint.config.js -------------------------------------------------------------------------------- /eslint.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/eslint.config.mjs -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/index.html -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/package.json -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/postcss.config.js -------------------------------------------------------------------------------- /public/data/Hat_Yai_Rescue.kml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/public/data/Hat_Yai_Rescue.kml -------------------------------------------------------------------------------- /public/data/Hat_Yai_Rescue.kmz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/public/data/Hat_Yai_Rescue.kmz -------------------------------------------------------------------------------- /public/data/poly_s1a_20251124_0602.kml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/public/data/poly_s1a_20251124_0602.kml -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /public/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/public/favicon.png -------------------------------------------------------------------------------- /public/lovable-uploads/c56c1c6e-4c02-46b7-b430-02dad0220435.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/public/lovable-uploads/c56c1c6e-4c02-46b7-b430-02dad0220435.png -------------------------------------------------------------------------------- /public/og-image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/public/og-image.png -------------------------------------------------------------------------------- /public/placeholder.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/public/placeholder.svg -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/public/robots.txt -------------------------------------------------------------------------------- /public/thaifloodhelp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/public/thaifloodhelp.png -------------------------------------------------------------------------------- /src/App.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/App.css -------------------------------------------------------------------------------- /src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/App.tsx -------------------------------------------------------------------------------- /src/assets/hero-flood.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/assets/hero-flood.jpg -------------------------------------------------------------------------------- /src/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/assets/logo.png -------------------------------------------------------------------------------- /src/assets/social-icons-cluster.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/assets/social-icons-cluster.svg -------------------------------------------------------------------------------- /src/components/ApiKeyManager.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/components/ApiKeyManager.tsx -------------------------------------------------------------------------------- /src/components/BasemapControl.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/components/BasemapControl.tsx -------------------------------------------------------------------------------- /src/components/DraggableMap.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/components/DraggableMap.tsx -------------------------------------------------------------------------------- /src/components/DuplicateDialog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/components/DuplicateDialog.tsx -------------------------------------------------------------------------------- /src/components/EditReportDialog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/components/EditReportDialog.tsx -------------------------------------------------------------------------------- /src/components/Footer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/components/Footer.tsx -------------------------------------------------------------------------------- /src/components/InteractiveMap.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/components/InteractiveMap.tsx -------------------------------------------------------------------------------- /src/components/MapControlPanel.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/components/MapControlPanel.tsx -------------------------------------------------------------------------------- /src/components/MissionSections.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/components/MissionSections.tsx -------------------------------------------------------------------------------- /src/components/NavLink.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/components/NavLink.tsx -------------------------------------------------------------------------------- /src/components/Navbar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/components/Navbar.tsx -------------------------------------------------------------------------------- /src/components/PhoneList.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/components/PhoneList.tsx -------------------------------------------------------------------------------- /src/components/QueryBot.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/components/QueryBot.tsx -------------------------------------------------------------------------------- /src/components/ReportHeatmap.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/components/ReportHeatmap.tsx -------------------------------------------------------------------------------- /src/components/StatsCard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/components/StatsCard.tsx -------------------------------------------------------------------------------- /src/components/ui/accordion.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/components/ui/accordion.tsx -------------------------------------------------------------------------------- /src/components/ui/alert-dialog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/components/ui/alert-dialog.tsx -------------------------------------------------------------------------------- /src/components/ui/alert.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/components/ui/alert.tsx -------------------------------------------------------------------------------- /src/components/ui/aspect-ratio.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/components/ui/aspect-ratio.tsx -------------------------------------------------------------------------------- /src/components/ui/avatar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/components/ui/avatar.tsx -------------------------------------------------------------------------------- /src/components/ui/badge.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/components/ui/badge.tsx -------------------------------------------------------------------------------- /src/components/ui/breadcrumb.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/components/ui/breadcrumb.tsx -------------------------------------------------------------------------------- /src/components/ui/button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/components/ui/button.tsx -------------------------------------------------------------------------------- /src/components/ui/calendar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/components/ui/calendar.tsx -------------------------------------------------------------------------------- /src/components/ui/card.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/components/ui/card.tsx -------------------------------------------------------------------------------- /src/components/ui/carousel.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/components/ui/carousel.tsx -------------------------------------------------------------------------------- /src/components/ui/chart.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/components/ui/chart.tsx -------------------------------------------------------------------------------- /src/components/ui/checkbox.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/components/ui/checkbox.tsx -------------------------------------------------------------------------------- /src/components/ui/collapsible.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/components/ui/collapsible.tsx -------------------------------------------------------------------------------- /src/components/ui/command.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/components/ui/command.tsx -------------------------------------------------------------------------------- /src/components/ui/context-menu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/components/ui/context-menu.tsx -------------------------------------------------------------------------------- /src/components/ui/dialog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/components/ui/dialog.tsx -------------------------------------------------------------------------------- /src/components/ui/drawer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/components/ui/drawer.tsx -------------------------------------------------------------------------------- /src/components/ui/dropdown-menu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/components/ui/dropdown-menu.tsx -------------------------------------------------------------------------------- /src/components/ui/form.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/components/ui/form.tsx -------------------------------------------------------------------------------- /src/components/ui/hover-card.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/components/ui/hover-card.tsx -------------------------------------------------------------------------------- /src/components/ui/input-otp.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/components/ui/input-otp.tsx -------------------------------------------------------------------------------- /src/components/ui/input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/components/ui/input.tsx -------------------------------------------------------------------------------- /src/components/ui/label.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/components/ui/label.tsx -------------------------------------------------------------------------------- /src/components/ui/map.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/components/ui/map.tsx -------------------------------------------------------------------------------- /src/components/ui/menubar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/components/ui/menubar.tsx -------------------------------------------------------------------------------- /src/components/ui/navigation-menu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/components/ui/navigation-menu.tsx -------------------------------------------------------------------------------- /src/components/ui/pagination.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/components/ui/pagination.tsx -------------------------------------------------------------------------------- /src/components/ui/popover.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/components/ui/popover.tsx -------------------------------------------------------------------------------- /src/components/ui/progress.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/components/ui/progress.tsx -------------------------------------------------------------------------------- /src/components/ui/radio-group.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/components/ui/radio-group.tsx -------------------------------------------------------------------------------- /src/components/ui/resizable.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/components/ui/resizable.tsx -------------------------------------------------------------------------------- /src/components/ui/scroll-area.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/components/ui/scroll-area.tsx -------------------------------------------------------------------------------- /src/components/ui/select.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/components/ui/select.tsx -------------------------------------------------------------------------------- /src/components/ui/separator.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/components/ui/separator.tsx -------------------------------------------------------------------------------- /src/components/ui/sheet.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/components/ui/sheet.tsx -------------------------------------------------------------------------------- /src/components/ui/sidebar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/components/ui/sidebar.tsx -------------------------------------------------------------------------------- /src/components/ui/skeleton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/components/ui/skeleton.tsx -------------------------------------------------------------------------------- /src/components/ui/slider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/components/ui/slider.tsx -------------------------------------------------------------------------------- /src/components/ui/sonner.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/components/ui/sonner.tsx -------------------------------------------------------------------------------- /src/components/ui/switch.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/components/ui/switch.tsx -------------------------------------------------------------------------------- /src/components/ui/table.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/components/ui/table.tsx -------------------------------------------------------------------------------- /src/components/ui/tabs.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/components/ui/tabs.tsx -------------------------------------------------------------------------------- /src/components/ui/textarea.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/components/ui/textarea.tsx -------------------------------------------------------------------------------- /src/components/ui/toast.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/components/ui/toast.tsx -------------------------------------------------------------------------------- /src/components/ui/toaster.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/components/ui/toaster.tsx -------------------------------------------------------------------------------- /src/components/ui/toggle-group.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/components/ui/toggle-group.tsx -------------------------------------------------------------------------------- /src/components/ui/toggle.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/components/ui/toggle.tsx -------------------------------------------------------------------------------- /src/components/ui/tooltip.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/components/ui/tooltip.tsx -------------------------------------------------------------------------------- /src/components/ui/use-toast.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/components/ui/use-toast.ts -------------------------------------------------------------------------------- /src/constants/helpCategories.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/constants/helpCategories.ts -------------------------------------------------------------------------------- /src/contexts/AuthContext.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/contexts/AuthContext.tsx -------------------------------------------------------------------------------- /src/contexts/LiffContext.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/contexts/LiffContext.tsx -------------------------------------------------------------------------------- /src/hooks/use-help-stats.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/hooks/use-help-stats.ts -------------------------------------------------------------------------------- /src/hooks/use-mobile.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/hooks/use-mobile.tsx -------------------------------------------------------------------------------- /src/hooks/use-reports.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/hooks/use-reports.ts -------------------------------------------------------------------------------- /src/hooks/use-stats.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/hooks/use-stats.ts -------------------------------------------------------------------------------- /src/hooks/use-toast.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/hooks/use-toast.ts -------------------------------------------------------------------------------- /src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/index.css -------------------------------------------------------------------------------- /src/integrations/supabase/client.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/integrations/supabase/client.ts -------------------------------------------------------------------------------- /src/integrations/supabase/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/integrations/supabase/types.ts -------------------------------------------------------------------------------- /src/lib/reportUtils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/lib/reportUtils.ts -------------------------------------------------------------------------------- /src/lib/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/lib/utils.ts -------------------------------------------------------------------------------- /src/main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/main.tsx -------------------------------------------------------------------------------- /src/pages/Api.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/pages/Api.tsx -------------------------------------------------------------------------------- /src/pages/Auth.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/pages/Auth.tsx -------------------------------------------------------------------------------- /src/pages/Dashboard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/pages/Dashboard.tsx -------------------------------------------------------------------------------- /src/pages/Help.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/pages/Help.tsx -------------------------------------------------------------------------------- /src/pages/HelpBrowse.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/pages/HelpBrowse.tsx -------------------------------------------------------------------------------- /src/pages/HelpOffer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/pages/HelpOffer.tsx -------------------------------------------------------------------------------- /src/pages/HelpRequest.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/pages/HelpRequest.tsx -------------------------------------------------------------------------------- /src/pages/Input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/pages/Input.tsx -------------------------------------------------------------------------------- /src/pages/Landing.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/pages/Landing.tsx -------------------------------------------------------------------------------- /src/pages/Map.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/pages/Map.tsx -------------------------------------------------------------------------------- /src/pages/Mission.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/pages/Mission.tsx -------------------------------------------------------------------------------- /src/pages/NotFound.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/pages/NotFound.tsx -------------------------------------------------------------------------------- /src/pages/Privacy.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/pages/Privacy.tsx -------------------------------------------------------------------------------- /src/pages/ReportDetail.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/pages/ReportDetail.tsx -------------------------------------------------------------------------------- /src/pages/Review.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/pages/Review.tsx -------------------------------------------------------------------------------- /src/pages/SelectReports.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/pages/SelectReports.tsx -------------------------------------------------------------------------------- /src/pages/Stats.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/pages/Stats.tsx -------------------------------------------------------------------------------- /src/styles/map.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/styles/map.css -------------------------------------------------------------------------------- /src/types/map.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/types/map.ts -------------------------------------------------------------------------------- /src/types/report.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/types/report.ts -------------------------------------------------------------------------------- /src/utils/ErrorUtils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/utils/ErrorUtils.ts -------------------------------------------------------------------------------- /src/vite-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/src/vite-env.d.ts -------------------------------------------------------------------------------- /supabase/config.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/supabase/config.toml -------------------------------------------------------------------------------- /supabase/functions/api-v1-extract/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/supabase/functions/api-v1-extract/index.ts -------------------------------------------------------------------------------- /supabase/functions/api-v1-ocr/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/supabase/functions/api-v1-ocr/index.ts -------------------------------------------------------------------------------- /supabase/functions/api-v1-save-mock/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/supabase/functions/api-v1-save-mock/index.ts -------------------------------------------------------------------------------- /supabase/functions/api-v1-save/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/supabase/functions/api-v1-save/index.ts -------------------------------------------------------------------------------- /supabase/functions/check-duplicates/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/supabase/functions/check-duplicates/index.ts -------------------------------------------------------------------------------- /supabase/functions/complete-address/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/supabase/functions/complete-address/index.ts -------------------------------------------------------------------------------- /supabase/functions/extract-report/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/supabase/functions/extract-report/index.ts -------------------------------------------------------------------------------- /supabase/functions/generate-embedding/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/supabase/functions/generate-embedding/index.ts -------------------------------------------------------------------------------- /supabase/functions/geocode-address/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/supabase/functions/geocode-address/index.ts -------------------------------------------------------------------------------- /supabase/functions/line-webhook/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/supabase/functions/line-webhook/index.ts -------------------------------------------------------------------------------- /supabase/functions/ocr-image/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/supabase/functions/ocr-image/index.ts -------------------------------------------------------------------------------- /supabase/functions/parse-map-link/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/supabase/functions/parse-map-link/index.ts -------------------------------------------------------------------------------- /supabase/functions/query-reports/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/supabase/functions/query-reports/index.ts -------------------------------------------------------------------------------- /supabase/functions/search-reports/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/supabase/functions/search-reports/index.ts -------------------------------------------------------------------------------- /supabase/migrations/20241126_create_line_sessions.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/supabase/migrations/20241126_create_line_sessions.sql -------------------------------------------------------------------------------- /supabase/migrations/20251125045152_066970bf-f9fc-42fe-8179-4fe526e47a2e.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/supabase/migrations/20251125045152_066970bf-f9fc-42fe-8179-4fe526e47a2e.sql -------------------------------------------------------------------------------- /supabase/migrations/20251125051735_3405d019-021b-44ee-98fa-7c7bad7c0ca0.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/supabase/migrations/20251125051735_3405d019-021b-44ee-98fa-7c7bad7c0ca0.sql -------------------------------------------------------------------------------- /supabase/migrations/20251125104857_2c99cb76-ef05-4f71-b209-ec118da61857.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/supabase/migrations/20251125104857_2c99cb76-ef05-4f71-b209-ec118da61857.sql -------------------------------------------------------------------------------- /supabase/migrations/20251125112015_7bef3e45-53f5-485e-8d6a-360316345f13.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/supabase/migrations/20251125112015_7bef3e45-53f5-485e-8d6a-360316345f13.sql -------------------------------------------------------------------------------- /supabase/migrations/20251125113455_0675a409-190a-4bda-ae9a-502bb7df8ba7.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/supabase/migrations/20251125113455_0675a409-190a-4bda-ae9a-502bb7df8ba7.sql -------------------------------------------------------------------------------- /supabase/migrations/20251125114243_a684fd0b-2589-4289-afa1-15b7cf43cb5b.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/supabase/migrations/20251125114243_a684fd0b-2589-4289-afa1-15b7cf43cb5b.sql -------------------------------------------------------------------------------- /supabase/migrations/20251125120745_c84d5393-0bcf-463c-b689-1a17b57beaf2.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/supabase/migrations/20251125120745_c84d5393-0bcf-463c-b689-1a17b57beaf2.sql -------------------------------------------------------------------------------- /supabase/migrations/20251125160850_17aeca84-d724-4a34-9877-cdb05e779241.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/supabase/migrations/20251125160850_17aeca84-d724-4a34-9877-cdb05e779241.sql -------------------------------------------------------------------------------- /supabase/migrations/20251126000000_add_line_user_fields.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/supabase/migrations/20251126000000_add_line_user_fields.sql -------------------------------------------------------------------------------- /supabase/migrations/20251126034756_ddd2a311-ba19-407a-b6e9-983b0fc82929.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/supabase/migrations/20251126034756_ddd2a311-ba19-407a-b6e9-983b0fc82929.sql -------------------------------------------------------------------------------- /supabase/migrations/20251126055914_338a2c9f-016a-4069-9920-5bc586b76bbb.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/supabase/migrations/20251126055914_338a2c9f-016a-4069-9920-5bc586b76bbb.sql -------------------------------------------------------------------------------- /supabase/migrations/20251126103748_67de37c1-9b20-4fd6-953d-dbff4f2900c5.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/supabase/migrations/20251126103748_67de37c1-9b20-4fd6-953d-dbff4f2900c5.sql -------------------------------------------------------------------------------- /supabase/migrations/20251126121731_0dd7ce40-0290-412e-b2f1-86a7351cc21e.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/supabase/migrations/20251126121731_0dd7ce40-0290-412e-b2f1-86a7351cc21e.sql -------------------------------------------------------------------------------- /supabase/migrations/20251126143752_6bb5d8c0-4929-4ddb-bbd0-91add3dbd3ba.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/supabase/migrations/20251126143752_6bb5d8c0-4929-4ddb-bbd0-91add3dbd3ba.sql -------------------------------------------------------------------------------- /supabase/migrations/20251127000000_optimize_category_filtering.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/supabase/migrations/20251127000000_optimize_category_filtering.sql -------------------------------------------------------------------------------- /supabase/migrations/20251127190039_a3bad31c-33a6-4168-9859-6f3a11cae988.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/supabase/migrations/20251127190039_a3bad31c-33a6-4168-9859-6f3a11cae988.sql -------------------------------------------------------------------------------- /supabase/migrations/20251127192744_463d1730-d271-4bbc-8a8a-468acd7a3804.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/supabase/migrations/20251127192744_463d1730-d271-4bbc-8a8a-468acd7a3804.sql -------------------------------------------------------------------------------- /tailwind.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/tailwind.config.ts -------------------------------------------------------------------------------- /tsconfig.app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/tsconfig.app.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/tsconfig.node.json -------------------------------------------------------------------------------- /vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winn/thaifloodhelp/HEAD/vite.config.ts --------------------------------------------------------------------------------