Re: [openstack-dev] [mistral] sort dir of executions, asc or desc?

2015-10-28 Thread Anastasia Kuznetsova
Hi Lingxian,

I am agree with you that from user's point of view it is more convenient to
show execution
in the descending order (latest created execution on the top), but all
other get_all methods
(for tasks, workflows, etc) return list of objects in the ascending order.

I prefer to have consistent behavior for all items, so if it is better to
have descending order,
than let's have it for all lists, not just for one.


On Wed, Oct 28, 2015 at 4:14 AM, Lingxian Kong  wrote:

> Hi, guys,
>
> I found this bug[1] this morning which was fixed just now, and I have
> to say, it is my intention that to make the query executions result in
> descending order when I implemented the query pagination blueprint,
> which is different with workflows list result behavior. Because in
> user's perspective, I think it's more convinient to show the lasted
> execution first, right? maybe the most commonly used scenario of
> 'execution-list' is, user creates some executions first, then he/she
> just wants to see what's the status of them, it‘s inconvenience for
> the users to scroll down the page to find their executions in
> ascending order, executions are more time sensitive than workflows.
>
> [1]: https://bugs.launchpad.net/mistral/+bug/1510417
>
> --
> Regards!
> ---
> Lingxian Kong
>
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>



-- 
Best regards,
Anastasia Kuznetsova
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [mistral] sort dir of executions, asc or desc?

2015-10-27 Thread Lingxian Kong
Hi, guys,

I found this bug[1] this morning which was fixed just now, and I have
to say, it is my intention that to make the query executions result in
descending order when I implemented the query pagination blueprint,
which is different with workflows list result behavior. Because in
user's perspective, I think it's more convinient to show the lasted
execution first, right? maybe the most commonly used scenario of
'execution-list' is, user creates some executions first, then he/she
just wants to see what's the status of them, it‘s inconvenience for
the users to scroll down the page to find their executions in
ascending order, executions are more time sensitive than workflows.

[1]: https://bugs.launchpad.net/mistral/+bug/1510417

-- 
Regards!
---
Lingxian Kong

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev