Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-109656

As a Form Admin, I want to check a summary of responses for my single selection field question

    Details

    • Epic Link:
    • Sprint:
      Forms_7.3_22, Forms_7.3_23, Forms_7.3_24, Forms_7.3_25

      Description

      As a Form Admin, I want to check a summary of responses for my single selection field question

      Design Deliverables

      Mockups
      Component

      Context

      One of the main purposes for a Form is to make Surveys and that's one of the main gaps that Liferay Forms has. During the product's life, we saw many users deciding to use Google Forms or some other Form Tool instead of Liferay Forms because they needed a Form answers summary report and didn't have one. Now we are trying to fix that by providing a brand new Answers Reports capability in Liferay Forms.

      In this Story's scope, users should be able to:

      1. Check how many times each option of a single selection field type was picked;
      2. Check the percentage distribution of each option of a single selection field type in a pie chart;
      3. Check the total answers that my single selection field type had.

      Acceptance Criteria

      1- Given that a Form Admin created a Form with a Single Selection Field Type and published;
      when one or more Form Submitter has already submited answers to the Single Selection Field,
      then the Form Admin should be able to check the Form Report and identify how many picks each option of the Single Selection Field had.

      2- Given that a Form Admin created a Form with a Single Selection Field Type and published;
      when one or more Form Submitter has already submited answers to the Single Selection Field,
      then the Form Admin should be able to check the Form Report and identify the percentages of picks that each option of the Single Selection field had.

      • This information should be displayed in the format of a Pie Chart.
      • In the Pie Chart's Legend, the order should be ordered from the ones with the highest percentages to the ones with the lower percentages.

      3- Given that a Form Admin created a Form with a Single Selection Field Type and published;
      when one or more Form Submitter has already submited answers to the Single Selection Field,
      then the Form Admin should be able to check the Form Report and identify how many answers the Field had.

      4- Given that a Form Admin created a Form with a Single Selection Field Type and published;
      when the Form already had submissions, but none of them has answered the Field,
      then the Field card should still be displayed in the Form Report, but with a "No Responses yet" status.

      Definition of Done (DoD):

      • All Acceptance Criteria were passed;
      • Make sure that the expected automated tests were created (unit / integration / functional) and passed successfully;
      • Verify if the test labels were added;
      • Code with peer review completed;
      • Validated by QA, Product Designer and/or PM;
      • No critical bug related to Story scope (ex.: similar of FP4, FP5);
      • Make sure that all system documentation were updated (if necessary)
      • Make sure that it has the extensions points needed to allow GS and customers to customize the feature (If applicable)

        Attachments

          Issue Links

          1.
          [DS] Mockups Technical Task Closed Felipe Pires  
          2.
          [PM] Acceptance Criteria Technical Task Closed Matheus Xavier  
          3.
          [BE] Create form instance report entry service Technical Task Closed Bruno Farache  
          4.
          [BE] Create Rest API for form reports entry Technical Task Closed SE Support  
          5.
          [BE] Implement model listener for form instance record Technical Task Closed Bruno Farache  
          6.
          [BE]Service test coverage Technical Task Closed Bruno Farache  
          7.
          [FE] Create Reports generic card Technical Task Closed Bruno Farache  
          8.
          [BE] Update form field report count when edit a record Technical Task Closed Bruno Farache  
          9.
          [FE] Include "Summary" tab Technical Task Closed Bruno Farache  
          10.
          [BE] Create a module for reports Technical Task Closed Bruno Farache  
          11.
          [BE] Update report when deleting a form record Technical Task Closed Bruno Farache  
          12.
          [BE] Put total items into report json data Technical Task Closed Bruno Farache  
          13.
          [FE] Insert Single Selection Chart into Report Card Technical Task Closed Bruno Farache  
          14.
          [FE] Create tests of Single Selection Report Technical Task Closed Bruno Farache  
          15.
          [QA] Design Test Cases Technical Testing Closed Cleyton Magalhaes  
          16.
          [BE] Pass the form sorted field list to React context Technical Task Closed Bruno Farache  
          17.
          [FE] Create screen to show empty state when there's no entry in a Form Technical Task Closed Bruno Farache  
          18.
          [BE] Adjust total items count to ignore form field submits with no option marked Technical Task Closed SE Support  
          19.
          [QA] Manual Test - Round 1 Technical Testing Closed Bruno Oliveira  
          20.
          [QA] Manual Test - Round 1 review Technical Task Closed Cleyton Magalhaes  
          21.
          [Impediug] Responses percentage does not sum 100% in some cases Impedibug Closed Bruno Farache  
          22.
          [QA] Manual Test - Round 2 Technical Testing Closed Cleyton Magalhaes  

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Packages

                  Version Package
                  Master