Jeremy Ruston
54bed81ab9
Missed off some of the refresh logic
2013-10-23 19:46:31 +01:00
Jeremy Ruston
4e713baeee
Add checkbox widget and fix up task management example
2013-10-23 19:38:36 +01:00
Jeremy Ruston
67490cbb74
Whoops console.log.alypse
2013-10-23 17:50:51 +01:00
Jeremy Ruston
f2ac04943f
Fixed tag autocomplete popup on focus
2013-10-23 17:41:12 +01:00
Jeremy Ruston
dfdb34a5cc
Better styling for the fields editor
2013-10-23 17:04:10 +01:00
Jeremy Ruston
6f2dbd0978
Refactor name of "findNextSiblingDomNode()" method for consistency
2013-10-22 18:14:16 +01:00
Jeremy Ruston
40c6b6cb8f
Guts of the field editor
...
Styling is a bit squiffy
2013-10-21 23:10:20 +01:00
Jeremy Ruston
8ee2695c81
Fix up the tags editor
...
The dropdown doesn't yet appear when the text input is focussed
2013-10-21 22:55:43 +01:00
Jeremy Ruston
7393a296dd
Add a fieldmangler widget
2013-10-21 22:54:58 +01:00
Jeremy Ruston
06af26b1c8
Give the edit-text widget support for the placeholder attribute
2013-10-21 22:54:48 +01:00
Jeremy Ruston
e2b8249a1b
Fix problem with findNextSibling()
2013-10-21 22:27:12 +01:00
Jeremy Ruston
409152afb8
Make the default list widget template include a div or span
...
Otherwise writing this makes a list on one line:
```
{{{ [tag[done]] }}}
```
2013-10-21 22:26:36 +01:00
Jeremy Ruston
c96cb6e956
Parse typed blocks with the new parser
2013-10-21 20:20:44 +01:00
Jeremy Ruston
a99f912bad
Fix typo
2013-10-21 20:20:32 +01:00
Jeremy Ruston
2a571b4f5f
Switch the notifier and modal mechanisms to use the new widget mechanism
...
Note the use of the `$tw.rootWidget` to collect together the root event
handlers
2013-10-21 20:14:01 +01:00
Jeremy Ruston
48dbacc88a
Add support for widget event listeners to be specified as functions
2013-10-21 20:13:08 +01:00
Jeremy Ruston
ce1fb300f8
Use the new widget mechanism for stylesheet parsing and rendering
2013-10-21 18:38:20 +01:00
Jeremy Ruston
79e7dc4f18
Content updates
2013-10-21 18:33:31 +01:00
Jeremy Ruston
c9668f93b5
Test building static css and individual tiddlers
2013-10-21 18:33:25 +01:00
Jeremy Ruston
89310e71c8
Add a new version of rendertiddlers command
...
So that we can test static html generation
2013-10-21 18:33:00 +01:00
Jeremy Ruston
3d30ff9828
Fix static tiddler template
2013-10-21 18:32:40 +01:00
Jeremy Ruston
26ac940637
Fix typo
2013-10-21 18:32:29 +01:00
Jeremy Ruston
e33f588b73
Let the new rendering methods accept a parent widget
2013-10-21 18:32:19 +01:00
Jeremy Ruston
dc9c2522b9
Fix typo in macro variable substitution
2013-10-21 18:31:41 +01:00
Jeremy Ruston
167116d416
Fix output type for view format htmlwikified
2013-10-21 18:31:27 +01:00
Jeremy Ruston
3005604b83
Give link widget support for configuration variables
...
One can now use `\define tw-wikilinks() no` to disable wikilinks, and
`tw-wikilink-template` to configure the link template.
2013-10-21 18:31:04 +01:00
Jeremy Ruston
35c7094306
Start building the static files
...
There's a few parts that don't work yet
2013-10-18 15:20:33 +01:00
Jeremy Ruston
3f151ba70e
Add support for macro modules
...
Now JavaScript macros can be defined in "macro" modules
2013-10-17 16:57:07 +01:00
Jeremy Ruston
55d479c540
Extend macrocall widget to take parameters both from the parse tree node and the attributes
...
This allows us to invoke macros using the ordinary widget syntax, which
in turn allows us to use features like indirection on the parameters.
2013-10-17 16:55:23 +01:00
Jeremy Ruston
6b9b75142b
Fix text reference regexp to allow for tiddler titles with embedded spaces
2013-10-17 16:40:13 +01:00
Jeremy Ruston
93c2ce6521
Fix up edit widgets
2013-10-16 16:30:24 +01:00
Jeremy Ruston
a3eaffa666
Add a linkcatcher widget
2013-10-16 16:30:06 +01:00
Jeremy Ruston
adb395d10f
Fix edit-text widget to work with indexed values
2013-10-16 16:29:51 +01:00
Jeremy Ruston
7f6d770ca6
The reveal widget should generate a span when in inline mode
...
The only reason that the reveal widget generates an element is so that
we can use `display:none/block;` (as did the pre-refactored code) as a
quick way of hiding and showing the content. We don't do that yet, and
it may be best never to do it.
2013-10-16 16:29:35 +01:00
Jeremy Ruston
06e269f3cb
Fix the untagged list in the tags list
2013-10-15 21:07:35 +01:00
Jeremy Ruston
77248d08a8
Add the count widget
2013-10-15 21:07:13 +01:00
Jeremy Ruston
5b4ca67d6e
Make the reveal widget hide the div element if it is not open
2013-10-15 21:06:52 +01:00
Jeremy Ruston
ebcd5177ec
Fix-ups to make the new edit widgets work
2013-10-15 14:32:45 +01:00
Jeremy Ruston
78bc89cbdb
Add a edit text widget
...
Now rather than a separate module type for different editors, we
instead have a meta-widget "edit" that chooses the appropriate concrete
widget (currently just "edit-text", but soon to be joined by
"edit-bitmap" as well)
2013-10-15 14:32:27 +01:00
Jeremy Ruston
a696c716e3
Support the remaining events on the navigator widget
2013-10-15 14:30:36 +01:00
Jeremy Ruston
933afee996
Get rid of the old setstyle widget
...
And fix up the colouring of tiddler icons
2013-10-15 08:36:19 +01:00
Jeremy Ruston
20cd398e88
Fix popup positioning in the reveal widget
2013-10-14 23:32:01 +01:00
Jeremy Ruston
c621339729
More fixes to the missing tiddler dropdown and the tag dropdown
2013-10-14 21:57:00 +01:00
Jeremy Ruston
707024a118
Set the colour of the tag pills
...
We no longer need the old setstyle widget
2013-10-14 21:38:12 +01:00
Jeremy Ruston
0e037e3c5b
Make the field table in the tiddler info panel have width 100%
2013-10-14 21:05:49 +01:00
Jeremy Ruston
e3dcb8cdc1
Fix view widget to display friendly text of tiddler values
2013-10-14 21:02:03 +01:00
Jeremy Ruston
7c0cc36739
Style tweaks for tiddler info panel
2013-10-14 21:01:45 +01:00
Jeremy Ruston
468fe8b6f1
Add macrocall widget
...
Now the fields table works in the tiddler info popup
2013-10-14 17:48:26 +01:00
Jeremy Ruston
ebd28c8dc7
Get the tiddler info panel fields list working properly
...
Now we can display the fields list as a proper table.
We've had to temporarily hack the list widget again…
2013-10-14 17:35:52 +01:00
Jeremy Ruston
b4d33b9614
Fixups to the sidebar and tiddler info button
2013-10-14 16:57:16 +01:00