Skip to content

feat(messages): show message timestamp on hover#1986

Open
kaizhou-lab wants to merge 1 commit intomainfrom
zk/feat/message-timestamp
Open

feat(messages): show message timestamp on hover#1986
kaizhou-lab wants to merge 1 commit intomainfrom
zk/feat/message-timestamp

Conversation

@kaizhou-lab
Copy link
Copy Markdown
Collaborator

Summary

  • Display the message creation time next to the copy button when hovering over a message
  • Shows HH:mm for today's messages, MM-DD HH:mm for older ones
  • Uses the same opacity transition as the existing copy button for consistent UX

Closes #1985

Test plan

  • Hover over a message and verify the timestamp appears alongside the copy button
  • Verify today's messages show HH:mm format
  • Verify older messages show MM-DD HH:mm format
  • Verify user messages (right-aligned) show time on the correct side
  • Verify timestamp hides when cursor leaves the message

Display the creation time next to the copy button when hovering over a
message. Shows HH:mm for today's messages and MM-DD HH:mm for older ones.
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.

feat: show message creation time on hover

1 participant