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

naming convention & right side for sender left for receiver option #162

Open
navnit0707 opened this issue Jul 30, 2020 · 1 comment
Open

Comments

@navnit0707
Copy link

While Chatting I faced an issue of remembering username which was in some bizarre format so i want to add a feature of asking the user to set a username whenever they start or someone starts chat from URL.

**like just suppose chatting in a group of up to 10 will be really messy for a common mind like remembering who said what **

I want to add a better layout like the left side for receiver messages and the right side fo the sender this will help users a lot I thought.
if both this will help you or only one kindly let me know, I want to contribute.

if you have any special case or suggestion to implement these functions you can suggest me .
Screenshot (416)

@jrmi
Copy link
Collaborator

jrmi commented Jul 31, 2020

IMHO, the problem with this approach is that because the chat is full screen, it may be difficult to read messages on a widescreen. Also if you have more than two users, all other users will be on the same side. I see two ways to solve this:

  • Limit the width of chat part and center the content (doesn't solve the more than 2 users problem)
  • Adopt an approach similar to Riot or Slack and repeat the sender only at each change of speaker (or after a certain period of time) as proposed in issue Merge header when multiple messages come from same user #125 .

The second approach seems to me to leave more freedom and more room for messages.

What do you think ?

On the other hand, for the username problem, there is already a way to change nickname using the "/nick" command. It's not necessarily intuitive so proposing something simpler might be a good idea. It would also be useful to save the nickname in the localstorage for example so you don't have to set it each time (See #127).

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

No branches or pull requests

2 participants