patternfly / chatbot

This repo contains the code for the PatternFly virtual assistant extension
MIT License
0 stars 21 forks source link

Add better documentation for timestamp prop #299

Closed TamiTakamiya closed 2 weeks ago

TamiTakamiya commented 2 weeks ago

Timestamps attached to messages keep changing.

https://github.com/user-attachments/assets/f00f1626-e3ce-4c06-9204-b697b7a2fae6

Please look at the timestamp attachd to the message "Hello" in this recording. Initially it is displayed as 8:28:14 AM. As the conversation progresses, it is changed to 8:29:18 AM and then to 8:29:23 AM.

Those timestamps should stay in fixed values.

rebeccaalpert commented 2 weeks ago

I talked about this with Tami on Slack. We thankfully have a timestamp prop that can be used for persistent timestamps (thanks Rohit and team for adding it before I started). I think we should add an explicit example that calls this out. We have one setting a relative timestamp, but we could be more explicit.

rebeccaalpert commented 2 weeks ago

Recategorizing as docs since we'll use this for examples.