Search Application and Search License pages are used for searching any application/ license that may or may not be relevant to the workflow action of the logged-in users.
Search Application has 2 components.
Search Fields
Search field component is a form which takes inputs and pass it into tl-search api params. It utilizes SearchForm and SearchField component to create and arrange the form.
Result Table
Result Table uses Table react component and the result from api is adapted to the table config using a custom hook inside common parent wrapper and passing the response to individual components
Search License has fixed param where the status of the application is “APPROVED”, other than differences in table config
APIs
API end point for searching trade licenses is {env}/tl-services/v1/_search