Uploaded image for project: 'ui-plugin-find-package-title'
  1. ui-plugin-find-package-title
  2. UIPFPAT-1

Implement find package functionality for find-package-title plugin

    XMLWordPrintable

    Details

    • Template:
    • Sprint:
      eHoldings Sprint 89, eHoldings Sprint 90
    • Story Points:
      8
    • Development Team:
      Spitfire

      Description

      Should be moved to the plugin's board once we have it

      Context

      For Agreement app and Order app users, we need to support the ability for these users to look up and attach eholdings app's package/title+package while using those apps. FOLIO's current UX pattern is a modal/plug-in that allows the user to search for records and attach a record to the record s/he is on. For the first version the focus will be a plug-in that attaches a package to a record. Future version will support attaching a title+package to a record

      Requirement

      – search and filter packages
      – attach a package to a record

      Acceptance Criteria

      Given I am on the Agreements app
      When I click on Add a package/resource
      Then display the eholdings app plug-in

      Given I am on the Agreements app
      AND I click the eholdings app plug-in
      When I conduct a package search for [Chemistry]
      Then show me all packages that contain Chemistry in package name

      Given I am on the Agreements app
      AND I click the eholdings app plug-in
      When I conduct a package search for [Chemistry]
      AND filter to only show Selected packages
      THEN show me all packages that contain Chemistry in package name and are selected

      Given I am on the Agreements app
      AND I click the eholdings app plug-in
      When I conduct a tags search for [renewals]
      THEN show me all packages that contain the tag [renewals]

      Given I am on the eholdings plug-in via Agreements app
      When I search for the package - Royal Society of Chemistry
      AND select the row
      Then Royal Society should display as an Agreement line on the Agreement record no different than it does today

      Development approach

      A ui-plugin is a piece of code that performs some work and then passes its results to a callback(s) provided by an app that is using the plugin. ui-plugin-find-package-title's only responsibility will be searching for packages/titles+packages and passing found record data to to the provided callback. This is how the plugin's API could look like:

      <Pluggable
        type="find-package-title"
        onRecordChosen={record => { attachToAgreement(record); }}
      />
      

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                MaksymDryha Maksym Dryha
                Reporter:
                MaksymDryha Maksym Dryha
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases