Improve relations display with icons, avatars, and visual hierarchy - #144
Open
addiinnocent wants to merge 4 commits into
Open
Improve relations display with icons, avatars, and visual hierarchy#144addiinnocent wants to merge 4 commits into
addiinnocent wants to merge 4 commits into
Conversation
- Simplified server Gun config from 6+ conflicting options to minimal: Gun({ web: server })
- Fixed P2P message routing issue between browser windows
- Updated all composables to use versioned root node
- Removed debug logging added during troubleshooting
- Updated documentation with configuration details
- Add minimal Gun relay server (server/src/gun-minimal.ts) - Configure client Gun to connect to relay via VITE_GUN_PEERS - Expose root and gun to window object for browser console debugging - Consolidate .env setup: single source of truth in .env.development - Update Vite config to read from root .env directory - Update documentation with P2P sync setup and testing guide - Verified: data syncs in real-time between browser tabs through relay P2P peers now connect and synchronise data via ws://localhost:3000/gun
- Replace initial relation loading bug with .once() + .on() pattern for reliable loading - Add semantic icons: Star for 'like', Sparkles for 'teach' relations - Enhance ProfileBadge with user avatars (Gravatar/IPFS-hosted) - Redesign relation display: remove card containers, flat layout with dividers - Improve visual hierarchy with coloured text labels and proper spacing - Add subtle horizontal dividers between relation groups - Better dark mode support throughout
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
Technical
relationProvider.ts: Changed listener pattern from.on()only to.once()+.on()for initial loadimageprop for user avatarsTesting
Breaking Changes
None