Repository navigation
fix: connection display names and gym row UX - #105
Merged
Merged
Conversation
…MN syntax - Rename 013_workout_note_tags.sql to 014_workout_note_tags.sql to fix duplicate version number conflict with 013_drop_display_visible.sql - Remove IF EXISTS from ALTER TABLE DROP COLUMN in migration 013; SQLite does not support that syntax variant, causing a startup panic
Resolves connection list showing raw user UUIDs by resolving each peer profile via the existing useUserProfile hook (gated by display_visible RLS). Falls back to 'Connected Athlete' when the peer profile is private or has no displayName set.
Wraps the gym name/address area in a Link to the gym detail page and suppresses the Leave button for gym owners (who cannot leave their own gym). Updates test coverage for the conditional leave button behavior.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
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.
Summary
useUserProfileinstead of showing raw UUIDs. Falls back to'Connected Athlete'when the peer's profile is private or has no display name set (respectsdisplay_visibleRLS policy).Test plan
'Connected Athlete'for private profiles