mapper icon indicating copy to clipboard operation
mapper copied to clipboard

Link from symbol description to O-Map Wiki

Open krticka opened this issue 2 years ago • 5 comments

This is proposal

for adding a link from symbol description to symbol in O-Map Wiki. Such solution can be beneficial for beginners to see also text with graphics and photos related to map symbols. The problems now are following:

  1. Symbol description is shown as bubble and with mouse move disappear
  2. Links in description are not automatically converted to hyperlinks

Actual behaviour

Expected behaviour

Configuration

Mapper Version: 0.9.5 Operating System: Win XP

krticka avatar Apr 18 '22 09:04 krticka

An option could be to add the lookup via right-click on a symbol: MenuLookup

dl3sdo avatar Apr 19 '22 19:04 dl3sdo

My preference would be to have some sort of info window (maybe just extend the Measure window) which would be capable to process html code. The window could beside a properly layouted symbol specification contain the link to the o-map wiki examples but also a description on how to use the symbol (e.g. that the slope line should be snapped to the contour to have the correct length) image

mlerjen avatar Apr 20 '22 06:04 mlerjen

2. Links in description are not automatically converted to hyperlinks

You can add HTML <a> tags. But you can't reach them before the tooltip disappears :-(

Unbenannt

But it also adds load to the translations.

dg0yt avatar Apr 20 '22 08:04 dg0yt

I think that tooltip is still good place for the link. Is it possible to change behaviour when tooltip disappear from mouse move to mouse click?

---------- Původní e-mail ---------- Od: Kai Pastor @.> Komu: OpenOrienteering/mapper @.> Datum: 20. 4. 2022 10:33:43 Předmět: Re: [OpenOrienteering/mapper] Link from symbol description to O-Map Wiki (Issue #2059) "

" 2. Links in description are not automatically converted to hyperlinks " You can add HTML tags. But you can't reach them before the tooltip disappears :-(

Unbenannt (https://user-images.githubusercontent.com/13567791/164186198-e02ae343-6db8-4616-a52c-12b4ffee93a6.png)

But it also adds load to the translations.

— Reply to this email directly, view it on GitHub (https://github.com/OpenOrienteering/mapper/issues/2059#issuecomment-1103619239) , or unsubscribe (https://github.com/notifications/unsubscribe-auth/ADZ2ZGTVZ22IYNBCGENM23TVF66OBANCNFSM5TVLU7EA) . You are receiving this because you authored the thread. Message ID: < @.***> "

krticka avatar Apr 20 '22 08:04 krticka

Indeed it is possible to structure the text with html tags. One flaw though is that the editor is also interpreting these html tags such as the themselves are not editable and are removed at saving an edit. image e.g. here the p tag is applied here but gone on saving the edit.

So if we decide to use html here, the editor should show html tags instead of interpreting them.

mlerjen avatar Apr 20 '22 12:04 mlerjen