Uploaded image for project: 'stripes-core'
  1. stripes-core
  2. STCOR-650

remove service-point handling

    XMLWordPrintable

Details

    • stripes-force 151, stripes-force 156, stripes-force 157
    • Stripes Force
    • Orchid (R1 2023)
    • TBD

    Description

      Summary: stripes-core does not depend on the inventory Okapi interface; thus it must not contain logic related to data derived from this interface. 

      Details: Service points leaked into stripes-core by parsing the response from /bl-users/login when its optional dependency on the inventory interface is fulfilled, but stripes-core itself does not depend on this interface and thus should not contain logic related to such data. Instead, the login response should be stored in redux and applications that do rely on inventory can use an event handler attached to the LOGIN event to retrieve that response and operate on it (e.g. UISP-32).

      Note: This will be a breaking change because setServicePoints and setCurServicePoint are publicly exported.

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                zburke Zak_Burke
                zburke Zak_Burke
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases