feat(network,people): profile header + view toggle + copy ID + search clear + avatars + friend count (#36, #65)#112
Open
64johnlee wants to merge 29 commits into
Open
feat(network,people): profile header + view toggle + copy ID + search clear + avatars + friend count (#36, #65)#11264johnlee wants to merge 29 commits into
64johnlee wants to merge 29 commits into
Conversation
… View - Add OwnProfileHeader component showing current user's avatar, name, status, and node ID - Uses /rsAccounts/getCurrentAccountId + /rsPeers/getPeerDetails APIs - Displays avatar with UserAvatar component (from people_util.js) - Shows online status indicator and truncated node ID - Add network layout CSS with gradient header matching dark theme - Fix: .node-panel moved to Layout component with proper flex layout - Implements issue RetroShare#36: own Avatar, own Name & status
- Add view mode toggle buttons (list/grid) in Contacts header - Persist view preference in localStorage (peopleViewMode) - Grid view shows avatar + name in card layout - List view shows compact row with avatar and inline actions - Icon buttons for Chat (comment) and Mail (envelope) instead of text - CSS for both list and grid layouts
- Add 'Copy' button next to truncated node ID - Click copies full node ID to clipboard - Button shows 'Copied!' feedback for 1.5 seconds - Useful for sharing own ID with others
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
Network and People page improvements.
Network (#36)
People (#65)
Files Changed