Create, close, cancel, Purchase Orders (UXPROD-1141)

[UIOR-691] Orders Results List | Apply Results list column chooser Created: 29/Mar/21  Updated: 05/May/21  Resolved: 03/May/21

Status: Closed
Project: ui-orders
Components: None
Affects versions: None
Fix versions: 2.4.0
Parent: Create, close, cancel, Purchase Orders

Type: Story Priority: P3
Reporter: Khalilah Gambrell Assignee: Dennis Bridges
Resolution: Done Votes: 0
Labels: acq-dev-grooming, ui-only
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Attachments: PNG File Screen Shot 2021-04-30 at 10.11.16.png     PNG File image (51).png    
Issue links:
Cloners
clones FOLIO-3096 CLONE - Results List | Apply Results ... Open
is cloned by STSMACOM-502 Orders Results List | Apply Results l... Closed
Defines
defines UXPROD-2630 Thunderjet - R2 Enhancements/Bugfixes Closed
Sprint: ACQ Sprint 113
Story Points: 2
Development Team: Thunderjet
Epic Link: Create, close, cancel, Purchase Orders

 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



 Comments   
Comment by Mikita Siadykh [ 20/Apr/21 ]

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

Comment by Dennis Bridges [ 20/Apr/21 ]

Mikita Siadykh 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.

Comment by Mikita Siadykh [ 30/Apr/21 ]

Hi Dennis Bridges

tested on snapshot, please review

Comment by Dennis Bridges [ 03/May/21 ]

Test successful in FOLIO-snapshot.

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