-
Notifications
You must be signed in to change notification settings - Fork 32
✨ [Frontend] Support: Book a call #8297
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] Support: Book a call #8297
Conversation
🧪 CI InsightsHere's what we observed from your CI run for 4733135. 🟢 All jobs passed!But CI Insights is watching 👀 |
…e/FlashMessageOEC.js Co-authored-by: Copilot <[email protected]>
…simcore into feature/sc-request-call
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 a "Book a Call" feature to the Support Center, providing users with the ability to request appointments with the support team. This serves as a temporary solution before integrating a third-party appointment scheduling tool.
- Adds a new "Book a Call" button alongside the existing "Ask a Question" button
- Implements date/time selection functionality for scheduling appointments
- Tracks appointment status through conversation metadata and displays appointment information in the UI
Reviewed Changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
osparc/widget/DateTimeChooser.js |
New modal dialog for selecting appointment date and time |
osparc/ui/form/DateTimeField.js |
New form component combining date picker with hour/minute spinners |
osparc/support/SupportCenter.js |
Adds "Book a Call" button and conversation creation logic |
osparc/support/ConversationPage.js |
Adds appointment management UI and postMessage helper method |
osparc/data/model/Conversation.js |
Adds appointment getter/setter methods and extra context patching |
osparc/store/ConversationsSupport.js |
Adds patchExtraContext method and renames API endpoint |
osparc/data/Resources.js |
Renames conversation API endpoint for consistency |
osparc/conversation/AddMessage.js |
Makes addComment and postMessage methods return promises |
osparc/ui/message/FlashMessageOEC.js |
Refactors message posting to use new postMessage method |
osparc/ui/form/IntlTelInput.js |
Updates copyright year |
Comments suppressed due to low confidence (1)
services/static-webserver/client/source/class/osparc/ui/form/DateTimeField.js:1
- These magic numbers should be defined as named constants or documented with comments explaining their purpose (e.g., // Modal dialog dimensions).
/* ************************************************************************
services/static-webserver/client/source/class/osparc/ui/form/DateTimeField.js
Outdated
Show resolved
Hide resolved
services/static-webserver/client/source/class/osparc/data/model/Conversation.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.
nice!
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.
Question: say I live in Australia and I choose 09:00 in my local timezone.
What will the support team see on their side as the time of the appointment?
Same as all the times used throughout the application: presented to the users in their local time zone, stored in UTC. |
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:
- Expose the user with the time-zone (i.e. make it clear in the UI the time zone. See e.g. the appointments by zoom)
- the user cannot choose the time it fits him/here? I thought the app team would offer a doodle-like calendar of availablilty and user would decide
- pls create an sub-issue with some details of what you need from the api and assign to @bisgaard-itis and @pcrespov. I can follow up after i am done with my two PRs
|
…simcore into feature/sc-request-call
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.
Cool stuff! Thanks a lot for the effort
|
@Mergifyio queue |
🛑 Configuration not compatible with a branch protection settingThe branch protection setting |
|



What do these changes do?
This is a temporary solution to the Book a call feature until we integrate a third party Appointment scheduling tool.
This PR adds a "Book a Call" feature to the Support Center, allowing users to request appointments with the support team. The feature creates a new conversation with a specific message and tracks appointment status through the conversation's extra context.
Then the AppSupport members can make an appointment using the Date Time Chooser. (@pcrespov @bisgaard-itis currently AppSupport members can read conversations, but can't patch them, I need you to allow me so in order to set the appointment)
User requesting a call

App Team making the appointment

Related issue/s
How to test
Dev-ops