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
in the home screen.
...
File Path: ULB HomePage : https://github.com/egovernments/DIGIT-Dev/blob/3821b6587020259f8c4daf5447215eddd27b94dbmaster/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.
...
To view specific vendor detail, click on the vendor name and you’ll land on the vendor details page.
...
Vendor details screen show vendor details and give ULB Admin options to add vehicle and add driver to the vendor.
After clicking on add vehicle/add driver option, Add Vehicle pop up screen will apper to add the vehicle.
...
When ULB Admin select vehicle/driver and click on submit. Vehicle/driver will be added to the respective vendor.
...
Info |
---|
New Components added in FSM for FSM registry |
Components | File Path | ULB Home Card | https://github.com/egovernments/DIGIT-Dev/blob/3b651c3d01934946d0ab18ff20b3bd60005e2ec0/frontend/micro-ui/web/micro-ui-internals/packages/react-components/src/atoms/ULBHomeCard.js |
---|---|---|---|
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/pullblob/master/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 |