Uploaded image for project: 'ui-checkin'
  1. ui-checkin
  2. UICHKIN-256

prefer @folio/stripes exports to private paths when importing components

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: TBD
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 6.0.0
    • Labels:
      None
    • Template:
    • Sprint:
      EPAM-Veg Sprint 117
    • Story Points:
      2
    • Development Team:
      Vega

      Description

      Overview: component imports should happen through the @folio/stripes/${repo} namespace rather than directly via the repo's private path. e.g. prefer

      import LocationSelection from '@folio/stripes/smart-components/LocationSelection';
      

      instead of

      import LocationSelection from '@folio/stripes-smart-components/lib/LocationSelection';
      

      The following files contain incorrect imports:

      ./ui-checkin/src/components/RouteForDeliveryModal/RouteForDeliveryModal.js:13:import mfCss from '@folio/stripes-components/lib/ModalFooter/ModalFooter.css';
      ./ui-checkin/src/components/ConfirmStatusModal/ConfirmStatusModal.js:14:import mfCss from '@folio/stripes-components/lib/ModalFooter/ModalFooter.css';
      

      Attn: Dmitriy Litvinenko

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                Dmitriy Litvinenko Dmitriy Litvinenko
                Reporter:
                zburke Zak_Burke
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases