-
Notifications
You must be signed in to change notification settings - Fork 32
🐛 [Frontend] Fix/hide support buttons #8399
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] Fix/hide support buttons #8399
Conversation
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 pull request fixes and hides support buttons in the frontend, adding conditional visibility for support features based on group permissions. The changes refactor the BookACallIframe component to use properties for URL management and update the SupportCenter to conditionally show/hide support buttons.
- Refactored BookACallIframe to use property-based URL management instead of static URL construction
- Added conditional visibility to support buttons based on group support permissions
- Improved code organization by extracting common stack page selection logic
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| BookACallIframe.js | Refactored to use property-based URL management and improved constructor organization |
| SupportCenter.js | Added conditional visibility for support buttons and refactored button state management |
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/wrapper/BookACallIframe.js
Show resolved
Hide resolved
services/static-webserver/client/source/class/osparc/support/SupportCenter.js
Show resolved
Hide resolved
🧪 CI InsightsHere's what we observed from your CI run for 96b9a6e. ✅ Passed Jobs With Interesting Signals
|
|



What do these changes do?
This PR fixes and hides support buttons in the frontend depending on Support enabled or not.
Enabled:

Disabled:

Related issue/s
How to test
Dev-ops