-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Description
Let's move to two different "jobs" pages: one at the workflow level, and one with all jobs of a user
Per-workflow jobs
- This fetches all jobs related to a workflow, by fetching all jobs related to the corresponding project and then filtering on fractal-web side. Maybe we can improve this based on Expose per-user and per-workflow GET-job endpoints? fractal-server#920
- Data are filtered before filling the table, so that the table at first appears as clean (with all filters unset) and the URL does not include any query parameter
- The header of the page correctly says something like
Jobs of workflow "My Workflow Name" - The url&breadcrumbs of the page are appropriate (something like
project/1/workflow/2/jobsin the URL, and the same structure in the breadcrumbs) - A (top-right?) button brings you back to the workflow page
- The table does not include project and workflow columns
Per-user jobs
- It is always visible in the top menu, under the "Jobs" name
- It fetches all user's jobs, by first fetching all user's projects and then fetching all jobs of each project. Maybe we can have a single endpoint for this? (Expose per-user and per-workflow GET-job endpoints? fractal-server#920)
- It does not apply any filter on the job list
- It does show project.name and workflow.name columns
- The header of the page correctly says something like
Jobs of user "admin@something.xxx"
Side effects
Other simplifications that are now possible
- The workflow-apply modal, upon success, redirects to the workflow page (without adding the job-id query parameter to the URL)
- We can probably fully disable the feature of URL query parameters being turned into table filters
- We automatically get rid of the "Job ID filters don’t show up in the interface" issue
- We most likely get rid of the "Transient display of other jobs during refresh: " issue
Related
jluethi
Metadata
Metadata
Assignees
Labels
No labels