Add timestamps to chat messages #117

Closed
opened 2018-06-09 08:45:03 +00:00 by normandy · 2 comments
Member

Hard to know when a message was posted otherwise.

Hard to know when a message was posted otherwise.
Member

Done a WIP the for the CSS in src/components/chat_panel/chat_panel.vue .

I will look into the timestamping but I have literally not a clue really about web programming as I have only experience with C and a bit of Java and Python. Sorry for that!

If somebody has a tut for unit tests, it would be cool if he or she could send it to me or post in here, for future work.

EDIT:
I will push it tomorrow to https://git.pleroma.social/Lumitas/pleroma-fe because I am to dumb to fork the project in the cli with git

EDIT2:
The push will just add a placeholder for the time atm. I fixed also the issue having no line breaks if you send a long message without spaces.

(e.g. "hellothisisareallylongtextmessagewhichwontbeshowncorrectlyinthechat" would be just
_____"hellothisisareallylongtextmessagewhichwontb" and then you woulnt see it anymore bc the windows would reach its end.)

Done a WIP the for the CSS in `src/components/chat_panel/chat_panel.vue` . I will look into the timestamping but I have literally not a clue really about web programming as I have only experience with C and a bit of Java and Python. Sorry for that! If somebody has a tut for unit tests, it would be cool if he or she could send it to me or post in here, for future work. EDIT: I will push it tomorrow to https://git.pleroma.social/Lumitas/pleroma-fe because I am to dumb to fork the project in the cli with git EDIT2: The push will just add a placeholder for the time atm. I fixed also the issue having no line breaks if you send a long message without spaces. (e.g. "hellothisisareallylongtextmessagewhichwontbeshowncorrectlyinthechat" would be just _____"hellothisisareallylongtextmessagewhichwontb" and then you woulnt see it anymore bc the windows would reach its end.)

These chat messages are ephemeral and go away after a few have been posted. The proper chat system we are developing (see #2286) does have these timestamps.

These chat messages are ephemeral and go away after a few have been posted. The proper chat system we are developing (see #2286) does have these timestamps.
Sign in to join this conversation.
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pleroma/pleroma-fe#117
No description provided.