1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-09 11:29:58 +00:00
Commit Graph

5899 Commits

Author SHA1 Message Date
Jermolene
bd211ea082 Extend set variable widget to work with filters 2014-11-13 21:39:38 +00:00
Jermolene
fdc272bff4 Improve styling of search buttons 2014-11-13 21:39:38 +00:00
Jermolene
e0041d8483 Move page export button next to import 2014-11-13 21:39:38 +00:00
Jermolene
dcac3b27b7 More icon tweaks 2014-11-13 21:39:38 +00:00
Jeremy Ruston
13837a6f30 Merge pull request #1080 from xcazin/frn
fr-FR translation of exporter file descriptions
2014-11-13 17:15:22 +00:00
Xavier Cazin
025f56ebab fr-FR translation of exporter file descriptions 2014-11-13 17:35:47 +01:00
Jermolene
64d661f6e4 Update alltiddlers.template.html to use new exporter 2014-11-13 16:04:56 +00:00
Jermolene
4bf6fe7fe9 Fix JSON deserialiser to allow all fields
Previously we were filtering to a small set of known fields (which was
implemented at the beginning of TW5 as part of the build process for
TW2).
2014-11-13 16:04:30 +00:00
Jermolene
4dec771c20 Make exporter descriptions translatable 2014-11-13 16:03:09 +00:00
Jermolene
8e685e5150 Allow includeWikis to be read-only
Hopefully this will help resolve issues that @xcazin and @pmario have
been having with using the client-server configuration to prepare
translations of the TW5 docs.
2014-11-13 12:28:51 +00:00
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