1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-07-05 11:43:16 +00:00
Commit Graph

70 Commits

Author SHA1 Message Date
Jeremy Ruston
e034f28091 Bail out earlier when displaying a modal for a non-existent tiddler 2013-09-10 15:28:15 +01:00
Jeremy Ruston
ee33cbbc2e Fix up some problems when the animation duration is zero
We want to be able to suppress animations by making the duration zero
2013-08-29 12:43:24 +01:00
Jeremy Ruston
fbfe5a26c5 Move the animation duration into a tiddler so that we can easily let it be adjusted in the control panel 2013-08-28 15:15:56 +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
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
0edfc855b4 Replace obsolete content type 2013-06-27 10:19:38 +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
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
854a9d6d1c Toggle a style on the page container when a modal is displayed 2013-06-04 16:19:47 +01:00
Jeremy Ruston
a8b1da33de Improvements to slide animation 2013-05-28 16:47:16 +01:00
Jeremy Ruston
227cadd326 Add a barebones animation framework
The idea is to allow us to package animations/transitions into plugins
2013-05-28 16:28:16 +01:00
Jeremy Ruston
d19affc9c3 Fix problem with non-shadow stylesheets not being recognised at startup 2013-05-25 16:40:34 +01:00
Jeremy Ruston
3806168038 Fixed problem with non-shadow style tiddlers not being recognised 2013-05-18 16:59:24 +01:00
Jeremy Ruston
d8abc0e9e3 Fix up more document references 2013-05-17 17:37:39 +01:00
Jeremy Ruston
6e1cd46bc7 Fix document references 2013-05-17 17:29:43 +01:00
Jeremy Ruston
551ebdc005 Major refactoring of rendering mechanism
We now use a fake DOM implementation on the server to let us share more
rendering code between the text output vs. DOM output paths.
2013-05-17 10:12:25 +01:00
Jeremy Ruston
8564602256 Refactor rendertree to simplify context handling
Get rid of the separate renderContext stack and instead have a parent
pointer on renderer nodes. This lets us walk back up the render tree to
resolve context references
2013-05-15 17:32:17 +01:00
Jeremy Ruston
8796f312cb A different animation for hiding notifications
Only slightly different, but it seems to add visual interest
2013-05-08 13:27:04 +01:00
Jeremy Ruston
24db38c06b Add simple notification mechanism 2013-05-07 18:08:44 +01:00
Jeremy Ruston
152fb798eb Start responding to dynamic stylesheet changes
This mechanism will only be triggered by changes to the stylesheet
tiddlers themselves, and not to any dependencies that they might have.
It'll stay that way for a while.

The next thing is making the theme manager actually switch themes,
forcing the right wiki change events to make the stylesheet manager
update itself
2013-04-29 12:07:39 +01:00
Jeremy Ruston
069bb624e5 Fix popup removal 2013-03-19 16:44:32 +00:00
Jeremy Ruston
dbde2bf23b Started refactoring TiddlyWeb syncer into generic syncer + TiddlyWeb adaptor
The refactored plugin is `tiddlyweb2` for the moment. The idea is to be
able to use the same syncer with a different adaptor for syncing
changes to the local file system.
2013-03-17 15:28:49 +00:00
Jeremy Ruston
c3b57507b0 Refactored wiki event mechanism to support multiple event types 2013-03-16 10:42:46 +00:00
Jeremy Ruston
4c06bd72de Fix #59
Much more intelligent automatic scrolling
2013-03-03 20:06:23 +00:00
Jeremy Ruston
9cbee467cb Smaller titles for modal dialogs 2013-03-01 09:13:10 +00:00
Jeremy Ruston
6c4a2a6026 Fix modal dialogue to use inline parsing for header and footer 2013-02-10 18:44:00 +00:00
Jeremy Ruston
6584939114 Less confusing method name 2013-02-08 09:22:21 +00:00
Jeremy Ruston
5fd73a2b8d Remove obsolete modules
ArgParser was used by the old tw2 parser, and the Sprite animator was
never actually used
2013-02-08 09:22:02 +00:00
Jeremy Ruston
170c1425f7 Normalise custom event names 2013-02-04 15:29:25 +00:00
Jeremy Ruston
5755cd5d3f Make modal wizards work again 2013-01-03 17:06:14 +00:00
Jeremy Ruston
f8340bc4dc Improvements to reveal widget popup handling 2013-01-01 16:14:42 +00:00
Jeremy Ruston
8fdeefd7d1 Added reveal macro 2012-12-31 18:36:39 +00:00
Jeremy Ruston
ce273a22f1 More DOM utilities 2012-12-13 21:31:41 +00:00
Jeremy Ruston
0154b2a54e Revised implementation of scrolling behaviour
Now we use a "tw-scroll" event to request scrolling
2012-11-26 16:08:52 +00:00
Jeremy Ruston
84650b9a54 Swap over to the new mime type conventions
Discussed in
https://groups.google.com/forum/#!topic/tiddlywikidev/re8xfLqZNCE
2012-11-18 15:22:13 +00:00
Jeremy Ruston
544711fe59 Improved copy writing
Marginally better
2012-11-16 19:36:50 +00:00
Jeremy Ruston
b96bcfdca4 Improve the modal dialogue to optionally include a download button 2012-11-16 19:30:30 +00:00
Jeremy Ruston
f1089c1c92 Use temporary tiddlers for popup locations 2012-11-11 15:03:34 +00:00
Jeremy Ruston
d3e6a0cdf0 Move the slowInSlowOut easing function into utils 2012-11-08 18:34:04 +00:00
Jeremy Ruston
9f6909ddc4 Appeasing the gods of JSHint 2012-11-06 17:21:56 +00:00
Jeremy Ruston
083ac7a4bf Encapsulate logic for handling popups 2012-11-06 14:11:11 +00:00
Jeremy Ruston
3d747499cb More enhancements to listview animations
Now we've got navigation scrolling back
2012-11-03 16:14:00 +00:00
Jeremy Ruston
5443c8243a Lots of tweaks to list view animations
There's a regression in that navigation animations are currently not
working
2012-11-03 12:34:36 +00:00
Jeremy Ruston
4bff67007d Introduce sprite handler mechanism
For flying things around the page
2012-11-03 12:33:21 +00:00
Jeremy Ruston
e97f778af4 Now we've got scrolling for navigation in classic view 2012-10-26 22:20:06 +01:00
Jeremy Ruston
324a87a8a2 Further refinements to the list mechanism
Much better navigation animation for classic view
2012-10-26 22:12:40 +01:00
Jeremy Ruston
858fde3b59 Fixed iffy scrolling during navigation 2012-10-26 17:35:03 +01:00
Jeremy Ruston
3dcada04d4 Extraneous console.log 2012-10-26 14:01:38 +01:00
Jeremy Ruston
031e3b8b80 Updates to CecilyView and browser.js 2012-10-26 10:28:32 +01:00