Open nightsh opened 7 years ago
you mean small tooltips with hint and stuff?
Yes, something along the lines of altrim/ember-cli-tooltipster
then this could also be a whole new milestone - we need all locations and texts where tooltips should be added. also a design component which says how it looks and some frontend tool to make tooltips easily, example:
<div>We are using CPV codes <a href="#" data-toggle="tooltip" data-trigger="click" title="tooltip text here"><i class="fa fa-question-mark"></i><!-- this is just a font awesome icon --></a></div>
so inside the tag, there is a data-toggle, which says this is a tooltip. data-trigger says its triggered by click. another option could be hover. inside title attribute, there is the content for the tooltip.
best thing we can do is to recycle something which already functions well. there is a materializecss tooltip component. good one is also in Bootstrap, inspired by some jquery plugin: http://getbootstrap.com/javascript/#tooltips
also, we will need a popup component, which has similar functionality, but can contain complex HTML inside. will be useful for displaying network entity info
to add to the abovementioned, tooltips can be used to explain/display information which is not necessary related to the context.
for now, its a future improvement.
@nightsh ?
@nightsh update pls