Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STSMACOM-468: Enabled <ColumnManager> in the results list #1339

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

rasmuswoelk
Copy link
Member

@rasmuswoelk rasmuswoelk commented Mar 8, 2021

https://issues.folio.org/browse/STSMACOM-468

Purpose

This is a follow-up PR for the work done in STSMACOM-468.

We recently added the <ColumnManager> component which can be used for toggling and persisting the visibility of columns in a <MultiColumnList>. This component is built into the <SearchAndSort> and can be activated and utilized with very little effort.

While working on STSMACOM-468 I tested the implementation in various modules including ui-inventory.

Test the changes here:
https://folio-styling.testing.samhaeng.com/inventory

Approach

I enabled the <ColumnManager> via. <SearchAndSort>, removed the existing logic/UI since it's now redundant and updated the related tests.

Pre-Merge Checklist

Before merging this PR, please go through the following list and take appropriate actions.

  • I've added appropriate record to the CHANGELOG.md
  • Does this PR meet or exceed the expected quality standards?
    • Code coverage on new code is 80% or greater
    • Duplications on new code is 3% or less
    • There are no major code smells or security issues
  • Does this introduce breaking changes?
    • If any API-related changes - okapi interfaces and permissions are reviewed/changed correspondingly
    • There are no breaking changes in this PR.

Copy link
Member

@zburke zburke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The search results pane does not properly display results for me on this branch. I suspect this is actually a problem with the SSC PR rather than anything here in ui-inventory, but I don't think we can merge this until that's resolved.

Note in the screenshot that result-rows are present in the DOM (it's clipped, but the results-pane title shows "268 records found") but the <a> elements have no text content and the DOM-inspector shows 0 height.

Screen Shot 2021-03-10 at 2 46 23 PM

@sonarcloud
Copy link

sonarcloud bot commented Apr 10, 2021

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 2 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@id-jenkins
Copy link

@sonarcloud
Copy link

sonarcloud bot commented May 11, 2021

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 2 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants