Tooltips for Pin, Star, and Globe buttons on page edit #34

Closed
opened 4 years ago by are0h · 2 comments
are0h commented 4 years ago (Migrated from koodu.ubiqueros.com)

The icons that signify whether to publish, feature, or pin an item to a menu do not have tooltips that indicate what they do. As a result, their function is non-obvious.

By modifying the title attribute of each button, a simple linger-hover tooltip can be provided. For example, in brain/views/partials/options.pug:

button#option-menu-pin.option-inactive.post-option-btn(data-active= status[0], title='Pin to Menu')

This creates a tooltip over the Pin icon that says "Pin to Menu".

The icons that signify whether to publish, feature, or pin an item to a menu do not have tooltips that indicate what they do. As a result, their function is non-obvious. By modifying the `title` attribute of each button, a simple linger-hover tooltip can be provided. For example, in `brain/views/partials/options.pug`: ``` button#option-menu-pin.option-inactive.post-option-btn(data-active= status[0], title='Pin to Menu') ``` This creates a tooltip over the Pin icon that says "Pin to Menu".
are0h commented 4 years ago (Migrated from koodu.ubiqueros.com)

Been meaning to do this and but it slipped through the cracks of all the other stuff I was plugging in.

Appreciate this assist.

Been meaning to do this and but it slipped through the cracks of all the other stuff I was plugging in. Appreciate this assist.
are0h commented 4 years ago (Migrated from koodu.ubiqueros.com)

No problem, happy to help. PR forthcoming.

No problem, happy to help. PR forthcoming.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: are0h/Fipamo#34
Loading…
There is no content yet.