-
Notifications
You must be signed in to change notification settings - Fork 32
♻️🎨 [Frontend] Refactor conversations #8404
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
🧪 CI InsightsHere's what we observed from your CI run for d19dc28. ✅ Passed Jobs With Interesting Signals
|
There was a problem hiding this 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.
services/static-webserver/client/source/class/osparc/study/ConversationPage.js
Outdated
Show resolved
Hide resolved
…versationPage.js Co-authored-by: Copilot <[email protected]>
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks



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