-
Notifications
You must be signed in to change notification settings - Fork 3
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
UIQM-660 *BREAKING* Added stripes-inventory-components
to peerDeps. Added inventory search link next to 010 fields.
#683
Conversation
… Added inventory search link next to 010 fields.
bool: 'or', | ||
query: value, | ||
match: 'exactPhrase', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's use constants from stripes-components
. It will be easier if someone decides to change exactPhrase
to something else.
const builtQuery = advancedSearchQueryBuilder(advancedSearchRows); | ||
|
||
const searchParams = new URLSearchParams({ | ||
qindex: 'advancedSearch', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please create a constant for 'advancedSearch' in stripes-inventory-components
.
import { render } from '@folio/jest-config-stripes/testing-library/react'; | ||
|
||
import { runAxeTest } from '@folio/stripes-testing'; | ||
import { advancedSearchQueryBuilder } from '@folio/stripes-inventory-components'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove eslint warnings.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Dmytro-Melnyshyn's suggestions are solid; please follow them.
Please be sure to update the version in package.json
as indicated in CHANGELOG.
Quality Gate passedIssues Measures |
Description
Added
stripes-inventory-components
to peerDeps.Added inventory search link next to 010 fields. The link will open Inventory app in a new tab with advanced search by lccn with
010 $a/$z
as valuesScreenshots
chrome_IGgyw8MPH1.mp4
Issues
UIQM-660
Related PRs
folio-org/ui-inventory#2484
folio-org/stripes-inventory-components#37