Skip to content

Conversation

@odeimaiz
Copy link
Member

@odeimaiz odeimaiz commented Jun 23, 2025

What do these changes do?

From the MMUX service one can request some extra information about a function. In that situation, osparc would pop up that function's underlaying template information, similar to a template info details. Now, this behaviour needs to be changed to only show the pipeline preview.

Since I can't start the MMUX service, I had to the frontend to make this animation. @JavierGOrdonnez test this once it gets deployed in master.
FunctionPreview

Related issue/s

How to test

Dev-ops

@odeimaiz odeimaiz self-assigned this Jun 23, 2025
@odeimaiz odeimaiz changed the title popUpPreview 🎨 [Frontend] Functions: Show Preview only when requested from MMUX Jun 23, 2025
@odeimaiz odeimaiz added this to the Engage milestone Jun 23, 2025
@odeimaiz odeimaiz added t:enhancement Improvement or request on an existing feature a:frontend issue affecting the front-end (area group) release Preparation for pre-release/release labels Jun 23, 2025
@odeimaiz odeimaiz marked this pull request as ready for review June 23, 2025 08:37
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 adjusts the frontend to show only the pipeline preview for functions when requested from the MMUX service, rather than displaying full template details.

  • Updated the persistent iframe handler to open a preview-only window for functions.
  • Modified study preview to wait for the workbench to be deserialized before rendering.
  • Enhanced resource details to treat “function” as a resourceType and restrict its details to the preview tab.

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
services/static-webserver/client/source/class/osparc/widget/PersistentIframe.js Open a function preview window directly and set a static caption.
services/static-webserver/client/source/class/osparc/study/StudyPreview.js Wrap preview widget creation in a deserialization check.
services/static-webserver/client/source/class/osparc/dashboard/ResourceDetails.js Add support for a “function” resourceType and limit it to preview.

@sonarqubecloud
Copy link

@odeimaiz odeimaiz added the 🤖-automerge marks PR as ready to be merged for Mergify label Jun 23, 2025
@odeimaiz
Copy link
Member Author

@mergify queue

@mergify
Copy link
Contributor

mergify bot commented Jun 23, 2025

queue

✅ The pull request has been merged automatically

The pull request has been merged automatically at 5b16b42

@odeimaiz odeimaiz requested a review from bisgaard-itis June 23, 2025 08:53
@mergify mergify bot merged commit 5b16b42 into ITISFoundation:master Jun 23, 2025
60 checks passed
@pcrespov
Copy link
Member

@JavierGOrdonnez said this was tested

@JavierGOrdonnez
Copy link

Yes it was @pcrespov

@matusdrobuliak66 matusdrobuliak66 mentioned this pull request Aug 5, 2025
88 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🤖-automerge marks PR as ready to be merged for Mergify a:frontend issue affecting the front-end (area group) release Preparation for pre-release/release t:enhancement Improvement or request on an existing feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Show only "Pipeline View" in info Study Card

4 participants