From efbde0106cb7105fd1e2e028f9792d03a8f7782c Mon Sep 17 00:00:00 2001 From: Denys Bohdan Date: Thu, 6 Feb 2025 13:27:26 +0100 Subject: [PATCH] UIIN-3210 Remove hover-over text next to "Shelving order" on the Item record detail view (#2729) * UIIN-3210 Remove hover-over text next to "Shelving order" on the Item record detail view * UIIN-3210 update test --- CHANGELOG.md | 1 + src/views/ItemView.js | 6 ------ src/views/ItemView.test.js | 4 ---- translations/ui-inventory/en.json | 1 - 4 files changed, 1 insertion(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2d7f2762e..077676ae1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ * Correctly depend on `inflected`. Refs UIIN-3203. * Decrease the amount of rerenders in `ConsortialHoldings` component. Fixes UIIN-3196. * Sort holdings by location name and call number. Refs UIIN-3207. +* Remove hover-over text next to "Shelving order" on the Item record detail view. Refs UIIN-3210. ## [12.0.12](https://github.com/folio-org/ui-inventory/tree/v12.0.12) (2025-01-27) [Full Changelog](https://github.com/folio-org/ui-inventory/compare/v12.0.11...v12.0.12) diff --git a/src/views/ItemView.js b/src/views/ItemView.js index 7c4b2a1e1..afd01fdec 100644 --- a/src/views/ItemView.js +++ b/src/views/ItemView.js @@ -47,7 +47,6 @@ import { HasCommand, collapseAllSections, expandAllSections, - InfoPopover, Layout, MenuSection, NoValue, @@ -1272,11 +1271,6 @@ const ItemView = props => { label={} value={checkIfElementIsEmpty(itemData.effectiveShelvingOrder)} /> - } - buttonProps={{ 'data-testid': 'info-icon-shelving-order' }} - /> diff --git a/src/views/ItemView.test.js b/src/views/ItemView.test.js index 88eb61907..4eccb8da3 100644 --- a/src/views/ItemView.test.js +++ b/src/views/ItemView.test.js @@ -282,10 +282,6 @@ describe('ItemView', () => { }); }); - it('should display the information icons', () => { - expect(screen.getAllByTestId('info-icon-shelving-order')[0]).toBeDefined(); - }); - describe('when close view page', () => { it('should call the function to redirect user to instance page', () => { checkIfUserInCentralTenant.mockClear().mockReturnValue(false); diff --git a/translations/ui-inventory/en.json b/translations/ui-inventory/en.json index 912abbcd1..e23ec3fe8 100644 --- a/translations/ui-inventory/en.json +++ b/translations/ui-inventory/en.json @@ -868,7 +868,6 @@ "administrativeNote": "Administrative note", "administrativeNotes": "Administrative notes", "linkedToMarcAuthority": "Linked to MARC authority", - "info.shelvingOrder": "This field is the normalized form of the call number which determines how the call number is sorted while browsing.", "shortcut.nextSubfield": "quickMARC only: Move to the next subfield in a text box", "shortcut.prevSubfield": "quickMARC only: Move to the previous subfield in a text box",