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

5489 Commits

Author SHA1 Message Date
Jermolene
d1bbe7253c Remove flicker when resizing textareas
The `EditTextWidget.prototype.fixHeight()` function was defering its
work with `nextTick()`, which led to flickering on all browsers when
typing triggers a resize.
2014-11-13 11:19:21 +00:00
Jermolene
1d49e45deb More icon tweaks 2014-11-13 11:13:29 +00:00
Jermolene
62c265aab0 Icon tweaks 2014-11-12 17:08:51 +00:00
Jeremy Ruston
c9d99f5d92 Merge pull request #1076 from xcazin/frnew
fr-FR translation for new Export-related strings
2014-11-11 18:56:11 +00:00
Jermolene
05f60b03a6 Hide export button from introduction edition 2014-11-11 18:55:56 +00:00
Xavier Cazin
b924bc35b0 fr-FR translation for new Export-related strings 2014-11-11 17:03:41 +01:00
Jermolene
7c6b376bdb Update docs 2014-11-11 15:29:19 +00:00
Jermolene
6375346b04 Revert search filter operator docs update
We only want the docs update in the prerelease
2014-11-11 15:29:11 +00:00
Jeremy Ruston
3f7f04b2ea Merge pull request #1074 from BramChen/master
Chinese translations for export buttons
2014-11-11 12:13:40 +00:00
Jermolene
e69e2c1c91 Require confirmation before deleting non-empty new tiddlers 2014-11-11 11:54:46 +00:00
Jermolene
78735cde96 Refactor dropzone
I want to start figuring out #686
2014-11-11 11:44:00 +00:00
Jermolene
a44f6039bb Tweaks to export button 2014-11-11 11:43:20 +00:00
Bram Chen
e02ffcb969 Chinese translations for export buttons 2014-11-11 10:51:58 +08:00
Jermolene
6fc5c70ace First pass at export button
New export button appears as a page control toolbar button, a tiddler
toolbar button, and a button in the advanced search filter tab.

Initially supports exporting as static HTML, CSV, JSON or `.tid` file.

Still to do:

* Made the exporter descriptions translatable
* Hide the export button by default
* User docs
* Cleaning up the existing templates (eg,
`$:/core/templates/alltiddlers.template.html` should work by
transcluding `$:/core/templates/exporters/Static`)
* Docs for the new macros `exportButton`, `csvtiddlers` and
`jsontiddlers`

Issues:

* OS X Numbers refuses to open CSV files that have been generated in
Chrome, because it thinks they’ve been downloaded from the Internet.
Firefox works OK
* The export button won’t work within the tiddler info panel, or from
the *more* popup (this is because we don’t support nested popups)
2014-11-10 20:59:15 +00:00
Jermolene
147f404a41 Fix search results to be in block mode 2014-11-10 19:55:45 +00:00
Jermolene
13d9c55d5c Updated export button
Made the border a bit thicker
2014-11-10 19:54:36 +00:00
Jermolene
b520efdeb8 Update savers to specify variables, including filename
Now the `tm-download-file` and `tm-save-file` messages use the hashmap
to specify variables to be applied when rendering the tiddler.

We also add a convention that the variable “filename” is used to
specify a filename for the download.
2014-11-10 19:54:19 +00:00
Jermolene
b70b85aa9e Add group headings to default search results 2014-11-10 19:52:37 +00:00
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