[FOLIO-3096] CLONE - Results List | Apply Results list column chooser Created: 29/Mar/21  Updated: 19/Jul/21

Status: Open
Project: FOLIO
Components: None
Affects versions: None
Fix versions: None

Type: Story Priority: P3
Reporter: Khalilah Gambrell Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: ui-only, ux-clone-story
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Attachments: PNG File image (51).png    
Issue links:
Cloners
is cloned by UICR-132 Courses - Results List | Apply Result... Closed
is cloned by UICR-146 Course Reserves List | Apply Results ... Closed
is cloned by UIOR-691 Orders Results List | Apply Results l... Closed
Sprint:
Development Team: None

 Description   

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

Implementation details - PO review and update when you clone this user story

  • 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

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


Generated at Thu Feb 08 23:25:34 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.