Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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. for example if out of five star user selects 3 star it will show “CS_WHAT_WENT_WRONG" i.e. “What went wrong ?” in the heading of the comment box and if the user selects 4 or 5, it will display “CS_WHAT_WENT_GOOD" i.e. “What went good?” in the heading.

enabledScreensList is used to declare the flows where the Citizen feedback screen will be displayed in order to get review from citizen. for eg : in the config PT_CREATE is defined, so at the end of the property application create flow, in the acknowledgement screen, a link will be there to redirect to feedback screen.

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

...