network icon indicating copy to clipboard operation
network copied to clipboard

Order identities and Sessions by "created at" in console

Open mblarsen opened this issue 1 year ago • 4 comments

Preflight checklist

Ory Network Project

No response

Describe your problem

The list of identities shows identities by some order. It would be nice to be able to order them by created at (desc) so that you can see recently created identities in the console. This is especially useful for QA and debugging when creating a custom UI.

Describe your ideal solution

Clicking created at in the table would sort by created at.

Workarounds or alternatives

Only alternative right now is to download all identities using cli, import to own db and sort by date.

Version

?

Additional Context

No response

mblarsen avatar Oct 31 '23 01:10 mblarsen

@mszekiel PTAL - the same is true for the activities > sessions view, it should all be reverse chronological. Is this easy to do or would it require more refactoring on the API side?

kmherrmann avatar Nov 06 '23 15:11 kmherrmann

It's easy to achieve, already on my list and work in progress.

mszekiel avatar Nov 06 '23 16:11 mszekiel

Our API doesn't support ordering yet, so it will be a bit more involved to get this working. Also will need correct indices on the columns or we'll run into timeouts!

aeneasr avatar Nov 14 '23 13:11 aeneasr

The identities part still needs to be done, I think. But that's a bit more involved...

jonas-jonas avatar Jan 29 '24 14:01 jonas-jonas