1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-10-31 23:26:18 +00:00
Commit Graph

5571 Commits

Author SHA1 Message Date
Jermolene
e175746122 Fix problem with CSS macros
In practice the macros are always invoked in inline mode, meaning that
the triple braces weren’t getting parsed correctly. Now we switch to
inline code
2014-11-10 15:30:35 +00:00
Jermolene
3035badf14 Fix problem with done button not saving unchanged tiddlers 2014-11-10 12:56:33 +00:00
Jermolene
c44a53e670 Add new tutorial 2014-11-10 09:06:01 +00:00
Jermolene
145713e766 Don't confirm deleting drafts with no original 2014-11-10 08:49:20 +00:00
Jermolene
1dfa6f369b Smarter cancel edit behaviour
If we cancel editing a tiddler that doesn’t exist, then we no longer
show the resulting missing tiddler.
2014-11-09 21:47:48 +00:00
Jermolene
3b08b5e9dd More resilience to Tiddler.isEqual() 2014-11-09 21:47:00 +00:00
Jermolene
cea0b74265 Improve detection of modified drafts
If the target tiddler of the draft is missing (as happens after
clicking “new tiddler”), then we count the draft as modified if the
text is not empty.

Also we count the the draft as modified if the draft title has been
changed
2014-11-09 21:46:41 +00:00
Jermolene
5ded01f2c6 Fix problem with blank values in action-setfield widget
One manifestation of this problem was that it wasn’t possible to use
the edit template to add a field without specifying a value
2014-11-09 17:15:40 +00:00
Jermolene
9bbd599f5c Refine refreshing of tiddler widget
We need to refresh if there is a change in the state that we copy to
variables.
2014-11-09 17:10:18 +00:00
Jermolene
d2ab7c5986 More action-deletetiddler fixes 2014-11-09 16:53:33 +00:00
Jermolene
8c67e11365 Fixes to action-deletetiddler widget 2014-11-09 16:45:14 +00:00
Jermolene
23ca729805 Updated icons 2014-11-09 16:19:25 +00:00
Jermolene
2c5d241d96 Improve error message for missing commands 2014-11-09 14:49:33 +00:00
Jermolene
769842c4db Improved fix for h2 title bar markup
Fixes the problem @pmario raised at
https://github.com/Jermolene/TiddlyWiki5/commit/09a3f94d79fc6eacbfd46c86
594748e996191eb2#commitcomment-8488743
2014-11-08 17:51:35 +00:00
Jermolene
1255060a5a Retract view template title change in 09a3f94d79
As @pmario points out, the change interferes with the floating of the
toolbar buttons:

https://github.com/Jermolene/TiddlyWiki5/commit/09a3f94d79fc6eacbfd46c86
594748e996191eb2#commitcomment-8488743
2014-11-08 17:39:58 +00:00
Jeremy Ruston
187ec2e76c Merge pull request #1070 from pmario/german-translations
new edit template texts
2014-11-08 17:30:24 +00:00
Jeremy Ruston
f66ec88716 Merge pull request #1071 from xcazin/frn
fr-FR new EditTemplate strings
2014-11-08 17:30:08 +00:00
Xavier Cazin
d03c214425 fr-FR new EditTemplate strings 2014-11-08 13:02:58 +01:00
Mario Pietsch
70b07470d6 new edit template texts 2014-11-08 11:01:08 +01:00
Jeremy Ruston
db8e43da23 Merge pull request #1068 from BramChen/master
Update chinese translations for recently accessibility fixes
2014-11-08 08:40:18 +00:00
Jermolene
853f5fd064 Add some logging for file import/paste 2014-11-08 08:37:08 +00:00
Bram Chen
f6d234b88c Update chinese translations for recently accessibility fixes 2014-11-08 09:54:40 +08:00
Jermolene
ae756ddff0 Docs update 2014-11-07 21:32:21 +00:00
Jermolene
ec4beb7f0f Fix bug in navigator 2014-11-07 21:15:52 +00:00
Jermolene
e2a7b35211 Fix toolbar buttons for introduction edition
To take account of recent switcharound
2014-11-07 21:15:40 +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
bd73990438 Fix toolbar buttons for introduction edition 2014-11-07 17:04:09 +00:00
Jermolene
16ef49c66d Release note update 2014-11-07 17:03:59 +00:00
Jermolene
028bf94281 Release note update 2014-11-07 14:54:52 +00:00
Jermolene
91a7c39791 Update modal handling to allow variables to be passed
@felixhayashi I’m afraid I haven’t used your pull request as there were
a few details that I wanted to do differently. The main change is that
these changes allow both a param string and hashmap to be specified.
2014-11-07 14:54:46 +00:00
Jermolene
c7971d3da3 Update new tiddler message handling to accept title and fields
Now you can create a new tiddler with both a template and additional
specified fields.
2014-11-07 14:53:37 +00:00
Jermolene
d93c19daaa Improve the format of widget message parameters
In 5.1.3 we introduced the idea that the `event.param` variable could
optionally be a hashmap, allowing multiple values to be passed with the
message.

This change moves the hashmap to a separate `event.paramObject`
variable, allowing us to pass both a hashmap and a param string.
2014-11-07 14:52:32 +00:00
Jeremy Ruston
b851fe1800 Merge pull request #1065 from pmario/german-translations
tagmanager info heading
2014-11-07 08:51:47 +00:00
Mario Pietsch
421e913dd3 tagmanager info heading 2014-11-07 09:12:33 +01:00
Jermolene
9ac9239c51 Default tiddler info to the fields tab 2014-11-06 21:27:59 +00:00
Jermolene
4d061d0fee Provisionally extend search results to list title matches separately
I’m not sure whether this is a good solution. Nor am I keen on the
horizontal rule to separate the two groups of results.
2014-11-06 20:58:33 +00:00
Jermolene
157f8faa6b Update advanced search standard to use search tabs
We reuse the tabs introduced for the sidebar search results
2014-11-06 20:57:31 +00:00
Jermolene
8260d000be Extend search filter to allow field to be specified 2014-11-06 20:56:32 +00:00
Jermolene
f1a2d8c2b9 Fix typo in action-setfield widget 2014-11-06 19:35:50 +00:00
Jermolene
12aec57086 Merge action-setfield and action-setfields widgets
Less confusion, hopefully.
2014-11-06 19:27:14 +00:00
Jermolene
24956f036e Fix docs typos
Thanks @Evolena
2014-11-06 18:37:08 +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
efeeab45f8 Simplify action-setfield widget 2014-11-06 18:23:59 +00:00
Jermolene
0a2a5184c4 Add action-deletetiddler widget 2014-11-06 18:23:48 +00:00
Jermolene
741f853986 Add action-setfield widget 2014-11-06 18:06:47 +00:00
Jermolene
a18af9b760 Rename the action-setfield widget to action-setfields
It makes more sense, and allows us to add a widget: `<$action-setfield
$tiddler=“title” $name=“fieldname” $value=“fieldvalue”/>`
2014-11-06 17:45:03 +00:00
Jermolene
0a986ccd99 Experiment with alternative view tiddler toolbar default buttons
The “info”, “edit”, “close” troika has been a feature of TW5 since the
very early days. Recent discussion in Hangout #67 has made me question
whether we wouldn’t be better off with the defaults in this commit:
“more”, “edit”, “close”.

The rationale is that the primary purpose of the “info” button has
become gaining access to the tools that haven’t been elevated to being
toolbar buttons. Most of the rest of the content of the info panel is
pretty arcane. So let’s try it for a few days - I’d appreciate any
feedback.
2014-11-06 13:39:28 +00:00
Jermolene
0bb8e08edc Provisionally make tag pill foreground colour be responsive
With this commit tag pills will now choose for the foreground colour
either the current palette “foreground” or “background” colours,
according to which has the higher contrast. It’s something @gernert has
expressed an interest in in the past, and I’ve tended to agree that it
is a nice piece of polish. It opens up the possibility of paler colours
for tag pills than are currently possible.

The trouble is that in order to implement it I’ve had to bring in a
third party library for parsing CSS colours. It weighs in just over
9KB, making quite a lot of weight for such a small feature. I don’t see
any other immediate uses for the colour parsing library either.

So, I’m undecided at the moment whether this should stay in the core.
2014-11-06 13:35:48 +00:00
Jermolene
73491f14dd Update highlight plugin configuration to support tabs
The technique we were using to configure the library was incorrect.
2014-11-06 13:27:24 +00:00