You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wait a minute until the comment time stamp says "1 min. ago".
Reload only one browser tab.
Observe the comment time says "Just now" which is now different from the other tab.
Link to code example: use the playground in this repo (see reproduction steps above).
The current behavior
Comment timestamps are inconsistent in different window contexts.
The expected behavior
Comment timestamps are the same in different window contexts.
Impact of fix
This isn't affected if you test with the Split Screen option as it's always the same window context. But for all other usual scenarios the inconsistent timestamps are disconcerting.
The text was updated successfully, but these errors were encountered:
Comments in the playground are just a playground tech demo, not an exported package suitable for re-use. The timestamp uses the performance counter without basing it on the timeOrigin (or just using Date.now) so it really doesn't make a lot of sense when used in more than one tab, browser or window. Could certainly be fixed if you're inclined to write a PR.
When adding collaborative comments, the timestamps are inconsistent in different window contexts.
Lexical version: 0.17.0
Steps To Reproduce
npm i
.npm run dev
.Link to code example: use the playground in this repo (see reproduction steps above).
The current behavior
Comment timestamps are inconsistent in different window contexts.
The expected behavior
Comment timestamps are the same in different window contexts.
Impact of fix
This isn't affected if you test with the Split Screen option as it's always the same window context. But for all other usual scenarios the inconsistent timestamps are disconcerting.
The text was updated successfully, but these errors were encountered: