Uploaded image for project: 'stripes-smart-components'
  1. stripes-smart-components
  2. STSMACOM-64

Smarter API to <SearchAndSort>

    XMLWordPrintable

Details

    • Task
    • Status: Closed (View Workflow)
    • P2
    • Resolution: Done
    • None
    • 1.5.0
    • None

    Description

      We want to extend the <SearchAndSort> API such that you pass in the stripes configuration object from the application's package file, and the component figures out what parts to use. It will then no longer be necessary to pass in a bunch of other parameters, and those can eventually be deprecated.

      This is gradually becoming more urgent because of code like https://github.com/folio-org/ui-search/blob/477cab996d3484a3c619cd7e1ffd15a75a54a26b/src/Search.js#L223-L227 which we want to avoid duplicating across all the different modules.

      Once this is done, we should eventually be able to dispose of the following properties:

      • initialPath
      • moduleName
      • moduleTitle
      • baseRoute
      • initialFilters

      TestRail: Results

        Attachments

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour
                  1h

                  TestRail: Runs

                    TestRail: Cases