I am trying to implement a search by name feature for some entities such as namespace, flag, segment, etc. However, I am not very familiar with the source code. Could you please provide me with some advice? This will help me create a PR for this feature.
I understand. So the search and pagination feature are being handled by the UI side instead of the API, specifically using ReactTable. I have found the relevant code.
The first time I used it, I thought that Flipt did not have search feature. I researched the API code but only got the paging part, not the search and sort.
Additionally, this is not the core feature, so handling it by ReachTable might reduce costs.
Actually, pagination is part of the current API. For example, List Flags has it. It is flexible and UI could fetch all the flags with one call. Sorting hasn’t been added to API as there is no demand for it.