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

Separate the Interactive Tooltip component from the info icon #3277

Closed
tomlroach opened this issue Jul 3, 2019 · 3 comments
Closed

Separate the Interactive Tooltip component from the info icon #3277

tomlroach opened this issue Jul 3, 2019 · 3 comments
Labels
status: inactive Will close if there's no further activity within a given time type: discussion 💬 type: enhancement 💡

Comments

@tomlroach
Copy link

tomlroach commented Jul 3, 2019

Summary

Similar to the request in #1903 there are use cases for wanting an interactive tooltip component, without necessarily wanting it tied to an info icon.

Justification

Current component in the Carbon v10 library:
image

My request is to provide it without the info icon by default.
image

It's true that in the meantime it's relatively simple to just override the icon to make it disappear. But my argument is that the proposed use case for the interactive tooltip component is too narrow. It's beig thought of as just "The thing which appears when you click an info icon" when the use cases are really much broader.
For example a feature tour similar to what is shown here would be possible to support with the interactive tooltip component
image

Carbon should think of the component in a broader way - of providing guidance throughout the UI in a progressive way, rather than solely about the information icon behaviour. In that way, it encourages designers to use it in a wider array of ways and gives more flexibility and freedom.

Desired UX and success metrics

Ideally this would be provided both in the Sketch library, and in the code libraries.

"Must have" functionality

Make available in the sketch library an interactive tooltip component which doesn't have an information icon associated with it by default.

Specific timeline issues / requests

No timeline. It's possible to override the icon in the meantime to remove it, so there is a simple workarround. But I think there is a philosophical point here about if the interactive tooltip is only triggered from clicking an icon - if the info icon is the primary use case, of if Carbon should be thinking of the components in a more flexible, use case agnostic, way.

@asudoh
Copy link
Contributor

asudoh commented Jul 3, 2019

The screenshot seems to largely diverge away from our UX pattern of our interactive tooltip. I'd suggest just take the markup/styles of our interactive tooltip and implement show/hide logic by your own. In most cases it can be implemented by some additional CSS. For some edge cases we have a primitive called "floating menu".

@stale
Copy link

stale bot commented Aug 2, 2019

We've marked this issue as stale because there hasn't been any activity for a couple of weeks. If there's no further activity on this issue in the next three days then we'll close it. You can keep the conversation going with just a short comment. Thanks for your contributions.

@stale stale bot added the status: inactive Will close if there's no further activity within a given time label Aug 2, 2019
@stale
Copy link

stale bot commented Aug 5, 2019

As there's been no activity since this issue was marked as stale, we are auto-closing it.

@stale stale bot closed this as completed Aug 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: inactive Will close if there's no further activity within a given time type: discussion 💬 type: enhancement 💡
Projects
None yet
Development

No branches or pull requests

3 participants