🐛 [Frontend] Fix: Select searched folder#9032
Merged
odeimaiz merged 5 commits intoITISFoundation:masterfrom Apr 15, 2026
Merged
🐛 [Frontend] Fix: Select searched folder#9032odeimaiz merged 5 commits intoITISFoundation:masterfrom
odeimaiz merged 5 commits intoITISFoundation:masterfrom
Conversation
|
giancarloromeo
approved these changes
Apr 15, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Fixes folder selection when clicking a folder from search results by ensuring the target workspace context is carried along with the selection event, allowing the Study Browser to switch to the correct workspace before selecting the folder.
Changes:
- Change the
folderSelectedevent payload to include bothworkspaceIdandfolderId. - Update
ResourceBrowserBaseto forward the new payload shape to_folderSelected(workspaceId, folderId). - Update
StudyBrowser’s_folderSelectedimplementation to use the providedworkspaceIdwhen changing context.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| services/static-webserver/client/source/class/osparc/dashboard/StudyBrowser.js | Updates folder-selection handler to change context using the selected folder’s workspace. |
| services/static-webserver/client/source/class/osparc/dashboard/ResourceBrowserBase.js | Adjusts folderSelected listener and abstract method signature to accept workspaceId + folderId. |
| services/static-webserver/client/source/class/osparc/dashboard/FolderButtonItem.js | Emits folderSelected with { workspaceId, folderId } to support correct navigation from search. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



What do these changes do?
reported by @matusdrobuliak66
Fixes folder selection when clicking a folder from search results by ensuring the target workspace context is carried along with the selection event, allowing the Study Browser to switch to the correct workspace before selecting the folder.
Bug:

Fixed:

Related issue/s
How to test
Dev-ops