Hey Tony,
Sorry I'm not sure what you mean about retaining the text? I agree that
hitting that button will just open the existing tiddler in edit mode. The
crucial step in my "bug report" above is step 2 where you add text to
$:/config/NewJournal/Text
On Thursday, November 30, 2017 at 5:41:12 PM UTC-6, TonyM wrote:
>
> Diego,
>
> In my test Wiki the default new journal twice opens the existing one and
> retains the content.
>
> I have followed the create new Journal button instructions before and
> found it cumbersome.
>
> Now I use my own macro; eg
>
> \define todayentry()
> <$button tooltip="Create or Open Today entry">
> {{$:/core/images/new-journal-button}}
> <$action-sendmessage $message="tm-new-tiddler" title=<<now YYYY-0MM-0DD>>
> tags="Journal">>" />
> \end
>
> You can make this as sophisticated as you want.
>
> Regards
> Tony
>
> <<todayentry>>
>
> On Friday, 1 December 2017 10:06:07 UTC+11, Diego Mesa wrote:
>>
>> Hey all,
>>
>> I figured out what my issue has been all along. This issue can be seen
>> with the default new journal button on tiddlywiki.com:
>>
>> Steps to reproduce:
>> 1. Go to tiddlywiki.com, and create a new journal entry (using the
>> button, or manually) and type in "Test journal entry text" and save.
>> 2. Open the shadow tiddler: $:/config/NewJournal/Text and type:
>> "overwrite text" and save.
>> 3. Press the new journal button again
>>
>> Desired Result:
>> Pressing this button should open the already existing journal entry, OR
>> create a new one with a (1) after the name with "overwrite tex"
>>
>> Actual Result:
>> A tiddler with the same title as today's journal is opened whose content
>> is "overwrite text". If this is saved, it will overwrite your journal
>> entry! If this is instead discarded, you get back your original journal
>> entry.
>>
>> I believe this is a bug?
>>
>> Diego
>>
>>
>> On Tuesday, November 28, 2017 at 8:02:33 PM UTC-6, Michael Wiktowy wrote:
>>>
>>> Yes, it was fixed. Just tested it with the standard 5.1.15 tiddlywiki.
>>> Thank you.
>>>
>>> /Mike
>>>
>>> On Tue, Nov 28, 2017 at 6:23 PM, Jeremy Ruston <[email protected]>
>>> wrote:
>>>
>>>> I think the problem in the original post is fixed in 5.1.15.
>>>>
>>>> Best wishes
>>>>
>>>> Jeremy
>>>>
>>>> --
>>>> Jeremy Ruston
>>>> [email protected]
>>>> https://jermolene.com
>>>>
>>>> On 28 Nov 2017, at 21:15, Alexander Smit <[email protected]> wrote:
>>>>
>>>> I'm not on Github.. I just figured the "New journal here"-button
>>>> actually does opens a journal tiddler allready created with a same date.
>>>> However, in that case it doesn't add the label of the 2nd tiddles it is
>>>> opened from. neither it autosaves on confirming.
>>>>
>>>> On Tuesday, 10 October 2017 17:15:17 UTC+2, Rob Hoelz wrote:
>>>>>
>>>>> It's already reported:
>>>>> https://github.com/Jermolene/TiddlyWiki5/issues/2845
>>>>>
>>>>> Until a fix is released, you could just fix your $:/
>>>>> core/ui/PageControls/new-journal.tid
>>>>> <https://github.com/Jermolene/TiddlyWiki5/commit/ec0fa2f9322346ec405b90356de03c66ae30cc0d#diff-e68644c29044cf78dbb9b3ec6f30948e>
>>>>>
>>>>> -Rob
>>>>>
>>>>> On Tuesday, October 10, 2017 at 10:10:37 AM UTC-5, Mat wrote:
>>>>>>
>>>>>> Confirmed!
>>>>>> Definitely a bug.
>>>>>> Could you post this on github?
>>>>>>
>>>>>> <:-)
>>>>>>
>>>>>>
>>>>>> On Tuesday, October 10, 2017 at 4:58:43 PM UTC+2, Michael Wiktowy
>>>>>> wrote:
>>>>>>>
>>>>>>> Greetings all,
>>>>>>>
>>>>>>> Description:
>>>>>>> There is an issue using the "Create a new journal tiddler" button
>>>>>>> when there is an existing one of the same name. Rather then use one of
>>>>>>> the
>>>>>>> existing name collision mechanisms (opening existing tiddler for
>>>>>>> editing,
>>>>>>> appending an incremental index on to the tiddler name or putting a
>>>>>>> warning
>>>>>>> banner that an existing tiddler exists with the same name), a new empty
>>>>>>> tiddler is opened with the same name and if it is saved instead of
>>>>>>> cancelled, the old existing journal is overwritten without warning.
>>>>>>>
>>>>>>> Method to reproduce:
>>>>>>> 1) Create a journal entry.
>>>>>>> 2) Within the same time increment that would create another journal
>>>>>>> entry of the same name (different depending on the "Title of new
>>>>>>> journal
>>>>>>> tiddlers" format in settings), create a new one using the "Create a new
>>>>>>> Journal Tiddler" button.
>>>>>>> 3) Save newly created tiddler.
>>>>>>> 4) Previous journal tiddler gets deleted without warning
>>>>>>>
>>>>>>> Expected Results:
>>>>>>> Step 2) should load the existing tiddler to edit , or
>>>>>>> Step 3) should give a warning that an existing tiddler of the same
>>>>>>> name exists either in the editing toolbar or an "Are you sure?"-type
>>>>>>> popup
>>>>>>> on saving.
>>>>>>>
>>>>>>> Thanks,
>>>>>>> /Mike
>>>>>>>
>>>>>>
>>>>> --
>>>> 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 [email protected].
>>>> To post to this group, send email to [email protected].
>>>> 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/6f85dec2-3cea-42f3-970a-c10c27a1453d%40googlegroups.com
>>>>
>>>> <https://groups.google.com/d/msgid/tiddlywiki/6f85dec2-3cea-42f3-970a-c10c27a1453d%40googlegroups.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 a topic in the
>>>> Google Groups "TiddlyWiki" group.
>>>> To unsubscribe from this topic, visit
>>>> https://groups.google.com/d/topic/tiddlywiki/3zBqF4MA9WU/unsubscribe.
>>>> To unsubscribe from this group and all its topics, send an email to
>>>> [email protected].
>>>> To post to this group, send email to [email protected].
>>>> 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/15115D36-27FD-49BB-9E22-7B84249B6D2D%40gmail.com
>>>>
>>>> <https://groups.google.com/d/msgid/tiddlywiki/15115D36-27FD-49BB-9E22-7B84249B6D2D%40gmail.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>
>>>
>>> --
>>> Michael Wiktowy [email protected]
>>>
>>
--
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 [email protected].
To post to this group, send email to [email protected].
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/66b324b0-83d3-4158-9018-8e01f032f653%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.