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 LPS-111444 Technical Task Closed Felipe Pires (Inactive)  
          2.
          [PM] Acceptance Criteria LPS-111824 Technical Task Closed Matheus Xavier (Inactive)  
          3.
          [BE] Create form instance report entry service LPS-111874 Technical Task Closed Bruno Farache (Inactive)  
          4.
          [BE] Create Rest API for form reports entry LPS-111875 Technical Task Closed SE Support  
          5.
          [BE] Implement model listener for form instance record LPS-111876 Technical Task Closed Bruno Farache (Inactive)  
          6.
          [BE]Service test coverage LPS-112308 Technical Task Closed Bruno Farache (Inactive)  
          7.
          [FE] Create Reports generic card LPS-112389 Technical Task Closed Bruno Farache (Inactive)  
          8.
          [BE] Update form field report count when edit a record LPS-112570 Technical Task Closed Bruno Farache (Inactive)  
          9.
          [FE] Include "Summary" tab LPS-112572 Technical Task Closed Bruno Farache (Inactive)  
          10.
          [BE] Create a module for reports LPS-112750 Technical Task Closed Bruno Farache (Inactive)  
          11.
          [BE] Update report when deleting a form record LPS-112751 Technical Task Closed Bruno Farache (Inactive)  
          12.
          [BE] Put total items into report json data LPS-112916 Technical Task Closed Bruno Farache (Inactive)  
          13.
          [FE] Insert Single Selection Chart into Report Card LPS-113080 Technical Task Closed Bruno Farache (Inactive)  
          14.
          [FE] Create tests of Single Selection Report LPS-113143 Technical Task Closed Bruno Farache (Inactive)  
          15.
          [QA] Design Test Cases LPS-113268 Technical Testing Closed Cleyton Magalhaes (Inactive)  
          16.
          [BE] Pass the form sorted field list to React context LPS-113323 Technical Task Closed Bruno Farache (Inactive)  
          17.
          [FE] Create screen to show empty state when there's no entry in a Form LPS-113473 Technical Task Closed Bruno Farache (Inactive)  
          18.
          [BE] Adjust total items count to ignore form field submits with no option marked LPS-113521 Technical Task Closed SE Support  
          19.
          [QA] Manual Test - Round 1 LPS-113986 Technical Testing Closed Bruno Oliveira (Inactive)  
          20.
          [QA] Manual Test - Round 1 review LPS-114134 Technical Task Closed Cleyton Magalhaes (Inactive)  
          21.
          [Impediug] Responses percentage does not sum 100% in some cases LPS-114159 Impedibug Closed Bruno Farache (Inactive)  
          22.
          [QA] Manual Test - Round 2 LPS-114265 Technical Testing Closed Cleyton Magalhaes (Inactive)  

            Activity

              People

              Assignee:
              cleyton.magalhaes Cleyton Magalhaes (Inactive)
              Reporter:
              matheus.xavier Matheus Xavier (Inactive)
              Engineering Assignee:
              Product Team Forms
              Recent user:
              Kiyoshi Lee
              Participants of an Issue:
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  Master