You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 2, 2026. It is now read-only.
The UI is clean and functional, showing a search interface for running events
The location search is working ("Lockport NY" in the search bar)
The search results are displaying properly, showing:
"BuffaloRunners.com Race Calendar 2025"
Location details
Event dates and times
Distance information
Multiple event listings in the results
A significant milestone
Successful integration between the iOS frontend and [local] Python backend
Working Google Sign-In
Proper API communication
Clean data formatting and display
Real-world usability
Next Steps
I want to be able to, by default, show running events based on the current location of the user logged into Google.
Go to Google and search "running events in my area." That should be the default that comes up right when you open the app, so you only would need to use the actual search if you wanted to search for a running event other than in your current location.
Google's presentation of running events is a perfect model for our default view. Looking at the screenshot:
Approach
Initial View Features:
Events automatically shown for the current location
Clean timeline view with dates prominently displayed (like the Feb 8 Lockport 10 and Oct 15 Niagara Falls Marathon)
Open directly to this view based on device location
Keep the search bar minimized/hidden until needed
Show the calendar overlay when viewing specific events
Add smart filters at the top for quick refinement
A Further Approach
Initial Load:
When user logs in with Google, get their current location
Immediately populate the calendar view with local running events
Use a reasonable default radius (e.g., 50 miles)
Implementation Steps:
Use iOS CoreLocation for device location
Fall back to Google account location if device location isn't available
Add location parameters to our existing search API
Cache results locally for better performance
User Experience:
Calendar opens pre-populated with local events
No manual search needed for initial view
Option to change location/radius in settings
Pull-to-refresh to update with current location
Additional Features:
Show distance to each event from user's location
Filter options for race distance/type
Sort by proximity
Would you like me to:
Add location services to the current implementation
Modify the backend API to handle location-based queries
Update the UI to show location-relevant information
Implement any specific part of this functionality?
Further Thoughts
What I am also considering for the UI, and perhaps this is premature, would be to not really have a search bar, but open the Google claendar overlay in them month view and have the search results show up on in the action boxes of the calendar, which can then be clicked to go the actual running site URL for the race, then if they end up signing up, it will populate on the actual Google calendar
Approach
Initial View:
Open directly to a calendar month view (similar to Google Calendar's interface)
No separate search bar needed
Location could be determined by device location or set in preferences
Event Display:
Running events would appear as action boxes/dots on their respective dates
Different colors or icons could indicate race distances (5K, 10K, marathon)
Quick preview of event details on tap/hover
Interaction Flow:
Tap on a date/event to see full details
Direct link to race registration website
"Add to Calendar" button would only appear after they've visited the registration URL
Automatic calendar sync once they've registered
Benefits:
More visual representation of race scheduling
Easier to plan around existing commitments
Natural calendar-first approach
Cleaner, more focused UI
Next Steps
Create a prototype of this calendar-centric UI
Modify the backend to support calendar-based queries
Implement URL visit tracking for registration status
Implementation Start (January 4, 2025)
Proposal
A significant milestone
Next Steps
Google's presentation of running events is a perfect model for our default view. Looking at the screenshot:
Approach
Initial View Features:
Smart Filters (like Google's top bar):
Event Details:
So we could modify the current app to:
A Further Approach
Initial Load:
Implementation Steps:
User Experience:
Additional Features:
Would you like me to:
Further Thoughts
What I am also considering for the UI, and perhaps this is premature, would be to not really have a search bar, but open the Google claendar overlay in them month view and have the search results show up on in the action boxes of the calendar, which can then be clicked to go the actual running site URL for the race, then if they end up signing up, it will populate on the actual Google calendar
Approach
Initial View:
Event Display:
Interaction Flow:
Benefits:
Next Steps
Originally posted by @garotm in #55 (comment)