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
The file location in egov-mdms-data:- ../../pb/dss-dashboard/About.json
code:-
Code Block |
---|
{
"titleHeader": "DSS_QUES_WHAT_CAN_DASBOARD_VIEWER_SEE_N_DO",
"define": [
"DSS_ANS_WHAT_CAN_DASBOARD_VIEWER_SEE_N_DO"
],
"subdefine": [
"FOLLOWING_VIEWER_DO_ON_DASHBOARD"
],
"definePoints": [
{
"point": "PERFORMANCE_METRICS"
},
{
"point": "RESPECTIVE_STATE'S_PERFORMANCE"
},
{
"point": "PERFORMANCES_IN_FORM_VISUALIZATIONS"
},
{
"point": "SERVICE-WISE_PERFORMANCE"
},
{
"point": "YEAR_PERFORMANCE"
}
],
"subdefinePoints": [
{
"point": "STUDY_THE_PERFORMANCES"
},
{
"point": "SEE_COMPARISONS_OF_INTER-STATE"
},
{
"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 remove the content 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
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 remove the content we need to delete according question, answer, subAnswer, ans, point
...
roleactions.json:-
path:- ../../pb/ACCESSCONTROL-ACTIONS-TEST/actions-test.json
Code Block |
---|
{
"rolecode": "EMPLOYEE",
"actionid": 2373,
"actioncode": "",
"tenantId": "pb"
},
{
"rolecode": "EMPLOYEE",
"actionid": 2374,
"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": ""
} |