JMSJobQueueBundle icon indicating copy to clipboard operation
JMSJobQueueBundle copied to clipboard

[WebInterface] View jobs by state, date range, and show pending jobs first

Open ghost opened this issue 9 years ago • 7 comments

After having processed more than 100k jobs with this bundle I'd like to suggest the following improvements that will ease the task of checking job.

A dropdown labeled Status should be added allowing user to query only for jobs in state of:

  • failed
  • incomplete
  • completed
  • pending

A date range field(s) (or a calendar picker) could greatly help when need to see what happened during night time. Some common values could also be used in a dropdown:

  • Last night
  • Last 24 hours
  • Last 3 days
  • Last week

Also, columns could be sortable. For example you could show most recent failed jobs or oldest pending jobs.

In case of recurring jobs & many jobs are being added all the time, some pending jobs might not appear due to pagination. It is my belief that pending tasks should appear first because most of the times user needs to know what's in the queue.

I could submit PR if community agrees these are handy additions.

ghost avatar Feb 19 '15 12:02 ghost

+1 for adding some filtering ability.

schmittjoh avatar Feb 19 '15 12:02 schmittjoh

We've been processing a few jobs and came up with this layout which is pretty useful in our case:

  • pending (started and ready to start)
  • scheduled (to be started later)
  • error (failed, incomplete or terminated)
  • all

screenshot from 2015-03-05 23 26 28

nclavaud avatar Mar 05 '15 22:03 nclavaud

@nclavaud will you submit a PR with your updated UI ? Seems interesting !

sadortun avatar Apr 05 '15 04:04 sadortun

:thumbsup:

coelhoricardo avatar Jul 03 '15 12:07 coelhoricardo

+1. Anyone able to work on a PR? Would be okay to add a dependency such as LexikFormFilterBundle?

dextervip avatar Apr 25 '16 18:04 dextervip

👍

PATROMO avatar Mar 20 '17 09:03 PATROMO

👍

ababushkin avatar Jun 13 '17 05:06 ababushkin