Skip to content

Conversation

@odeimaiz
Copy link
Member

@odeimaiz odeimaiz commented Oct 6, 2025

What do these changes do?

After checking how users are using the Support Center in real user cases, this PR enhances the conversation list item UI in the Support Center to display more information including conversation start details and improved message previews.

New layout:

  • On the left:
    • Avatar (last msg author)
  • In the middle:
    • First row: Title (if any)
    • Second row: last msg author username + last msg preview
    • Third row: Conversation creator and creation date
  • On the right:
    • last msg date

Key changes:

  • Both, title and last message preview, limited to one line
  • Added a third line (sub-subtitle) to conversation list items showing when conversations were started and, only for support team members, by whom
  • Modified message display to show last message content instead of just timestamps

Before:
image

After (user view):
image

After (support member view):
image

Related issue/s

How to test

Dev-ops

@odeimaiz odeimaiz self-assigned this Oct 6, 2025
@odeimaiz odeimaiz added t:enhancement Improvement or request on an existing feature a:frontend issue affecting the front-end (area group) labels Oct 6, 2025
@odeimaiz odeimaiz added this to the Cheops milestone Oct 6, 2025
@mergify
Copy link
Contributor

mergify bot commented Oct 6, 2025

🧪 CI Insights

Here's what we observed from your CI run for 08ecfcf.

✅ Passed Jobs With Interesting Signals

Pipeline Job Signal Health on master Retries 🔍 CI Insights 📄 Logs
CI unit-tests Base branch is broken, but the job passed. Looks like this might be a real fix 💪 Broken 0 View View

@odeimaiz odeimaiz marked this pull request as ready for review October 7, 2025 08:55
@odeimaiz odeimaiz requested a review from Copilot October 7, 2025 08:55
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR enhances the conversation list item UI in the support center to display more information including conversation start details and improved message previews. It also moves project ID display to be visible to all users (not just support members).

Key changes:

  • Added a third line (sub-subtitle) to conversation list items showing when conversations were started and by whom
  • Modified message display to show last message content instead of just timestamps
  • Moved project ID display from support-only to all users in conversation details

Reviewed Changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
ListItem.js Added subSubtitle property and UI layout support for a third row in list items
SupportCenter.js Increased window width from 430 to 450 pixels
ConversationPage.js Moved project ID display outside support-only conditional block
ConversationListItem.js Enhanced list item to show conversation start info and last message content
Conversation.js Added null check for currentStudy before adding event listener
ConversationsSupport.js Added fetchFirstMessage method and updated fetchLastMessage to return response metadata
StudyEditor.js Made projectDocumentChanged method private
Conversation.js (model) Added firstMessage property and enhanced message fetching logic

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Oct 7, 2025

@odeimaiz odeimaiz merged commit a93fcbc into ITISFoundation:master Oct 7, 2025
58 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

a:frontend issue affecting the front-end (area group) t:enhancement Improvement or request on an existing feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants