[pve-devel] feature request : pve-manager tasks grid : keep running tasks on top ?
Alexandre DERUMIER
aderumier at odiso.com
Wed Jun 10 18:43:59 CEST 2015
we have a record.data.pid for running tasks, maybe can we do something like
sorters: [
{
property : 'pid',
direction: 'DESC'
} ,
{
property : 'starttime',
direction: 'DESC'
}
?
----- Mail original -----
De: "Emmanuel Kasper" <e.kasper at proxmox.com>
À: "pve-devel" <pve-devel at pve.proxmox.com>
Envoyé: Mercredi 10 Juin 2015 11:36:17
Objet: Re: [pve-devel] feature request : pve-manager tasks grid : keep running tasks on top ?
Hello Stefan
On 06/09/2015 09:07 PM, Stefan Priebe wrote:
>
> Am 09.06.2015 um 20:15 schrieb Dietmar Maurer:
>>> Sometimes some long running tasks (move disk for example), can take
>>> hours,
>>> and are lost inside the other logs, need to scroll to find them,...
>>
>> I guess this is a bug then. I thought task sorting should
>> already keep running tasks on top.
>
> +1 - no it does not
It seems, we only sort the tasks at the momment according to starttime
snippet from dc/Tasks.js
var taskstore = new PVE.data.UpdateStore({
storeid: 'pve-cluster-tasks',
model: 'pve-tasks',
proxy: {
type: 'pve',
url: '/api2/json/cluster/tasks'
},
sorters: [
{
property : 'starttime',
direction: 'DESC'
}
]
});
Stefan, could maybe you please make a bug report about that in
bugzilla.proxmox.com ? At best the bug report should descrinbe what
should be the optimal display order whan we have a mix of started tasks
which are finished or not.
Emmanuel
_______________________________________________
pve-devel mailing list
pve-devel at pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
More information about the pve-devel
mailing list