Jermolene
0d40b691e7
Make "close tiddler" button in STM go back to the previous tiddler in the history stack
2018-08-27 18:12:54 +01:00
Jermolene
7a50edb56d
Refactor navigator attribute handling
...
And fix a bug whereby we weren't refreshing when some attributes changed
2018-08-26 23:57:17 +01:00
Jermolene
aba835fb74
Basics of single tiddler mode
...
* Storyviews expose a static "singleTiddlerMode" property to determine if they require single tiddler mode
* Navigator widget adds a "singleTiddlerMode" attribute; when set to "yes", the story list is entirely replaced during navigation
* Navigator widget now updates "list" field of $:/HistoryList with a more accessible version of the history list
* Add a getstoryviewsingletiddlermode[] operator so that we can obtain the story view STM status for passing to the navigator widget
2018-08-26 15:43:06 +01:00
Jermolene
0f7ce7b67f
Refactor navigator widget to use story utility to manipulate the storylist as well as the historylist
2018-08-23 18:31:48 +01:00
Jermolene
7dbe117bc5
Add username (if set) to the title of draft tiddlers
...
Makes things a bit easier to follow when working in multiuser environments.
@inmysocks, @danielo515, @arlen22, @pmario, @drakor does this make sense for your use cases?
2018-08-23 17:43:06 +01:00
Jermolene
c87c18be96
Fix tm-new-tiddler overwriting creation fields of existing tiddlers
...
Fixes #3371
2018-08-08 15:08:34 +01:00
jed
3af0487f29
Add hooks for canceling editing a tiddler, new tiddler and renaming a tiddler ( #3206 )
...
These hooks are used by the multi-user plugin and are required to make the live two-way updating between the file system and the browser
2018-04-10 19:52:00 +01:00
Jermolene
967b123b51
Fix problem with new tiddler fields cascade
...
Fixes #2821
The problem was that an empty configured text field for new journals was overriding any value provided in the existing tiddler.
2017-11-08 08:41:00 +00:00
Rob Hoelz
847727146e
Fix issue 2850 ( #2852 )
...
* Trim tiddler titles imported via JSON
Otherwise, it's possible to create a tiddler with a trailing space (or a
leading one, I suppose) in its title. TiddlyWiki, in general, trims
titles before operating on a tiddler, so having a tiddler with a
trailing space ends up making that tiddler, for all intents and
purposes, uneditable.
Fixes GH #2850
* Signing the CLA
2017-06-29 17:07:23 +01:00
saqimtiaz
48e0186ba9
Added th-editing-tiddler hook in handleEditTiddlerEvent. A plugin can use the hook to return false and prevent editing or provide alternative editing options. ( #2901 )
2017-06-29 08:55:43 +01:00
Jermolene
2d0ac7245f
Docs and tweaks for #2904
...
@saqimtiaz I added a dash to separate the words in the variable names
for consistency with other core variables.
2017-06-29 08:47:26 +01:00
saqimtiaz
5d74513a97
Navigator now sets variables for the story list and history list, that are available to child widgets. Needed in a mutiple-story tiddlywiki. ( #2904 )
2017-06-29 08:36:20 +01:00
Jermolene
daf703b67f
Add support for th-navigating
event
2017-02-19 15:47:37 +00:00
Jermolene
2397f0aa6f
Add several new hooks for UI actions
2017-02-09 15:42:55 +00:00
Jermolene
e8bb897e26
Add support for relinking when renaming tiddlers
...
When renaming an existing tiddler, the edit template now shows a
checkbox that determines whether or not to relink references to the
tiddler in the list or tags fields of other tiddlers.
2016-12-15 17:13:32 +00:00
Tobias Beer
3486acaec6
Remove old titles from story on save ( #2587 )
...
fix for #2381
2016-10-08 12:17:27 +01:00
Myeongjin
98b435d550
Fix inconsistencies in language string IDs ( #2494 )
2016-07-13 10:00:21 +01:00
Myeongjin
4347d91c57
add localisable strings for Import/Imported
2015-10-18 17:29:04 +09:00
Jermolene
424b2fea32
Add th-saving-tiddler hook for autotagging etc.
...
@danielo515 this enhancement is intended to make it easier to implement
things like the auto tag plugin. Does it meet your needs?
2015-09-08 16:16:50 +01:00
Jermolene
68e15c1064
Move rename tiddler handling into navigator widget
...
For consistency with the other tiddler manipulation primitives.
2015-08-30 19:11:14 +01:00
Jermolene
ac08dc2e35
Added fold/unfold all buttons
...
More translations, @BramChen, apologies…
2015-08-09 17:25:01 +01:00
Jermolene
16c69bb419
Tweaks to fold button
2015-08-09 16:11:37 +01:00
Jermolene
bad4a19f8e
Add fold others button
2015-08-09 12:56:48 +01:00
Jermolene
5d43cd7408
Add fold tiddler toolbar button
...
Addressing this tweet:
https://twitter.com/s_stryjecki/status/629349768280604672
2015-08-09 11:10:04 +01:00
Jermolene
fdce67399d
Provide option to suppress navigation for edit/cancel/save
2015-08-05 15:07:19 +01:00
Jermolene
cd29eed067
Fix problem with importing using wrong import tiddler name
2015-08-01 13:48:46 +01:00
Jermolene
32f6d7f1b0
Revert getTiddlerData() and add getTiddlerDataCached()
...
For backwards compatibility, we now explicitly request the cacheable
version of this method.
Fixes #1873
2015-07-10 16:43:50 +01:00
Jermolene
b31803608b
Refactor navigator widget configuration
...
@felixhayashi sorry I should have realised earlier that it’s worth
doing it this way so that we can have different settings for different
story rivers.
2015-06-19 16:44:20 +01:00
Jermolene
4a3a5bf1f0
Don't autosave when cancelling an edit
...
Fixes #1762
2015-06-13 18:08:09 +01:00
Jermolene
a79e7a1c57
Tweaks for #1662
...
Coding style and ui copy
2015-05-04 20:29:00 +01:00
Felix Hayashi
9693f97b16
upgrading the navigator widget
...
Motivation / Agenda
* https://github.com/Jermolene/TiddlyWiki5/issues/1651
* https://github.com/Jermolene/TiddlyWiki5/issues/1650
Summary
* Changed the NavigatorWidget (primarily `addToStory()`)
* Applied lingo to settings
* Applied lingo to selectbox options
2015-05-03 13:24:16 +02:00
Jermolene
9e9b9a3bf1
Avoid navigating to an empty title
...
Fixes #1515
2015-02-20 16:19:53 +00:00
Jermolene
8dcd080cdd
Style fix
2015-02-09 21:46:54 +00:00
Tobias Beer
ca6ab6388a
no error when tiddler doesn't exist
...
Currently **tm-delete-tiddler** throws a red error box:
```
<$button>
<$action-sendmessage $message="tm-delete-tiddler" $param="DoesntExist"/>
delete non-existing
</$button>
```
**Uncaught TypeError: Cannot read property 'fields' of undefined**
2015-02-09 12:28:42 +01:00
Jermolene
1adfe20508
Fix problem with repeatedly cancelling a draft
...
Fixes #1266
2014-12-22 08:40:11 +00:00
Jermolene
931d47e50c
Fix problem with cloning tiddlers
...
We were ignoring the tags on the template tiddler.
Fixes #1097
2014-11-18 14:13:34 +00:00
Jermolene
e69e2c1c91
Require confirmation before deleting non-empty new tiddlers
2014-11-11 11:54:46 +00:00
Jermolene
3035badf14
Fix problem with done button not saving unchanged tiddlers
2014-11-10 12:56:33 +00:00
Jermolene
145713e766
Don't confirm deleting drafts with no original
2014-11-10 08:49:20 +00:00
Jermolene
1dfa6f369b
Smarter cancel edit behaviour
...
If we cancel editing a tiddler that doesn’t exist, then we no longer
show the resulting missing tiddler.
2014-11-09 21:47:48 +00:00
Jermolene
ec4beb7f0f
Fix bug in navigator
2014-11-07 21:15:52 +00:00
Jermolene
c7971d3da3
Update new tiddler message handling to accept title and fields
...
Now you can create a new tiddler with both a template and additional
specified fields.
2014-11-07 14:53:37 +00:00
Jermolene
644ced6d4e
Preserve modified title when reusing drafts
...
Should fix the problem raised by @xcazin
2014-10-10 20:58:34 +01:00
Jermolene
f37a7101a7
Fix problem with new tiddler button
2014-10-10 10:17:42 +01:00
Jermolene
a8d83096d3
Fix behaviour of new tiddler message
...
Resolves some inconsistencies over the behaviour of the new tiddler
message under various circumstances.
“new journal here” when a journal for today already exists now brings
up the existing journal for editing, and adds the required tag.
I’d be very grateful for any testing of the behaviour here: try using
new tiddler, clone tiddler, new here, new journal here, and new journal
in various combinations (eg with the draft not existing, already
existing, open or closed etc), and let me know of any peculiarities.
2014-10-10 09:52:19 +01:00
Jermolene
1e02a9f0db
Correct return value for makeDraftTiddler
2014-10-10 09:03:35 +01:00
Jermolene
3827f98a43
Improve new tiddler behaviour with existing tiddlers
...
Now repeatedly clicking “new journal” will reuse the existing journal
if one exists
2014-10-09 17:30:53 +01:00
Jermolene
0dcf54c3b5
Add support for action widgets
...
This is part of the groundwork for fixing #336
2014-10-08 17:45:26 +01:00
Jermolene
7b1a9d84a1
Missed corrections of tm-auto-save-wiki
message
2014-09-02 11:16:06 +01:00
Jermolene
3a67fdb768
Obeisance to JSHint for core modules
...
There are still some warnings about making functions in a loop, but
I’ll fix those as a separate pull request because the fixes are more
than typographic errors.
2014-08-30 20:44:26 +01:00