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

2055 Commits

Author SHA1 Message Date
Jeremy Ruston
016ef775f7 Fix for table cell alignment
Remove extraneous CSS rule
2013-05-07 11:10:58 +01:00
Jeremy Ruston
c3b8a01222 Docs update 2013-05-07 11:10:30 +01:00
Jeremy Ruston
ed5f88ab84 Fix problem with importing TW files 2013-05-03 19:19:01 +01:00
Jeremy Ruston
73eeb3e715 Improve print styles
Fixing #90
2013-05-02 08:17:36 +01:00
Jeremy Ruston
b7832cd1d4 Add new tiddler and options buttons to sidebar 2013-05-01 22:10:55 +01:00
Jeremy Ruston
bce0ea841c Add bullet next to selected theme in theme switcher 2013-05-01 22:10:34 +01:00
Jeremy Ruston
57b7692c97 Sidebar layout tweaks
Including add a clear button to the search box, which is another use of
the linkcatcher widget
2013-05-01 16:56:34 +01:00
Jeremy Ruston
9adb2874b7 No more red SiteTitle 2013-05-01 16:35:15 +01:00
Jeremy Ruston
18b5ae9379 Docs updates 2013-05-01 16:34:06 +01:00
Jeremy Ruston
1696daf2bf More explanation of the linkcatcher widget
Prompted by @pmaro
2013-05-01 16:11:52 +01:00
Jeremy Ruston
67a8a07916 Adjust more sidebar to be further from the tiddlers 2013-05-01 16:02:38 +01:00
Jeremy Ruston
1a8908ae71 Docs updates 2013-05-01 16:02:12 +01:00
Jeremy Ruston
8ce2f881e1 Back out of using tiddlers within the plugin bundle for description and thumbnail
The trouble was that in listings we couldn't access the constituent
tiddlers of themes that haven't been loaded
2013-05-01 13:29:59 +01:00
Jeremy Ruston
2355517649 Add a Google custom font to the starlight theme
For demonstration purposes
2013-05-01 13:05:55 +01:00
Jeremy Ruston
408fcd8aa3 Add a parser for woff fonts
It's a bit of a hack to have a parser dedicated to fonts. We'll replace
it with a mechanism that handles generic binary data
2013-05-01 13:04:27 +01:00
Jeremy Ruston
b672e12fef Add a UI to allow themes to be switched 2013-05-01 12:02:49 +01:00
Jeremy Ruston
aa7b9441fd Add a linkcatcher widget
It intercepts navigation events and saves the target tiddler title into
a specified text reference
2013-05-01 12:02:33 +01:00
Jeremy Ruston
92038028e9 Add a description to our themes 2013-05-01 12:02:00 +01:00
Jeremy Ruston
cb675732b2 More fields hoisted up from plugin.info file into plugin tiddler 2013-05-01 12:01:43 +01:00
Jeremy Ruston
c373fea350 Ensure themes get initialised on the server as well as the browser
To make sure that static site generation has access to the theme shadow
tiddlers
2013-04-30 23:04:15 +01:00
Jeremy Ruston
debf29d391 Fix Jasmine stylesheet 2013-04-30 23:01:08 +01:00
Jeremy Ruston
5c56d645ff Add an alternate theme
No UI for switching themes yet, try these two commands in the console:

`$tw.wiki.addTiddler({title:"$:/theme",
text:"$:/themes/tiddlywiki/starlight"})`

and

`$tw.wiki.addTiddler({title:"$:/theme",
text:"$:/themes/tiddlywiki/snowwhite"})`
2013-04-30 22:58:18 +01:00
Jeremy Ruston
523d70127b Allow themes to be switched by changing the tiddler $:/theme 2013-04-30 22:57:10 +01:00
Jeremy Ruston
6d455d77cd Update plugin loading mechanism to allow plugins to be unregistered
We still have to explicitly unpack them after registering or
unregistering
2013-04-30 22:56:17 +01:00
Jeremy Ruston
e875de63a9 Ignore shadow tiddlers in the syncer 2013-04-30 22:55:06 +01:00
Jeremy Ruston
6557ec8e1f Docs update 2013-04-30 22:37:08 +01:00
Jeremy Ruston
a54a7806d5 Remove redefinition of Tiddler.hasField() and added Tiddler.isPlugin()
hasField() was already being defined in boot.js
2013-04-30 22:37:02 +01:00
Jeremy Ruston
e12fbf0f9f Comment clarification 2013-04-30 22:35:52 +01:00
Jeremy Ruston
fbf040f85e Make the tag pills a little flatter 2013-04-29 16:16:47 +01:00
Jeremy Ruston
594871e2d1 Fix for the link macro to work around iPhone annoyance
This prevents Mobile Safari from sliding the address bar into view
whenever a tiddler link is clicked
2013-04-29 16:03:35 +01:00
Jeremy Ruston
0d1598eaa1 Docs update
Stuff had got quite out of date. Why is it so much easier to write code
than docs?
2013-04-29 14:07:16 +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
c3e14a85a6 Give tiddlers a hasField() method 2013-04-29 12:05:58 +01:00
Jeremy Ruston
17cfd57390 Start making themes switchable
Separately switch in ordinary plugins and themes. Change the convention
for plugin information to use dashes rather than camel case.
2013-04-28 22:52:26 +01:00
Jeremy Ruston
3b8354d1e1 Style tweaks
We shouldn't nudge the **more** sidebar tab if we're on a small display
2013-04-28 22:50:27 +01:00
Jeremy Ruston
40ac461ca1 Give plugins a pluginType field
Ordinary plugins have the type "plugin", we'll also have "theme" and
"language"
2013-04-28 18:16:22 +01:00
Jeremy Ruston
996a7279ed Switch to using tags to identify stylesheets
Using module-type was confusing, because we weren't actually using the
module infrastructure for stylesheet processing.
2013-04-28 18:13:57 +01:00
Jeremy Ruston
229544584b More style adjustments 2013-04-28 17:05:58 +01:00
Jeremy Ruston
31a378b64c Start support for themes
To start with, we move the current stylesheets into a theme plugin
called "Snow White". Wikis have to specify at least one theme in their
`tiddlywiki.info` file. Next we'll add a mechanism for switching
between loaded themes
2013-04-28 09:42:48 +01:00
Jeremy Ruston
d62c9f613c Style tweaks 2013-04-27 18:03:13 +01:00
Jeremy Ruston
7d8051ef8d Style tweaks 2013-04-27 16:49:12 +01:00
Jeremy Ruston
b305debf97 Add a close all tiddlers button
For @pmario
2013-04-27 16:35:59 +01:00
Jeremy Ruston
059a36b23d Animate tiddler closures to the left
As @pmario points out, avoids nasty interactions with the sidebar
2013-04-27 16:24:41 +01:00
Jeremy Ruston
608175803b Comments and rearrangements for the base stylesheet
Preparatory to picking it apart into separate files
2013-04-27 15:44:56 +01:00
Jeremy Ruston
9a4caec992 Add close buttons to the open tiddler list 2013-04-27 12:11:56 +01:00
Jeremy Ruston
54d53cedd2 Further style tweaks 2013-04-27 11:43:11 +01:00
Jeremy Ruston
b139f4c6f1 Styling improvements 2013-04-27 11:28:46 +01:00
Jeremy Ruston
11f1011acc Fix toolbar button size in edit template 2013-04-27 10:04:57 +01:00
Jeremy Ruston
8e582e002b Experimental plugin for Tahoe-LAFS 2013-04-26 22:18:46 +01:00
Jeremy Ruston
add35e9523 Docs update 2013-04-26 21:58:51 +01:00