MatheusrdSantos / vue-quick-chat

A simple chat component created with Vue.js
MIT License
128 stars 45 forks source link

timestampConfig and viewed messages #35

Closed vonec closed 4 years ago

vonec commented 4 years ago
  1. added class to viewed messages
  2. added timestampConfig to change timestamp format and option to enable relative timestamp
MatheusrdSantos commented 4 years ago

Hi, @vonec! You forgot to declare the prop 'timestampConfig' in the following components:

MatheusrdSantos commented 4 years ago

If you prefer, permit me to edit your pull request, and then I'll fix it. You can allow commits by checking a checkbox on the right panel of the PR.

vonec commented 4 years ago

just noticed, its already allowed but anyway I'm making those changes now ...

vonec commented 4 years ago
zayda3 commented 4 years ago
  • There’s no date on the messages…can we include date along with time or can it be like WhatsApp, where date appears only once, above the first message for that day?

Taking into account that this chat allows us to differentiate the read and unread messages as in WhatsApp, I think that, if possible, it should be done following that reference.

MatheusrdSantos commented 4 years ago

Thanks, @vonec! I'll merge your PR and publish a new release.

vonec commented 4 years ago

Thank you :)

vonec commented 4 years ago

build is failing ... i think something is wrong with the release.

This dependency was not found: error

MatheusrdSantos commented 4 years ago

I ran the wrong command to build the production version. I guess it is solved. Just update to 1.2.2.

vonec commented 4 years ago

thank you