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

As a form creator, I want my users to fill their addresses directly from Google Maps

Details

    Description

      Context:

      For our customers, mainly from insurance, it is important to verify if the address that the user is imputing is valid or not. With integration with google maps they are able to do that automatically and bring other complementary information to autofill other fields and deliver to their customers more value.

      Fom GS use case:

      The address form field type is used for the Google Maps Javascript API integration. The address field contains the following field type: street, city, state, zip code, and country. Each field is designed to be a separate field where the main address field populates the rest of the fields with the respective data from Google Maps.

      Confluence:

      See notes

      Design Deliverables:

      Mockups

      Acceptance Criteria

      1 - Given an user creating a form without having the API connected to their DXP,
      when trying to add the Search Location field,
      then I must be informed that I need to connect with the API and easily see how I can do that

      2 - Given creating a form,
      when needing to add real locations,
      then they should be able to search directly from API's like from google forms

      3 - Given with the API connected,
      when creating a field with this API connection,
      then I must be able to easily select which information I want to autofill in my form

      • More common complementary information from Google Maps API: street with number, city, state, postal code and country

      4 - Given an end user answering the form,
      when selecting one of the options from the API,
      then the other fields must be automatically filled from the option choosen

      5 - Given an user from the previous AC,
      when having the fields automatically filled,
      then I must be able to edit them if I wanted

      6 - Given an user from using the Search Location field,
      when selecting only ''Address'' on ''Visible Fields'',
      then the setting ''Layout'' must be hidden

      7 - Given an user from using the Search Location field,
      when creating a rule,
      then I must not be able to use Search Location fields in it

      • We will need to define and implement this field to be used in rules in a future story.

      Definition of Done (DoD):

      • All Acceptance Criteria were passed;
      • Make sure that the expected automated tests were created (unit / integration / functional) and passed successfully;
      • 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.
          [PM] Acceptance Criteria LPS-129391 Technical Task Closed Luiz Jardim  
          2.
          [DS] Mockups LPS-131587 Technical Task Closed Victor Santos  
          3.
          [QA] Review ACs and Draft TCs LPS-132768 Technical Testing Closed Emanuel Silva  
          4.
          [BE] Create new type for the new field Address LPS-132788 Technical Task Closed Product Team Data Engine (Inactive)  
          5.
          [BE] Create the contributor class of the Address field LPS-132789 Technical Task Closed Product Team Data Engine (Inactive)  
          6.
          [FE] Create the new field LPS-132790 Technical Task Closed Product Team Data Engine (Inactive)  
          7.
          [FE] Be able to change field layout and reflect in the form builder LPS-132791 Technical Task Closed Product Team Data Engine (Inactive)  
          8.
          [FE] Be able to select the visible fields and reflect in the form builder LPS-132792 Technical Task Closed Product Team Data Engine (Inactive)  
          9.
          [FE] Attach the Google powered dropdown list to the search location field LPS-132793 Technical Task Closed Product Team Data Engine (Inactive)  
          10.
          [FE] Autofill the visible fields with the selected address LPS-132794 Technical Task Closed Product Team Data Engine (Inactive)  
          11.
          [FE/BE] Create the “set your API credentials" page in the field sidebar LPS-132795 Technical Task Closed Renato Rêgo  
          12.
          [FE] Create the credentials configuration page (or fieldset in the Site Settings) for setting the google credentials LPS-132797 Technical Task Closed Guilherme Camacho  
          13.
          [FE] Unit Tests LPS-132798 Technical Task Closed Product Team Data Engine (Inactive)  
          14.
          [BE] Integration / Unit tests LPS-132799 Technical Task Closed Renato Rêgo  
          15.
          [FE/BE] Be able to view the entries inside the Entries tab inside the Form Builder LPS-133652 Technical Task Closed Renato Rêgo  
          16.
          [BE/FE] Update Advanced Tab LPS-134619 Technical Task Closed Product Team Data Engine (Inactive)  
          17.
          [BE] Remove Google Places module from Marketplace release LPS-135331 Technical Task Closed Rodrigo Paulino (Inactive)  
          18.
          [QA] Manual Validation - Round 01 - Failed LPS-135865 Technical Testing Closed Product Team Data Engine (Inactive)  
          19.
          The Layout setting is shown even when selecting only "Address" on "Visible Fields" LPS-136105 Impedibug Closed Renato Rêgo  
          20.
          Search Location Field is not working on the published form LPS-136147 Impedibug Closed Carolina Barbosa  
          21.
          [QA] Manual Validation - Round 02 - Failed LPS-136650 Technical Testing Closed Diogo Santos (Inactive)  
          22.
          Required field property is not working on all fields of the Search Location LPS-136653 Impedibug Closed Renato Rêgo  
          23.
          Serious performance issue when using the Search Location field and its properties on the form builder LPS-136654 Impedibug Closed Product Team Bravo (Inactive)  
          24.
          When several Search Location fields are created in a form the search is working only in one of the created search location fields LPS-136680 Impedibug Closed Product Team Bravo (Inactive)  
          25.
          When filling the Search Location with repeatable enabled the next created field disappear after the auto fill LPS-136683 Impedibug Closed Carolina Barbosa  
          26.
          When duplicating the filled Search Location field set as required, the auto fill stop working on the second field LPS-136689 Impedibug Closed Carolina Barbosa  
          27.
          [QA] Manual Validation - Round 03 - Failed LPS-137306 Technical Testing Closed Thais Frota (Inactive)  
          28.
          Search Location autofill does not work in the repeated field LPS-137321 Impedibug Closed Product Team Bravo (Inactive)  
          29.
          [QA] Manual Validation - Round 04 - Failed LPS-137438 Technical Testing Closed Diogo Santos (Inactive)  
          30.
          The Location Field is not auto-filling the fields when the required field property is enabled LPS-137450 Impedibug Closed Carolina Barbosa  
          31.
          Search Location field is not supported in the rules editor page LPS-137517 Impedibug Closed Product Team Bravo (Inactive)  
          32.
          [QA] Manual Validation - Round 05 - Passed LPS-137943 Technical Testing Closed Support QA  
          33.
          [PM] Acceptance Criteria LPS-138043 Technical Task Closed Luiz Jardim  

          Activity

            People

              luiz.jardim Luiz Jardim
              luiz.jardim Luiz Jardim
              Product Team Data Engine Product Team Data Engine (Inactive)
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Packages

                  Version Package
                  7.4.13 DXP GA1
                  7.4.3.4 CE GA4
                  Master