-
Notifications
You must be signed in to change notification settings - Fork 4
feat: Add GPS-based session discovery and multi-session support #377
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
marcodejongh
wants to merge
9
commits into
main
Choose a base branch
from
add_sessions
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
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
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
201832a to
6518e0c
Compare
- Add GPS coordinates, discoverable flag, and user reference to sessions table - Remove single-session limitation from RoomManager to allow multiple concurrent sessions - Add session discovery methods: findNearbySessions (500m radius), getUserSessions, createDiscoverableSession - Extend GraphQL schema with DiscoverableSession type and nearbySessions/mySessions queries - Add session cleanup service for 7-day session expiry - Create useGeolocation hook for browser GPS access - Add tab navigation to setup wizard: "Start a sesh" and "Join a sesh" - Add "Allow others nearby to join" toggle requiring authentication - Add SessionHistoryPanel for resuming previous sessions - Add JoinSessionTab and NearbySessionCard components for GPS discovery UI 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
6518e0c to
5f399b1
Compare
- Move shared-schema dist copy before npm ci in production stage - Update shared-schema exports to use dist/ instead of src/ - Add build dependency for shared-schema in backend build script - Add Railway configuration files 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
5f399b1 to
91a53fa
Compare
- Add --workspace flags to npm ci to properly resolve workspace deps - Ensures shared-schema dist is copied before npm ci runs - Tested locally: build succeeds with proper workspace resolution 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Since shared-schema now exports from dist/, it must be built before any consuming packages can resolve it. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Create new @boardsesh/db package with modular schema organization - Split monolithic schema into boards/, auth/, and app/ modules - Merge migrations from web (20) and backend (2) into unified set - Move docker-compose.yml to repo root - Rename backend sessions to boardSessions to avoid NextAuth conflict - Update web and backend to use re-export wrappers for compatibility - Add Neon serverless client with environment detection 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add @boardsesh/db to Dockerfile.backend build steps - Update vercel.json to build db package before web - Fix TypeScript implicit any errors in room-manager.ts - Add NODE_ENV=development to backend dev script 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add packages/db/** to workflow path triggers - Add build step for @boardsesh/db before type checking and tests - Update both web and backend test workflows 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add test environment detection (NODE_ENV=test or VITEST=true) - Use postgres-js driver for tests instead of Neon serverless - Add postgres as dependency to @boardsesh/db package - Simplify test setup to create tables directly instead of migrations - Tests now work without Neon proxy in CI 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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.
Summary
Backend Changes
nearbySessions,mySessions) and mutation (createSession)Frontend Changes
useGeolocationhook for browser GPS accessJoinSessionTabcomponent for GPS-based session discoveryNearbySessionCardcomponent for displaying discoverable sessionsSessionHistoryPanelcomponent for resuming previous sessionsTest plan
🤖 Generated with Claude Code