Done
Details
Details
Assignee
Artem Blazhko
Artem BlazhkoReporter
Anne Ekblad
Anne EkbladPriority
Story Points
1
Sprint
None
Development Team
Vega
Fix versions
Release
Sunflower (R1 2025)
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created January 24, 2025 at 2:04 PM
Updated March 14, 2025 at 11:50 AM
Resolved February 4, 2025 at 7:15 PM
The problem: currently result lists in FOLIO suffer due to poor accessibility. Row-level block anchors is the direct cause.
The solution: render links to detail records within result listing cells and remove the block level anchors.
Use the exported
defaultMCLRowFormatter
from stripes-components rather than the built-in anchor formatter ofSearchAndSort
Implement a local function to get the URL of each result item.
Render the link in a cell using the
<TextLink>
component from stripes-components.use the
SearchAndSort
prop settingresultRowClickHandlers={false
} to suppressSearchAndSort
's built-in click behavior.supply your app's own
resultIsSelected
logic - in this PR, we hold the selected item in a state key that's set when the record link is clicked and cleared when the view record is dismissed.Refs ,
Also see PR https://github.com/folio-org/ui-requests/pull/849
Solution:
Within the Requests app., remove linking at the row-level for Requests and retain only the link to the Title column. When User clicks on linked Title on each row, the Request details pane opens for that specific request.
Scenarios
_1. Scenario:
Given Requests application opened and I see Requests lists with results,
When I click on the linked “Title” in Request row,
Then Request details opened.
_2. Scenario:
Given Requests application opened and I see Requests lists with results,
When I click on a Request row anywhere other than on the linked Title.
Then nothing happens.
Implementation:
Apply same implementation as shown on Users app https://folio-snapshot.dev.folio.org/users?query=diku&sort=name
Each result list > Select the column to hyperlink
Clicking hyperlink should have the same behavior that we have today when you select a row