wp-calypso icon indicating copy to clipboard operation
wp-calypso copied to clipboard

Refactor help-center components and add chat history feature

Open agrullon95 opened this issue 5 months ago • 4 comments

Recent Conversations Support History
Screenshot 2024-10-18 at 16 08 39 Screenshot 2024-10-18 at 16 08 32

Fixes https://github.com/Automattic/dotcom-forge/issues/9275 Display recent conversations and support history. This work is behind feature flag help-center-experience

Proposed Changes

  • Check for unread conversations and messages.
  • Display recent conversations that lead to support history route
  • Display conversations in support history and open conversation on click

Why are these changes being made?

Testing Instructions

  • Checkout this PR and build it locally
  • Add the ff in the url ?flags=help-center-experience
  • Create a conversation and type a message
  • Locate the relevant ticket in the support sandbox
  • Assign to yourself and reply. This will create an unread message in the conversation
  • Checkout how that is rendered
  • Test various conditions here, with the read/unread count
  • Clicking on a recent conversation should navigate to support-history where all chats are displayed
  • Clicking on a chat there should open the conversation and allow you to reply

agrullon95 avatar Sep 27 '24 05:09 agrullon95