1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-08 10:59:57 +00:00
Commit Graph

905 Commits

Author SHA1 Message Date
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
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
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
4792d241c4 Tour should autostart in the tour edition, but not in the main wiki 2023-09-10 18:27:01 +01:00
Jeremy Ruston
06af391773 Tours should have a $:/tags/Tour tag 2023-09-10 17:23:48 +01:00
Jeremy Ruston
0656580439 Simplify styles for top bar 2023-09-10 17:23:31 +01:00
Jeremy Ruston
a4d74be3d8 Update docs 2023-09-10 17:23:18 +01:00
Jeremy Ruston
701a038559 Remove wikification from welcome tour step 2023-09-10 17:23:05 +01:00
Jeremy Ruston
dd9b4dc787 Refactor to allow multiple tours to be loaded at once 2023-09-10 15:23:05 +01:00
Jeremy Ruston
4f026e45a8 Add a tour logo 2023-09-10 12:29:11 +01:00
Jeremy Ruston
d2fbbc408a Change "startup-actions" field to "enter-actions" to avoid confusion 2023-09-10 11:34:34 +01:00
Jeremy Ruston
c9d8806682 Refactor to use global procedures to control the tour 2023-09-10 11:28:23 +01:00
Jeremy Ruston
d28cf74115 Add page control button to start tour
Also make the tour controls visible in full screen mode
2023-09-10 11:00:55 +01:00
Jeremy Ruston
cf9864ebe3 Remove Anna Freud references from welcome tiddler 2023-07-20 09:38:33 +01:00
Jeremy Ruston
1aef8405bd Add full screen section of tour and tour edition 2023-07-20 08:45:44 +01:00
Jeremy Ruston
d419161686 Merge branch 'master' into confetti-plugin 2023-07-20 08:45:33 +01:00
Jeremy Ruston
a7bafd8840 Google Analytics: tweaks 2023-07-14 12:41:55 +01:00
jeremy@jermolene.com
6954fbee51 Fix comment missing from previous commit 6c7c21a87b 2023-07-06 12:01:39 +01:00
jeremy@jermolene.com
6c7c21a87b Fix overeager onload handler in Jasmine plugin
All of this is needed to enable the Jasmine plugin to work in environment with an asynchronous startup, as seen in the sqlite3 wiki store
2023-07-06 11:52:33 +01:00
Mario Pietsch
16ef1d84cd
Change arrow-function to function call for HTA (#7552) 2023-06-28 09:54:27 +01:00
Jeremy Ruston
9b8db5dbb1
Update to Google Analytics 4 (#7554)
* Adopt Google Analytics 4 tag code

* Fix typo

* Temporarily add Google Analytics tracking to tw5.com

So that we can test everything is working with the Vercel preview

* Remove test configuration
2023-06-22 08:48:48 +01:00
jeremy@jermolene.com
a05302da10 Revert "Bidirectional text improvements (#4541)"
This reverts commit f90eb386ae.
2023-06-21 17:13:33 +01:00
jeremy@jermolene.com
d8124ee82d Menu bar plugin: Hide menu bar in static renderings
Fixes #7476
2023-06-17 08:58:50 +01:00
cdruan
b61c01d8b0
Update widget name policy (#7510) 2023-06-14 09:55:16 +01:00
Jeremy Ruston
f90eb386ae
Bidirectional text improvements (#4541)
* Add support for \dir pragma

* Add "dir" attribute to reveal, edit, edit-text and edit-codemirror widgets

* Add  $:/config/DefaultTextDirection hidden setting

* Revert accidentally commited test data

This reverts some of commit b83c1d160f.

* Remove Codemirror plugin from Prerelease

Makes it easier to test things

* Fix framed text editor directionality in Firefox

* Add direction attribute for edit body template

* Missed closing brace

* Add docs for \dir pragma

* Templates should set text direction from a variable, not a transclusion

* Updates to framed.js in the light of PRs that have been merged since this

* Restore whitespace trim

* Docs dates

* Fix typo

* Clarify docs
2023-06-13 16:36:07 +01:00
btheado
86d45f1c3d
Request permission to protect local storage from eviction (#7398)
* Request the browser to never evict the persistent storage

* Store browser storage persisted state in a tiddler

* Factor out some code into helper functions

* Display status of persistence request in the settings page
2023-06-13 10:50:00 +01:00
jeremy@jermolene.com
a12a9bd939 Fixes to browser storage plugin icon 2023-06-12 09:22:20 +01:00
GameDungeon
578e883bdc
Add Tabs To Settings (#7524)
* Move to Core

* List-Before

* Update core/ui/ControlPanel/Settings.tid

* Proper list-before
2023-06-11 10:28:52 +01:00
jeremy@jermolene.com
40fd941394 Merge branch 'master' into confetti-plugin 2023-06-01 15:22:57 +01:00
jeremy@jermolene.com
8fd4da607d Mark dependents of the tour plugin 2023-05-29 14:44:22 +01:00
Tavin Cole
4e7a6ffc22
Add codemirror option to show trailing space (#7493)
* codemirror edit/trailingspace addon (default off)

* refactor as codemirror-trailingspace plugin

* copy cm-trailingspace styles from cm demo
2023-05-27 18:28:27 +02:00
btheado
74e0619782
Protect codemirror.css from wikitext parsing, otherwise 'CodeMirror' is considered a wikilink (#7500) 2023-05-27 18:22:31 +02:00
jeremy@jermolene.com
990909c310 Revert "Feat: destroy() method for widgets to do custom cleanup (#6699)"
This reverts commit 474b73bdbe.
2023-05-18 17:27:05 +01:00
jeremy@jermolene.com
62d0c197eb Tweaks to tour buttons 2023-05-10 10:14:26 +01:00
jeremy@jermolene.com
1c3dd6b39b Don't link TiddlyWiki in the tour panel 2023-05-10 10:14:15 +01:00
jeremy@jermolene.com
36041cf38b Clarify wording of confetti demo 2023-05-10 10:13:45 +01:00
jeremy@jermolene.com
f9cf5764ff Merge branch 'master' into confetti-plugin 2023-05-10 10:12:56 +01:00
jeremy@jermolene.com
3da0a9431c Introduce $:/tags/Global tag
And also $:/tags/Global/View and $:/tags/Global/View/Body
2023-05-09 15:46:54 +01:00
Mario Pietsch
18d7d3d8c0
Improve the wording for the core-plugin in the upgrader-editioin (#6878) 2023-05-07 17:47:13 +01:00
lin onetwo
474b73bdbe
Feat: destroy() method for widgets to do custom cleanup (#6699)
* feat: inform child widget to do some custom cleanup

* fix: type

* refactor: restore old removeChildDomNodes

* refactor: make destroy() a separate method

* refactor: make destroy call removeChildDomNodes

* refactor: call destroy instead of removeChildDomNodes in each core widgets

* fix: refreshSelf does not mean destroy

* refactor: use old var insteadof const

* docs: about subclass
2023-05-06 12:19:11 +01:00
Arlen22
2b95daf59b
Change evalSandboxed to use only one context for all modules (#4624)
* Run modules in one new context

* Fix polyfill running on require

* Add code to check for global assignments

* Allow globals in separate context

This lets the caller request a separate context which may be polluted.

* Jasmine needs to pollute the global

* Formatting

* Add polyfill and cleanup code

* Convert to ES5

* One bug fix

* Some formatting

* Remove console.log line!

* Cleanup

* revert css-escape-polyfill.js to hopefully remove it from the PR

* Remove JSDOC directives
2023-05-06 12:11:18 +01:00
Jeremy Ruston
2bfefe3880
Parameterise core icons (#7413)
* Parameterise all the icons

* Improve splash screen macro for rendering icons

* Add new example from @kookma
2023-05-06 12:08:46 +01:00