-
Notifications
You must be signed in to change notification settings - Fork 31
✨ [Frontend] OEC to Support chat #8288
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
✨ [Frontend] OEC to Support chat #8288
Conversation
…parc-simcore into feature/user-profile-details
…Details.js Co-authored-by: Copilot <[email protected]>
…parc-simcore into feature/user-profile-details
…parc-simcore into feature/user-profile-details
🧪 CI InsightsHere's what we observed from your CI run for 8f7a815. 🟢 All jobs passed!But CI Insights is watching 👀 |
…arc-simcore into feature/oec-to-support-chat
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 adds support for contextual chat integration in the OEC (osparc Error Center) flash messages, allowing users to either copy error context or directly open a support chat with the error details.
- Creates a new FlashMessageOEC class that extends FlashMessage with chat and copy functionality
- Modifies FlashMessenger to use the new OEC flash message for errors with support IDs
- Updates support center UI to show "Ask a question" button for all users and changes "Support ID" to "Ticket ID"
Reviewed Changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.
File | Description |
---|---|
FlashMessageOEC.js | New flash message component with copy-to-clipboard and chat support functionality |
SupportCenter.js | Removes conditional display of "Ask a question" button |
ConversationPage.js | Changes label from "Support ID" to "Ticket ID" |
FlashMessenger.js | Refactors error handling to use new OEC flash message class and extracts common flash message addition logic |
services/static-webserver/client/source/class/osparc/ui/message/FlashMessageOEC.js
Outdated
Show resolved
Hide resolved
services/static-webserver/client/source/class/osparc/ui/message/FlashMessageOEC.js
Outdated
Show resolved
Hide resolved
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.
Suggestions:
- Instead of showing raw JSON, format and send a clear formatted message, for example:
Hi, I got this error: {message} - SupportID: 1234 - Date: 2023-04-34 - ...
- After sending the first message, place the cursor in a new draft message so the user can continue writing.
- Can you delete/edit a sent message? If so the user could also modify the default message
- Keep in mind: the error could be critical (e.g. a service outage). In that case, the support channel might not be functional. If so, fall back to the previous copy-to-clipboard approach.
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.
Very nice feature!
One proposal, which I think it might improve it's usefulness by a big margin.
In an effort to avoid having no additional context messages, I would ask the user to provide some context message before sending this report over. A popup where they add more context would be great. When they press send on the popup, it will open the support chat with the message already sent (already containing the error).
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.
💯
…arc-simcore into feature/oec-to-support-chat
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.
Please check my suggestsions
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.
very nice! much better.
Thx
|
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.
Way better! Thanks for enhancing it!
What do these changes do?
As suggested by @pcrespov, when an OEC is shown on a Flash Message, if the Support feature is enabled, instead of providing the copy OEC&Context to clipboard button, this PR gives provides the users with a quick way to contact support.
When the user presses the contact support button, a "provide more context" window pops up where the user can provide more context. This is then added to the curated OEC&Context and posted as a new Support conversation.
Related issue/s
How to test
Dev-ops