Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update internal links in Dropdowns to allow clicking on the entire span #4782

Merged
merged 1 commit into from
Aug 3, 2021

Conversation

zlavergne
Copy link

@zlavergne zlavergne commented Jun 24, 2021

This PR updates any internal link within a Dropdown component to use @react/router's navigate instead of a Link. Instead of having to click on the text of the link, a user can just click the "box" that it lives in

Current behavior:

tm-dropdown_before
(must click the text)

New behavior:

tm-dropdown_after
(can click the surrounding area)

Closes #4781

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Copy link
Contributor

@d-rita d-rita left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The functionality is good. LGTM

@d-rita d-rita requested a review from dakotabenjamin July 12, 2021 12:49
@d-rita d-rita requested review from ramyaragupathy and removed request for dakotabenjamin August 3, 2021 03:11
@d-rita
Copy link
Contributor

d-rita commented Aug 3, 2021

Thank you for this fix @zlavergne. Rebasing this and prepping it for merge.

@d-rita d-rita force-pushed the fix/improve-internal-link-dropdowns branch from cefee23 to ddeb2c1 Compare August 3, 2021 14:39
@sonarqubecloud
Copy link

sonarqubecloud bot commented Aug 3, 2021

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@d-rita d-rita merged commit cc14789 into develop Aug 3, 2021
@eternaltyro eternaltyro deleted the fix/improve-internal-link-dropdowns branch March 29, 2023 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dropdown elements for internal navigation require click on text
2 participants