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

256 Commits

Author SHA1 Message Date
afeldspar
7492086f31 add explanation on 'set' attribute
Attempted a fix for the problem I raised in #2038, by adding an explanation of why a TextReference in a button widget's 'set' attribute will lack the curly braces seen nearly anywhere else a TextReference is used as a widget attribute.
2015-10-20 21:15:58 -04:00
Tony Grosinger
2e1ad771d6 Whitespace clean up and missing close tag
Clean up for CodeblockWidget documentation.
2015-10-04 13:05:46 -07:00
Tony Grosinger
650a9a76df Add documentation to tw5.com for CodeBlock widget
Partial fix for #1985
2015-10-03 16:48:47 -07:00
Tobias Beer
1b2d54b4bf wording for docs 2015-09-25 15:43:31 +02:00
Tobias Beer
6b3fc8d538 updated #1480 "undefined value removes field or index"
when $value is unspecified, $action-setfield removes field or index...

modified

setText() — $:/core/modules/wiki.js
invokeAction() — $:/core/modules/widgets/action-setfield

demo

http://tobibeer.github.io/tw/batch/#ActionSetField-RemoveIndex
2015-09-25 15:20:37 +02:00
Florent V.
bbc802e228 Fix the title
to match the one required by the "FieldManglerWidget" tiddler's link to examples, broken for now. (pointing to a non existant tiddler because of the wrong name)
2015-09-16 04:55:07 +02:00
Jermolene
e5cd8313a0 Update actionsetfield widget to allow timestamp to be preserved 2015-08-06 18:17:09 +01:00
Jeremy Ruston
d327d6fbed Merge pull request #1868 from idoine/patch-44
Update FieldManglerWidget.tid
2015-07-08 16:29:46 +01:00
Marc Viot
5be980c64e Rename FieldMangler Widget (Examples) to FieldMangler Widget (Examples).tid 2015-07-06 19:52:11 +02:00
Marc Viot
5924616ee9 Create FieldMangler Widget (Examples) 2015-07-06 19:46:21 +02:00
Marc Viot
caeb736c2b Update FieldManglerWidget.tid
Add a link to example
2015-07-06 19:09:17 +02:00
Richard Smith
f3d915f578 changed the tag value used in the final example
Because "Introduction" is no longer used on Tiddlywiki.com, so the example is a bit confusing
2015-07-03 14:09:59 +10:00
Jermolene
63f802efda Rename checkbox "invert" attribute to "invertTag"
And update docs
2015-06-26 10:18:15 +01:00
Jermolene
b31803608b Refactor navigator widget configuration
@felixhayashi sorry I should have realised earlier that it’s worth
doing it this way so that we can have different settings for different
story rivers.
2015-06-19 16:44:20 +01:00
Jermolene
61a722c7fd Docs updates 2015-06-19 16:39:47 +01:00
Jermolene
4a30d8772c Update button widget docs 2015-06-19 12:12:41 +01:00
Devin Weaver
f7b2e41f3a Make EditTextWidget docs clearer
This is my attempt to make the EditTextWidget clearer. I found it was
confusing and sent me down the wrong path prompting me to open
issue #1776.

Fixes #1776
2015-06-07 12:02:36 -04:00
Jermolene
09debe56c1 Clarify use of "slider" terminology
Fixes #1735
2015-05-18 17:34:03 +01:00
Jermolene
6942efa628 Add styling for <kbd> elements 2015-05-14 10:16:33 +01:00
nameanyone
29db528d74 RevealWidget state can be a text reference 2015-05-10 03:58:09 -07:00
Vouko
e0ec325afa Update SetWidget.tid 2015-05-02 10:56:24 +02:00
Jermolene
df84e93283 Add position: relative to scrollable widget
So that popups within the scrollable behave correctly.

Fixes #1679
2015-04-27 13:38:20 +01:00
Jermolene
e518c0e88e Fix typo #1681
Thanks @Ishindri
2015-04-27 13:25:43 +01:00
Jermolene
bd6472c1d1 Add style attribute to reveal widget 2015-03-23 15:28:26 +00:00
Jeremy Ruston
e4cc5dca77 Merge pull request #1545 from aelocson/variable-docs
Document the tv-* variables
2015-03-11 21:44:32 +00:00
Jermolene
1808b1597e Support custom HTML element tags for reveal widget 2015-03-10 12:44:47 +00:00
Astrid Elocson
27e6c7bb8d Add links to tv-* variables in LinkWidget.tid 2015-02-28 14:45:22 +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
Astrid Elocson
ad9aa58528 Overhaul the macro and variable documentation 2015-02-21 23:03:24 +00:00
Jermolene
74f423af2a Restoring some of @tobibeer's other edits to ListWidget docs 2015-02-13 22:56:28 +00:00
Jermolene
68165af081 Revert #1330 ("implements list iterator variables")
As discussed on the ticket, there is a problem:

https://github.com/Jermolene/TiddlyWiki5/pull/1330#issuecomment-74339195
2015-02-13 22:42:36 +00:00
danielo515
f20a09532a templates are not clear
The template description is too ambiguous. I tried to use template tiddlers just to realize that the template should be a string. For example a date format.
2015-02-08 20:11:07 +01:00
Roma Hicks
687d6350d4 Added class mechanism to checkbox widget. #1463 2015-02-06 01:02:01 -06:00
Jermolene
3300ed9602 Update action widget docs for 4cd8466adb 2015-01-28 16:31:49 +00:00
Tobias Beer
80631b35ea updated NestedLists, renamed to GroupedLists added tw-code macro
Didn't implement the codeblock widget as suggested here...

https://github.com/Jermolene/TiddlyWiki5/pull/1332#discussion_r22762157

...because it would only return `undefined`.
2015-01-11 11:55:22 +01:00
Tobias Beer
3d61dd1aa9 documentation for #1330
heavily modified ListWidget
extracted NestedLists

added IteratorVariables
2015-01-06 21:18:28 +01:00
Jermolene
95897103ef Update edit-text widget docs 2015-01-04 14:10:13 +00:00
Jermolene
785e1c7789 Tweaks to tiddler widget docs 2015-01-02 17:11:37 +00:00
Tobias Beer
31c9998c62 fixes example and improves readability 2014-12-31 12:38:15 +01:00
Jermolene
d7cd94dbd6 Fix state tiddler used for examples
Putting it in the `$:/state/` namespace ensures that it doesn’t dirty
the wiki

Fixes #1247
2014-12-21 16:21:19 +00:00
Jermolene
5d8dc1dcd9 Update docs for 5.1.6
Also preparing for 5.1.7-prerelease
2014-12-19 15:51:56 +00:00
Tobias Beer
2317840ce6 updated documentation for link-button 2014-12-16 15:36:20 +01:00
Tobias Beer
05a794d5b8 documentation for making buttons look like links
added instructions to button widget documentation
2014-12-15 17:55:56 +01:00
Jermolene
cbc8a6b785 Tweak SelectWidget docs 2014-12-03 17:29:32 +00:00
Erwan Moreau
da541b656c missing verb
also added the begining of the sentence to make it clearer, but maybe not necessary.
2014-11-29 18:59:31 +00:00
Jermolene
7d46afc7b2 Move docs for 5.1.5 release 2014-11-26 11:22:20 +00:00
Evolena
217614b7c6 Update selectWidget example (the tag was deleted) 2014-10-28 17:13:00 +01:00
Jermolene
3d07b11894 Docs update
Fixes #1014 raised by @erwanm
2014-10-27 19:39:41 +00:00
Jermolene
3fea51a08b Reorganise docs updates for 5.1.5 additions
We’ll keep the docs for the new features in the prerelease edition
until the release of 5.1.5. This means that we can continue to build
the tw5.com edition without including the 5.1.5-specific content.
2014-10-25 14:24:01 +01:00
Jermolene
d8248cfba7 Introduce action-setfield widget 2014-10-25 14:02:34 +01:00
Jermolene
c724439a08 Docs update 2014-10-25 14:02:21 +01:00
Jermolene
4a17212576 Enhance height control for edit-text widget
Added the option to disable automatic resizing, and the ability to
specify the minimum height.
2014-10-25 10:09:17 +01:00
Jermolene
da86664a53 Update docs for select widget 2014-10-24 16:52:20 +01:00
Jermolene
1b620387dd Extend the view widget to work with subtiddlers 2014-10-22 14:12:49 +01:00
Jermolene
ba81008951 Docs typos 2014-10-21 13:25:27 +01:00
Jermolene
5c137b9002 Docs for update to browse widget 2014-10-20 16:57:06 +01:00
Jermolene
12e26009ee Allow percentage width and height on image widget 2014-10-19 13:21:20 +01:00
Jermolene
ad13d57523 Use separate state for each slider demo
Fixes #988
2014-10-17 10:02:21 +01:00
Evolena
2fe095fcd1 Fix bad links 2014-10-12 13:59:26 +02:00
Jermolene
03defe4256 Docs cleanup 2014-10-10 10:35:36 +01:00
Jermolene
0dcf54c3b5 Add support for action widgets
This is part of the groundwork for fixing #336
2014-10-08 17:45:26 +01:00
fghhfg
f2e97eeb25 add a example 2014-10-07 00:38:12 +08:00
Jermolene
3048b79a45 Update button widget docs
Fixes #927
2014-10-05 16:33:05 +01:00
Jermolene
115245a632 Improve storyview error detection
Fixes #912
2014-09-27 10:34:59 +01:00
Jermolene
13290692de Update docs for select widget
How’s this @danielo515?
2014-09-22 10:42:41 +01:00
Jermolene
3ad4febc15 Clarify select widget docs 2014-09-19 15:28:08 +01:00
Jermolene
1b0eec143e Refine preliminary list macro
@pmario: I’ve taken your suggestion and made the HTML element type(s)
be macro parameters.
2014-09-17 12:13:24 +01:00
Jermolene
bc985553ed More reference docs mangling 2014-09-11 15:52:47 +01:00
Jermolene
e20ef97c27 More mangling of reference docs 2014-09-11 00:06:19 +01:00
Jermolene
def4aca200 Update filter docs 2014-09-10 23:42:13 +01:00
Jermolene
ccd916ca7c Add "multiple" attribute to browse widget
And default to non-multiple upload; that’s enough to enable the ability
to take photos/videos directly on iOS
2014-09-10 21:54:52 +01:00
Jermolene
89fd5379dd Change "tw-*" variables to "tv-*" 2014-08-28 22:28:02 +01:00
Jermolene
2f69ea362c Rename "tw-*" messages to "tm-*" 2014-08-28 21:43:44 +01:00
Jermolene
f223310d34 Yet more "tw-*" -> "tc-*"
Part of #764
2014-08-28 19:41:29 +01:00
Jermolene
a1ec52c5cb Rename more "tw-*" classes to "tc-*"
Part of #764
2014-08-28 19:08:31 +01:00
Jermolene
8b10994cfe Rename more "tw-*" classes to "tc-*"
Part of #764
2014-08-28 18:59:35 +01:00
Jermolene
787481a804 Change more "tw-*" classes to "tc-*"
Part of #764
2014-08-28 18:21:08 +01:00
Jermolene
4a1c530da7 Rename "tw-tiddlylink-*" classes to "tc-tiddlylink-*"
Part of #764
2014-08-28 18:13:46 +01:00
Jermolene
347d5c0148 Update link widget docs 2014-08-28 09:32:19 +01:00
Jeremy Ruston
a9279fcfed Merge pull request #742 from xcazin/fr-FR
Recent fr-FR translations plus small typo in RevealWidget documentation
2014-08-20 13:40:52 +01:00
Jermolene
fbf307c648 Add alt attribute to image widget 2014-08-20 10:00:34 +01:00
Xavier Cazin
c16f5b6b67 Typo in RevealWidget documentation 2014-08-19 17:08:15 +02:00
Jermolene
ec3827e5a4 Docs typo 2014-08-04 13:31:52 +01:00
Jermolene
17f78ae9c1 Docs update 2014-08-02 13:39:02 +01:00
Jermolene
d6cafa9da1 Updated docs for the edit text widget 2014-07-25 13:09:30 +01:00
Jermolene
f793816dfa Add subtiddler support to the transclude widget
Useful to be able to reach into plugins. It will enable us to do things
like extract readmes from themes that are not active.
2014-07-17 18:41:20 +01:00
Jermolene
f08f57c5d2 Extend checkbox widget to toggle fields 2014-07-12 09:09:13 +01:00
Bram Chen
856110374f Typo 2014-07-04 10:59:41 +08:00
Jermolene
617963bd88 Update button widget docs 2014-06-17 10:49:13 +01:00
Jermolene
06b0f9adb7 Added aria-label attribute to link widget
And document it for the button widget
2014-06-17 07:54:10 +01:00
Jermolene
9ab0c84140 Support global macros via the importvariables widget
The new importvariables widget imports macro/variable definitions from
the specified tiddlers and makes them available to its children.

Allows us to split PageMacros up into separate tiddlers.

We still support loading macros from $:/core/ui/PageMacros to help
people upgrading.

Fixes #644 and #559
2014-06-12 18:01:33 +01:00
Jermolene
9547a1f01c First pass at external image support
A bunch of little changes that together enable external image support.
Try:

```
tiddlywiki editions/tw5.com --verbose --build externalimages
```

Then open `externalimages.html`, look for the images in the more/types
tab of the sidebar, open them and verify that they are set with an
external SRC attribute, not a data URI.
2014-06-12 08:36:30 +01:00
Jermolene
fc6d96672d Another select widget demo 2014-06-06 09:33:24 +01:00
Jermolene
3182a2d599 Add first pass at select widget 2014-05-31 18:37:43 +01:00
Jermolene
6436dc22a7 Fix obsolete transclude widget docs 2014-05-26 18:01:53 +01:00
Jermolene
f8708874bc Update reveal widget docs 2014-05-13 14:50:45 +01:00
Jermolene
ffb6c8ab81 Add hex colours to tag manager
Fixes #597
2014-05-05 18:42:25 +01:00
Jermolene
433ac8e96e Typo fix 2014-04-17 12:52:38 +01:00
Jermolene
ad4b03506a Added wikitext image support
We’ve added a parser to recognise the `[img[URL or tiddler title]]`
format, and an associated image widget.
2014-04-17 12:52:32 +01:00
Jermolene
260d3ad8c0 Docs typo 2014-04-13 09:23:57 +01:00
Jermolene
776bf29afc Update LinkCatcherWidget docs 2014-04-09 11:31:36 +01:00
Jermolene
6d43b4e8dc Update link widget docs 2014-04-08 14:12:27 +01:00
Jermolene
b7f674c51a First pass at refactoring filter execution
This is the beginning of addressing #523.
2014-04-03 20:49:16 +01:00
Jermolene
8b813ccb43 Correct typo 2014-03-25 22:17:31 +00:00
Jermolene
d3e178becc Add scrollable widget
A new widget to handle scrollable areas. We’ll use it both for the
story river and the sidebar.
2014-03-25 14:26:54 +00:00
Jermolene
f649b5b037 Extend button widget to set text references
Previously the `set` attribute could only be used to identify a
tiddler, not a full text reference.
2014-03-15 17:02:13 +00:00
Jermolene
53755d87c8 Added tooltip examples to the link widget 2014-03-09 09:16:31 +00:00
Jermolene
289bec0fd5 Parse the wiki link tooltip as wiki text 2014-03-08 16:06:57 +00:00
Jermolene
a5a2c718b1 Add support for a tooltip on the link widget 2014-03-06 12:38:47 +00:00
Jermolene
bd750a21e2 Add docs for keyboard widget 2014-03-02 19:30:13 +00:00
Xavier Cazin
63cb0eb3db In the examples, missing blank lines prevented the revealed text
to display as a block when clicking on buttons.
2014-02-27 19:21:04 +01:00
Jermolene
cd09cf3874 Better documentation for widget messages 2014-02-26 19:55:42 +00:00
Jermolene
2ab0facf3a Extend button widget to allow navigating to a tiddler
Fixes #327
2014-02-22 16:13:16 +00:00
Jermolene
639fd4be20 Docs updates 2014-02-22 08:53:58 +00:00
Jermolene
68bcbff753 Rough and ready control over bitmap editor line width and colour
Fixes #414
2014-02-21 14:06:04 +00:00
Jermolene
ca0c352278 Extend the transclude widget to fallback to displaying it's child nodes if the target isn't defined 2014-02-12 21:38:37 +00:00
Jermolene
b5225f5ca8 Remove obsolete VideoWidget docs 2014-02-12 20:04:29 +00:00
Jermolene
ecad2bf7a8 Add better control over whether tiddlers are transcluded in block or inline mode 2014-02-12 17:59:28 +00:00
Jermolene
5c66bc6dbc Update the reveal widget to allow control over content retention
Thus bringing back the animation of the opening and closing of the info
panel.
2014-02-12 08:32:19 +00:00
Jermolene
6cb44ac0cc Fix typo in field mangler docs
Fixes #358
2014-01-25 14:07:32 +00:00
Jermolene
95cb99adb9 Enhance text widget to optionally use "text" attribute
This lets us use the text widget to render text in macros that we don’t
want to be wikified.
2014-01-19 21:45:55 +00:00
Jermolene
bad2e36e45 Remove obsolete itemClass attribute on the list widget 2014-01-12 17:01:18 +00:00
Jermolene
d57010d2fb Docs updates 2014-01-07 11:57:42 +00:00
Jermolene
6386e60896 Docs for the radio widget 2013-12-12 20:37:05 +00:00
Jermolene
7e151a98da Docs update
Fixes #247

@giffmex - I appreciate that I haven’t fixed everything you mentioned
2013-12-12 18:16:16 +00:00
Jermolene
2ffcbb76eb Remove modifier and creator fields from tiddlers in tw5.com
Keeps things tidier
2013-12-11 07:57:12 +00:00
Jermolene
939ad11eae Rename the 'setvariable' widget to 'set'
Sleeker.
2013-11-15 18:31:39 +00:00
Jermolene
a7bb331412 Extend view widget so that it falls back to its content if the field/property is empty or missing 2013-11-09 17:30:06 +00:00
Jeremy Ruston
1f75866f07 Fixed typo 2013-11-08 14:17:52 +00:00
Jeremy Ruston
786f17d3b4 Docs update for list widget 2013-11-05 08:52:46 +00:00
Jeremy Ruston
adf16eeaf3 Update macrocall widget to allow type of input and output to be specified
Means that you can invoke macros without parsing them as wikitext.
2013-11-04 10:00:02 +00:00
Jeremy Ruston
ed6fd475ab Add 'default' attribute to button widget
This allows us to do things like tab controls properly.
2013-11-04 09:59:26 +00:00
Jeremy Ruston
fd70aa8c45 Get rid of the qualifyTiddlerTitles hack
Now, finally, we can implement qualifyTiddlerTitles as a macro.
2013-11-02 15:42:24 +00:00
Jeremy Ruston
0b1f0a5fab Refactor the list widget to get rid of some hacks
As promised.
2013-11-02 10:12:55 +00:00
Jeremy Ruston
80e4ab9676 Docs fixes
Thanks @pmario
2013-11-01 15:00:43 +00:00
Jeremy Ruston
1d0eed6957 Docs updates 2013-11-01 15:00:17 +00:00
Jeremy Ruston
363e90fca8 Remove version widget in favour of widget macro 2013-11-01 13:22:06 +00:00
Jeremy Ruston
fbc1f5e5f6 Lots and lots and lots of docs updates
Now we've got up-to-date skeleton documentation for all the widgets
2013-10-31 22:03:40 +00:00
Jeremy Ruston
deae9e1f7e Update some widget docs 2013-10-30 14:30:22 +00:00
Jeremy Ruston
bf48e6f8a1 Rename tiddlerTitle variable to currentTiddler 2013-10-28 23:40:45 +00:00
Jeremy Ruston
d3df2c5860 Docs updates 2013-10-23 23:12:19 +01:00
Jeremy Ruston
c4d7401f02 Lots of docs updates 2013-08-30 20:06:23 +01:00
Jeremy Ruston
1ebe0d39b2 Get rid of the 'docs' tag
It was unnecessary, since everything here is documentation
2013-08-25 21:41:00 +01:00
Jeremy Ruston
be06257430 Split "transclude" widget into a separate "tiddler" and "transclude" widget
Belatedly realised that the design would be clearer without these two
separate concepts being conflated into a single widget.

As a result of this change, any other widget or template that generates
transclude widgets has needed adjustment.
2013-08-24 16:45:45 +01:00
Jeremy Ruston
d4a571ae79 Docs updates 2013-08-20 15:18:15 +01:00
Jeremy Ruston
bc56253479 Extend the list widget to allow the generated HTML elements to be controlled
This makes it possible to generate UL or OL lists as well as the
current divs and spans.

This feature is clearly necessary but I'm not very happy with it. It
feels as though the syntax should be modifying a UL tag to specify the
extra information required to generate the list, rather than turning
the list widget to indirectly specify it's elements.
2013-08-19 11:08:00 +01:00
Jeremy Ruston
3426c89330 Update list widget docs 2013-08-18 20:42:17 +01:00
Jeremy Ruston
6be8afe49f Extend the list widget to allow it to render each element as a macro
This will enable us to drop several existing widgets: fields,
fieldlist, fieldgrid
2013-08-13 19:33:45 +01:00