[tw] Re: Ghostwriter theme by Rory Gibson adapted for TW5

2017-05-24 Thread Charles Ridout
Riz:

I do not have the programming knowledge to make these changes myself. I 
hope you can help.

A few observations and one request:

1) In the Chrome browser the tiddler titles are not being centered as they 
are in Firefox.
2) In the Chrome browser the drop down contents exceed the size of the 
"box". This does not occur in Firefox.

Request:

I would like to change the color of the solid bar, to be similar to what is 
seen in the Moments theme, when viewing a tiddler.

Thx


On Tuesday, November 1, 2016 at 11:49:58 PM UTC-4, Riz wrote:
>
> Ghostwriter is a popular, minimalist and mobile responsive theme for the 
> blogging platform ghost. Recently I adapted it for TW5
>
> Screenshots http://imgur.com/a/5XReS
>
> Demo https://ibnishak.github.io/ghostwriter/
>
> If you want to try it out, backup your wiki, download this json, drag and 
> drop it to your wiki. 
> https://github.com/ibnishak/ghostwriter/tree/theme-json
>
>
> Let me know how it works out for you.
>

-- 
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/8fad73c3-0d4b-4197-b1f4-be487d0e085d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] PRINCE2

2017-05-24 Thread Pit.W.

A general question to the community:

Is there anybody who is working on implementing the *PRINCE2* project 
management methodology in TiddlyWiki ?


Kind regards,

Pit


--
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/6645c4bf-c7c3-c9d9-b1c1-a5a7810f4633%40eclipso.ch.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: TW5 data loss due to javascript error

2017-05-24 Thread StefanC
Thank you for your ideas:

What i did so far:


   1. Removed all included pictures and attachement
   2. Exported older tiddlers to an archive tiddlywiki. 
   3. new file size of my production tw5 is now 5 instead of 9.5MB
   4. Applied some memory friendly tweaks to firefox (release memory of 
   background tabs, reduce cache size...) and removed all not-essential 
   add-on's.


Since that i did not encounter new meaningless javascript error messages.


I will try to reproduce like recommended the error once again to obtain 
some debugging information as soon as i can.


Best regards



-- 
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/ec5242a4-e20f-4cd9-9eaf-c99fd011a31a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Is it possible to put the sidebar buttons at the top?

2017-05-24 Thread j3d1H
Thank you, Matthew Lauber! This is exactly what I wanted.

On Wednesday, May 24, 2017 at 1:40:52 PM UTC-4, Matthew Lauber wrote:
>
> Here you go.  Whatever buttons you show in the sidebar when it's open will 
> show up in the topbar when it's closed.
>
> created: 20170524173725525
> modified: 20170524173926916
> tags: $:/tags/TopRightBar
> title: $:/core/ui/TopBar/menu
>
> \define config-title()
> $:/config/PageControlButtons/Visibility/$(listItem)$
> \end
>
> <$reveal state="$:/state/sidebar" type="nomatch" text="no">
> <$button set="$:/state/sidebar" setTo="no" 
> tooltip={{$:/language/Buttons/HideSideBar/Hint}} 
> aria-label={{$:/language/Buttons/HideSideBar/Caption}} 
> class="tc-btn-invisible">{{$:/core/images/chevron-right}}
> 
> <$reveal state="$:/state/sidebar" type="match" text="no">
> <$list 
> filter="[all[shadows+tiddlers]tag[$:/tags/PageControls]!has[draft.of]]" 
> variable="listItem">
> <$reveal type="nomatch" state=<> text="hide">
> <$transclude tiddler=<> mode="inline"/>
> 
> 
> <$button set="$:/state/sidebar" setTo="yes" 
> tooltip={{$:/language/Buttons/ShowSideBar/Hint}} 
> aria-label={{$:/language/Buttons/ShowSideBar/Caption}} 
> class="tc-btn-invisible">{{$:/core/images/chevron-left}}
> 
>
>
>
>
> On Wednesday, May 24, 2017 at 10:41:35 AM UTC-4, j3d1H wrote:
>>
>> I'm not sure this can be done, but is there a plugin or something I can 
>> change to make a scrolling top bar that has the sidebar buttons on it? 
>> Like, the save button, the full-screen button, control panel button, all of 
>> those would be on the top, and they scroll with me as I scroll down the 
>> story river?
>>
>> I would also prefer it if the sidebar buttons returned to the sidebar if 
>> I open it, and the sidebar is as normal. Thanks in advance for anyone who 
>> tries and/or succeeds to help!
>>
>

-- 
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/75d76686-93d6-4a60-a7e9-b3719193081d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Is it possible to put the sidebar buttons at the top?

2017-05-24 Thread Matthew Lauber
Here you go.  Whatever buttons you show in the sidebar when it's open will 
show up in the topbar when it's closed.

created: 20170524173725525
modified: 20170524173926916
tags: $:/tags/TopRightBar
title: $:/core/ui/TopBar/menu

\define config-title()
$:/config/PageControlButtons/Visibility/$(listItem)$
\end

<$reveal state="$:/state/sidebar" type="nomatch" text="no">
<$button set="$:/state/sidebar" setTo="no" 
tooltip={{$:/language/Buttons/HideSideBar/Hint}} 
aria-label={{$:/language/Buttons/HideSideBar/Caption}} 
class="tc-btn-invisible">{{$:/core/images/chevron-right}}

<$reveal state="$:/state/sidebar" type="match" text="no">
<$list 
filter="[all[shadows+tiddlers]tag[$:/tags/PageControls]!has[draft.of]]" 
variable="listItem">
<$reveal type="nomatch" state=<> text="hide">
<$transclude tiddler=<> mode="inline"/>


<$button set="$:/state/sidebar" setTo="yes" 
tooltip={{$:/language/Buttons/ShowSideBar/Hint}} 
aria-label={{$:/language/Buttons/ShowSideBar/Caption}} 
class="tc-btn-invisible">{{$:/core/images/chevron-left}}





On Wednesday, May 24, 2017 at 10:41:35 AM UTC-4, j3d1H wrote:
>
> I'm not sure this can be done, but is there a plugin or something I can 
> change to make a scrolling top bar that has the sidebar buttons on it? 
> Like, the save button, the full-screen button, control panel button, all of 
> those would be on the top, and they scroll with me as I scroll down the 
> story river?
>
> I would also prefer it if the sidebar buttons returned to the sidebar if I 
> open it, and the sidebar is as normal. Thanks in advance for anyone who 
> tries and/or succeeds to help!
>

-- 
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/b0aea921-12d3-4d93-a3e8-49f1f41dc5c2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


$--core-ui-TopBar-menu.tid
Description: Binary data


[tw] Re: Is it possible to put the sidebar buttons at the top?

2017-05-24 Thread Ton Gerner
Hi,

Not a scrolling but a fixed toolbar, see http://tw5toolbar.tiddlyspot.com/

Cheers,

Ton

-- 
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/2adde001-c58f-4901-a4bb-a72937791c68%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: TiddlyFox seemed to stop working

2017-05-24 Thread Corey S
Would it be possible to load a splash screen saying your tiddlyfox or 
firefox has been updated and remind users to re-enable saving, and check 
that icon? I don't edit my wikis that often anymore, mostly just add 
recipes, I only noticed mine wasn't saving a month later, by which time it 
was too late to back and re-enter any tiddlers that weren't saved. Several 
extensions that I use in Firefox do this, and while it is a bit annoying 
with those extensions, it would be invaluable in this case.

TWC 2.81 and Firefox 53 at last count.

-- 
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/7c9ebffc-05e0-43d1-8c13-9d907d36aab1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Node.js save mechanism (to interface with git)

2017-05-24 Thread Matthew Lauber
I'll be honest, I went with KISS.  A cron job to run git commit (including 
the timestamp).  Only commits when files are saved.  But if you want to try 
to trigger git from nodejs, I'd say look at the $:/temp/ prefix for the 
commit message.  Anything starting with $:/temp/ doesn't get saved/synced.  


On Tuesday, May 23, 2017 at 4:54:31 PM UTC-4, Conner Phillips wrote:
>
> This should probably get it's own thread, but since I already mentioned 
> git in the title I will just run with it. I'm wondering about the best way 
> to transfer the commit message to the node server? Possible solutions:
>
> Using a edit-text to write to a Shadow tiddler with saving disabled
> Field which then gets cleared by the git process
> Some other mystery way to pass a string to the node server???
>
> Any thoughts from the more experienced useres out there?
>
> And just as a note, I've played around with simple-git and it seems to 
> work really well. I should expect to have a protoype relatively quickly :)
>

-- 
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/35de45f0-ddab-4b64-8696-c8788d23cf54%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Erroneous Link Creation

2017-05-24 Thread j3d1H
You can also, if you want this for more than CamelCase, turn off a setting 
which makes it so that any links to tiddlers that don't exist are not 
links, but rather plain text.

-- 
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/36d4df0c-ba02-4f92-9cd1-0d51295f9beb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Is it possible to put the sidebar buttons at the top?

2017-05-24 Thread j3d1H
I'm not sure this can be done, but is there a plugin or something I can 
change to make a scrolling top bar that has the sidebar buttons on it? 
Like, the save button, the full-screen button, control panel button, all of 
those would be on the top, and they scroll with me as I scroll down the 
story river?

-- 
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/f9247f53-6d9c-4e20-ace8-65d7f62272d0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Custom list type fields - can these be saved and loaded?

2017-05-24 Thread emkay
Thinking about it, of course it can't work in the initial tiddler load.  My 
module is a tiddler and needs to be loaded before it can be added to the 
tiddlerfield module list, so TW needs to load the tiddlers first and won't 
have my module setup for my field...  catch-22.

I guess the only way to solve this is to modify boot.js. But I would have 
to keep applying that on every upgrade, so that doesn't sound great.

Thanks again for your help,

Martin

On Wednesday, 24 May 2017 11:56:18 UTC+1, emkay wrote:
>
> Thanks again, Andreas.
>
> With your help.  In case anyone else goes down this route, here is the 
> code for my module,.
>
> /*\
> title: $:/plugins/emkay/test/modules/oc-tiddlerfield.js
> type: application/javascript
> module-type: tiddlerfield
>
> \*/
> (function(){
>
> /*jslint node: true, browser: true */
> /*global $tw: false */
> "use strict";
>
> exports.name  = "oc";
> exports.parse = $tw.utils.parseStringArray;
> exports.stringify = $tw.utils.stringifyList;
>
> })();
>
>
> The only thing I am still puzzled about is in a javascript macro the field 
> is still in it's string value (where as list and tags fields get converted 
> to lists).   Perhaps my module isn't being loaded early enough for the boot 
> loading of the toddlers from the HTML?
>
> Thanks again,
>
> Martin
>
> On Tuesday, 16 May 2017 17:36:56 UTC+1, Andreas Hahn wrote:
>>
>> Hi Martin,
>>
>> apart from whether its a good idea or not, it is indeed possible, but the 
>> documentation on how to do it is very scarce. Basically though, I think you 
>> would need to write a javascript module with `module-type: tiddlerfield` 
>> that does something (probably very) similiar to what boot.js does:
>>
>> $tw.modules.define("$:/boot/tiddlerfields/tags","tiddlerfield",{
>> name: "tags",
>> parse: $tw.utils.parseStringArray,
>> stringify: $tw.utils.stringifyList
>> });
>>
>> I am not 100% sure, but it seems to be what makes TW treat certain fields 
>> differently from others. I've linked a few source code spots down below, 
>> maybe those help you in getting this to work.
>>
>> /Andreas
>>
>> [1] 
>> https://github.com/Jermolene/TiddlyWiki5/blob/master/boot/boot.js#L866
>> [2] 
>> https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/tiddler.js#L27
>> [3] 
>> https://github.com/Jermolene/TiddlyWiki5/blob/master/boot/boot.js#L828
>>
>> P.S.: Note that in the sample code from boot.js the module seems to be 
>> defined in-place .. in a real module you would define the options via 
>> exports.name or exports.parse etc.
>>
>> Am 16.05.2017 um 12:57 schrieb Jed Carty:
>>
>> It sounds like what you want to do is possible but it may not be simple. 
>> It is certainly not behaviour that is supported out of the box, but there 
>> is very little in tiddlywiki that could be called 'unsupported behaviour' 
>> because of how flexible it is. 
>>
>> I strongly suggest using the fields as normal text and then having 
>> whatever is using the information parse the field text appropriately. I 
>> have been trying to move tiddlywiki away from dedicated single purpose 
>> fields (like how the tags field always has special handling) to using a 
>> polymorphic field model.
>> -- 
>> 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/eed0481f-efc5-4795-9d36-7c6aacab2ea4%40googlegroups.com
>>  
>> 
>> .
>> 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/e1c378ff-73d3-43d8-94d1-d1767a941bde%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Custom list type fields - can these be saved and loaded?

2017-05-24 Thread emkay
Thanks again, Andreas.

With your help.  In case anyone else goes down this route, here is the code 
for my module,.

/*\
title: $:/plugins/emkay/test/modules/oc-tiddlerfield.js
type: application/javascript
module-type: tiddlerfield

\*/
(function(){

/*jslint node: true, browser: true */
/*global $tw: false */
"use strict";

exports.name  = "oc";
exports.parse = $tw.utils.parseStringArray;
exports.stringify = $tw.utils.stringifyList;

})();


The only thing I am still puzzled about is in a javascript macro the field 
is still in it's string value (where as list and tags fields get converted 
to lists).   Perhaps my module isn't being loaded early enough for the boot 
loading of the toddlers from the HTML?

Thanks again,

Martin

On Tuesday, 16 May 2017 17:36:56 UTC+1, Andreas Hahn wrote:
>
> Hi Martin,
>
> apart from whether its a good idea or not, it is indeed possible, but the 
> documentation on how to do it is very scarce. Basically though, I think you 
> would need to write a javascript module with `module-type: tiddlerfield` 
> that does something (probably very) similiar to what boot.js does:
>
> $tw.modules.define("$:/boot/tiddlerfields/tags","tiddlerfield",{
> name: "tags",
> parse: $tw.utils.parseStringArray,
> stringify: $tw.utils.stringifyList
> });
>
> I am not 100% sure, but it seems to be what makes TW treat certain fields 
> differently from others. I've linked a few source code spots down below, 
> maybe those help you in getting this to work.
>
> /Andreas
>
> [1] https://github.com/Jermolene/TiddlyWiki5/blob/master/boot/boot.js#L866
> [2] 
> https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/tiddler.js#L27
> [3] https://github.com/Jermolene/TiddlyWiki5/blob/master/boot/boot.js#L828
>
> P.S.: Note that in the sample code from boot.js the module seems to be 
> defined in-place .. in a real module you would define the options via 
> exports.name or exports.parse etc.
>
> Am 16.05.2017 um 12:57 schrieb Jed Carty:
>
> It sounds like what you want to do is possible but it may not be simple. 
> It is certainly not behaviour that is supported out of the box, but there 
> is very little in tiddlywiki that could be called 'unsupported behaviour' 
> because of how flexible it is. 
>
> I strongly suggest using the fields as normal text and then having 
> whatever is using the information parse the field text appropriately. I 
> have been trying to move tiddlywiki away from dedicated single purpose 
> fields (like how the tags field always has special handling) to using a 
> polymorphic field model.
> -- 
> 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/eed0481f-efc5-4795-9d36-7c6aacab2ea4%40googlegroups.com
>  
> 
> .
> 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/7285aa7c-f4c7-4610-9b17-2eb15e4f65f0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.