Skip to content

[enhancement]: In multiuser mode, distinguish between user's pending jobs and all pending jobs #42

Description

@lstein

Is there an existing issue for this?

  • I have searched the existing issues

Contact Details

No response

What should this feature add?

When there are pending generation jobs in the queue, the Queue menu button at the top of the left panel (three horizontal lines) shows a yellow badge with the number of pending jobs. This is fine in single-user mode, but in multi-user mode it does not distinguish between the current user's pending jobs and the total number of pending jobs (which may include other users' queue items). In multiuser mode, this badge should be changed to read "X/Y" where X is the number of the current user's pending jobs, and Y is the total number of all user's jobs, including the current user's.

Here are the scenarios:

  • Single user mode, no pending jobs: don't show the badge
  • Single user mode, one or more pending jobs: show the total job count
  • Multiuser mode, no pending jobs: don't show the badge
  • Multiuser mode, current user with one or more pending jobs: show X/Y, where X is user's pending jobs and Y is total number of jobs
  • Multiuser mode, current user with no jobs, but at least one pending job from another user: show 0/Y, where Y is total number of jobs.

Alternatives

No response

Additional Content

No response

Activity

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions