It Introducing whole new FSM Registry UI which allows an Admin Employee to create,update and delete the respective Vendor, Driver and Vehicle
Once the user login with “FSM_ADMIN"
Roles then the user will get the option for FSM Registry in the FSMCard
as well as in the home screen.
...
File Path: Card: https://github.com/egovernments/DIGIT-Dev/blob/cdb6444a0e9c4aefa9f12844b98576dc371d484c/frontend/micro-ui/web/micro-ui-internals/packages/modules/fsm/src/components/FsmCard.jsULB HomePage : https://github.com/egovernments/DIGIT-Dev/blob/3821b6587020259f8c4daf5447215eddd27b94db/master/frontend/micro-ui/web/micro-ui-internals/packages/modules/fsm/src/pages/employee/index.js
FSM Registry:
When clicked on FSM Registry button, Registry page is rendered.
...
FSM Registry Inbox Page consists of Vendor tab, Vehicle tab and Driver tab with functionality to add, edit and update the respective vendor, vehicle or driver.
...
File Path: https://github.com/egovernments/DIGIT-Dev/blob/ca37076023a5af9a3635d3e275e69b93df15e55amaster/frontend/micro-ui/web/micro-ui-internals/packages/modules/fsm/src/pages/employee/FSMRegistry/index.js
FSM Registry Component: https://github.com/egovernments/DIGIT-Dev/blob/developmaster/frontend/micro-ui/web/micro-ui-internals/packages/modules/fsm/src/components/RegistryInbox.js
Vendor Tab:
In Vendor tab, Admin employee can see list of all active/inactive vendors and their vehicle, driver and status information.
...
Admin can search the vendor by vendor name in search bar.
...
When ULB Admin select vehicle/driver and click on submit. Vehicle/driver will be added to the respective vendor.
...
Admin can delete the vehicle/driver from the vendor by clicking on delete icon on the top right corner of vehicle/driver details.
...
Edit screen page will render when admin click on edit option.
...
Delete pop up confirmation screen will render when click on delete option.
...
Info |
---|
File path render in FSM Registry are below |
Info |
---|
New Components added in FSM for FSM registry |
Components | File Path | ULB Home Card|
---|---|---|
Registry Inbox | ||
Toogle Switch | ||
Registry Search |
...
Components | File Path |
---|---|
Toggle Switch | |
Action Bar | https://github.com/egovernments/DIGIT-Dev/commit/f5936cc5b2b76b4ef6c09c8bfce1b28664983521#diff-6b25efcf33f16fa23971c400b64d7475f6f236b459af82ec187aa207d47098d5/blob/master/frontend/micro-ui/web/micro-ui-internals/packages/css/src/components/actionbar.scss |
Toogle Switch | https://github.com/egovernments/DIGIT-Dev/commit/f5936cc5b2b76b4ef6c09c8bfce1b28664983521#diff-7b7d336ea2eda25472dbf8d4c433ffa493b96fda400682073c31349bd2c08538/blob/master/frontend/micro-ui/web/micro-ui-internals/packages/css/src/pages/employee/inbox.scss |
Registry Search |
Info |
---|
New Icon Added |
Svg | File Path | ||
---|---|---|---|
Add icon | https://github.com/egovernments/DIGIT-Dev/blob/pullmaster/2890frontend/files#diff-050e5719d46976e74948db0be8d1275cc35cb93932d56a18f63a416a3763ca48 | ULB Home Icon | https://github.com/egovernments/DIGIT-Dev/pull/3001/files#diff-050e5719d46976e74948db0be8d1275cc35cb93932d56a18f63a416a3763ca48micro-ui/web/micro-ui-internals/packages/react-components/src/atoms/svgindex.js |
Info |
---|
Custom Hooks Added |
Hooks | File Path |
---|---|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
|
Role Action Mapping:
API | ROLES | ACTION ID | |
---|---|---|---|
1 |
|
| 954 |
2 |
|
| 2056 |
3 |
|
| 2352 |
4 |
|
| 2053 |
5 |
|
| 2357 |