Skip to content

Add jobs panel to activity bar#23005

Draft
agnesbrnb wants to merge 1 commit into
galaxyproject:devfrom
agnesbrnb:add-job-panel
Draft

Add jobs panel to activity bar#23005
agnesbrnb wants to merge 1 commit into
galaxyproject:devfrom
agnesbrnb:add-job-panel

Conversation

@agnesbrnb

Copy link
Copy Markdown
Capture d’écran 2026-06-25 à 12 12 25

Related to issue: #20619

How to test the changes?

(Select all options that apply)

  • I've included appropriate automated tests.
  • This is a refactoring of components with existing test coverage.
  • Instructions for manual testing are as follows:
    1. [add testing steps and prerequisites here if you didn't write automated tests covering all your changes]

License

  • I agree to license these and all my past contributions to the core galaxy codebase under the MIT license.

@github-actions github-actions Bot added this to the 26.2 milestone Jun 25, 2026
@ahmedhamidawan ahmedhamidawan added kind/feature highlight Included in user-facing release notes at the top labels Jun 26, 2026
@ahmedhamidawan ahmedhamidawan marked this pull request as draft June 26, 2026 07:51
@ahmedhamidawan ahmedhamidawan moved this from Needs Review to In Progress in Galaxy Dev - weeklies Jun 26, 2026

@davelopez davelopez left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @agnesbrnb!
This is great! and it would be amazing to have this pushed to the finishing line, do you need any help with that?

Here are some comments for making it ready 👍

Comment thread client/src/api/jobs.ts
Comment on lines +70 to +71
export async function fetchJobs(){
const { data, error } = await GalaxyApi().GET("/api/jobs");

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will list every job independent of the state, so it is better to use pagination here; for that, you can use the limit and offset parameters. You can get inspiration, for example, from the InvocationsScrollList component.

Another important issue here is that, in the case of an admin user, this will list all users' jobs by default, which is definitely not something you want 😅, so even if it is not necessary for regular users, we should pass the current user_id to the endpoint to ensure admins only see their own jobs here.


<template>
<ActivityPanel
title="Running jobs"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The title "Running Jobs" is a bit misleading, since this is showing all jobs regardless of their status.

<ActivityPanel
title="Running jobs"
go-to-all-title="Open Jobs List"
href="/workflows/jobs">

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this /workflows/jobs is a hallucination 😅 and will display a blank page since it is not implemented. Also, it should probably be just jobs/; the word workflows here could be misleading.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/UI-UX highlight Included in user-facing release notes at the top kind/feature

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

3 participants