1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-15 14:24:51 +00:00
Commit Graph

62 Commits

Author SHA1 Message Date
Jermolene
2689e2861b Revert to using fieldmangler for adding fields
In 5.1.5 we switched to using `<$action-setfield>` instead of
`<$fieldmangler>`. The problem was that in the process we lost the
validation of field names, making it possible to create fields with
illegal names

Fixes #1186
2014-12-04 09:39:14 +00:00
Jermolene
cb9506a166 Fix problem with content-type popup
Thanks @tobibeer
2014-11-25 22:03:34 +00:00
Jeremy Ruston
6f0d581d72 Merge pull request #1141 from tobibeer/auto-focus-title-on-edit
#371 focus title field on edit
2014-11-25 13:43:08 +00:00
Tobias Beer
c0834583a0 #371 focus title field on edit
* enhanced edit-text widget with a "focus=true" attribute
* modified title template to make it focus and select by default
2014-11-25 12:39:08 +01:00
Jermolene
719e4d901d Fix problem with tag popup disappearing
Fixes #1137
2014-11-24 16:24:12 +00:00
Jermolene
09a3f94d79 Accessibility fixes
Fixes for accessibility issues raised here:

https://groups.google.com/d/topic/tiddlywiki/C6lSabtpdEI/discussion
2014-11-07 21:15:21 +00:00
Jermolene
92f69d44bf Use action-deletefield widget in edit template fields editor
On the way to deprecating the field mangler widget
2014-11-06 18:32:11 +00:00
Jermolene
da1f9f7d22 Add input box for new field value to edit template 2014-11-06 18:24:33 +00:00
Jermolene
9a6f1f66be Yet more fixing for the Firefox jumping toolbar problem...
See #282
2014-10-10 20:32:12 +01:00
Jermolene
515b556b48 Fix for previous fix
Fix for problem introduced in 25f4ce93ac
2014-10-09 17:51:29 +01:00
Jermolene
25f4ce93ac Fixed truncation of tiddler info panel
Caused by the fix to #282
2014-10-09 17:42:18 +01:00
Jeremy Ruston
5a5fe75289 Merge pull request #782 from pmario/edit-tags-dom
removes the p-tags for the tag edit dropdown in tiddler edit mode
2014-09-04 18:13:21 +01:00
Mario Pietsch
487c4a40ab cover the typeselector in a div-element, because the p-element has unwanted margins 2014-09-03 15:26:40 +02:00
Mario Pietsch
542788bfeb These changes remove the p-tags from the edit-tags dropdown in tiddler edit mode. ... The changes also take effect to the tiddler-type-chooser popup, since it uses the same css classes. 2014-09-03 15:08:51 +02:00
Jermolene
26f3a27e22 More classname tweaks
Thanks @pmario
2014-08-28 22:22:40 +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
995f0e7f29 More conversion of "tw-*" classes to "tc-*"
Part of #764
2014-08-28 19:13:21 +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
1814d502a4 Convert more "tw-*" classes to "tc-*" 2014-08-28 18:47:21 +01:00
Jermolene
787481a804 Change more "tw-*" classes to "tc-*"
Part of #764
2014-08-28 18:21:08 +01:00
Jermolene
b374e10cc6 Rename "btn-icon" class "tc-btn-icon"
Part of #764
2014-08-28 17:29:23 +01:00
Jermolene
d0cbd34bf9 Rename "btn-invisible" class to "tc-btn-invisible"
Part of #764
2014-08-28 17:28:32 +01:00
Jermolene
63d7fd8457 Rename "titlebar" class to "tc-titlebar"
Part of #764
2014-08-28 17:21:40 +01:00
Jermolene
be8c753f28 Fix formatting of edit fields 2014-08-10 09:13:56 +01:00
Jermolene
d357e1706c Allow visible edit fields to be configured
Create a tiddler “$:/config/EditTemplateFields/Visibility/fieldname”
with the text “hide” to hide a particular field
2014-08-01 17:03:53 +01:00
Jermolene
73d7e85e11 Ensure sticky titles theme works in edit mode 2014-07-30 12:19:15 +01:00
Jermolene
4bb8c4e8a7 Add toolbar tabs to control panel 2014-07-29 10:20:13 +01:00
Jermolene
0fae9ee992 Improve handling of popup state
An improvement to 6fb992690d

By making sure that all the popup state tiddlers have the prefix
$:/state/popup/ we can be more selective and just exclude popup state
tiddlers when we save. The end result is that once again other kinds of
state are persisted as expected (eg tabs, and sidebar visibility).
2014-06-22 11:14:11 +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
9b576f2a8d Add group headings to type dropdown
We’re also reverting to the old custom dropdown. Using the select
widget didn’t work out because it couldn’t cleanly work with a text box
allowing custom types to be specified.
2014-06-06 09:32:14 +01:00
Jermolene
c8e98c1567 Use the select widget tiddler content types 2014-05-31 22:39:32 +01:00
nameanyone
157ca0c8aa Rename $:/temp/NewFieldName to $:/temp/newfieldname
As per "Naming of System Tiddlers"
2014-05-15 22:54:46 -07:00
nameanyone
01b3962b2c Rename $:/ShowEditPreview to $:/state/showeditpreview
According to "Naming of System Tiddlers"
2014-05-15 22:47:21 -07:00
Jermolene
84cd296c58 Minor tweaks to shadow warning infrastructure
1. Moved some methods out of boot.js because they are not needed until
after bootup
2. Added alternate message for editing an overridden shadow tiddler
3. Minor style tweaks
2014-04-28 15:16:31 +01:00
Devin Weaver
075cf544e4 Use new get filter from commit 570cad1c 2014-04-27 17:15:42 -04:00
Devin Weaver
3bbe53a58e Move shadowWarning to it's own template segment 2014-04-27 17:15:42 -04:00
Devin Weaver
3be21853e1 Add warning box while editing a shadow tiddler
This addresses the third line item of issue #570

TODO: The filter is not working.
TODO: The message is too genaric and needs help.
2014-04-27 17:15:42 -04:00
Jermolene
9fbe72a877 Rearrange system tag configuration
By rearranging the `[all[]]` operator we are able to ensure that shadow
tiddlers get processed before ordinary tiddlers. This makes it easier
to create custom stylesheets that override the core.
2014-04-18 09:28:14 +01:00
Jermolene
442bc35bcb Remove dropdown from edit mode tags
Firefox didn’t like the nested buttons.

The better fix would be to switch the tag pills to being links instead
of buttons.

Fixes #515
2014-04-10 22:49:46 +01:00
Jermolene
f08c4aa525 Arrange fields alphabetically in the edit template 2014-04-09 11:31:27 +01:00
Jermolene
597b8ca4b1 Ensure fieldnames are not wikified
`__proto__` was being wikified into underlined text
2014-04-06 22:49:59 +01:00
Jermolene
c7b4febae3 Optimise ordering of filter expressions
We get a significant speed improvement of >10% by rearranging filter
operators to bring to the front the operators likely to reduce the size
working list.
2014-04-06 11:50:16 +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
45a362c285 Add a dropdown to tags in edit mode
As discussed in TW Hangout 40
2014-03-26 13:06:11 +00:00
Jermolene
4ee277f41b Fix some missing translateables 2014-02-21 14:27:49 +00:00
Jermolene
c17844b815 Another fix for the block vs inline handline 2014-02-20 22:43:04 +00:00
Jermolene
06a0d21734 Use double linebreaks to indicate content of a widget or html element should be parsed in block mode
Fixes #82.

The old behaviour was to parse the content of a widget or html element
in block mode if the opening tag was followed by a line break. The new
behaviour requires two line breaks.

This makes it possible to include linebreaks more liberally within
wikitext, although care must still be taken to only use double line
breaks when the block mode behaviour is desired.

The code change here is very simple, just a single line change in
html.js. Most of the other changes are to convert various single line
breaks into double line breaks.
2014-02-20 21:42:31 +00:00
Jermolene
3307604130 Make type information translateable 2014-02-16 19:58:53 +00:00