Done
Details
Assignee
Artem BlazhkoArtem BlazhkoReporter
Khalilah GambrellKhalilah GambrellPriority
P3Story Points
1Sprint
NoneDevelopment Team
VegaFix versions
Release
Sunflower (R1 2025)TestRail: Cases
Open TestRail: CasesTestRail: Runs
Open TestRail: Runs
Details
Details
Assignee
Artem Blazhko
Artem BlazhkoReporter
Khalilah Gambrell
Khalilah GambrellPriority
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 14, 2025 at 11:01 PM
Updated March 14, 2025 at 11:44 AM
Resolved January 30, 2025 at 1:42 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 Mediated requests app., remove linking at the row-level for Mediated requests and retain only the link to the Title column. When User clicks on linked Title on each row, the Mediated request details pane opens for that specific request.
Scenarios
_1. Scenario:
Given Mediated requests application opened and I see Mediated requests lists with results,
When I click on the linked “Title” in Mediated request row,
Then Mediated request details opened.
_2. Scenario:
Given Mediated requests application opened and I see Mediated requests lists with results,
When I click on a Mediated 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