Navigation between Old and 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": 1800, "name": "FIRE-NOC", "url": "url", "displayName": "Search", "orderNumber": 3, "parentModule": "", "enabled": true, "serviceCode": "FIRE-NOC", "code": "null", "navigationURL": "fire-noc/search", "path": "FIRE-NOC.Search", "leftIcon": "social:people" },


The following commit has to be added

https://github.com/egovernments/DIGIT-OSS/commit/1ea152e5a485aa16794f8236a019bebaf11a81b6

https://github.com/egovernments/egov-mdms-data/commit/bfe73a9dc4906aa0e0b3f4c41717fd2240046284

https://github.com/egovernments/egov-mdms-data/commit/594413581175369c3192dc7034136812cc887d9d
https://github.com/egovernments/egov-mdms-data/commit/dccfcebcceaab3e0742d4fe3a77a1b23494c6d55#diff-d15069f48cf5be0f57ddf304ea349e7606f67f8f223b1bf56bb528332e1c9943