1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-07-08 21:14:25 +00:00
Commit Graph

11720 Commits

Author SHA1 Message Date
Jeremy Ruston
9eac359a5d Improve wording 2023-10-13 09:06:35 +01:00
Jeremy Ruston
9b6570f420 Introduce step about tags 2023-10-12 18:10:12 +01:00
Jeremy Ruston
906cb8f92b Fix initialisation when jumping to a tour step 2023-10-05 14:10:00 +01:00
Jeremy Ruston
6f46775e94 Use the tour step caption as the heading 2023-10-05 13:50:02 +01:00
Jeremy Ruston
aa3f931721 Expose custom tour settings 2023-10-05 13:40:33 +01:00
Jeremy Ruston
0213f1ab8f Add a button to launch tour steps directly, and give them captions 2023-10-05 13:12:19 +01:00
Jeremy Ruston
1351109119 Tweak styling of tour chooser dropdown 2023-10-03 18:41:09 +01:00
Jeremy Ruston
3254684dd6 Update docs 2023-10-03 18:40:48 +01:00
Jeremy Ruston
29575d01bf Avoid having to embed confetti in the final step 2023-10-03 18:22:57 +01:00
Jeremy Ruston
b1eece2a93 Add a settings pane giving a birds eye view of a tour 2023-10-03 16:23:30 +01:00
Jeremy Ruston
1c6fba6108 Merge branch 'master' into confetti-plugin 2023-10-03 10:04:09 +01:00
Joe Bordes
5bb8155422
i18n(ES) update to latest version changes (#7761) 2023-10-01 09:00:06 +01:00
Robin Munn
bb2973fc29
Make flexbox or grid layouts possible (#7690)
Both flexbox and grid layouts need the container div to be the direct
parent of the children it lays out. To enable that, we need a class that
can select the direct parent of the list widget in PageTemplate.tid so
that that class can have `display: flex` or `display: grid` applied to
it. The `tc-page-container` div is not suitable, because it contains
a `<$dropzone>` inside it, and the dropzone widget creates a div so
tc-page-container is no longer the direct parent of the list. Instead,
a tc-page-container-inner class is added to the dropzone widget in
addition to its existing tc-dropzone class, so that grid or flexbox
layouts can target tc-page-container-inner for setting the appropriate
CSS `display` property.
2023-09-30 16:33:40 +01:00
Jeremy Ruston
bbaa0890b5 Fix broken render commands
Fixes #7759
2023-09-30 13:30:31 +01:00
Jeremy Ruston
c3167d5368 Clarify docs 2023-09-29 09:48:43 +01:00
Mario Pietsch
b4a862c618
Fix #7757 vanilla styles should be first (#7758) 2023-09-28 14:59:50 +01:00
Jeremy Ruston
184e30afb8 Finish allowing the name "TiddlyWiki" to be customised
Some of the code was in the previous commit. Next we'll wire up the user interface
2023-09-27 14:28:35 +01:00
Jeremy Ruston
44d322868f Clean up tiddler titles within the introduction tour 2023-09-27 14:22:44 +01:00
Jeremy Ruston
455a51f671 Merge branch 'master' into confetti-plugin 2023-09-27 14:09:00 +01:00
Jeremy Ruston
1be8f0a933 Comments plugin should use palette colours 2023-09-26 17:55:01 +01:00
lin onetwo
773c1f83f2
API for deleting core hooks (#7751)
* feat: Delete hooks from the hashmap

* fix: not using findIndex in the core

* Update HookMechanism.tid
2023-09-24 21:54:52 +01:00
Robin Munn
8effb3f218
Fix list widget bug with counter-last when appending items (#7712)
* Add failing test for list widget with counter-last

The failing test appends a value to a list without changing the rest of
the list, and the counter-last value doesn't get updated correctly when
that happens. Also added another test, which passes, testing removing
the last item of the list, just in case of a regression.

* Improve unit tests for counter-last list widget bug

The unit tests were looking very similar to each other, so I factored
out the common code and made them into simple data-driven tests.

* Fix bug where counter-last fails in list widget

The only scenario that was failing was when counter-last was used, but
the list was strictly appended to with no other changes made. The one
unit test that was failing now passes with this fix.

* Improve bugfix to list widget counter-last

Now we only refresh the last item if it was truly necessary.
2023-09-24 20:19:50 +01:00
Robin Munn
780e5d33a4
Slightly speed up [all[shadows+tiddlers]] filters (#7702)
The `all` filter operator has shortcuts to optimise common patterns like
`[all[shadows+tiddlers]]` or `[all[tiddlers]]`. In those cases, the
filter operator function returns early and never uses the `result`
linked list that was created, so it's immediately garbage-collected.
Let's delay creating it until we know it's actually going to be used.
2023-09-24 20:19:04 +01:00
Maurycy Zarzycki
526e997aa4
Add translation changes to Polish from e16635a5ad (#7752) 2023-09-22 19:11:15 +01:00
Jeremy Ruston
5ea2243fd9 Fix gap between navigation buttons 2023-09-22 14:53:51 +01:00
Jeremy Ruston
5a4470e6ed Remove obsolete state tiddler
Not needed because now we initialise it in startup actions
2023-09-22 14:53:39 +01:00
Jeremy Ruston
d460f9f066 Simplify tour step format 2023-09-22 10:55:39 +01:00
Jeremy Ruston
e4d8849f22 Merge branch 'tiddlywiki-com' 2023-09-21 18:17:28 +01:00
Jeremy Ruston
bd99cf3385 Docs: Clarify that whitespace trim is inherited by procedure and widget definitions 2023-09-21 18:11:54 +01:00
Simon Huber
711d1658e2
Edittemplate delete button should also delete the typeInputTiddler (#7749)
If we don't delete the typeInputTiddler with the click on the "delete" button then the dropdown stays filtered - but the text input seems to be empty. This PR corrects this behavior
2023-09-21 17:57:53 +01:00
Jeremy Ruston
ef5b3a8840 Use whitespace trim
Note that the setting is inherited by procedure and widget definitions
2023-09-21 11:31:23 +01:00
Jeremy Ruston
4ef8ce3caa Ensure that the current tour isn't listed as an option in the final step 2023-09-21 10:24:34 +01:00
Jeremy Ruston
6088fd7d95 Add tour chooser 2023-09-21 09:59:28 +01:00
Jeremy Ruston
c7cac0f7ea Remove old debugging code 2023-09-20 15:27:53 +01:00
Jeremy Ruston
7b1701583f Add "using tags" as a separate tour 2023-09-20 15:27:39 +01:00
Jeremy Ruston
804e253f93 Remove obsolete text 2023-09-20 15:27:21 +01:00
Jeremy Ruston
7c619da913 Merge branch 'master' into confetti-plugin 2023-09-20 12:59:39 +01:00
Jeremy Ruston
b82f012c0c Revert "Make preview editor button focus the editor"
This reverts commit f383863654.
2023-09-19 16:08:13 +01:00
Jeremy Ruston
f383863654 Make preview editor button focus the editor 2023-09-19 16:07:52 +01:00
Mateusz Wilczek
697dc8db4c
Improve jsonstringify and stringify operators docs (#7650) 2023-09-19 15:52:04 +01:00
Jeremy Ruston
49c96901f3 Fix typo in 7d8766d2b9 2023-09-13 18:06:30 +01:00
Jeremy Ruston
7d8766d2b9 Test editors shouldn't set type attribute of textareas
fixes #7732
2023-09-13 18:04:12 +01:00
Simon Baird
6255856205
Add offline-external-js to empty edition (#7737)
Currently I'm building these files myself for use on tiddlyhost.com.
I'm thinking it would be nicer if they were built and distributed by
TiddlyWiki's own build automation, so this is a step towards that.

The two new files that are created, "empty-external-core.js" and
"tiddlywikicore-<version>.js" will appear alongside the existing
"empty.html" and "empty.hta" when the TiddlyWiki site is deployed.
2023-09-13 15:55:23 +01:00
Simon Baird
6f307ae01e
Fix edition file formatting inconsistencies (#7738)
I noticed these inconsistencies in the tiddlywiki.info json files
while working on the previous commit and thought I'd fix them for
the sake of neatness and tidiness.

This contains whitespace changes only, so git diff -b should be
empty.

Includes:
- Remove some trailing whitespace in several files
- Fix incorrect indenting in one file
- Add end of file newlines in two files
2023-09-13 15:12:49 +01:00
Simon Huber
213a850715
Remove ";" from value of $:/themes/tiddlywiki/vanilla/settings/fontfamily (#7735)
the tiddler gets transcluded in the stylesheets like so:

```
font-family: {{$:/themes/tiddlywiki/vanilla/settings/fontfamily}};
```

note - the semicolon at the end
So this semicolon is superfluous
2023-09-12 09:11:18 +01:00
Jeremy Ruston
4e938fad00 Merge branch 'master' into confetti-plugin 2023-09-11 18:57:02 +01:00
Jeremy Ruston
217af20fcd Merge branch 'tiddlywiki-com' 2023-09-11 18:56:49 +01:00
Jeremy Ruston
943dcd7567 Fix build process
We build a separate tour.html wiki, but can include the tour in other wikis too
2023-09-11 09:26:58 +01:00
Jeremy Ruston
783a5be00e Better labelling for the main preview 2023-09-11 09:14:42 +01:00
Jeremy Ruston
4792d241c4 Tour should autostart in the tour edition, but not in the main wiki 2023-09-10 18:27:01 +01:00