1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-19 16:24:51 +00:00
Commit Graph

6938 Commits

Author SHA1 Message Date
Jermolene
b4aa895cac Text-slicer: add support for exclude filters
The exclude filter `+[tag[intro]]` will produce a document that only
includes the paragraphs with the tag “intro”. These are derived from
the paragraphs in the original document with the CSS class “intro”.
2015-09-01 09:59:23 +01:00
Jermolene
17dc21b809 Text-slicer refactoring 2015-08-31 20:32:32 +01:00
Jermolene
0be82ea7fb Text-slicer: Introduce separate static templates
Much easier to have separate sets of templates for interactive vs
static document trees
2015-08-31 19:50:56 +01:00
Jermolene
cc4bef9c0e Text-slicer: reorganise plugin shadow tiddler titles 2015-08-31 16:49:47 +01:00
Jermolene
ae80f9176d Typo from last commit 2015-08-31 16:25:03 +01:00
Jermolene
73f3244113 Hide the fold-all and unfold-all buttons by default 2015-08-31 15:48:43 +01:00
Jermolene
709126dd64 Don't queue change events for deleting non-existent tiddlers
Fixes #1919
2015-08-31 15:48:32 +01:00
Jermolene
684fbb1ee8 Update to KaTeX v0.5.0 2015-08-31 15:10:07 +01:00
Jermolene
faa32bc424 Text-slicer: Make sure hide/show gadgets hidden in preview 2015-08-31 14:54:39 +01:00
Jermolene
bc448ce1fd Text-slicer: updates
* Add warning in document tiddler toolbar if tiddler already exists
* Live preview document in new window
* Fix slicer.js bug that was preventing the list field of headings from
being filled in correctly
* Rationalise some class names
2015-08-31 14:15:44 +01:00
Jermolene
51d771a074 Extend tm-open-window to pass variables 2015-08-31 14:13:32 +01:00
Jermolene
4d4181b048 Missed off last commit 2015-08-30 19:15:12 +01:00
Jermolene
4cac7b6784 Lots of enhancement to the text-slicer plugin
Now includes a special document view column on the left. Headings can
be expanded/collapsed, and tiddler titles can be inspected and renamed
via the toolbar. Clicking on an entry opens the associated tiddler. The
default tiddler view template includes a special section for tiddlers
that are part of a document
2015-08-30 19:15:04 +01:00
Jermolene
0d55f2c46b Observe storyleft position in fluid-fixed mode 2015-08-30 19:12:34 +01:00
Jermolene
3fbe07f1f8 Fix link widget propogation behaviour
Without this fix, using nested link widgets with custom elements causes
clicks on the inner element to trigger links on each of the containing
widgets
2015-08-30 19:12:12 +01:00
Jermolene
68e15c1064 Move rename tiddler handling into navigator widget
For consistency with the other tiddler manipulation primitives.
2015-08-30 19:11:14 +01:00
Jermolene
a204784c0c Limited implementation of external text tiddlers in the browser
Triggered by the discussion in #1917
2015-08-29 16:33:04 +01:00
Jermolene
abd8201aaa Text-slicer refactoring
Substantially cleaning up the main slicer code
2015-08-29 15:23:31 +01:00
Jermolene
97979e1fb1 Text-Slicer: update docs and change default view 2015-08-28 19:40:58 +01:00
Jermolene
46087fd270 Text-slicer update
* Improved docs on the created structure
* Added support for converting CSS classes as tags
* Added display of tags within the toolbar
2015-08-28 19:13:50 +01:00
Jermolene
f443719223 Text-slicer: Add selectable output views 2015-08-17 11:16:53 -04:00
Jermolene
74bd6e8232 Remove old code
Experimental code, accidentally committed
2015-08-10 22:20:40 +01:00
Jermolene
abcb2d3a1c Text-slicer: improved generation of paragraph names 2015-08-10 20:32:30 +01:00
Jermolene
2eb645e5e5 Add getAttribute to fakeDom 2015-08-10 20:32:13 +01:00
Jermolene
d3ca636a5b Text-slicer: switch to use tabbed internal navigation 2015-08-10 19:39:04 +01:00
Jeremy Ruston
c06b3c4ef7 Merge pull request #1906 from BramChen/zh
Update zh-Hant and zh-Hans
2015-08-10 11:43:19 +01:00
Jermolene
3cfad8b044 Refactoring of text-slicer
Now we process the rendered HTML of tiddlers, which allows us to
process HTML generated by MS Word. In fact, the HTML that MS Word
generates is so awful, I’ve instead been using Mammoth to do the
conversion: https://github.com/mwilliamson/mammoth.js

Also some necessary improvements to the fake dom implementation.
2015-08-10 11:41:23 +01:00
Jermolene
010b01f205 Remove extra DIV added to view template
One of the changes for introducing folded tiddlers was the extra reveal
widget here, which introduces an extra DIV element, breaking some CSS
rules. To fix it, we re-use the reveal widgets generated DIV as the
tiddler body DIV
2015-08-10 11:39:11 +01:00
Bram Chen
66b405ac81 Update chinese translation of all fold/ unfold buttons
* new "fold all" and "unfold all" page buttons
* new "unfold tiddler" toolbar button
2015-08-10 13:49:13 +08:00
Jermolene
4d5c14bca7 Release note update 2015-08-09 17:25:26 +01:00
Jermolene
ac08dc2e35 Added fold/unfold all buttons
More translations, @BramChen, apologies…
2015-08-09 17:25:01 +01:00
Jermolene
4bcf1e298b Release note updates 2015-08-09 16:44:47 +01:00
Jermolene
4152fbbfeb Use different wording for unfolding vs folding
Apologies for making more work @BramChen!
2015-08-09 16:40:58 +01:00
Jermolene
16c69bb419 Tweaks to fold button 2015-08-09 16:11:37 +01:00
Jeremy Ruston
27ec05e521 Merge pull request #1905 from BramChen/zh
Update zh-Hant and zh-Hans
2015-08-09 14:33:39 +01:00
Bram Chen
0f32af1cce Add chinese translations of "fold" button for the tiddler toolbar 2015-08-09 21:03:51 +08:00
Jermolene
bad4a19f8e Add fold others button 2015-08-09 12:56:48 +01:00
Jermolene
c91c7b7cbb Updates to Korean translation 2015-08-09 12:44:57 +01:00
Jermolene
ef87dd0687 Update release note 2015-08-09 11:11:04 +01:00
Jermolene
5d43cd7408 Add fold tiddler toolbar button
Addressing this tweet:
https://twitter.com/s_stryjecki/status/629349768280604672
2015-08-09 11:10:04 +01:00
Jermolene
6a3c4d6c91 Flip logic for suppressing timestamps
Fixing a mistake from the earlier commits, so that the default remains
that the timestamps are applied.
2015-08-09 11:09:02 +01:00
Jermolene
318a1cf212 Release note updates 2015-08-08 14:43:01 +01:00
Jeremy Ruston
1022854900 Merge pull request #1904 from araname/master
Signing the CLA
2015-08-08 14:39:02 +01:00
Myeongjin
be0ab28e89 Signing the CLA 2015-08-08 22:32:39 +09:00
Jermolene
fbe4bc18b9 Move JS-oriented mechanism docs to /dev
Fixes #1889
2015-08-08 13:56:42 +01:00
Jermolene
7421616754 Make keyboard shortcuts configurable
Fixes #1892
2015-08-08 13:43:14 +01:00
Jermolene
6c6b723a0d Tweak sidebar height for narrow screens 2015-08-08 13:08:10 +01:00
Jermolene
4f5cf4597a Remove blur effect from modals
Fixes #1893
2015-08-08 13:08:10 +01:00
Jeremy Ruston
e27e49e00c Merge pull request #1894 from BramChen/zh
Update chinese translations
2015-08-08 13:04:43 +01:00
Jermolene
cac6d3b4d9 Improve sidebar behaviour on narrow screens
Now the sidebar is a fixed overlay. It is scrollable, taking up 50% of
the height of the screen, so that the underlying page can be partially
seen.

There’s more to be done: on narrow screens we probably want the sidebar
to be hidden by default.
2015-08-08 08:39:37 +01:00