Wikidata / SQID

A tool to analyse, browse and query Wikidata
http://tools.wmflabs.org/sqid/
Apache License 2.0
84 stars 17 forks source link

Set HTML title to indicate current view and content #84

Closed nichtich closed 8 years ago

nichtich commented 8 years ago

Multiple SQID browser tabs with different classes and properties all have same title. The title should be adjusted dynamically to the currently selected class or property.

mkroetzsch commented 8 years ago

Yes, this is a small but important thing that was on my implicit todo for a while now (I was surprised we did not have an issue yet). The main challenge there is that I don't know how to do this.

@arsylum @guenthermi Any idea how to set the HTML title attribute from a controller? Do we need to extend the angular-controlled part of the page to include the title, or could we use directives/angular elements up there already?

mkroetzsch commented 8 years ago

This should be solved in master and also online now. Maybe recheck since I am on such a slow connection that I cannot load the application without timeout.