1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-24 02:27:19 +00:00
Commit Graph

283 Commits

Author SHA1 Message Date
Jeremy Ruston
a21d96adc1 Fixed typo 2012-07-07 17:14:19 +01:00
Jeremy Ruston
36372f2aed Proper support for DefaultTiddlers
Now a shadow tiddler called `$:/DefaultTiddlers`
2012-07-07 17:14:02 +01:00
Jeremy Ruston
c509053bc1 Mending the zoomin effect
Navigating forwards works OK
2012-06-26 20:50:29 +01:00
Jeremy Ruston
69a0c46447 Split the story macro out into two macros
Now the story macro manages the story element sequence, while the
navigator macro listens for the navigation events, and modifies the
story tiddler as required. Also introduces a history tiddler that
retains the history stack so that we can animate navigation properly
(as distinct from animating the addition and removal of story elements).

Note that the zoomin storyview isn't quite finished, but this is a
stable point to commit these changes.
2012-06-26 19:54:51 +01:00
Jeremy Ruston
663fd2fe10 More styling adjustments
And started using Bootstrap's responsive stylesheets, so we can start
to look decent on phones
2012-06-24 17:07:38 +01:00
Jeremy Ruston
d02b2913a4 More style shenanigans
Sadly my colour scheming skills haven't exactly improved over the years
2012-06-24 15:22:33 +01:00
Jeremy Ruston
3ec409e7c0 Further stylesheet refinements 2012-06-24 14:53:44 +01:00
Jeremy Ruston
6b03b610e2 Added custom Twitter Bootstrap theme 2012-06-24 13:15:00 +01:00
Jeremy Ruston
94c622a40f Added new storyview called "zoomin" 2012-06-22 18:02:50 +01:00
Jeremy Ruston
f718c597e3 New method for the story macro 2012-06-22 18:02:34 +01:00
Jeremy Ruston
d1cee98f88 Remove the reference to the pasteboard view 2012-06-22 18:02:11 +01:00
Jeremy Ruston
fd58a36140 Update tag dropdown to include link to tag tiddler 2012-06-22 14:13:21 +01:00
Jeremy Ruston
780108c939 Adjust position of opened tiddlers 2012-06-22 13:51:38 +01:00
Jeremy Ruston
14e433a11d Reverted to classic semantics of new tiddlers opening below the one being navigated from 2012-06-22 12:25:01 +01:00
Jeremy Ruston
be6bff402d Added closure animation to sideways storyview 2012-06-22 11:28:40 +01:00
Jeremy Ruston
d9c916715b Better cross browser support for classic closure animation 2012-06-22 09:26:59 +01:00
Jeremy Ruston
7dcbefa9bc Added a rudimentary animation for closing tiddlers in classic view 2012-06-22 00:10:17 +01:00
Jeremy Ruston
9361376767 Moved view dropdown to the left
So it doesn't get cut off so often
2012-06-22 00:09:10 +01:00
Jeremy Ruston
b3aa9bad42 Tweaked toolbar appearance 2012-06-21 20:00:10 +01:00
Jeremy Ruston
d82e372569 Added close button
And made the edit button be a graphic, too
2012-06-21 19:44:21 +01:00
Jeremy Ruston
8b23dc3da6 Fixed positioning of view dropdown 2012-06-21 09:11:04 +01:00
Jeremy Ruston
250f9411da Smooth scrolling for the sideways storyview 2012-06-20 22:20:48 +01:00
Jeremy Ruston
c5292567dd Split the DOM utilities into their own file 2012-06-20 22:16:41 +01:00
Jeremy Ruston
d0ee6bd691 Wider sideways tiddlers 2012-06-20 22:12:14 +01:00
Jeremy Ruston
a3431c1435 JSHint! 2012-06-20 18:36:43 +01:00
Jeremy Ruston
4bbe0cd4d3 Added new storyview that shows tiddlers stacked up sideways 2012-06-20 18:35:41 +01:00
Jeremy Ruston
08e80d6e02 Completed renaming the scroller storyview to "classic" 2012-06-20 18:03:19 +01:00
Jeremy Ruston
b3c0bec838 Fixed support for storyviewTiddler parameter for story macro 2012-06-20 17:59:38 +01:00
Jeremy Ruston
ca9b68a5d3 Start to let story macro read storyview from a tiddler
This is for getting the view dropdown working
2012-06-20 17:43:31 +01:00
Jeremy Ruston
122e7bc770 Added dropdown for choosing the current view
It doesn't work fully yet
2012-06-20 17:42:49 +01:00
Jeremy Ruston
966b51a258 New linkcatcher macro 2012-06-20 17:40:55 +01:00
Jeremy Ruston
829909bffa New hide macro
Used for selectively hiding blocks of content
2012-06-20 17:40:41 +01:00
Jeremy Ruston
f5a9df1ae3 Fixed event handler 2012-06-20 17:40:08 +01:00
Jeremy Ruston
2881b138a3 Fixed the transclude macro so that it is marked dependent all 2012-06-19 18:22:27 +01:00
Jeremy Ruston
16dc26b6e8 Fixed the reveal macro so that is marked dependentAll 2012-06-19 18:21:58 +01:00
Jeremy Ruston
5627e731b1 Comment update 2012-06-19 18:01:39 +01:00
Jeremy Ruston
9d39e9a5f1 A better fix for refreshing nested macros 2012-06-19 16:56:55 +01:00
Jeremy Ruston
2282a825ec Extraneous var 2012-06-19 16:56:40 +01:00
Jeremy Ruston
14f4465b30 Semi-colon 2012-06-19 16:56:29 +01:00
Jeremy Ruston
84b6020f2a Ensured we remove the popup click handler 2012-06-19 16:50:10 +01:00
Jeremy Ruston
5103f1585b New popup cancelling mechanism 2012-06-19 16:47:35 +01:00
Jeremy Ruston
08d7a12d04 Finishing off the text reference support 2012-06-19 16:47:25 +01:00
Jeremy Ruston
8b17874db4 Fixed automatic refreshing for macro nodes 2012-06-19 16:47:10 +01:00
Jeremy Ruston
b17a43707d Ensure that the view macro doesn't generate a pair of nested macros
Because that will stop the refresh mechanism from working
2012-06-19 16:46:50 +01:00
Jeremy Ruston
1963c56fa9 Adjust the parent stack for transclusion
This enables the dropdowns to work a bit better
2012-06-19 10:59:58 +01:00
Jeremy Ruston
cabc11d517 Use the transclude macro instead of list tagging in the tag popup 2012-06-19 10:40:30 +01:00
Jeremy Ruston
ec3f16f50f Enabled sorting by title of tiddlers that don't exist 2012-06-19 10:40:05 +01:00
Jeremy Ruston
642703986a Changed filter logic to allow selection of non-existent tiddlers 2012-06-19 10:39:44 +01:00
Jeremy Ruston
83eb368f40 Temporarily removed the popup zapper
This implementation is too slow and cumbersome; we'll replace it with
something else soon
2012-06-19 10:39:13 +01:00
Jeremy Ruston
0d928c05a5 Added new transclude wikitext rule and macro
Which allows us to get rid of the tags macro
2012-06-19 08:57:29 +01:00
Jeremy Ruston
381d0715e9 The beginnings of support for text references 2012-06-19 08:56:15 +01:00
Jeremy Ruston
f4e36e9539 Improved filter support
Now there is a "current tiddler" that can be referenced as
`[is[current]]`, and a new `[tags[]]` operator.
2012-06-19 08:55:56 +01:00
Jeremy Ruston
04989a5ceb Made the chooser slightly less broken 2012-06-16 19:02:56 +01:00
Jeremy Ruston
49cc644293 Whitespace 2012-06-16 19:02:44 +01:00
Jeremy Ruston
6745c7fbf7 Better to use terminating semicolons after each style specifier
More compatible with TW2 too
2012-06-14 19:03:51 +01:00
Jeremy Ruston
b41a1cb4de Fixed problem with styled block wikitext rule 2012-06-14 18:49:51 +01:00
Jeremy Ruston
11c9031873 Added support for style blocks 2012-06-14 18:18:32 +01:00
Jeremy Ruston
fa279514c7 Made the class block rule do it's own class assignment 2012-06-14 17:40:27 +01:00
Jeremy Ruston
abd510442a Typo 2012-06-14 17:28:14 +01:00
Jeremy Ruston
52f59a4eb4 Medium-sized refactoring of macro architecture
Now event handlers are attached to element nodes, not to macro nodes.
2012-06-14 17:15:38 +01:00
Jeremy Ruston
6765d3c04d Tidying up 2012-06-14 15:05:16 +01:00
Jeremy Ruston
27f77f729f Clearer name for the state tiddler 2012-06-14 11:36:41 +01:00
Jeremy Ruston
3584d854aa Add case sensitive sorting 2012-06-14 11:36:26 +01:00
Jeremy Ruston
6c285b04de Update the recipe handling to use the right wiki object 2012-06-14 11:36:10 +01:00
Jeremy Ruston
acad64a933 Added a case insensitive sort to the filters
Hoping to come up with a better syntax for this
2012-06-14 11:35:54 +01:00
Jeremy Ruston
513fa6f756 Fixed problem with tag dropdowns in Firefox 2012-06-13 16:43:08 +01:00
Jeremy Ruston
474212dade And now the tag popups hide themselves after being used 2012-06-13 16:21:08 +01:00
Jeremy Ruston
ccfa7e1322 Fixed the appearance of tag dropdowns 2012-06-13 16:09:07 +01:00
Jeremy Ruston
161ddcb473 Made it so clicking outside a popup cancels the popup
Clicking inside still doesn't cancel it, though
2012-06-13 15:37:07 +01:00
Jeremy Ruston
c168ec0ad4 Allow macros to specify capturing event handlers 2012-06-13 15:36:16 +01:00
Jeremy Ruston
28fd037c47 Got the tag dropdowns working
They don't get dismissed correctly, though
2012-06-13 13:19:55 +01:00
Jeremy Ruston
a160fb07e4 Sort tagged tiddlers 2012-06-13 13:19:32 +01:00
Jeremy Ruston
558aaf338f Fixed issue with textnodes ignoring insertBefore parameter 2012-06-13 10:41:36 +01:00
Jeremy Ruston
0830cdac73 Mo' comments 2012-06-13 10:41:10 +01:00
Jeremy Ruston
caf32d9598 Instituted minimum height for edit textareas 2012-06-13 09:27:58 +01:00
Jeremy Ruston
e5b6d9a722 Adjusted tag dropdown
Slowly getting the tag dropdowns working properly
2012-06-13 09:12:41 +01:00
Jeremy Ruston
c3c0abd864 Add reveal macro that shows or hides content depending on the value of a tiddler 2012-06-13 09:12:09 +01:00
Jeremy Ruston
797544c1f9 Adapted button macro so that it can also toggle the value of a tiddler
We're splitting the slider macro up into its two constituent parts
2012-06-13 09:11:50 +01:00
Jeremy Ruston
fb5d7793ab Added tagging option to list macro 2012-06-13 09:11:19 +01:00
Jeremy Ruston
0641685fc8 Fixes for tags macro 2012-06-13 09:10:50 +01:00
Jeremy Ruston
84a352b804 Added wiki.getTiddlersWithTag()
We should probably use the filter mechanism for this...
2012-06-13 09:10:03 +01:00
Jeremy Ruston
d2b62eabbe Further tweaks to the still broken zooming chooser 2012-06-11 22:04:21 +01:00
Jeremy Ruston
f59c24f053 Change chooser macro to use embedded content
Not quite done with this yet.
2012-06-11 17:37:34 +01:00
Jeremy Ruston
a4a2b27749 Whitespace! 2012-06-11 17:36:40 +01:00
Jeremy Ruston
e5ba101ebe Fixed problem with view macro generating null content
Avoids errors better to generate empty content
2012-06-11 17:36:28 +01:00
Jeremy Ruston
901b212a66 Fixed zooming chooser 2012-06-11 13:08:16 +01:00
Jeremy Ruston
ed70b4a34b Removed unnecessary class from PageTemplate 2012-06-11 13:07:51 +01:00
Jeremy Ruston
bf85908d5e Fixed problem with setting classes on list and story macros 2012-06-11 13:06:22 +01:00
Jeremy Ruston
6448c70984 Refactor zoomer macro to take into account CSS classes 2012-06-11 13:05:57 +01:00
Jeremy Ruston
00050c3c21 Keep JSHint happy 2012-06-11 12:46:58 +01:00
Jeremy Ruston
9f86f98cb1 Got the zooming navigator working again
Albeit, it doesn't play well with the fixed navbar
2012-06-11 12:44:10 +01:00
Jeremy Ruston
086feb31dc Make scroller work on Firefox 2012-06-11 12:01:49 +01:00
Jeremy Ruston
d0a9bfd0f0 Unhyphenate CSS property names when rendering to the DOM
Annoyingly, Chrome will happily accept `background-color` and
`backgroundColor` interchangeably, so I hadn't noticed that this was
broken...
2012-06-11 10:41:13 +01:00
Jeremy Ruston
45cf175b8b Made sorting be case insensitive 2012-06-10 22:53:29 +01:00
Jeremy Ruston
ef8b9d81de Added navbar to PageTemplate 2012-06-10 22:02:16 +01:00
Jeremy Ruston
006efb0d44 Add div around body in ViewTemplate 2012-06-10 22:01:53 +01:00
Jeremy Ruston
fc49d7dffd Added tags and color macros
Which enables us to do nice colour coded tags. Soon they'll have a drop
down on them too
2012-06-10 19:47:24 +01:00
Jeremy Ruston
2d94e466ae Bump up the version number
As we're going so fast now
2012-06-10 18:12:33 +01:00
Jeremy Ruston
18ae0c5922 Adjustments to default tiddler templates 2012-06-10 18:09:34 +01:00
Jeremy Ruston
7e2ff9e0d8 Extended the image macro to take a width and height 2012-06-10 18:09:15 +01:00