Jeremy Ruston
a9a2ae2223
Add sorting by tiddler lists
...
The tag and tagging filters now sort their results by the list field of
the tag, if present
2013-08-08 17:39:34 +01:00
Jeremy Ruston
83ea953a1d
Switch the story list over to using the new list field
2013-08-07 17:54:27 +01:00
Jeremy Ruston
8443a9d6ca
Fix comment
2013-08-07 16:04:06 +01:00
Jeremy Ruston
85007cb1e1
Correct comments
2013-08-06 15:27:02 +01:00
Jeremy Ruston
39b6091258
Don't set modification fields on synced tiddlers
2013-08-06 15:26:48 +01:00
Jeremy Ruston
0ae0f68257
Update filenames to reflect changes in 05ac094d2e
2013-08-04 22:31:09 +01:00
Jeremy Ruston
05ac094d2e
Rename the savetiddler
/savetiddlers
commands to rendertiddler
/rendertiddlers
...
'Render' reflects what the commands actually do, and frees up 'save'
for actually saving the raw content of a tiddler.
2013-08-04 22:26:45 +01:00
Jeremy Ruston
be7cc67ab6
Correct mistaken classification of savetiddlers command as asynchronous
2013-08-04 22:02:19 +01:00
Jeremy Ruston
86e73ee323
Set modified field and other metadata for newly created and modified tiddlers
...
Right now we're setting the created/modified time, and only setting the
creator/modifier if the tiddler `$:/status/UserName` is defined.
2013-08-04 14:02:07 +01:00
Jeremy Ruston
bb843a408d
Exclude system tiddlers from recent changes
2013-08-04 13:50:23 +01:00
Jeremy Ruston
5994a84644
Extend ginsu.sh to generate a split.recipe file
2013-08-03 15:03:07 +01:00
Jeremy Ruston
799647e38b
Fix problem with search term being filtered from search results
...
Some leftover code meant that tiddlers titled with the precise search
term were excluded from the results.
2013-08-03 09:28:51 +01:00
Jeremy Ruston
602b9d34e4
Unpack the object returned by getBoundingClientRect()
...
Embedding the return object directly doesn't survive the object being
passed as an event parameter.
Fixes #114
2013-07-25 16:58:42 +01:00
Jeremy Ruston
a79e876806
First pass at a grid widget
...
Need to add support for cell templates and in place editing.
2013-07-22 13:03:46 +01:00
Jeremy Ruston
bb5ebf6733
Allow for an optional top and left sidebars
2013-07-14 23:15:32 +01:00
Jeremy Ruston
795dabb847
Correct typo in view switcher label
2013-07-14 23:14:18 +01:00
Jeremy Ruston
f1a7e433ab
Allow widget names to include digits
2013-07-14 23:13:42 +01:00
Jeremy Ruston
8c73d8db4b
Confirmation message for $tw.slowmo()
2013-07-14 23:13:13 +01:00
Jeremy Ruston
d99ed1816d
Correct themeswitcher and viewswitcher
2013-07-08 21:44:32 +01:00
Jeremy Ruston
1a160485a8
Documentation correction
2013-07-08 21:44:12 +01:00
Jeremy Ruston
6e98af3bbd
Experimenting with different easing functions for the zoomin animation
2013-07-08 17:20:06 +01:00
Jeremy Ruston
9fbb945b0a
Plumbing to allow the current view to be switched
2013-07-08 15:19:12 +01:00
Jeremy Ruston
24ad677d75
Add back the zoomin view
...
An alternative visualisation for the story list. It just shows the
currently selected tiddler, with smooth animations between tiddlers.
Not entirely finished yet; for instance, if you close the current
tiddler you get a blank screen until you select another tiddler.
2013-07-08 15:19:00 +01:00
Jeremy Ruston
ea8c795d01
Add a hack to switch slowmo animation mode
...
Just type `$tw.slowmo()` in the developer console to engage slowmo mode.
2013-07-08 15:17:29 +01:00
Jeremy Ruston
1304bfd0d4
Special treatment so that text reference to title field works for missing tiddlers
...
The title field is the one field that we know for missing tiddlers.
This is needed in a subsequent commit of viewswitcher.
2013-07-08 15:16:55 +01:00
Jeremy Ruston
53ead15273
Refactor scroller so that the scrollIntoView() method is a bit more usable
...
Passing an event instead of a DOM node was silly.
2013-07-08 15:15:53 +01:00
Jeremy Ruston
09dbf26ce1
Make the info dropdown work properly with sticky titles
2013-07-06 16:18:19 +01:00
Jeremy Ruston
efab7cd6ab
Fix problem with Sticky Titles theme
2013-07-06 15:28:10 +01:00
Jeremy Ruston
b0a333b604
Display optional tiddler icon before title
...
Just set the 'icon' field of the tiddler to the title of an image. (See
the "done" tiddler for an example)
2013-07-06 12:58:18 +01:00
Jeremy Ruston
594f4ba204
Update animations to use a timer instead the transitionEnd event
...
Thr trouble is that the transitionEnd event doesn't fire under some
circumstances (eg if the animated element is hidden). So, it's more
reliable to use a timer instead
2013-07-06 12:57:37 +01:00
Jeremy Ruston
b51fb9cfa9
Linting
2013-07-05 22:37:55 +01:00
Jeremy Ruston
6d3f224817
Fix problem with pop listview animation
...
It turns out the transitionEnd event fires separately for each animated
property. We'll just remove ourselves on the first one
2013-07-05 11:15:51 +01:00
Jeremy Ruston
c72a63849b
Add some more methods to the fake DOM
...
These methods are needed to get static saving working in the browser
again (click "Save Static" in the Demo tiddler)
2013-07-05 10:47:08 +01:00
Jeremy Ruston
08f278624b
Allow tag tiddlers to specify the title of an icon tiddler
...
Demonstrated on the "done" tag
2013-07-05 08:53:09 +01:00
Jeremy Ruston
0b25c2cece
Now trying out applying the pop animation to the open tiddler list
2013-07-04 14:19:30 +01:00
Jeremy Ruston
4980d99f70
Use pop animation for the view mode tag list
...
Works well with the task management demo
2013-07-04 13:31:14 +01:00
Jeremy Ruston
e6450e60e2
Add a popping animation to the tags editor
2013-07-04 12:50:31 +01:00
Jeremy Ruston
647bd51299
Fix problem with erroneous initialisation of changedTiddlers member
2013-07-03 16:00:48 +01:00
Jeremy Ruston
e583c1d72d
Use empty string as default value for reveal widget
2013-07-03 16:00:26 +01:00
Jeremy Ruston
627dba01e4
Make getContextScopeId() more selective about context fields that are included
...
We were getting a problem whereby macro definitions were showing up in
the context string.
2013-07-03 16:00:10 +01:00
Jeremy Ruston
6299026407
Fix issue with child nodes of macro call not being refreshed
2013-07-03 15:59:09 +01:00
Jeremy Ruston
be617c7c45
Use a <div> for the title bar of a tiddler
...
We had been using spans
2013-07-01 18:45:04 +01:00
Jeremy Ruston
2ae818dae8
Refactor out the help text in the editor template
2013-06-29 09:20:07 +01:00
Jeremy Ruston
0edfc855b4
Replace obsolete content type
2013-06-27 10:19:38 +01:00
Jeremy Ruston
d93e6b1229
Always default to a href='#title' format for tiddler links
...
The link format will be overridden when we're creating links within
static HTML representations
2013-06-27 09:03:59 +01:00
Jeremy Ruston
12b471b8fb
Extend the HTML rendering mechanism to support attributes specified as macro invocations
2013-06-18 15:37:19 +01:00
Jeremy Ruston
18f8b7266e
Refactor the HTML element parser
...
The purpose is to allow attributes to be specified as macro
invocations. For example `<div myattr=<<mymacro param1 param3>>>`. The
parser needed sprucing up in order to copy with the nesting of angle
brackets. The refactoring has been done with an eye on using the same
technique in the filter expression parser (which is pretty messy at the
moment -- it throws exceptions for syntax errors, which is bad). Later
I'm hoping to extend the technique to create a more flexible table
parser.
2013-06-15 15:12:05 +01:00
Jeremy Ruston
cb34ef20ad
Add input type handling to the texteditor
...
This allows us to customise the input element used for each field type.
The only one implemented at the moment is color, which currently only
works on Chrome
2013-06-13 09:17:36 +01:00
Jeremy Ruston
8471a2217a
Improve handling of fieldmodules lacking a stringify method
2013-06-13 09:16:26 +01:00
Jeremy Ruston
204bd69e83
Fix issue preventing tags being added to a tiddler with no existing tags
2013-06-11 14:52:01 +01:00
Jeremy Ruston
d6654c4a0b
Fixed problem with not being able to manually scroll after navigating to a tiddler
2013-06-10 21:07:23 +01:00
Jeremy Ruston
3cda8758ae
Refactor scrolling animation to use requestAnimationFrame() instead of setInterval()
2013-06-10 14:11:58 +01:00
Jeremy Ruston
2445f13caf
Improved styling for the tags dropdown
2013-06-09 19:41:48 +01:00
Jeremy Ruston
19f298bc80
Add a better tags editor
...
Now tags can be individually removed, and added with autocomplete
2013-06-09 19:28:50 +01:00
Jeremy Ruston
2c20e6579d
Update edit widget to trigger a popup when focussed
...
This will allow us to do autocompletion
2013-06-09 19:27:45 +01:00
Jeremy Ruston
e4aa80b277
Update the transclude widget to update parameters for remove tag message
2013-06-09 19:27:15 +01:00
Jeremy Ruston
d4b6c05bc2
Update linkcatcher to optionally trigger a different event
2013-06-09 19:26:42 +01:00
Jeremy Ruston
0cbb89770f
Update fieldmangler widget to be able to add and remove tags
2013-06-09 19:26:05 +01:00
Jeremy Ruston
92fee547a9
Allow class to be specified for list widget frame element
2013-06-09 19:25:11 +01:00
Jeremy Ruston
a20eb4867e
Update link widget to use current tiddler as default target
2013-06-09 19:24:45 +01:00
Jeremy Ruston
2c8352c442
Update the popup manager to allow popup state to be forced, rather than toggled
...
We'll be needing this shortly
2013-06-09 19:24:21 +01:00
Jeremy Ruston
b3c6b51fc7
Make the prefix filter operator be case insensitive by default
2013-06-09 19:23:52 +01:00
Jeremy Ruston
28da24f902
Split field editor into it's own tiddler
2013-06-08 17:34:51 +01:00
Jeremy Ruston
58a1a46ce4
Style tweaks for the field editor
2013-06-08 17:31:13 +01:00
Jeremy Ruston
aeb8d0d1e6
Allow a placeholder attribute to be specified on the edit widget
...
Also fix some problems with handling of the class and style attributes
2013-06-08 17:30:54 +01:00
Jeremy Ruston
417dd9f65c
Restyle the tiddler and page subtitles
...
Fix #91
2013-06-08 08:12:35 +01:00
Jeremy Ruston
694ca76e7f
Improve the bitmap editor to allow the bitmap to be resized
...
A bit rough and ready, too
2013-06-06 20:55:43 +01:00
Jeremy Ruston
6ae73e0fc7
Fix regex typos
...
The trouble with regexs being that they breed typos…
Fix #103
2013-06-05 19:06:31 +01:00
Jeremy Ruston
d81f45764a
Start refactoring the bitmap editor to permit a more complex UI
2013-06-05 19:04:40 +01:00
Jeremy Ruston
2d5d1d1ce1
Improve editting of corrupt images
...
We now detect errors loading the image and initialise a blank canvas
instead.
This means that it's possible to open HelloThere for editting, and then
change the "type" field to "image/jpeg", and the textarea automatically
switches to a blank bitmap. Next up is making it possible to change the
size of the bitmap.
2013-06-05 15:47:44 +01:00
Jeremy Ruston
c0a26d2849
Ensure that the edit widget refreshes whenever the editor type changes
2013-06-05 15:38:29 +01:00
Jeremy Ruston
131874e154
Fix typo
2013-06-05 15:38:06 +01:00
Jeremy Ruston
e925f1c3dd
Adjust fields widget to sort fields
...
Making it easier to track .tid files under source code control
2013-06-05 14:12:52 +01:00
Jeremy Ruston
1f21bd36d6
Fix problem with displaying modals before the page container is initialised
2013-06-04 16:22:37 +01:00
Jeremy Ruston
854a9d6d1c
Toggle a style on the page container when a modal is displayed
2013-06-04 16:19:47 +01:00
Jeremy Ruston
0fc3c0d4a3
Extend field editor to allow removal and adding of fields
...
Still pretty rough looking
2013-06-04 12:03:53 +01:00
Jeremy Ruston
348a6976b7
Add fieldmangler widget that allows fields to be added and removed to tiddlers
2013-06-04 12:02:37 +01:00
Jeremy Ruston
ab75dde048
Update transclude widget to flag events with the current field
2013-06-04 12:02:18 +01:00
Jeremy Ruston
7a080b7aac
Update class for fieldlist widget
2013-06-04 12:01:40 +01:00
Jeremy Ruston
fb76ee5606
Fix problem that was stopping buttons being able to set tiddlers to the empty string
2013-06-04 12:01:28 +01:00
Jeremy Ruston
ac879b165d
Extend the edit template to include field editors
...
Not yet complete - we can't add or remove fields, and we need to
trigger type-specific editors for certain field types. And the layout
is a bit rubbish at the moment
2013-06-02 23:22:16 +01:00
Jeremy Ruston
538d12e017
Add the fieldlist widget
...
Allows us to render a sequence of fields
2013-06-02 23:20:43 +01:00
Jeremy Ruston
938124ca37
Extend the info widget to return the current field
2013-06-02 23:20:24 +01:00
Jeremy Ruston
6f3f4528c9
Make the edit and view widgets default to the current field
2013-06-02 23:20:08 +01:00
Jeremy Ruston
d5b0a0fb68
Extend the transclude widget to allow a currentField to be set
...
We set the current field as a context variable for the transcluded
content
2013-06-02 23:19:50 +01:00
Jeremy Ruston
456d50b6ef
Make the setstyle widget refresh itself properly
...
This will allow us to dynamically change the colour of tags
2013-06-02 23:18:54 +01:00
Jeremy Ruston
f743e09e7a
Corrected typo
2013-06-02 23:17:53 +01:00
Jeremy Ruston
7dd3839970
Exclude system tiddlers from the more/types listing
2013-05-31 19:57:19 +01:00
Jeremy Ruston
7e27ed1292
Rename static content template for consistency
2013-05-31 19:56:54 +01:00
Jeremy Ruston
bf4216f3ac
Don't count references to shadow tiddlers as missing tiddlers
2013-05-31 17:53:11 +01:00
Jeremy Ruston
ac32b09db3
Rename the tiddlers in the Snow White theme, and enable a static banner
...
The tiddlers in the Snow White theme weren't named as part of their
plugin.
2013-05-31 17:44:09 +01:00
Jeremy Ruston
b0d183070c
Don't allow < and > in external links
2013-05-31 17:42:40 +01:00
Jeremy Ruston
c566284158
More consistent naming for the boot tiddlers
2013-05-31 16:53:19 +01:00
Jeremy Ruston
28b0b58a11
Make a distinction between templates and UI
...
Templates are the low-level bits and pieces that allow TW5 to generate
HTML and CSS renderings of tiddlers. The UI folder contains the
user-visible UI of TW5
2013-05-31 15:38:27 +01:00
Jeremy Ruston
905945ee26
Start rearranging the core plugin
...
Lots of inconsistencies have crept in
2013-05-31 15:22:34 +01:00
Jeremy Ruston
07a1d66e34
Fix bug with search not working
2013-05-31 13:32:46 +01:00
Jeremy Ruston
d27cb19e22
Update titles of certain widgets that were misspelled
2013-05-31 13:23:25 +01:00
Jeremy Ruston
f3703694e9
Add classes to our SVG icons so that they can be styled more easily
2013-05-31 13:09:10 +01:00
Jeremy Ruston
358efd1d1c
Add optional preview in edit mode
2013-05-29 22:43:09 +01:00
Jeremy Ruston
a8b1da33de
Improvements to slide animation
2013-05-28 16:47:16 +01:00