Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

ApplicationLinks is a separate component that hold links to other pages of possible navigation from inbox. This component is common in both Mobile and Desktop view. Links are conditionally rendered according to the user roles

SearchApplication

Search Application component is a form based component, that controls the Table component and the search param for Inbox API, it uses FormComposer HOC to render fields.

Validation of these fields are achieved by using controlled component rules

Any number of search fields can be added but by convention only mobile number and appilication number are provided

Filters

Filters contain input fields to filter the result of api, by sending search params to inbox api.

It contain 3 sections

  1. Assigned to Me/ All - It is a radio component to send assignedToMe param as true or false

  2. Locality - Filter result according to the selected locality by sending locality code in moduleSearch params in inbox api

  3. Status - Status filters are achieved by sending id received from inbox api response and mapping the name of businessService, status name and count

Table

Table is a react component which uses React-Table plugin, used in multiple modules

However in Mobile view are using cards to list all the applications without pagination support

  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.