Hi Eneko,

this behavior is actually not triggered by javascript but by tiddlymap's css…

@media (max-width: __breakpoint__) {
  .tc-sidebar-scrollable {
    .tmap-desktop-editor .tmap-widget:not(.tmap-fullscreen) {
      display: none;
    }
  }
}

where "__breakpoint__" translates to:


const replaceAfterSass = {
  '__breakpoint__': '{{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}}'
};



So check what the following tiddler yields when opening it.

$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint

Below this pixel threshold, the main editor in the sidebar won't be displayed 
as TiddlyMap is not designed to work on a small device because it needs some 
space to visualize nodes and relations on a map.

That being said, you can still decide to work with tiddlymap mobile by simply 
creating a tiddler with a tiddlymap "editor" widget inside:

(paste the following in you tiddler)

<$tiddlymap
  editor="advanced"
  click-to-use="false">
</$tiddlymap>


Hope that helps

Best wishes Felix.


On 11/17/2017 02:12 AM, Eneko Gotzon wrote:
I am exhausted, I must go to sleep, tomorrow I will follow.

Thank you for helping me. See you tomorrow!

On Fri, Nov 17, 2017 at 2:07 AM, 'Mark S.' via TiddlyWiki 
<tiddlywiki@googlegroups.com<mailto:tiddlywiki@googlegroups.com>> wrote:
I don't know much about Macs, and especially how TiddlyDesktop operates with 
them.

If you download a new TW file (because I don't want to endanger your existing 
work), then you can import the attached file into that new TW. Then SAVE and 
RELOAD.

Then In TiddlyDesktop open a tiddler in that new TW and create macro 
<<useragent>> and then preview it.

This should tell you what TiddlyDesktop thinks your user agent is. It might 
help in tweaking TD or maps. Might. Maybe. Possibly. ;-)

I would be curious what it reports.

Good luck!
Mark

On Thursday, November 16, 2017 at 4:45:47 PM UTC-8, Eneko Gotzon wrote:
Hi Mark, thank you very much for your answer.

On Fri, Nov 17, 2017 at 1:20 AM, 'Mark S.' via TiddlyWiki 
<tiddl...@googlegroups.com> wrote:
In my very brief look at the code, it appears that it determines mobile mode by 
comparing this regex string:

/mobile|tablet|ip(ad|hone|od)|android/i

against whatever your browser returns as it's user agent. You can navigate to 
this page:

https://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_nav_useragent

and press the button to see what your browser is exposing as it's user agent.

Sorry for not having been more precise: I get that warning editing the 
TiddlyMap file within

TiddlyDesktop.app
 (on a macbook air), but if I open it using Tiddly Drive the warning does not 
appear<https://drive.google.com/a/dondom.net/file/d/1xlwb-9p2Qhd4HAGgoCDk_7XJRI_auAuB/view?usp=sharing>.
Maybe
TiddlyDesktop
​ is not well suited for editing TiddlyMap files?​

Thank you!

On Thursday, November 16, 2017 at 4:04:11 PM UTC-8, Eneko Gotzon wrote:
Hi wonderful coders :)

I am beginning to study how to use TiddlyMap (a marvelous plugin that turns TW 
onto a wiki & concept-map hybrid).

After installing all the TiddlyMap plugins I get the Map tab in the wiki's 
sidebar but also a warning saying that The editor is not displayed in mobile 
mode<https://drive.google.com/a/dondom.net/file/d/1nFM06KEGHdyMF2nUcoWHaA1lM7bmHZvR/view?usp=sharing>.
 That warning seems to me surprising because I'm using TiddlyMap on a laptop.

I'm stuck on that warning. I have not found anything relevant in the menu 
options nor either information about how to overcome the warning. Perhaps 
somebody can help me.

Please, excuse me if this question belongs to trifling matter.

Thank you very much, code geniuses!
--
Eneko Gotzon Ares
Izan, egon, egin
Donostia – EH, Baskonia, NA Oso
Tf
(+34) 943 273 431 - (+34) 639 626 858
——————————————————
Mezu hau eta berari atxikitako agiri oro isilpeko dira eta soilik hartzaileari 
zuzentzen zaizkie. Mezu hau hutsegitez jasoz gero berau ezabatzea eskatzen da 
eta igorleari horren berri ematea eskertuko litzake. Baimen agerikorik gabe 
debekatuta dago mezu honen edota 
bhttps://drive.google.com/a/dondom.net/file/d/1xlwb-9p2Qhd4HAGgoCDk_7XJRI_auAuB/view?usp=sharingere
 edukinen edozein erabilera edo hedatzea, bai osoki zein zatiz.
Mezu elektronikoak andea daitezke; mezu hau andeaturik, aldaturik edota aizun 
balego Eneko Gotzon Aresek edota bere ordezkariek uko egiten diote edonolako 
ardurei.
--
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/90323712-7b70-4450-a7fe-bb03ab3391cb%40googlegroups.com<https://groups.google.com/d/msgid/tiddlywiki/90323712-7b70-4450-a7fe-bb03ab3391cb%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.



--
Eneko Gotzon Ares
Izan, egon, egin
Donostia – EH, Baskonia, NA Oso
Tf
(+34) 943 273 431<tel:+34%20943%2027%2034%2031> - (+34) 639 626 
858<tel:+34%20639%2062%2068%2058>
——————————————————
Mezu hau eta berari atxikitako agiri oro isilpeko dira eta soilik hartzaileari 
zuzentzen zaizkie. Mezu hau hutsegitez jasoz gero berau ezabatzea eskatzen da 
eta igorleari horren berri ematea eskertuko litzake. Baimen agerikorik gabe 
debekatuta dago mezu honen edota bere edukinen edozein erabilera edo hedatzea, 
bai osoki zein zatiz.
Mezu elektronikoak andea daitezke; mezu hau andeaturik, aldaturik edota aizun 
balego Eneko Gotzon Aresek edota bere ordezkariek uko egiten diote edonolako 
ardurei.
--
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
tiddlywiki+unsubscr...@googlegroups.com<mailto:tiddlywiki+unsubscr...@googlegroups.com>.
To post to this group, send email to 
tiddlywiki@googlegroups.com<mailto:tiddlywiki@googlegroups.com>.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7ae3b279-3a2c-49ba-b29f-19a443f543fa%40googlegroups.com<https://groups.google.com/d/msgid/tiddlywiki/7ae3b279-3a2c-49ba-b29f-19a443f543fa%40googlegroups.com?utm_medium=email&utm_source=footer>.

For more options, visit https://groups.google.com/d/optout.



--
Eneko Gotzon Ares
Izan, egon, egin
Donostia – EH, Baskonia, NA Oso
Tf
(+34) 943 273 431 - (+34) 639 626 858
——————————————————
Mezu hau eta berari atxikitako agiri oro isilpeko dira eta soilik hartzaileari 
zuzentzen zaizkie. Mezu hau hutsegitez jasoz gero berau ezabatzea eskatzen da 
eta igorleari horren berri ematea eskertuko litzake. Baimen agerikorik gabe 
debekatuta dago mezu honen edota bere edukinen edozein erabilera edo hedatzea, 
bai osoki zein zatiz.
Mezu elektronikoak andea daitezke; mezu hau andeaturik, aldaturik edota aizun 
balego Eneko Gotzon Aresek edota bere ordezkariek uko egiten diote edonolako 
ardurei.
--
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
tiddlywiki+unsubscr...@googlegroups.com<mailto:tiddlywiki+unsubscr...@googlegroups.com>.
To post to this group, send email to 
tiddlywiki@googlegroups.com<mailto:tiddlywiki@googlegroups.com>.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAKzrwxDh3-uAFat1sCg5vkRNVvh9RHeT1S_OUnpA0FBdx6MaUg%40mail.gmail.com<https://groups.google.com/d/msgid/tiddlywiki/CAKzrwxDh3-uAFat1sCg5vkRNVvh9RHeT1S_OUnpA0FBdx6MaUg%40mail.gmail.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/DB4PR05MB0719D4E59223FC7F506D0DEFCE2C0%40DB4PR05MB0719.eurprd05.prod.outlook.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to