-
Notifications
You must be signed in to change notification settings - Fork 32
🐛 [Frontend] Fixes: Data Browsing #7672
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
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 PR addresses a bug in the Data Browsing functionality by ensuring that only the necessary files are requested when browsing folders. Key changes include:
- Refactoring duplicated folder-opening logic into a new __openPath helper method.
- Updating event listeners in TreeFolderView.js to use the new __openPath method for a consistent code path.
- Removing the outdated osparc/dashboard/FoldersTree.js file that is no longer needed.
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| services/static-webserver/client/source/class/osparc/file/TreeFolderView.js | Introduces the __openPath helper method to centralize folder-opening logic and streamline event handlers. |
| services/static-webserver/client/source/class/osparc/dashboard/FoldersTree.js | Removes the redundant FoldersTree implementation, simplifying folder management. |
services/static-webserver/client/source/class/osparc/file/TreeFolderView.js
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.
Thanks
|
@Mergifyio queue |
✅ The pull request has been merged automaticallyThe pull request has been merged automatically at 306fe84 |
|



What do these changes do?
Reported by @mguidon
Using the folder content viewer (right side of the Data Browser), was not always working, and was requesting more files than required. This PR fixes it.
Related issue/s
How to test
Dev-ops