Uploaded image for project: 'ui-courses'
  1. ui-courses
  2. UICR-132

Courses - Results List | Apply Results list column chooser

    XMLWordPrintable

    Details

    • Template:
    • Sprint:
      eHoldings Sprint 118
    • Story Points:
      3
    • Development Team:
      Spitfire

      Description

      Context A user can now choose which results list columns display. Selections persist for a session.

      Implementation details

      • On the results list pane, under Actions menu display a section called Show columns
      • Define the list of columns that can be hidden from view
      • There should be one column that cannot be hidden from view

      Dev details
      We recently added the <ColumnManager>-component which simplifies the process of implementing persisted column selection for any MultiColumnList.
      Pass the ordered column mapping object as a prop and the component returns the UI (or callback) for toggling the visibility of columns and the filtered array of columns (visibleColumns).
      Note: We are using session storage for now but the plan is to persist the selected columns on the user-level in the future.
      The PR: https://github.com/folio-org/stripes-smart-components/pull/997
      The component: https://github.com/folio-org/stripes-smart-components/tree/master/lib/ColumnManager
      The component can easily be implemented into modules using either SearchAndSortQuery or SearchAndSort. Here are example PR's for those implementations:
      <SearchAndSortQuery>: https://github.com/folio-org/ui-users/pull/1634
      <SearchAndSort>: https://github.com/folio-org/ui-requests/pull/718

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                kgambrell Khalilah Gambrell
                Reporter:
                enettifee Erin Nettifee
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases