Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance Ditto UI search table by custom sorting based on configured columns #1655

Open
thjaeckle opened this issue Jun 14, 2023 · 2 comments
Assignees
Labels
good-first-issue help wanted UI Issues related to the Ditto explorer UI

Comments

@thjaeckle
Copy link
Member

The Ditto Explorer UI currently always sorts based on the thingId (hardcoded in the UI).

It would be very beneficial to be able to sort based on the displayed columns of the table (which can be customized).
That way it would e.g. be possible to sort for the most recently "modified" things (using _modified as descending sort field).

Toggling between ascending/descending would be also required.

A bonus would be to add more than one sort field (the API supports that) - but that is probably hard to implement.

@thfries what do you think about this?

@thjaeckle thjaeckle added the UI Issues related to the Ditto explorer UI label Jun 14, 2023
@thfries
Copy link
Contributor

thfries commented Jun 14, 2023

oh yes. I also thought about this multiple times 😉but I never tried that. I think to supply the ditto API is very easy, because that was very easy for the other parts, too. I fear the UI part to make the table headers and control buttons work. I always need a lot of research on how this is supported by bootstrap or if other extensions are needed.

Besides that, should be doable and also very valuable!

(btw nice example! I use the modified_1d or modified_1h often for the same reason...)

@thfries
Copy link
Contributor

thfries commented Nov 26, 2023

Hi @thjaeckle, pls assign this issue to me. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good-first-issue help wanted UI Issues related to the Ditto explorer UI
Projects
None yet
Development

No branches or pull requests

2 participants