About, Purpose page for National Dashboard Enhancement:-
An about the dashboard page that describes the purpose of the dashboard as well as the source of the data is required to be built as per the feedback received from the demos.
...
Web URL:-
...
https://
...
qa.digit.org/digit-ui/employee/dss/national-about
The file location
...
in Digit-Dev:-
...
../modules/dss/src/pages/About.js
How to add the new content:-
path:- The file location in egov-mdms-data/data:- ../../pb/dss-dashboard/About.jsonHere we need to add the title header(Header or question) and define(Answer)
code:-
Code Block |
---|
{ "titleHeader": "DSS_QUES_WHAT_CAN_DASBOARD_VIEWER_SEE_N_DO", "define": [ "DSS_ANS_WHAT_CAN_DASBOARD_VIEWER_SEE_N_DO" ], "subdefine": } |
If the answer has sub-points then we need to add Point
Code Block |
---|
{[ "FOLLOWING_VIEWER_DO_ON_DASHBOARD" ], "definePoints": [ { "point": "PERFORMANCE_METRICS" }, { "point": "RESPECTIVE_STATE'S_PERFORMANCE" }, { "titleHeaderpoint": "PERFORMANCES_IN_FORM_VISUALIZATIONS" }, "define": [ { "point": "SERVICE-WISE_PERFORMANCE" }, { "point": "YEAR_PERFORMANCE" } ], "definePointssubdefinePoints": [ { "point": "STUDY_THE_PERFORMANCES" }, ] } |
If the answer word limit is more we need to do like this
Code Block |
---|
{{ "titleHeaderpoint": "SEE_COMPARISONS_OF_INTER-STATE" }, { "define": [ "point": "SEE_COMPARISON_ON_YEAR-WISE" "",}, { "point": "DOWNLOAD_THE_DATASET" }, { "point": "SHARE_DATA_ANALYTICS" } ] } |
...
OUTPUT:-
...
To add content:-
To add question we need to mention titleHeader
To add First point we need to mention define
To add First sub points we need to mention definePoints
To add Second point we need to mention subdefine
To add Second sub points we need to mention subdefinePoints
Remove the content:-
If we need to delete remove the content that belongs to the title header, define and define points we need to delete according titleHeader,define,definePoints, subdefine
, subdefinePoints
...
FAQ Page for National Dashboard Enhancement-
To enhance the dashboard and make it more user-friendly, an FAQ page is to be developed so that users can access it from any page for any queries that they may have regarding any acronyms or how to navigate.
...
Web URL:-
...
https://
...
qa.digit.org/digit-ui/employee/dss/national-faqs
The File location
...
in Digit-Dev:-
...
../dss/src/pages/FAQs
How to add the new content:-
...
The File location in egov-mdms-data
...
:- ../../pb/dss-dashboard/FAQs.json
...
code:-
Code Block |
---|
{ "question": "QUES_THREE_HOW_CAN_I_VIEW_VALUES_GRAPH", "answer": [ { "ans": "FOR_PIE_CHARTS" }, { "point": "HOVER_OVER_THE_INDIVIDUAL_SLICES" } ], "subAnswer" : [ { "ans": "FOR_LINE/BAR_GRAPHS" }, { "point": "HOVER_OVER_HE_INE/BAR" } ] ] } |
...
OUTPUT:-
...
To add content:-
To add question we need to mention question
To add First point we need to mention answer, ans
To add First sub points we need to mention answer, point
To add Second point we need to mention subAnswer, ans
To add Second sub points we need to mention subAnswer, point
Remove the content:-
If we need to delete remove the content that belongs we need to delete according question, answer
and ans, subAnswer, ans, point
...
roleactions.json:-
path:- ../../pb/ACCESSCONTROL-ACTIONS-TEST/actions-test.json
Code Block |
---|
{ "rolecode": "EMPLOYEE", "actionid": 23412373, "actioncode": "", "tenantId": "pb" }, { "rolecode": "EMPLOYEE", "actionid": 23422374, "actioncode": "", "tenantId": "pb" } |
actions-test.json:-
path:- ../../../ACCESSCONTROL-ACTIONS-TEST/actions-test.json
Code Block |
---|
{
"id": 2373,
"name": "ABOUT DASHBOARD",
"url": "url",
"displayName": "About Dashboard",
"orderNumber": 11,
"parentModule": "ndss-dashboard",
"enabled": true,
"serviceCode": "NDSS",
"code": "null",
"path": "NatDashboard.About",
"navigationURL": "/digit-ui/employee/dss/national-about",
"leftIcon": "places:business-center",
"rightIcon": ""
},
{
"id": 2374,
"name": "FAQS",
"url": "url",
"displayName": "FAQs",
"orderNumber": 12,
"parentModule": "ndss-dashboard",
"enabled": true,
"serviceCode": "NDSS",
"code": "null",
"path": "NatDashboard.FAQs",
"navigationURL": "/digit-ui/employee/dss/national-faqs",
"leftIcon": "places:business-center",
"rightIcon": ""
} |