Skip to content
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

Render current-user profile picture/display name in chat screen (290) #312

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

Nqnt41
Copy link

@Nqnt41 Nqnt41 commented Nov 15, 2024

Part of Issue #254 and updated version of pull request #304 based on requested changes.

Original pull request updated SettingsStore.ts to store/provide update functions for user display name, profile picture index, and profile hex color. Changed SettingsScreen.tsx to allow dynamic updates to each value. In ChatMessage.tsx, allowed rendering of the stored display name, profile picture, profile color. Moved icon paths from SettingsScreen.tsx to new icons.ts file.

New pull request makes it so that user and those the user is speaking to can update their displayName, profilePicIndex, and profileColor independently of the user. Done through changes to Message.ts, Props.ts, and further changes to the files in the first pull request.

Nqnt41 and others added 5 commits October 29, 2024 17:24
Updated SettingsStore.ts to store/provide update functions for user display name, profile picture index, and profile hex color. Changed SettingsScreen.tsx to allow dynamic updates to each value. In ChatMessage.tsx, allowed rendering of the stored display name, profile picture, profile color. Moved icon paths from SettingsScreen.tsx to new icons.ts file.
Added changes that should allow different users to render separate profile information within chat messages.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant