qiskit.org icon indicating copy to clipboard operation
qiskit.org copied to clipboard

[General UI] The icon in the landing CTA should be an arrow

Open delapuente opened this issue 4 years ago • 4 comments

Steps to reproduce the problem

  1. Navigate to qiskit.org
  2. Notice the icon of the "Get started" CTA

What is the current behavior?

The icon is the one indicating a navigation outside qiskit.org.

What is the expected behavior?

Since qiskit.org/documentation/install.html is under qiskit.org, the icon should be an arrow.

delapuente avatar Dec 08 '20 16:12 delapuente

There are three projects under qiskit.org, one is this Nuxt site, living under qiskit.org/. The other two, the documentation and the textbook are static sites and do not belong to this project. Trying to navigate to them using the Vue.js router breaks the navigation. We need to use the native navigation provided by the a HTML element.

Our AppLink component, encapsulates this behavior. It has mechanisms to determine when using a or nuxt-link components. If passed an absolute URL, the component immediately assumes we want to navigate outside the domain. This is leveraged in PR #1227 but introduces a regression making the component to display the incorrect icon.

Perhaps we should make the Nuxt project aware about the static sites and let it know those navigations to /documentation and /textbook should rely on the native HTML navigation regardless if we want it to open in the same or a different tab.

delapuente avatar Dec 08 '20 16:12 delapuente

To add to this, I would prefer if both links to documentation and textbook open in the same tab instead of opening a new tab. To our users, they won't know its a different site with a different structure. Particularly on the textbook, opening new tabs could result in several tabs open unknowingly with our given navigation.

JRussellHuffman avatar May 18 '21 14:05 JRussellHuffman

So, to summarise, @JRussellHuffman proposes (please correct me if I'm wrong):

  1. Opening the "Get started" link on the same tab
  2. Displaying the corresponding icon for that action

@lerongil should we agree on this implementation?

Everyone else, any other opinions?

eddybrando avatar Oct 08 '21 14:10 eddybrando

That is correct. Our users won't know there are multiple domains working together, so I'm in favor of not opening a new tab (and thus having the corresponding icon).

JRussellHuffman avatar Oct 08 '21 16:10 JRussellHuffman

Per offline conversations, all the links that contains qiskit.org should have the arrow.

y4izus avatar Jul 18 '23 13:07 y4izus