ui-components icon indicating copy to clipboard operation
ui-components copied to clipboard

Timestamp component - edits to message info

Open RenataDzotova opened this issue 1 year ago • 0 comments

Describe the bug

  1. A comma is missing between the date and the year.
  2. I recommend mentioning a year stamp only if the message was sent last year. So, if a message was sent on December 31, 2023 (which is last year), there is a year stamp, whereas for a message sent on January 1, 2024 (which is current year), the year is not shown.
  3. In addition to that, for messages sent last year, let's add a preposition "at" to the time stamp in between the time and the date.

To Reproduce

  1. Go to storybook & open "Message Canvas" component
  2. Hover over the component

Expected behavior Screenshot 2024-05-01 at 1 17 58 PM

Current behavior Screenshot 2024-05-01 at 10 44 48 AM

RenataDzotova avatar May 01 '24 20:05 RenataDzotova