UI: refines thread list item (#23207)

It will now replies count and participants list. Also the title will be OM excerpt or user defined title, no more default "Thread" title. Lastly, the author of the last reply is also shown as prefix of it.
This commit is contained in:
Joffrey JAFFEUX
2023-08-24 18:45:20 +02:00
committed by GitHub
parent 46c7e47f50
commit 39b598f304
14 changed files with 110 additions and 35 deletions

View File

@ -40,7 +40,7 @@ module PageObjects
end
def last_reply_datetime_selector(last_reply)
".chat-thread-list-item__last-reply .relative-date[data-time='#{(last_reply.created_at.iso8601.to_time.to_f * 1000).to_i}']"
".chat-thread-list-item__last-reply-timestamp .relative-date[data-time='#{(last_reply.created_at.iso8601.to_time.to_f * 1000).to_i}']"
end
def has_no_unread_item?(id)