Conversation
…ng on my end Refactored utils/osm-api.ts for improved readability and maintainability, including better address formatting and place categorization. Updated app/(tabs)/index.tsx to use consistent code style, fixed minor style issues, and improved UI code structure. No functional changes to package-lock.json except for dependency metadata.
Introduces Supabase client setup and a new scores service for fetching food access scores. Updates .env with Supabase credentials and adds related dependencies. Refactors location fetching in explore and index tabs for improved accuracy and loading state management, and increases the OSM search radius to 10km. Cleans up Babel config formatting.
Introduces a Supabase SQL schema and PostGIS-powered RPC for storing and querying places. Adds a script to seed the Supabase 'places' table from OSM Overpass API, and integrates Supabase as an optional backend for fetching nearby places in the app. Updates the explore tab to use Supabase data if enabled, and adds related utility code and npm scripts.
Extended the Supabase 'nearby_places' function and client to support offset-based pagination and increased the hard row limit from 1000 to 3000. Updated the seed script for consistent code style and improved error handling. Enhanced the OSM API integration to log Supabase usage and improved Overpass ID parsing.
Improved formatting of the place_id assignment in fetchNearbyPlacesFromSupabase for better readability and maintainability. No functional changes were made.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.