-
Notifications
You must be signed in to change notification settings - Fork 32
🎨 [Frontend] Filter Runs #7728
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] Filter Runs #7728
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 introduces a new fetchJobsLatest method supporting server-side filtering and wires it through the UI, replacing the old fetchJobsActive calls.
- Renames and extends the Jobs store fetch method to accept filter parameters
- Updates table model and buttons to use
fetchJobsLatestwith filters - Adds a placeholder (and temporary hide) for the filter field and extends the backend endpoint
Reviewed Changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| services/static-webserver/client/source/class/osparc/store/Jobs.js | Renamed fetchJobsActive to fetchJobsLatest and added a filters parameter |
| services/static-webserver/client/source/class/osparc/jobs/RunsTableModel.js | Updated to construct and pass filters to fetchJobsLatest; added apply handler to refresh on filter changes |
| services/static-webserver/client/source/class/osparc/jobs/RunsBrowser.js | Set placeholder text on the filter field and temporarily hide it until backend is ready |
| services/static-webserver/client/source/class/osparc/jobs/JobsButton.js | Switched initial job fetch to call the new fetchJobsLatest |
| services/static-webserver/client/source/class/osparc/desktop/MainPage.js | Updated preload to use fetchJobsLatest instead of the old method |
| services/static-webserver/client/source/class/osparc/data/Resources.js | Extended getPageLatest endpoint URL with a filters query parameter |
services/static-webserver/client/source/class/osparc/jobs/RunsTableModel.js
Show resolved
Hide resolved
services/static-webserver/client/source/class/osparc/jobs/RunsBrowser.js
Show resolved
Hide resolved
pcrespov
left a comment
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.
|
The filter placeholder says "Filter by name or ID"... We can later go fancy. |
sanderegg
left a comment
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.
👍
|
@Mergifyio queue |
✅ The pull request has been merged automaticallyThe pull request has been merged automatically at 14e0a66 |
|





What do these changes do?
This PR adds some text filtering to the
computations/-/iterations/latestendpoint. The textfield filter is for now hidden, when the filtering in the backend is implemented, the line that hides it should be removed.Related issue/s
How to test
Dev-ops