ocsms icon indicating copy to clipboard operation
ocsms copied to clipboard

Colors of messages should depend on contact

Open stefan-niedermann opened this issue 8 years ago • 5 comments

Current behavior

  • Header bar gets a random color
  • Received msg is grey
  • Sent msg is green

Expected behavior

  • Header bar gets a random color
  • Received msg should get a color based on the Header bar color
  • Sent msg should be grey

Example

  • Header bar is rgb(124, 116, 231) (purple)
  • Received msg border should be rgba(124, 116, 231, .6) (purple)
  • Received msg background should be rgba(124, 116, 231, .15) (a semi transparent version of the purple that is used in the Header bar)
  • Sent msg should be like todays Received msg - grey

Pay attention to the alpha-channel usage: border = .6, background = .15

Benefit

  1. Less colors, less cluttering
  2. clear assignment of messages to the contact
  3. Less important stuff (sent msg) is inconspicuos

stefan-niedermann avatar Jan 03 '17 07:01 stefan-niedermann

interesting idea, can you provide a PR ?

nerzhul avatar Jan 03 '17 07:01 nerzhul

Yeah, but depends on how much time i can invest... i will maybe need some weeks to set up development environement and implement it.

stefan-niedermann avatar Jan 03 '17 07:01 stefan-niedermann

no problem, we have time :) i'm on many libre projects not time to code everything together

nerzhul avatar Jan 03 '17 09:01 nerzhul

Wasn't this fixed here https://github.com/nextcloud/ocsms/issues/149? I am also in favour of consistent colouring. @stefan-niedermann are you still available for this?

ghost avatar Mar 06 '20 12:03 ghost

Unfortunately not, i am currently very busy with Nextcloud Deck and Nextcloud Notes...

stefan-niedermann avatar Mar 06 '20 12:03 stefan-niedermann