frontends
frontends copied to clipboard
[BUG] Search/listing page refactoring
Is there an existing issue for this?
- [X] I have searched the existing issues
Current Behavior
Problems:
- Filters are changed after refreshing the page. This problem exists because we are building it at the init page request. After applying any filter, the context changes, and we do not refresh the list. To decide what strategy should be implemented
What we need:
-
Only one function will handle API calls (currently, we have two different calls. From
search.vueanduseListingcomposable -
We should send two requests. Init a request to give us all available filters for searching and the next one to get active filters.
-
Change the structure of the filter request. It should be a part of the filter property.
-
Add examples of how to use listing/search filters with different variants
Expected Behavior
No response
Steps To Reproduce
No response
Environment
- OS:
- Node:
- pnpm:
Anything else?
No response