Skip to content

Conversation

@aidamag
Copy link
Contributor

@aidamag aidamag commented Oct 19, 2022

Checklist
(Check off all the items before submitting)

  • Build process is done without errors and all tests pass in /lib directory.
  • Self-reviewed the code prior to submitting.
  • Meets accessibility standards.
  • Added/updated documentation to /website as needed.
  • Added/updated tests as needed.

Purpose
Navigation using sublinks wasn't working fine if the sublink text is the same as other sublink of other section in the QuickNav component.

Description
Added parent label to sublinks href. So for example, if parent label is overview and sublink is introduction, navigation for sublink will be overview-introduction.

Besides, updated stories with working links and sublinks. Removed unused id prop from array.

Screenshots
image

image

Closes #1323

@raquelarrojo raquelarrojo self-requested a review October 19, 2022 10:17
@raquelarrojo raquelarrojo self-assigned this Oct 19, 2022
@aidamag aidamag marked this pull request as ready for review October 19, 2022 10:18
@raquelarrojo raquelarrojo merged commit 87e1151 into master Oct 25, 2022
@raquelarrojo raquelarrojo deleted the fix-1323 branch October 25, 2022 07:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Navigation using repeated sublinks not working in QuickNav

3 participants