Navigation Between Old & New UI

Problem Statement

Since not all modules are in the new UI, and the user has access to modules in both the new and old UI, navigating between them creates confusion. So framework needs to be designed to avoid this confusion.

Solution

The default landing page will be that of the new UI home screen for a user

  1. When the user is on a module that is in old UI (eg: Fire NOC) and clicks on the {{Home}} screen button from the sidebar, then the screen should be navigated to the New UI Home screen

  2. When the user is on a module that is in the new UI, then clicking on the {{Home}} button should redirect to the new UI home screen.

  3. There will be no changes in the side panel and it will remain the same for the respective new UI or old UI

  4. This change will be applicable to both citizen-side and employee-side interfaces

Technical Implementation:

 {
      "id": 2367,
      "name": "FirenocCitizen",
      "url": "digit-ui-card",
      "displayName": "FireNoc Search",
      "orderNumber": 1,
      "parentModule": "FireNoc",
      "enabled": true,
      "serviceCode": "",
      "code": "",
      "path": "",
      "navigationURL": "/citizen/fire-noc/home",
      "leftIcon": "FirenocIcon",
      "rightIcon": "",
      "queryParams": "",
      "sidebar": "digit-ui-links",
      "sidebarURL": "/citizen/fire-noc/home"
    }

and employees as follows:

The following commit has to be added

RAIN-7250 :: Navigation of Old and New UI Changes incorporated · egovernments/DIGIT-OSS@1ea152earrow-up-right

RAIN-7250 : Added the Action for Firenoc to Digit-ui Citizen · egovernments/egov-mdms-data@bfe73a9arrow-up-right

RAIN-7250 :: Birth and death module navigation added to new ui sidebar · egovernments/egov-mdms-data@5944135arrow-up-right RAIN-7250 : Added the Action for Birth & death of Digit-ui Citizen · egovernments/egov-mdms-data@dccfcebarrow-up-right

Was this helpful?