tenders-exposed / elvis-ember

**el.vis** - a tool for visualising public (EU) tenders big data
https://talk.tenders.exposed
GNU Affero General Public License v3.0
8 stars 2 forks source link

Add tooltips #194

Open nightsh opened 7 years ago

nightsh commented 7 years ago
chutko commented 7 years ago

you mean small tooltips with hint and stuff?

nightsh commented 7 years ago

Yes, something along the lines of altrim/ember-cli-tooltipster

chutko commented 7 years ago

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

chutko commented 7 years ago

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.

zufanka commented 5 years ago

@nightsh ?

zufanka commented 4 years ago

@nightsh update pls