ufal / lindat-kontext

An alternative web front-end for the Manatee corpus search engine
GNU General Public License v2.0
5 stars 1 forks source link

same icon for pml-tq and syntax view inside KonText? #226

Open Ansa211 opened 5 years ago

Ansa211 commented 5 years ago

We are now using the same icon for two different purposes, which may be a little confusing:

In the KWIC view, the tree icon syntax-tree-icon placed on the left can be clicked to show a rendition of the tree inside KonText:

tree2

In the corplist view, the same tree icon syntax-tree-icon can be clicked and leads to pml-tq web interface. There is no indication whether the syntax-viewer inside KonText is set up for that corpus or not.

tree1

Suggestion: represent pml-tq by a different symbol. Inside pml-tq web, the symbol tree5 is used (in other contexts: tree3, tree4 ), which is produced by a css setup along these lines:

i.icon.tree:before {
    width: 1.18em;
    height: 1em;
    font-family: Icons;
    font-style: normal;
    font-weight: 400;
    content: "\F1BB";
}

The symbol syntax-tree-icon could then be used in corplist to indicate that a tree view is available inside KonText. Of course, it would be nicer if this information could be extracted automatically from the configuration file of the syntax-viewer.