Jeremy Ruston
0428b7e6ae
Animate tags, tags editor and open list
2013-11-05 08:53:45 +00:00
Jeremy Ruston
26ff0c23a2
Fix the viewswitcher
2013-11-05 08:53:01 +00:00
Jeremy Ruston
aa79b4aff1
Add pop visualiser
2013-11-05 08:52:32 +00:00
Jeremy Ruston
6a0ae2c48b
Make sure we animate emptying the list widget
2013-11-05 08:52:17 +00:00
Jeremy Ruston
7c250fd7fe
Re-introduce listviews
...
Now called storyviews because they're aware of the history structure as
well as the list structure.
2013-11-04 22:22:28 +00:00
Jeremy Ruston
63243c5855
Introduce a PageMacros tiddler containing a tabs macro
...
This is a hacky way of having macro definitions that behave as if they
are global to the wiki.
The new tabs macro itself is cool, though: neatly encapsulates most of
the gubbins around a tab control, and the rendering is quite easy to
style.
2013-11-04 18:21:20 +00:00
Jeremy Ruston
ff4d76f045
Fix up missing variable values
...
We were crashing if a variable was inadvertantly set to undefined
2013-11-04 10:00:34 +00:00
Jeremy Ruston
adf16eeaf3
Update macrocall widget to allow type of input and output to be specified
...
Means that you can invoke macros without parsing them as wikitext.
2013-11-04 10:00:02 +00:00
Jeremy Ruston
ed6fd475ab
Add 'default' attribute to button widget
...
This allows us to do things like tab controls properly.
2013-11-04 09:59:26 +00:00
Jeremy Ruston
8ab7a1dd8f
Only set the style of the button widget if the style attribute is specified
2013-11-04 09:58:56 +00:00
Jeremy Ruston
fd70aa8c45
Get rid of the qualifyTiddlerTitles hack
...
Now, finally, we can implement qualifyTiddlerTitles as a macro.
2013-11-02 15:42:24 +00:00
Jeremy Ruston
0b1f0a5fab
Refactor the list widget to get rid of some hacks
...
As promised.
2013-11-02 10:12:55 +00:00
Jeremy Ruston
51394e50e8
Get rid of the event handling in the tiddler widget
...
Much neater if each widget does as little as possible.
2013-11-02 10:12:22 +00:00
Jeremy Ruston
1c2c6ca63f
Animation dropdown menus
...
I don't know whether this is a good idea; the menus feel too slow and
puffy to me.
2013-11-02 09:21:54 +00:00
Jeremy Ruston
31ae8910c6
Fix animation behaviour of reveal widget
2013-11-02 09:21:11 +00:00
Jeremy Ruston
6a6f6c7713
Restored animations for the reveal widget
2013-11-01 17:23:08 +00:00
Jeremy Ruston
0b0fb0a145
Fixed refresh logic of element widget
2013-11-01 17:22:51 +00:00
Jeremy Ruston
6b6b444269
Fixed refresh logic of checkbox widget
2013-11-01 17:22:40 +00:00
Jeremy Ruston
363e90fca8
Remove version widget in favour of widget macro
2013-11-01 13:22:06 +00:00
Jeremy Ruston
4118afe9e8
Make the widget tree for the page accessible to the JS console
...
Now you can browse the render tree of widgets by inspecting
`$tw.pageWidgetNode` in the JS console
2013-11-01 12:44:03 +00:00
Jeremy Ruston
4f4d45a972
Fix problem with default attribute of edit-text widget
...
Setting `default=""` wasn't working
2013-11-01 12:43:23 +00:00
Jeremy Ruston
33de87ec8c
Fix attribute name
2013-10-31 22:01:47 +00:00
Jeremy Ruston
100b1edd4d
Remove unused extraneous attribute
2013-10-31 22:01:35 +00:00
Jeremy Ruston
e870e28cf3
Remove unused wikified format from viewwidget
2013-10-31 22:01:12 +00:00
Jeremy Ruston
01a0c9481e
Remove unused class attribute from reveal widget
2013-10-31 21:59:53 +00:00
Jeremy Ruston
45f0f46fdf
Fix macrocall widget to not pass $name as a parameter
2013-10-31 21:59:37 +00:00
Jeremy Ruston
1ca473fd2f
Remove unused preserveCurrentTiddler attribute from list widget
2013-10-31 21:59:15 +00:00
Jeremy Ruston
1cc27b2598
Correct typo
2013-10-31 21:59:01 +00:00
Jeremy Ruston
0ec2cf20a9
Rename "focusSet" attribute of edit-text widget to "focusPopup"
2013-10-31 12:37:22 +00:00
Jeremy Ruston
4d4a84c5bf
Remove unused class attribute from edit-bitmap widget
2013-10-31 12:36:38 +00:00
Jeremy Ruston
4646ba4e30
Remove unused class attribute from checkbox widget
2013-10-30 16:28:57 +00:00
Jeremy Ruston
f9c95dda46
Allow browsing for multiple files at once
2013-10-30 16:05:49 +00:00
Jeremy Ruston
8084837f48
Fix problem with default text handling in edit-text widget
2013-10-30 14:27:55 +00:00
Jeremy Ruston
9e3618bdcf
Rename the 'title' attributes of various widgets to 'tiddler'
...
The change is to avoid confusion with the HTML 'title' attribute. The
name 'tiddler' better emphasises the purpose of the attribute, too.
2013-10-30 13:36:44 +00:00
Jeremy Ruston
849d64cf9d
Fix field listings
2013-10-30 09:34:01 +00:00
Jeremy Ruston
05e73ee1da
Cope with localStorage not being available
...
IE10 doesn't allow localStorage for HTML pages loaded from the file://
protocol.
Boo.
2013-10-29 22:21:25 +00:00
Jeremy Ruston
d42fb673f8
Fix checkbox widget to update modified
and modifier
fields
2013-10-29 21:20:59 +00:00
Jeremy Ruston
654f48b14d
Fix problem with modal titles
2013-10-29 15:01:36 +00:00
Jeremy Ruston
731cbb8cd6
Switch from new_pageContainer
back to pageContainer
2013-10-29 15:01:27 +00:00
Jeremy Ruston
b4da65d1c9
Update fakedom to no longer add a newline after opening tags
...
The newline was being rendered within `<code>` elements.
2013-10-29 14:52:12 +00:00
Jeremy Ruston
14d7d5ea59
Use the new wiki.makeWidget() method where we can
2013-10-29 14:51:35 +00:00
Jeremy Ruston
4eebe7388d
Add a wiki.makeWidget() method
...
Encapsulates some logic that has been duplicated elsewhere.
2013-10-29 14:48:24 +00:00
Jeremy Ruston
371c8ab45a
Fix changed attribute detection in tiddler widget
2013-10-29 09:04:18 +00:00
Jeremy Ruston
bf48e6f8a1
Rename tiddlerTitle
variable to currentTiddler
2013-10-28 23:40:45 +00:00
Jeremy Ruston
aefca26d72
Style the body tag through a CSS class
...
This avoids accidentally styling body tags within SVG foreignObject
elements.
2013-10-28 15:06:17 +00:00
Jeremy Ruston
b4b0eae4e5
Allow the foreignObject element in SVG to embed HTML via the body element
...
This change means that any `<body>` elements inside an SVG region of
the DOM tree will switch the namespace back to XHTML.
2013-10-28 15:05:19 +00:00
Jeremy Ruston
1d27760a37
Cleaner formatting for the control panel
2013-10-28 15:03:52 +00:00
Jeremy Ruston
20f03de712
The big purge of the old widget mechanism
...
Getting rid of the old widget mechanism files finally gives us a payoff
for all the refactoring. Still a bit of tidying up to do, and we need
to re-introduce the animation mechanisms.
2013-10-27 22:55:36 +00:00
Jeremy Ruston
5610efff01
Update typedblock parser to use new widget mechanism
2013-10-27 22:53:22 +00:00
Jeremy Ruston
d84e398d7a
Fix problem when widgets don't have a parse tree node
2013-10-27 22:53:06 +00:00