Skip to content

feat : add edited message indicator with timestamp#290

Open
kavin553 wants to merge 1 commit into
chthonn:mainfrom
kavin553:feat/message-edited-indicator
Open

feat : add edited message indicator with timestamp#290
kavin553 wants to merge 1 commit into
chthonn:mainfrom
kavin553:feat/message-edited-indicator

Conversation

@kavin553

@kavin553 kavin553 commented Jul 2, 2026

Copy link
Copy Markdown

Summary

  • Added edited and editedAt fields to direct messages.
  • Display an Edited badge after a message is edited.
  • Show the edit timestamp on hover.
  • Synced edited state through socket events.
  • Preserved message order and existing functionality.

Testing

  • Sent new messages
  • Edited messages
  • Verified badge and timestamp
  • Tested sender and receiver synchronization
  • Refreshed pages to verify persistence

@vercel

vercel Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

@kavin553 is attempting to deploy a commit to the Sunil Kumar's projects Team on Vercel.

A member of the Team first needs to authorize it.

@kavin553

kavin553 commented Jul 2, 2026

Copy link
Copy Markdown
Author

Implemented the requested feature successfully. ✅

Changes made

  • Added edited and editedAt fields to direct messages.
  • Displayed an Edited indicator after a message is modified.
  • Added a tooltip showing the edit timestamp.
  • Synced edited state through Socket.IO for both sender and receiver.
  • Preserved existing message order and functionality.

Testing

  • ✅ Sent new messages
  • ✅ Edited messages
  • ✅ Verified real-time updates
  • ✅ Confirmed tooltip displays the edit timestamp
  • ✅ Tested refresh persistence and delete functionality

Looking forward to your feedback. Thank you for reviewing! 🚀

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

Successfully merging this pull request may close these issues.

1 participant