Jermolene
23fdc94417
Fix problem with import button tooltip
2014-12-09 15:35:16 +00:00
Jermolene
957a8608ad
Sort language switcher by description
...
Thanks @BramChen
2014-12-06 15:55:28 +00:00
Jermolene
ab129a620e
Add basic tag macro
2014-12-06 13:44:08 +00:00
Jermolene
0e62d8f648
Fix problem with tm-add-field for existing fields
...
Fixes #1197
2014-12-05 10:20:25 +00:00
Jermolene
51f8e58d5f
Sort languages by description instead of title
2014-12-04 16:51:13 +00:00
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
bb74be7ac1
Fix problem with static "all tiddlers" export
2014-12-04 07:58:30 +00:00
Jermolene
870006d2b9
Remove extraneous space after "more tiddler actions" button
...
Fixes #1172
2014-12-03 16:48:14 +00:00
Jermolene
d4abd1722c
Fixes for tabbed TOC
...
Re-fixes #1185
2014-12-02 23:47:23 +00:00
Jermolene
1e7d9bd3cd
Move tabbed toc heading into default template
...
Fixes #1185
2014-12-02 23:05:54 +00:00
Jermolene
b220c19fb7
Add a template to the tabbed TOC macro
...
Fixes #1177
2014-12-02 20:27:02 +00:00
Jermolene
5154a25ab9
Add tooltip to browse widget
...
Fixes #1179
2014-12-02 19:16:38 +00:00
Jermolene
a8ee6c7b7c
Add experimental system tiddler browser
2014-12-02 15:25:27 +00:00
Jermolene
56a0809768
Fix problem with edit-bitmap widget static rendering
...
The ‘introduction’ edition contains an edit-bitmap widget that was
failing under Node.js because the fake dom doesn’t support canvas.
2014-11-27 23:03:27 +00:00
Jermolene
962cdf500a
Fix link dragging to text editors
...
We were just adding double square brackets if the title contains
spaces. We should be adding them if the title is not a valid wikilink.
2014-11-26 11:13:05 +00:00
Jermolene
1600beb193
Move the wikilink regexps into global config
2014-11-26 11:12:25 +00:00
Jermolene
cb9506a166
Fix problem with content-type popup
...
Thanks @tobibeer
2014-11-25 22:03:34 +00:00
Jeremy Ruston
92b957f6f8
Merge pull request #1118 from welford/hook
...
Add hooks mechanism and th-opening-default-tiddlers-list hook
2014-11-25 19:25:00 +00:00
Jermolene
996eecc79a
Coding style cleanup
2014-11-25 13:49:22 +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
Jeremy Ruston
37ef5da20f
Merge pull request #1125 from tobibeer/fix-toolbar-button-spacing
...
fixed toolbar button spacing
2014-11-24 09:37:02 +00:00
Skeeve
79e428757b
allow empty state tiddlers and missing state attributes act as missing state tiddlers
...
As described here: https://groups.google.com/d/msg/tiddlywikidev/ODJhIw6-UjQ/3ZKrlA4B810J
I think it would be a good small enhancement as the reveal widget can now be used in previously impossible ways.
2014-11-24 07:38:58 +01:00
Tobias Beer
4def52df80
removed some more trailing blanks from PageControls
...
Note: I did NOT test the results as I have yet to figure out how to make
node.js...
* actually run the server without a 403
* build the core tw after me having made changes
2014-11-23 21:04:13 +01:00
Tobias Beer
a84dc61303
fixed toolbar button spacing
...
* removed trailing whitespaces in button tids
* defined a global left margin for buttons set to 5px
* slightly less than in view-mode before
* slightly more than in edit-mode before
* but visually more appealing to me
* leaves a wee more room for the title to unfold
2014-11-23 17:32:29 +01:00
Jermolene
5708b76d6e
Tweak close button in advanced search
2014-11-23 16:07:58 +00:00
Jermolene
84bebb65b7
Fix advanced filter search clear button
...
Thanks @BramChen
2014-11-23 16:02:08 +00:00
Jermolene
738393285f
Tweaked default tag background
2014-11-22 17:06:44 +00:00
James Welford Anderson
90caf5bf42
Add hooks mechanism and th-opening-default-tiddlers-list hook
...
see: https://github.com/Jermolene/TiddlyWiki5/issues/1064
2014-11-23 01:11:56 +09:00
Jermolene
e6043b07b9
Update export button to use tiddler title as filename base
2014-11-22 14:19:10 +00:00
Jermolene
d6c5e51501
Fix popup handling in Cecily and Zoomin view
...
Cecily and Zoomin story views use a document.body that is smaller than
the document.documentElement. We were just clearing the popups on
clicks on the document.body Clicks on the document element (ie, on the
background of the page) were not being trapped, meaning that you
couldn’t dismiss a popup.
2014-11-22 10:19:03 +00:00
Jermolene
f786872589
Tweak popup handling of tiddler info panel
2014-11-22 09:42:36 +00:00
Jermolene
1f82ebc7c3
Fix problem with parsing text references
2014-11-21 18:16:22 +00:00
Jermolene
b882a0dff1
Fixes to make nested popups work
...
Thus making the export button a lot more useful
2014-11-21 17:07:03 +00:00
Jermolene
931d47e50c
Fix problem with cloning tiddlers
...
We were ignoring the tags on the template tiddler.
Fixes #1097
2014-11-18 14:13:34 +00:00
Jermolene
002d47b4d9
Fix wrapping of tags in tag manager
...
Now long tags wrap onto multiple lines. I think they look quite good,
and we may want to consider using the same technique in the view
template.
2014-11-18 14:07:00 +00:00
Jermolene
838c3c4eb0
Fix problem with page controls
...
By transcluding the page controls we were changing the current tiddler
2014-11-18 14:06:03 +00:00
Jermolene
f1f318931d
Reinstate translation for "download full wiki"
...
It’s used in `$:/snippets/download-wiki-button`
2014-11-18 14:05:23 +00:00
Jermolene
93cb03eeab
Allow whitespace after \end in macro definitions
...
Fixes #1090
2014-11-18 10:26:20 +00:00
Jermolene
b2550f31c2
Fix whitespace in edit toolbar cancel button
...
The extra newline at the end of the tiddler was showing up as
whitespace in the toolbar.
2014-11-17 16:29:49 +00:00
Jermolene
81481588e0
Add advanced search links to control panel list counts
2014-11-17 16:26:39 +00:00
Jermolene
6c6fda498f
Fix bug in action-setfield widget
2014-11-17 16:26:18 +00:00
Jermolene
05e2b170fb
Icon tweaks
2014-11-17 16:26:09 +00:00
Jermolene
48052130d2
Clarify toc-tabbed macro
2014-11-15 12:29:46 +00:00
Jermolene
21cc5fc1d6
More button tweaks
...
@pmario what do you think of the new “info” button?
2014-11-15 12:14:58 +00:00
Jermolene
47481ed52a
Enhance tabbed toc macro with navigation control
...
Now there are two variants of the macro: the default one opens links
externally, the other opens links internally
2014-11-14 17:06:21 +00:00
Jermolene
a9eab1b8fc
Improve import logging
2014-11-14 10:33:41 +00:00
Jermolene
0ea8cfb1de
Remove obsolete control panel tools tab
...
Now we’ve got the export button instead
2014-11-14 09:46:09 +00:00
Jermolene
5758713014
Tweak home button
2014-11-14 09:24:35 +00:00
Jermolene
1f26428fbc
Tweak home button icon
2014-11-13 22:34:17 +00:00
Jermolene
f5055c0205
Add tabbed table of contents
2014-11-13 21:39:38 +00:00
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
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
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
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
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
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
Jermolene
853f5fd064
Add some logging for file import/paste
2014-11-08 08:37:08 +00:00
Jermolene
ec4beb7f0f
Fix bug in navigator
2014-11-07 21:15:52 +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
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
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
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