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

Closed
opened 2020-08-27 01:18:17 +02:00 by are0h · 2 comments
are0h commented 2020-08-27 01:18:17 +02:00 (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 2020-08-28 00:14:27 +02:00 (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 2020-08-28 03:38:56 +02:00 (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 participant
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: projects/fipamo#34
No description provided.