Settings: Active Link Highlight is not maintained when a query string is present in the location.

Description

Navigation within Settings for most modules highlights the last selected menu link with a dark gray styling.
Certain modules that add a query to their navigation URL’s do not retain the highlight… this is due to some broken logic within STSMACOM Settings component…
A string is contrived to check the href’s of the links to likeness with the value in the address bar -
STSMACOM-709 / https://folio-org.atlassian.net/browse/UIDATIMP-1321 added the query string to this contrived string…
but the comparison is to location.pathname is impossible at that point since pathname won’t contain the search string!

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

2
  • 09 Jan 2025, 10:09 AM
  • 27 Nov 2024, 03:11 PM

Checklist

hide

Activity

Show:

Oleksandr HladchenkoJanuary 9, 2025 at 10:09 AM

Tested on Ramsons Bugfest env. Everything works as expected. Closing this issue.

image-20250109-100906.png

Oleksandr HladchenkoNovember 27, 2024 at 3:11 PM

Hi everything works as expected in Data import settings page.

image-20241127-151139.png

Khalilah GambrellNovember 25, 2024 at 4:21 PM

Hey - Can you review that this works as expected?

Done

Details

Assignee

Reporter

Priority

Sprint

Development Team

Stripes Force

Fix versions

Release

Ramsons (R2 2024) Bug Fix

RCA Group

Implementation coding issue

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created November 5, 2024 at 3:53 PM
Updated February 25, 2025 at 3:24 AM
Resolved November 27, 2024 at 5:35 PM
TestRail: Cases
TestRail: Runs

Flag notifications