Skip to content

[16.0] Module queue_job_chatter #801

@aliencrash

Description

@aliencrash

Is your feature request related to a problem?
If so, please provide clear and concise description of what the problem is.
One off challenges using the job queue is to be able to show for a related model that a task is running in job queue. The user has to wait if something went all right or wrong to be able to access the result.

Describe the solution you'd like
A clear and concise description of what you want to happen.
If we queue a job after pressing a button we could have in the form view of the related model a widget to show the queue task as a progress of a enqueued or running task. Maybe using the activities to show enqueue tasks.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context about the feature request here.

I just developed a module queue_job_chatter to show the task related to a specific model in the chatter.
Is developed as a mixin. The mixin you can control the maximum number of task you want to see.

The following images are an examples.

Job in done state
Image

job in pending state
Image

The state updates automatically base on bus.bus and also it's possible to show exception message as result.

This is done in version 16.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions