1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-28 12:29:56 +00:00
Commit Graph

2196 Commits

Author SHA1 Message Date
Jeremy Ruston
efab7cd6ab Fix problem with Sticky Titles theme 2013-07-06 15:28:10 +01:00
Jeremy Ruston
b0a333b604 Display optional tiddler icon before title
Just set the 'icon' field of the tiddler to the title of an image. (See
the "done" tiddler for an example)
2013-07-06 12:58:18 +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
b51fb9cfa9 Linting 2013-07-05 22:37:55 +01:00
Jeremy Ruston
68a87f368a A better green for the "done" tag 2013-07-05 20:35:26 +01:00
Jeremy Ruston
6d3f224817 Fix problem with pop listview animation
It turns out the transitionEnd event fires separately for each animated
property. We'll just remove ourselves on the first one
2013-07-05 11:15:51 +01:00
Jeremy Ruston
280d4dc181 Skinnify tab labels 2013-07-05 11:14:44 +01:00
Jeremy Ruston
c72a63849b Add some more methods to the fake DOM
These methods are needed to get static saving working in the browser
again (click "Save Static" in the Demo tiddler)
2013-07-05 10:47:08 +01:00
Jeremy Ruston
08f278624b Allow tag tiddlers to specify the title of an icon tiddler
Demonstrated on the "done" tag
2013-07-05 08:53:09 +01:00
Jeremy Ruston
f7539ca794 Skinnify headings 2013-07-05 08:52:27 +01:00
Jeremy Ruston
4fe408d9d3 Fixed problem with tags that appear more than once in the tag string 2013-07-04 16:55:47 +01:00
Jeremy Ruston
dfbd59c159 Adopt hipsterish skinny font weights 2013-07-04 16:20:44 +01:00
Jeremy Ruston
0b25c2cece Now trying out applying the pop animation to the open tiddler list 2013-07-04 14:19:30 +01:00
Jeremy Ruston
4980d99f70 Use pop animation for the view mode tag list
Works well with the task management demo
2013-07-04 13:31:14 +01:00
Jeremy Ruston
e6450e60e2 Add a popping animation to the tags editor 2013-07-04 12:50:31 +01:00
Jeremy Ruston
c2bfe7f311 Add centralised theme
Fix #110
2013-07-03 22:59:35 +01:00
Jeremy Ruston
f28684d249 Fix problem with JavaScript module tiddlers that are named as system tiddlers
Reported by @boycook
2013-07-03 18:36:51 +01:00
Jeremy Ruston
53a23cae5c Change tag pill text colour to white
I feel that the reverse text makes it easier to use distinctive dark
colours as tag colours, and makes the differentiation between tags and
ordinary text more pronounced. What do you think @pmario and @giffmex?
2013-07-03 16:02:44 +01:00
Jeremy Ruston
182064a7bc Add some notes about the TW5 dev environment
More to come
2013-07-03 16:01:21 +01:00
Jeremy Ruston
ce488e8a3b Separate the wikitext parser tests into their own file 2013-07-03 16:01:01 +01:00
Jeremy Ruston
647bd51299 Fix problem with erroneous initialisation of changedTiddlers member 2013-07-03 16:00:48 +01:00
Jeremy Ruston
e583c1d72d Use empty string as default value for reveal widget 2013-07-03 16:00:26 +01:00
Jeremy Ruston
627dba01e4 Make getContextScopeId() more selective about context fields that are included
We were getting a problem whereby macro definitions were showing up in
the context string.
2013-07-03 16:00:10 +01:00
Jeremy Ruston
6299026407 Fix issue with child nodes of macro call not being refreshed 2013-07-03 15:59:09 +01:00
Jeremy Ruston
4f9649f5ac Moving docs to the right place 2013-07-02 15:45:27 +01:00
Jeremy Ruston
5f308cc437 Docs update 2013-07-02 08:48:01 +01:00
Jeremy Ruston
81b4ca7347 Add contributing guidelines 2013-07-02 08:38:00 +01:00
Jeremy Ruston
df997e024c Add experimental sticky titles theme
Select the new "Sticky Titles" theme to cause tiddler titles to stick
to the top of the window as you scroll. It works very well in Chrome
Canary, reasonably well in iOS 7.

As an aside, it would be nice to be able to package this is as
something a bit smaller than a theme; maybe themes need to have
optional hacks that can be associated with them.
2013-07-01 18:47:31 +01:00
Jeremy Ruston
69704db205 Get rid of redundant position: relative on tiddler frames 2013-07-01 18:45:32 +01:00
Jeremy Ruston
be617c7c45 Use a <div> for the title bar of a tiddler
We had been using spans
2013-07-01 18:45:04 +01:00
Jeremy Ruston
2ae818dae8 Refactor out the help text in the editor template 2013-06-29 09:20:07 +01:00
Jeremy Ruston
0edfc855b4 Replace obsolete content type 2013-06-27 10:19:38 +01:00
Jeremy Ruston
9ca5f673b9 Minor linting 2013-06-27 09:50:46 +01:00
Jeremy Ruston
02bf8fa469 Fixing 05dc8edc5a properly 2013-06-27 09:43:04 +01:00
Jeremy Ruston
05dc8edc5a Fixed problem with recognising module headers on Windows
Pesky line breaks. Thanks to twitter.com/laheadle
2013-06-27 09:04:55 +01:00
Jeremy Ruston
d93e6b1229 Always default to a href='#title' format for tiddler links
The link format will be overridden when we're creating links within
static HTML representations
2013-06-27 09:03:59 +01:00
Jeremy Ruston
8063770dae Neater HTML generation in the boot kernel 2013-06-26 23:52:21 +01:00
Jeremy Ruston
90d7d0b3a5 A slightly more concise way of reading package.json 2013-06-26 23:51:57 +01:00
Jeremy Ruston
7999b86d5d Docs update 2013-06-26 18:16:01 +01:00
Jeremy Ruston
12b471b8fb Extend the HTML rendering mechanism to support attributes specified as macro invocations 2013-06-18 15:37:19 +01:00
Jeremy Ruston
18f8b7266e Refactor the HTML element parser
The purpose is to allow attributes to be specified as macro
invocations. For example `<div myattr=<<mymacro param1 param3>>>`. The
parser needed sprucing up in order to copy with the nesting of angle
brackets. The refactoring has been done with an eye on using the same
technique in the filter expression parser (which is pretty messy at the
moment -- it throws exceptions for syntax errors, which is bad). Later
I'm hoping to extend the technique to create a more flexible table
parser.
2013-06-15 15:12:05 +01:00
Jeremy Ruston
aaed4faf7e More tab colouring tweaks 2013-06-13 11:59:18 +01:00
Jeremy Ruston
8fca9b1929 Mute some of the tag colours 2013-06-13 10:00:34 +01:00
Jeremy Ruston
8662e0084c Simplify tag styling 2013-06-13 09:17:46 +01:00
Jeremy Ruston
cb34ef20ad Add input type handling to the texteditor
This allows us to customise the input element used for each field type.
The only one implemented at the moment is color, which currently only
works on Chrome
2013-06-13 09:17:36 +01:00
Jeremy Ruston
8471a2217a Improve handling of fieldmodules lacking a stringify method 2013-06-13 09:16:26 +01:00
Jeremy Ruston
0be6bf84d1 Extend fieldmodules to include an "editType" field
This will allow us to provide the right HTML5 input element for things
like colours and dates
2013-06-13 09:16:07 +01:00
Jeremy Ruston
f285f850d7 Use window.onerror instead of window.addEventListener for error trapping
Now the error trapping works in Firefox
2013-06-13 08:35:05 +01:00
Jeremy Ruston
c631916441 Add a global error trapper for the browser
JavaScript errors are invisible unless you've got developer tools open,
which is making it hard for users to report errors. This change makes
JavaScript errors popup a big red alert
2013-06-12 12:40:48 +01:00
Jeremy Ruston
204bd69e83 Fix issue preventing tags being added to a tiddler with no existing tags 2013-06-11 14:52:01 +01:00