Graylog2 / Graylog2/graylog2-server

Include total amount of all existing entities in API response, when using search query params for paginated lists.

Open
#9,117 0 comments 0 reactions 0 assignees View on GitHub
feature
Dominant language
Java
Stars
8.1k
Forks
1.1k
Avg merge
1d 20h
Merged PRs (30d)
217

Description

We have many lists in the new permissions management UI. When a list is empty we are showing the same message for:
- lists which are empty because no entities exist on the system
- lists which are empty because there is no search result for the provided search query params

It would be great to show a different message for each case. One solution could be, to return total amount of all entities, independently of the provided search. This way we could create a generic component which can be used for all paginated lists and which takes care of displaying the correct message for each scenario.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.