1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-15 22:34:51 +00:00
Commit Graph

11765 Commits

Author SHA1 Message Date
Saq Imtiaz
a7d469ae99
Extends the tour plugin with a condition field (#7861)
* feat: support condition field to determine whether a step should be shown

* feat: add support for overriding the hint text using the field 'hint' from the step tiddler

* fix: roll back tour display procedure for now until an override mechanism has been discussed

* fix: renamed advance-criterion field and associated variables to step-success-filter

* fix: renamed hint field to hint-text and selector to hint-selector

* refactor: to create function to get all tour tiddlers filtered by their condition field

* refactor: rename globals tiddlers to variables and avoid making any of the tour procedures global

* fix: also rename globals.tid file to variables.tid

* docs: cover all tour steps tiddler fields

* fix: improve spacing in Tour HUD
2023-12-06 11:13:48 +00:00
Jeremy Ruston
547582c1e7 Tour wording tweaks 2023-10-24 12:52:24 +01:00
Jeremy Ruston
e40b83f141 More custom colours 2023-10-19 08:59:07 +01:00
Jeremy Ruston
518c23d06d Use custom palette colours
Makes it easier for people to use their own colour scheme for the tour
2023-10-17 16:47:27 +01:00
Jeremy Ruston
a2f4e71080 Simplify styling of tour overlay 2023-10-17 16:00:55 +01:00
Jeremy Ruston
10fad328dd Merge branch 'master' into confetti-plugin 2023-10-17 11:56:06 +01:00
Jeremy Ruston
2ffbfd84a5 Merge branch 'tiddlywiki-com' 2023-10-17 11:38:23 +01:00
Jeremy Ruston
faef02df7a
Docs: Add information about the Chinese TiddlyWiki community (#7792) 2023-10-17 11:37:57 +01:00
Ke Wang
c93d56667e
Extend ImageWidget to generate the src based on the encoding format of the image entries (#7783)
* Make ImageWidget rendering image tiddler based on encoding of type

* change indent

* use deserializerType instead of type
2023-10-17 09:47:46 +01:00
Ke Wang
3855a9f013
Signing the CLA (#7791) 2023-10-17 09:46:54 +01:00
Jeremy Ruston
d7a58a01b9 Merge branch 'master' into confetti-plugin 2023-10-16 18:32:50 +01:00
Jeremy Ruston
4d548580e6 Merge branch 'tiddlywiki-com' 2023-10-16 18:32:37 +01:00
lin onetwo
9773dff1e3
Chore: Add npm script for new core developers (#7539)
* Update package.json

* lint fix

* chore: use node ./tiddlywiki.js  instead of ./bin/serve.sh

* Update package.json

* Update package.json
2023-10-16 18:29:51 +01:00
Guang Li
c6604c0c56
Add floating popup to Dynannotate (#7790) 2023-10-16 18:21:26 +01:00
Jeremy Ruston
b8fdb320dc Merge branch 'master' into confetti-plugin 2023-10-16 14:31:13 +01:00
Jeremy Ruston
e521ee2133 Update release note 2023-10-16 12:27:56 +01:00
Guang Li
a7bd134c35
Docs: Add FSRS4TW plugin (#7770) 2023-10-16 12:23:22 +01:00
Jeremy Ruston
fd5c073654 Fix typos
Thanks @pmario
2023-10-16 11:30:18 +01:00
Jeremy Ruston
343839b4d4 Wording and ordering tweaks 2023-10-15 17:36:30 +01:00
Jeremy Ruston
94e27ccc48 Adopt new conditional shortcut syntax 2023-10-15 13:06:59 +01:00
lin onetwo
d3f5695601
Fix: Evernote .enex image import (#7785)
* feat: add modifier info

* feat: replace image and attachment with [img[] and [[]]

* feat: import as wikitext tid

* fix: a few resources don't have title

* fix: use hash as random name for images

* fix: Firefox's DOMParser have problem in some cases

* fix: bad char in title, and useless xmlns

* Update sample-enex-with-image.xml.enex

* Update enex-deserializer.js

* Update readme.tid

* fix: some dont have modified
2023-10-15 12:40:38 +01:00
Simon Huber
efa4f34131
Update Basics.tid to not use fixed height in edit widgets (#7789) 2023-10-15 12:32:17 +01:00
Jeremy Ruston
fffbedd6b9 Updated release note 2023-10-14 10:25:16 +01:00
Jeremy Ruston
80c52d071e Merge branch 'master' into confetti-plugin 2023-10-14 09:54:53 +01:00
Jeremy Ruston
ff1437e439
Fix refreshing of transcluded functions (#7698)
* Passing test

* Failing test

* Fix test

It still fails, but now fails correctly

* Fix refreshing transcluded functions (#7755)

We store the previous result of the filter function and recalculate it
when the transclude widget needs to be refreshed, refreshing the widget
if the result is different.

---------

Co-authored-by: Jeremy Ruston <174761+Jermolene@users.noreply.github.com>
Co-authored-by: Robin Munn <rmunn@pobox.com>
2023-10-14 09:44:18 +01:00
Jeremy Ruston
32966c9e91
Introduce jsonset operator (#7742) 2023-10-14 09:43:23 +01:00
Jeremy Ruston
96b0543351
Add barcode reader widget to qrcode plugin (#7746)
* Add barcode reader widget to qrcode plugin

* Don't use a fixed ID
2023-10-14 09:42:34 +01:00
Jeremy Ruston
b7562f0c7b
Conditional Shortcut Syntax (#7710)
* Initial Commit

* Update docs

* Add support for elseif blocks

* Another test

* WIP

* Change from `{%if%}` to `<%if%>`

See discussion here - https://talk.tiddlywiki.org/t/proposed-if-widget/7882/64

* Don't use the widget body as the template if a list-empty widget is present

See discussion here - https://github.com/Jermolene/TiddlyWiki5/pull/7710#issuecomment-1717193296

* List widget should search recursively for list-template and list-empty

* Allow block mode content within an if/then/else clause

* Update docs

* Add from-version tag to docs
2023-10-14 09:41:21 +01:00
Jeremy Ruston
4c9c85aec5
Add support for list-template and list-empty widgets for specifying list widget templates (#7784)
Cherry picked from #7710
2023-10-14 09:31:11 +01:00
Jeremy Ruston
cd2b375d80 Improve styling of task call-to-action and nav buttons 2023-10-13 10:18:01 +01:00
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
Maurycy Zarzycki
7726982d71
Polish Translations 2023-10-11 (#7779)
* Add translations introduced in 5bb8155422

* Add translations introduced in d17525ec8e
2023-10-11 21:07:49 +01:00
Jeremy Ruston
774058912d Update release note 2023-10-09 17:12:22 +01:00
Jeremy Ruston
106e1c68df Merge branch 'tiddlywiki-com' 2023-10-08 16:23:29 +01:00
Jeremy Ruston
12f42ad62f Add a summary for each release, and include in archive listing 2023-10-08 10:29:42 +01:00
Jeremy Ruston
66a8e2dbf2
Ensure {{}} doesn't generate a transclude widget with no attributes (#7768) 2023-10-07 21:55:39 +01:00
Jeremy Ruston
327ecf8f66
Don't refresh the body editor when switching the preview on and off (#7747)
* Don't refresh the body editor when switching the preview on and off

* Focus editor when switching the preview on or off
2023-10-06 21:49:02 +01:00
Mateusz Wilczek
35e45f3b90
Clean up after #7671 (Change favicon format from ICO to PNG) (#7774)
* Delete editions/tw5.com/tiddlers/_tw_shared/favicons/favicons.svg

* Delete editions/tw5.com/tiddlers/_tw_shared/favicons/favicons.svg.md
2023-10-06 21:39:43 +01:00
Jeremy Ruston
93bc9e4309 Merge branch 'tiddlywiki-com' 2023-10-05 22:29:45 +01:00
Jeremy Ruston
23b75bbc5d Add links to archived versions of TiddlyWiki
@pmario v5.3.0 and v5.3.1 are missing from the archive, would you be able to kindly prepare a PR?
2023-10-05 22:25:07 +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
Mateusz Wilczek
68da654eb3
Change favicon format from ICO to PNG, fix #7665 (#7671)
* Change favicon format from ICO to PNG

* Revert renaming `./favicon.ico`

Keep the backwards compatible file name `./favicon.ico` (though they will actually be in PNG format now).

* Add SVG template for creating favicons

Add `favicons.svg`, the template for creating the current PNG favicons, along with some helpful information about it in `favicons.svg.md`.

* Add source Inkscape SVG

Add source Inkscape SVG as an example of image tiddler in tw-com
2023-10-04 22:15:23 +01:00
Bram Chen
1eceb5f47f
Update chinese language files (#7765)
* Improve consistency of naming file types and content types in some UI hints.
2023-10-04 18:25:10 +01:00
Timur
def508a220
Fix offline upgrade download link (#6088)
* Fix offline upgrade download link

In Firefox (92.0.1) `href="#"` does not allow to start downloading of `upgrade.html` (Chrome has no such problem). Making href completely empty fixes the issue.

* Update plugins/tiddlywiki/upgrade/UpgradeWizard.tid
2023-10-04 18:24:45 +01:00
Timur
3fb71e2553
Signing the CLA (#7766) 2023-10-04 18:24:14 +01:00
Mateusz Wilczek
d17525ec8e
Improve file type names (TID, SVG, ICO) in hints (#7764)
* Make filetype names in hints consistent

* Make ICO content type hint more consistent
2023-10-03 21:37:49 +01:00