eternagame / HTML-Chat

HTML5 implementation of chat to replace the legacy Flash-based implementation
BSD 3-Clause "New" or "Revised" License
7 stars 5 forks source link

Render username once for consecutive messages #29

Open luxaritas opened 7 years ago

luxaritas commented 7 years ago

As an example:

Player1: Hello! [1:22] Player1: How are you doing? [1:22]

As opposed to

Player1: Hello! [1:22] How are you doing? [1:22]

Or

Player1: Hello! [1:22]                 How are you doing? [1:22]

or

Player1: Hello! [1:22] How are you doing? [1:22]

Could also remove the colon after the player name. Not sure if any of these really look ok, may need to come up with some other design ideas for how messages/names/times are displayed?