1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-27 02:20:28 +00:00
Commit Graph

6200 Commits

Author SHA1 Message Date
Jeremy Ruston
7a326f022b Merge pull request #1529 from felixhayashi/sidebar-default
Option to define the default sidebar tab
2015-02-28 12:13:46 +00:00
Jeremy Ruston
27454dabb1 Merge pull request #1525 from Spangenhelm/patch-1
Adding the missing 'language' type
2015-02-28 12:12:11 +00:00
Jeremy Ruston
f89da8522f Merge pull request #1539 from aelocson/doc-macros-fix
Remove extraneous \end from doc-macros.tid
2015-02-28 12:11:07 +00:00
Jermolene
e884192baf Alternative fix for #1542
As suggested by @aelocson, adjusting the viewport has less impact on
the icon size.
2015-02-28 11:28:58 +00:00
Jermolene
bc0a25bc6c Fix 1px clipping on SVG icons
Fixes #1542
2015-02-28 10:47:38 +00:00
Astrid Elocson
af34b1af05 Remove extraneous \end from doc-macros.tid 2015-02-28 08:16:10 +00:00
Jeremy Ruston
b30d43215c Merge pull request #1532 from aelocson/icon-macros
Macros and styles for tips and warnings
2015-02-27 18:27:57 +00:00
Jeremy Ruston
eb2b877b9b Merge pull request #1533 from simonbaird/master
Revert "Add navigation support to the edit template"
2015-02-27 18:10:52 +00:00
Simon Baird
5713e48541 Revert "Add navigation support to the edit template"
For some reason this is causing the focus to be repeatedly set to
the title field when editing a tiddler's text. Let's revert it for
now.

See Issue #1527.

This reverts commit fdc635007b.
2015-02-27 13:44:24 +10:00
Astrid Elocson
b001c7b558 Macros and styles for tips and warnings 2015-02-26 16:32:00 +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
Felix Hayashi
13f02992f5 changed wrong file 2015-02-25 18:00:02 +01:00
Felix Hayashi
21b738936f setting default sidebar tab 2015-02-25 17:53:32 +01: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
Florent V.
41696e725d Adding the missing 'language' type
What about the 'core-version' field ? Should we add it ? Therefore we will need to add some doc about it. (how to use it correctly etc...)
2015-02-25 03:58:18 +01: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