[UXPROD-2621] Replace item - status.name with No value component Created: 14/Aug/20  Updated: 27/Sep/21  Resolved: 27/Sep/21

Status: Closed
Project: UX Product
Components: None
Affects versions: None
Fix versions: None

Type: New Feature Priority: P3
Reporter: Khalilah Gambrell Assignee: Khalilah Gambrell
Resolution: Done Votes: 0
Labels: NFR, delegate_candidate, tech-debt, ui-only
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Attachments: Text File dashes.txt    
Issue links:
Relates
relates to ERM-1073 Replace item - status.name with No va... Closed
relates to STSMACOM-415 Notes | Replace noteData.type and not... Closed
relates to UICAT-108 MARCcat - Replace item - status.name... Closed
relates to UICR-100 Course Reserves- Replace item - statu... Closed
relates to UIDATIMP-628 Data Import - Replace item - status.n... Closed
relates to UIEUS-197 ERM usage - Replace item - status.na... Closed
relates to UIPFUDP-2 Plugin find ERM usage provider - Repl... Closed
Development Team: Stripes Force

 Description   

Work

Replace {
{value={get(item, 'status.name', '-')}}

With <NoValue> component

Background

From Zak: I recently ran across this line:
value={ get(item, 'status.name', '-')}
which basically says “use item.status.name if it’s available, or - if it’s not”.

We have a <NoValue> component that will render this in an a11y-friendly way, but code like that above is more common (100s in platform-core apps, e.g.).



 Comments   
Comment by Mariia Aloshyna [ 19/Aug/20 ]

Hello Khalilah Gambrell! It looks like <NoValue> component works not quite correctly - screen readers do not read it as 'No value set'. I mentioned about it in slack a couple of months ago (https://folio-project.slack.com/archives/C210UCHQ9/p1592501798334900), but I'm not sure if there is any bug created for this issue. Could you take a look, please? Thank you!

Comment by Khalilah Gambrell [ 31/Mar/21 ]

Cannot close feature until Course Reserve app is done

Comment by Ann-Marie Breaux (Inactive) [ 04/Aug/21 ]

Hi Khalilah Gambrell It looks like the Course Reserve app is done, so maybe this feature can be closed now? See previous comment

Generated at Fri Feb 09 00:25:29 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.