Skip to content

Conversation

@odeimaiz
Copy link
Member

@odeimaiz odeimaiz commented Sep 22, 2025

What do these changes do?

This PR refactors conversation components to achieve uniform chat styling and behavior across Support and Project Conversations by creating a common base class and consolidating shared functionality.

Related issue/s

How to test

Dev-ops

@odeimaiz odeimaiz self-assigned this Sep 22, 2025
@mergify
Copy link
Contributor

mergify bot commented Sep 22, 2025

🧪 CI Insights

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

✅ Passed Jobs With Interesting Signals

Pipeline Job Signal Health on master Retries 🔍 CI Insights 📄 Logs
CI system-tests Base branch is healthy, but retries were needed. Could be early signs of flakiness 👀 Healthy 1 View View
unit-tests Base branch is broken, but the job passed. Looks like this might be a real fix 💪 Broken 0 View View

@odeimaiz odeimaiz added this to the Cheops milestone Sep 23, 2025
@odeimaiz odeimaiz added t:enhancement Improvement or request on an existing feature a:frontend issue affecting the front-end (area group) labels Sep 23, 2025
@odeimaiz odeimaiz requested a review from Copilot September 24, 2025 07:06
@odeimaiz odeimaiz changed the title 🎨 [Frontend] Uniform chats 🎨 [Frontend] Refactor chats Sep 24, 2025
@odeimaiz odeimaiz changed the title 🎨 [Frontend] Refactor chats ♻️🎨 [Frontend] Refactor chats Sep 24, 2025
@odeimaiz odeimaiz marked this pull request as ready for review September 24, 2025 07:06
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 refactors conversation components to achieve uniform chat styling and behavior across support and study conversations by creating a common base class and consolidating shared functionality.

  • Extracts common conversation logic into a reusable base class (osparc.conversation.Conversation)
  • Replaces inline CSS styling with a centralized "circled" decorator for consistent UI appearance
  • Separates conversation display from page management by introducing ConversationPage

Reviewed Changes

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

Show a summary per file
File Description
osparc/conversation/Conversation.js New base class containing shared conversation functionality
osparc/support/Conversation.js Refactored to extend the new base class, removing duplicated code
osparc/study/Conversation.js Simplified to extend base class and focus on study-specific behavior
osparc/study/ConversationPage.js New component separating page management from conversation display
osparc/theme/Decoration.js Added "circled" decorator for consistent styling
Multiple UI files Replaced inline border-radius styling with "circled" decorator

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

@odeimaiz odeimaiz changed the title ♻️🎨 [Frontend] Refactor chats ♻️🎨 [Frontend] Refactor conversations Sep 24, 2025
@sonarqubecloud
Copy link

Copy link
Contributor

@giancarloromeo giancarloromeo left a comment

Choose a reason for hiding this comment

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

Thanks

@odeimaiz odeimaiz merged commit 67d0e3c into ITISFoundation:master Sep 24, 2025
107 of 110 checks passed
@matusdrobuliak66 matusdrobuliak66 mentioned this pull request Sep 24, 2025
65 tasks
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