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

Confusing UX with two-part link boxes #242

Open
mstange opened this issue Mar 1, 2023 · 0 comments
Open

Confusing UX with two-part link boxes #242

mstange opened this issue Mar 1, 2023 · 0 comments

Comments

@mstange
Copy link

mstange commented Mar 1, 2023

For example, under https://zero-to-nix.com/concepts/nixpkgs#external-sources , you have these boxes:

Screenshot 2023-03-01 at 2 44 14 PM

These boxes look like one clickable element, but in fact there are two parts to it: The first line links to the specific URL under the host, and the second line links to the root path ("/") at the given host.

I accidentally clicked the link to github.com instead of the link to github.com/NixOS/nixpkgs because I didn't intuitively realize that the box had two different clickable areas that go to different targets.

I think the github.com link is not useful.

Alternatively, if you want to keep both link targets, I would recommend a separator line and two "external link" icons so that it's clear that there are two links.

I noticed the text color hover change too late.

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

No branches or pull requests

1 participant