Orders Results List | Apply Results list column chooser

Description

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

Implementation details

  • On the orders and order lines results list pane, under Actions menu display a section called Show columns

  • Define the list of columns that can be hidden from view (TBD)

  • There should be one column that cannot be hidden from view (TBD)

Apps that have implemented

  • Users (available with Iris)

  • Inventory (available with Iris)

  • Requests

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

Environment

None

Potential Workaround

None

Attachments

2

Checklist

hide

TestRail: Results

Activity

Show:

Dennis Bridges May 3, 2021 at 8:22 PM

Test successful in FOLIO-snapshot.

Mikita Siadykh April 30, 2021 at 6:11 AM

Hi

tested on snapshot, please review

Dennis Bridges April 20, 2021 at 10:13 PM

 sorry for the delayed response. Yes let's begin with what is currently shown in this area. I am going to review with SIG group to determine if they want to add additional data points, but would be a followup story.

Mikita Siadykh April 20, 2021 at 10:30 AM

hi
could you please specify columns for "Results list column chooser"? can we just use columns that we already display?

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Thunderjet

Fix versions

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created March 29, 2021 at 10:07 PM
Updated May 5, 2021 at 8:24 PM
Resolved May 3, 2021 at 8:22 PM
TestRail: Cases
TestRail: Runs