Sevice-request module(Citizen Feedback Module):
Add this service-request module for the surveys to work.
Following files need to be added:New Persister file : service-request-persister
DevOps environment file : Add persister file path
Helm chart addition
Mdms : Role-action-mapping changes
Once done with above additions, hit the Job-builder.
Restart following services:
egov-accesscontrol, egov-mdms-service, egov-persister
Deploy the service-request module build
For further details on how to use Citizen-feedback apis Refer: Citizen Feedback service
New KPIs:
Restart dashboard-analytics with Cluster-configs.
UI Migration Changes:
Citizen Consent Form:
Objective
This feature is to get a consent from the citizen during the citizen login.
Add this mdms file https://github.com/egovernments/egov-mdms-data/blob/QA/data/pb/common-masters/CitizenConsentForm.json
Documentation:
a. Refer Citizen consent form
b. Restart mdms and deploy the latest front-end builds.
Citizen Feedback:
Objective :
To Provide the user facility to submit feedback/rating at the end of the service.
Add this mdms file : https://github.com/egovernments/egov-mdms-data/blob/QA/data/pb/common-masters/RatingAndFeedback.json
{ "tenantId": "pb", "moduleName": "common-masters", "RatingAndFeedback": [ { "type" : "isCitizenRatingEnabled", "value" : true }, { "type" : "headerByRating", "value" : [ { "minvalue" : 1, "maxvalue" : 3, "code" : "CS_WHAT_WENT_WRONG" }, { "minvalue" : 4, "maxvalue" : 5, "code" : "CS_WHAT_WENT_GOOD" } ] }, { "type" : "enabledScreensList", "value" : [ { "module" : "PT", "bussinessService" : "PT_CREATE", "screenfrom" : "pt/property/new-application/acknowledgement", "cardHeader" : "PT_RATE_HELP_TEXT_CREATE", "cardText" : "PT_RATE_CARD_TEXT_CREATE" }, { "module" : "PT", "bussinessService" : "PT_MUTATION", "screenfrom" : "pt/property/property-mutation/acknowledgement", "cardHeader" : "PT_RATE_HELP_TEXT_MUTATE", "cardText" : "PT_RATE_CARD_TEXT_MUTATE" }, { "module" : "PT", "bussinessService" : "PT_UPDATE", "screenfrom" : "pt/property/edit-application/acknowledgement", "cardHeader" : "PT_RATE_HELP_TEXT_UPDATE", "cardText" : "PT_RATE_CARD_TEXT_UPDATE" }, { "module" : "PT", "bussinessService" : "PT", "screenfrom" : "digit-ui/citizen/payment/success", "cardHeader" : "PT_RATE_HELP_TEXT_PAY", "cardText" : "PT_RATE_CARD_TEXT_PAY" } ] } ] }
In the above config headerByRating
param is used to declare the value for which star condition will be there along with the code message which will be displayed in the UI screen. enabledScreensList
is used to declare the flows where the Citizen feedback screen will be displayed in order to get review from citizen.
Rating component is being used for the star rating part of the screen in citizen feedback screen which can be found inside micro-ui-internals folder : https://github.com/egovernments/DIGIT-Dev/blob/develop/frontend/micro-ui/web/micro-ui-internals/packages/react-components/src/atoms/Rating.js
Documentation:
a. Refer Citizen Feedback
b. Restart mdms and deploy the latest front-end builds.
0 Comments