1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-27 20:10:03 +00:00
Commit Graph

6189 Commits

Author SHA1 Message Date
Astrid Elocson
e369bc1eb2 Remove created field accidentally added 2015-02-28 14:47:38 +00:00
Astrid Elocson
3b0e6102ec Expose code font family in Control Panel 2015-02-27 12:46:19 +00:00
Jermolene
1e02df61d0 Add tip and warning icons
@aelocson I thought these might be useful for the docs; we’ll need some
macros and styles, though.
2015-02-25 20:37:07 +00:00
Jermolene
65d81921f9 Further fixes to scrolling behaviour 2015-02-25 20:24:07 +00:00
Jeremy Ruston
6fcca43fd2 Merge pull request #1519 from aelocson/variable-docs
Overhaul the macro and variable documentation
2015-02-25 19:15:17 +00:00
Jermolene
8d46c18fc7 Refine fix for #1526
The previous fix changed the scrolling behaviour such that it only
scrolled to the top of a tiddler if the tiddler was entirely offscreen.
It wasn’t entirely satisfactory because scrolling was prevented even if
only a few pixels of a tiddler are in view. This commit ensures that
the scroll does occur if less than 50 pixels of the target is in view
2015-02-25 19:09:53 +00:00
Jermolene
489bc7a50b Only scroll to top when tiddlers are completely off-screen
Fixes #1526
2015-02-25 19:01:40 +00:00
Astrid Elocson
61b8180562 Resolve merge conflict in LinkWidget.tid 2015-02-25 12:53:57 +00:00
Astrid Elocson
e4525a95c5 Try again to resolve merge conflict in LinkWidget.tid 2015-02-25 08:01:38 +00:00
Astrid Elocson
40c6362fbe Resolve merge conflict in LinkWidget.tid 2015-02-25 07:57:55 +00:00
Jermolene
b13d87fdf2 Overhaul the macro and variable documentation #1519 2015-02-24 17:41:16 +01:00
Jermolene
fdc635007b Add navigation support to the edit template
Matching the change we’ve already made to the view template
2015-02-23 18:59:46 +01:00
Jermolene
a2493f80a9 Add support for zip files 2015-02-23 11:57:16 +01:00
Jermolene
6a497eff6c Add prototype stacked storyview 2015-02-23 11:28:50 +01:00
Jermolene
4dd2b38faa Make tiddler frames clickable
With this enhancement, clicking on a tiddler in the story view will
navigate to that tiddler. This is needed for eg the stacked storyview,
where we want to be able to click on tiddlers to bring them to the
front of the stack.

There are some problems though - as things stand, clicking on a tiddler
in classic storyview will scroll to the top of that tiddler.
2015-02-23 11:28:36 +01:00
Jermolene
23981bc2fd Adjust tiddler shadows
Previously the shadow was to the bottom right. Overlapping tiddlers
look better if the shadow seeps out from each of the sides of the
tiddler
2015-02-23 11:27:17 +01:00
Jermolene
d7c0bda15d Don't use sticky titles by default
Layout bugs with position: sticky in Firefox mean that we probably
shouldn’t have sticky titles as the default. Rather than reverting to
putting them in a separate theme, it is proposed to expose the sticky
titles setting in Vanilla theme tweaks.
2015-02-23 11:25:10 +01:00
Jermolene
05c3de3245 Extend list widget to invoke storyview for refreshes 2015-02-23 11:24:03 +01:00
Jermolene
950a86c7b7 Extend link widget with additional attributes
Add “tabindex”, “draggable” and “tag” attributes
2015-02-23 11:23:44 +01:00
Jermolene
0bd2ec50e1 Add stacked storyview plugin 2015-02-23 11:21:57 +01:00
Jermolene
682cfebe73 Adjust tiddler shadows
Previously the shadow was to the bottom right. When tiddlers overlap
(as with the stacked storyview) it makes them “pop” more if the shadow
extends round all sides of the tiddler.
2015-02-23 11:21:32 +01:00
Jermolene
122a6f043d Temporarily remove position sticky from titles
Firefox bugs with position:sticky mean that we probably shouldn’t have
sticky titles turned on by default.

Previously, sticky titles were packaged into a pluggable theme. Now, I
think it may make more sense to make the sticky titles status be a
theme tweak for the Vanilla theme.
2015-02-23 11:20:41 +01:00
Jermolene
83011ddcff Turn tiddler frames into links
By turning the tiddler frame into a link it is now possible to click on
a tiddler to navigate to it. This is needed for the new
stacked-storyview, but it also useful in other storyviews.

Note that there are currently some issues. For example, in classic
storyview, clicking on a tiddler will scroll to the top of it, which
isn’t helpful if you’ve scrolled halfway down a long tiddler.
2015-02-23 11:18:47 +01:00
Jermolene
0da1f3f554 Extend list widget to pass refreshes to the story view 2015-02-23 11:17:00 +01:00
Jermolene
60e6b584bf Extend link widget with new attributes
Add “draggable”, “tag” and “tabindex” attributes to link widget.
2015-02-23 11:16:44 +01:00
Astrid Elocson
ad9aa58528 Overhaul the macro and variable documentation 2015-02-21 23:03:24 +00:00
Jermolene
a507d58211 Use position:fixed for the drop indicator 2015-02-21 11:12:38 +00:00
Jermolene
ccc2f6d153 Revert "Update documentation for action-setfield widget"
This reverts commit 3746b1b9e8.
2015-02-21 09:40:41 +00:00
Jermolene
73a188d411 Improve description for help plugin 2015-02-21 08:53:04 +00:00
Jermolene
70e419824f Add first pass of help panel
This is just an idea really.

The help plugin is only included in the tw5.com wiki; the idea is to
also include it in the empty.html wiki, either as a plugin or as part
of the core.

If it stays as a plugin, the idea would be to have different help
plugins for different languages.
2015-02-20 22:44:55 +00:00
Jermolene
2d2924d918 Add help icon 2015-02-20 22:42:25 +00:00
Jermolene
d004c9f951 Provide styles for selected page control buttons 2015-02-20 22:42:14 +00:00
Jermolene
bba4794c0a Coding style updates
@welford there were some minor tweaks with whitespace, coalescing
consecutive var statements, camelcase rather than underscores in
variable names.
2015-02-20 22:17:28 +00:00
Jeremy Ruston
7eeb286551 Merge pull request #1517 from welford/static_export_macro
bug fix
2015-02-20 22:11:38 +00:00
James Welford Anderson
1901702557 bug fix
Createdirectory is removed as $tw.utils.createFileDirectories does it's
work

Fixed a bug for when tv-get-export-path returns null.
2015-02-21 07:06:59 +09:00
Jermolene
a80b20e8df Merge branch 'welford-static_export_macro' 2015-02-20 21:56:18 +00:00
James Welford Anderson
cf59e7a71b re-add outputpath variable 2015-02-21 06:49:34 +09:00
James Welford Anderson
ee6b6a0f0c add macros for custom statically exported paths/links/images
tv-get-export-path tells render tiddlers where to export files
tv-get-export-image-link tells images.js where to look for images
tv-get-export-link tells tells link.js where to look for links to other
exported tiddlers
2015-02-21 06:45:40 +09:00
Jermolene
3df341621d Alternative fix for unnecessary startup scrolling
@aelocson here’s an alternative fix for #981, as discussed in
https://github.com/Jermolene/TiddlyWiki5/commit/691e5719a4ff74a04d389bd1
26ba2a69e7651a2a#commitcomment-9848682

It does seem a lot nicer. It avoids the problem you raised, and also
avoids scrolling when a permalink is used.

I suspect that we’d need to make the hard-coded 50 pixels be
configurable.
2015-02-20 20:04:18 +00:00
Jermolene
3746b1b9e8 Update documentation for action-setfield widget 2015-02-20 19:33:17 +00:00
Jermolene
ead6eb00d4 Revert "Merge pull request #1509 from welford/static_export_macro"
This reverts commit b2b8006b58, reversing
changes made to e7e16137b2.

@welford my apologies it turns out there are a couple of problems, I’ll
comment more on the pull request
2015-02-20 18:39:13 +00:00
Jeremy Ruston
b2b8006b58 Merge pull request #1509 from welford/static_export_macro
Static export macro for custom paths
2015-02-20 18:15:43 +00:00
Jeremy Ruston
e7e16137b2 Merge pull request #1512 from aelocson/plugin-descriptions
Consistent plugin descriptions
2015-02-20 18:08:34 +00:00
Jermolene
9e9b9a3bf1 Avoid navigating to an empty title
Fixes #1515
2015-02-20 16:19:53 +00:00
Jermolene
396efedc3f Update tests for 1e9e1a1fdc 2015-02-20 16:19:06 +00:00
Jermolene
1e9e1a1fdc Single quotes should be HTML encoded
As raised here:
https://groups.google.com/d/topic/tiddlywiki/nYvgcImvBt8/discussion
2015-02-20 16:09:38 +00:00
Jermolene
50cf85ae86 Move arrows to the left in the explorer view 2015-02-19 13:58:27 +00:00
Jermolene
4931462981 Remove index numbers from explorer view 2015-02-19 13:58:09 +00:00
Jeremy Ruston
6c62954116 Merge pull request #1505 from pmario/fix-search-path-runtime-error
Fix trailing semicolon in TIDDLYWIKI_EDITION_PATH
2015-02-17 20:56:14 +00:00
Astrid Elocson
28f78730ba Consistent plugin descriptions 2015-02-17 10:28:54 +00:00