Uploaded image for project: 'ui-plugin-query-builder '
  1. ui-plugin-query-builder
  2. UIPQB-4

UUIDs: field-action-value component

    XMLWordPrintable

Details

    • Story
    • Status: Closed (View Workflow)
    • P3
    • Resolution: Done
    • None
    • None
    • None
    • Firebird - Sprint 161
    • 2
    • Firebird
    • Poppy (R2 2023)
    • TBD

    Description

      Purpose/Overview:
      The property type will determine what property name is displayed and what operators are supported. This story differs from UIBULKED-188 that there are possible million of matches and they cannot be used to populate dropdown. User will need to provide the search values in the search text.
      Examples of string type fields:

      Record Field
      holdings instanceId
      item holdingsId
      request requesterId

      Requirements/Scope:

      Field type is string and contains UUIDs

      1. Property name displayed with the value provided by entityType.name as described in the metadata schema
      2. The supported operator are listed in the drop down control and include for this field type:
        1. = (equal)
        2. in
        3. != (not equal)
        4. not in
      3. Only one Operator can be selected
      4. UUIDs values are entered by users in a textbox

      Example of a query generated in the UI:

      • (instanceId=="c6371474-cf48-4386-962f-64c6e1069c97")
      • (instanceId in "c6371474-cf48-4386-962f-64c6e1069c97", "78654f38-2f68-46df-8518-146763450d2d")

      Example of a query generated in BE:

      • (instanceId=="c6371474-cf48-4386-962f-64c6e1069c97")
      • (instanceId in "c6371474-cf48-4386-962f-64c6e1069c97", "78654f38-2f68-46df-8518-146763450d2d")

      Approach:

      Acceptance criteria:

      • The control is displayed on the form based on the metadata proviceded entityType
      • The same behavior is for all record properties of the same type
      • If the property in underlying record is the same type but is not a part of the metadata then the property is not displayed on the Query tool form
      • Unit tests are written with test coverage >80%

      TestRail: Results

        Attachments

          1. 2023-03-27_09h40_08.png
            2023-03-27_09h40_08.png
            87 kB
          2. 2023-03-27_09h44_57.png
            2023-03-27_09h44_57.png
            20 kB
          3. 2023-03-27_09h50_16.png
            2023-03-27_09h50_16.png
            19 kB
          4. 2023-03-27_09h51_15.png
            2023-03-27_09h51_15.png
            29 kB
          5. screenshot-4.png
            screenshot-4.png
            87 kB
          6. screenshot-5.png
            screenshot-5.png
            72 kB

          Issue Links

            Activity

              People

                uladislau_samets Uladislau Samets
                magdaz Magda Zacharska
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases