1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-07-01 01:33:16 +00:00
Commit Graph

195 Commits

Author SHA1 Message Date
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
48052130d2 Clarify toc-tabbed macro 2014-11-15 12:29:46 +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
f5055c0205 Add tabbed table of contents 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
62c265aab0 Icon tweaks 2014-11-12 17:08:51 +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
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
9ac9239c51 Default tiddler info to the fields tab 2014-11-06 21:27:59 +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
e145376838 Fix embarrassing typo in timeline macro
Fixes #1061 - thanks @welford
2014-11-05 09:30:40 +00:00
Jermolene
5093cdc860 Exclude drafts from table of contents macros 2014-11-04 11:54:35 +00:00
Jermolene
a3a50dbf6d Extend timeline macro to be able to use different date fields 2014-11-03 17:26:51 +00:00
Jermolene
48696c7d41 Fix extraneous whitespace in toc macro
Accidentally introduced in 3d7b40fbaa
2014-11-02 21:23:17 +00:00
Jermolene
3d7b40fbaa Fix problem with recursion in table of contents macro
Fixes #1036
2014-11-02 21:03:27 +00:00
Evolena
e07cdb7eed Adding recursive sort parameter to toc macro 2014-10-28 10:49:49 +01:00
Jermolene
b0a0859b62 Allow control over default search results tab 2014-10-28 08:31:09 +00:00
Jermolene
55f0b917e0 Hide advanced search toolbar button by default 2014-10-22 16:45:11 +01:00
Jermolene
6681a8e1f2 Add an advanced search toolbar button 2014-10-22 16:30:41 +01:00
Jermolene
5211f9c40c Fix problem with timeline subfilter
Fixes #975
2014-10-15 17:48:45 +01:00
Jermolene
d6dc4c14d7 Add new-journal-here button to viewtoolbar ordering 2014-10-09 17:36:33 +01:00
Simon Baird
00cdd04edd Add a 'new journal here' button
The journal tiddler will be tagged with the name of the current
tiddler. This is similar to how the new here button works.

(Would have liked to reuse the journalButton code which is almost
identical between new-journal-here and new-journal, but I'm not
sure how to do it.)
2014-10-10 02:06:56 +10:00
Jermolene
3682c26817 Move new journal strings into language directory 2014-10-09 13:09:59 +01:00
Jermolene
70984aa39f Add "new here" button
This is a basic “new here” tiddler toolbar button that just creates a
new tiddler tagged with the title of the current tiddler.

@pmario is there anything else required?
2014-10-08 22:02:32 +01:00
Jermolene
d778a90eb0 Make new journal title and tags be configurable 2014-10-08 18:35:25 +01:00
Jermolene
e872f17842 Add a new journal page toolbar button
Spot the easter egg with the toolbar button…

Fixes #336
2014-10-08 17:46:34 +01:00
Xavier Cazin
c26bd4c5a8 Tweak of the list-links macro in order to display caption fields if present 2014-09-28 21:11:58 +02:00
Mario Pietsch
59f04ffd31 add class parameter to list-links macro 2014-09-28 10:32:54 +02:00
Jermolene
1b0eec143e Refine preliminary list macro
@pmario: I’ve taken your suggestion and made the HTML element type(s)
be macro parameters.
2014-09-17 12:13:24 +01:00
Jermolene
c4123ba374 Extend timeline macro to allow a subfilter 2014-09-13 11:06:50 +01:00
Jermolene
c713eddbef Fixed problem with draft tiddlers not counting as dirty 2014-09-12 14:48:39 +01:00
Jermolene
bc985553ed More reference docs mangling 2014-09-11 15:52:47 +01:00
Jermolene
9adc30f69f Fix bugs with selective expandable toc macro 2014-09-10 21:55:11 +01:00
Jermolene
c6c4cf2289 Improve timeline macro 2014-09-08 18:58:48 +01:00
Jermolene
c1de85838f Replace snippet/recentchanges with timeline macro 2014-09-08 18:20:34 +01:00
Jermolene
ba3f800235 Extend toc macro so that links can be disabled
This allows table of contents to contain heading entries that do not
function as links, like the one in the sidebar.
2014-09-05 09:49:10 +01:00
Jermolene
7e93c93785 Start to empty out the control panel tools tab
The control panel isn’t the right place for tools; it’s a place for
settings and internal configuration.

Once again apologies to the translators for wiping out your hard work!
2014-09-05 09:28:49 +01:00
Jermolene
ede244f0a4 Move SaveWikiButtonTemplate to correct folder 2014-09-05 09:20:10 +01:00
Jermolene
47c53f924f Move control panel autosave settings 2014-09-04 09:58:50 +01:00
Jermolene
6f4af4fc27 Reorganise control panel tabs 2014-09-04 09:58:14 +01:00
Jermolene
a375d2d9b6 Remove "advanced" and "appearance" from control panel tab titles
For example, the previous title for the tiddler containing the editor
types tab of control panel was
“$:/core/ui/ControlPanel/Advanced/EditorTypes”. We’re now removing the
“Advanced” portion, so that we don’t have to rename tiddlers like this
if we move them around between tabs
2014-09-03 12:46:22 +01:00
Jermolene
44228ed9f7 Fix indentation of selective expandable TOC
Fixing #768
2014-09-01 21:27:28 +01:00
Jermolene
ca1de2be99 Revert 6641d5c93f 2014-09-01 20:38:53 +01:00
Jermolene
559afcffd9 Add classes to the toc macro output 2014-08-31 14:05:43 +01:00
Jermolene
6641d5c93f Adjust sync filter to avoid bug with deletions
The `[is[tiddler]]` filter rejects deleted tiddlers, meaning that
deletions were not triggering the dirty state correctly.
2014-08-30 14:04:21 +01:00
Jermolene
2952afe7af Fix for autosave
Re-introduces the “tw-auto-save-wiki” message. The previous approach of
automatically triggering autosave whenever a tiddler changed meant that
changing configuration changes in control panel was triggering an
autosave. Using the explicit message gives us better control of the
situations in which we’ll autosave.

Now we solve the earlier problem of there being outstanding tiddler
change events at the time that we process the “tw-auto-save-wiki” by
deferring the autosave until the outstanding change event comes in.
2014-08-29 09:58:30 +01:00
Jermolene
2f69ea362c Rename "tw-*" messages to "tm-*" 2014-08-28 21:43:44 +01:00
Jermolene
db40ac85c2 Exclude upload name from the saver dirty tracking
Avoiding a bug whereby partially typed upload names trigger an abortive
save.
2014-08-28 20:55:58 +01:00
Jermolene
f223310d34 Yet more "tw-*" -> "tc-*"
Part of #764
2014-08-28 19:41:29 +01:00
Jermolene
9173e944df Rename class "btn-big-green" to "tc-btn-big-green"
Part of #764
2014-08-28 17:30:12 +01:00