My original idea was to make this information available in the "post dropdown" (either clicking on the kebab menu, or clicking on the avatar).
See the date here on comments for an example of the position:
Regardless of where we do decide to put this, however, it will require a (significant?) change to how we handle building posts. Right now, the date is just an opaque string decided on the frontend and passed to the component library's Post through the createdTime prop. We could consider passing down the actual dates of last creation (and update), and have the Post component itself decide where to show them. Another option is to add a way for whoever uses the Post component to add whatever they want in the customizable area at the top of the dropdown menu.
My original idea was to make this information available in the "post dropdown" (either clicking on the kebab menu, or clicking on the avatar).
See the date here on comments for an example of the position:
Regardless of where we do decide to put this, however, it will require a (significant?) change to how we handle building posts. Right now, the date is just an opaque string decided on the frontend and passed to the component library's
Post
through thecreatedTime
prop. We could consider passing down the actual dates of last creation (and update), and have thePost
component itself decide where to show them. Another option is to add a way for whoever uses thePost
component to add whatever they want in the customizable area at the top of the dropdown menu.