1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2026-06-05 20:22:18 +00:00
Commit Graph

581 Commits

Author SHA1 Message Date
BurningTreeC fb47dfd5fe different behavior for ctrl-dragging 2024-10-06 11:40:09 +02:00
BurningTreeC 6176f3ad90 simplify pointermove actions and calculations 2024-10-06 10:39:09 +02:00
BurningTreeC c31a51fb25 cleanup 2024-10-05 16:47:38 +02:00
BurningTreeC b7d542e34b updates 2024-10-05 16:41:56 +02:00
BurningTreeC 40a89fc337 add ctrl modifier drag for fixed-fluid mode that changes behavior 2024-10-05 15:52:15 +02:00
BurningTreeC ca32bed448 add fallbacks 2024-10-05 14:25:03 +02:00
BurningTreeC 667e173d02 updates 2024-10-05 14:23:14 +02:00
BurningTreeC 6fd3432426 updates 2024-10-05 13:10:41 +02:00
BurningTreeC 01c945eea3 fix filters 2024-10-05 12:34:54 +02:00
BurningTreeC ea7da2b8c1 more calculations 2024-10-05 08:04:03 +02:00
BurningTreeC dd5af9f092 cleanup pointermove actions 2024-10-05 06:11:13 +02:00
BurningTreeC bc9706d9b4 wip: fixed-fluid mode, change storyleft. + more calculations 2024-10-04 21:52:44 +02:00
BurningTreeC 445547d113 for now, in fixed-fluid mode keep story and tiddler fixed width 2024-10-04 19:12:24 +02:00
BurningTreeC f547be6b8e remove some unnecessary calculations 2024-10-04 16:55:27 +02:00
BurningTreeC 035c23e0d5 updates 2024-10-04 15:52:16 +02:00
BurningTreeC 22b33e6fe4 updates 2024-10-04 15:34:52 +02:00
BurningTreeC be6510bcb4 updates 2024-10-04 14:36:00 +02:00
Simon Huber 1e0d4b87fb Create sidebar-resizer.tid 2024-10-04 12:34:55 +02:00
Saq Imtiaz e591dfd590 Update the editor file import UI to support markdown tiddlers (#8486)
* chore: update editor file import to use procedures and substitute operator

* feat: refactor editor file-import UI to reuse filter from $:/config/Editor/EnableImportFilter

* feat: support for markdown in editor file import UI

* feat: improve markdown type detection and enable markdown image imports by default

* fix: uri encode tiddler titles for markdown

* escape characters instead of URI encoding

* fix: tweak regexp to simplify code and document escaping rules
2024-10-02 13:15:53 +01:00
Leilei332 2a77d6afdf Fix confusing empty message in tag dropdown (#8649) 2024-09-30 13:40:45 +01:00
lin onetwo a60e7165d2 Feat: loading indicator for tiddlers being lazy loaded (#8505)
* feat: basic loading

* feat: if condition

* feat: use palette

* refactor: remove css variable
2024-09-24 11:38:39 +01:00
Leilei332 0f4d6e4e47 Fix extra p tag in colour-picker (#8605) 2024-09-16 11:38:55 +02:00
Leilei332 c7ca8359ab Add drag and drop handling for export macro & rewrite using v5.3.2 syntax (#8594) 2024-09-12 19:33:57 +01:00
Mohammad Rahmani fbf619b006 Update ViewTemplateBodyFilters.multids For Readability (#8592)
This Cascade from 

```
[tag[$:/tags/wiki-test-spec]type[text/vnd.tiddlywiki-multiple]then[$:/core/ui/TestCaseTemplate]] [tag[$:/tags/wiki-test-spec-failing]type[text/vnd.tiddlywiki-multiple]then[$:/core/ui/TestCaseTemplate]]
```

Simplified. I also suggest using the same convention for all cascades
2024-09-12 10:09:11 +01:00
Mario Pietsch 4f4e055091 Add a search button to the control panel tiddler fields tab (#8157)
* add a search button to the control panel tiddler fields tab

* minor update

* use v5.3.x syntax

* use tf. prefix for the function

* make show-filter-count a global macro

* make table header translatable

* add documentation

* show-filter-count code cleanup

* remove the table-header

* remove erroneous caption field
2024-09-10 16:30:59 +01:00
Jeremy Ruston 1368cd67ca Fix missing closing tag, and update erroneous docs (#8340) 2024-09-10 11:50:08 +01:00
Mario Pietsch d827c57dcf Make export macros code readable without changing any functionality (#8513) 2024-09-08 15:57:55 +01:00
Jeremy Ruston 69637640d2 Standardise whitespace in conditional shortcut syntax (#8583) 2024-09-02 16:51:15 +01:00
Leilei332 98d411c08a Add empty message to tag picker, search dropdown and advanced search (#8558)
* Add empty message to tag picker, search dropdown and advanced search

* Add empty message for tag-picker

* Use italic font
2024-08-30 10:39:33 +01:00
Leilei332 ab2b79ef80 Let language plugins display properly (#8355)
* Fix language plugin viewtemplatebody

* Let config/ViewTemplateBodyFilters/plugin have higher priority

* Fix for file import
2024-08-19 11:50:23 +01:00
lin onetwo 77335a42b5 Fix: add cascade configs (#8470) 2024-08-02 09:45:52 +01:00
Mario Pietsch d2302df197 Add procedure and function snippet to "stamp button" (#8445)
* Add procedure and function snippet to "stamp button"

* remove draft tiddler
2024-07-29 12:38:07 +01:00
Mario Pietsch e80c99791e Add tag-tiddler to tag-pill drag & drop import, add hidden setting for TagPillDragFilter (#8182)
* add tag-tiddler to tag-pill drag & drop import, add hidden setting for TagPillDragFilter

* update docs to make Be Aware clearer

* exclude the tag tiddler and update hidden docs accordingly
2024-07-28 16:36:17 +01:00
Mohammad Rahmani 82bf4480de Add Shortcut to Open Control Panel (#8439)
This PR adds a new keyboard shortcut key for opening the $:/ControlPanel
2024-07-28 13:41:53 +01:00
Mohammad Rahmani b4597e7b1e Remove Redundant Filter in ViewTemplateBodyFilters (#8434)
* Remove Redundant Filter in ViewTemplateBodyFilters

This PR closes #8426

* Space between filters are added
2024-07-27 18:38:56 +01:00
Jeremy Ruston c0f4bc3698 Preparing for v5.3.6-prerelease 2024-07-10 14:32:07 +01:00
Mario Pietsch 906ac3817d Fix 8347 tag-picker macro improve tagListFilter (#8351)
* improve tagListFiler defaults to [tags[]sort[]] now

* tag-picker - update docs
2024-07-09 20:55:51 +01:00
Mario Pietsch 32c75cbb68 Allow fieldmangler to catch unsaved tag changes (#8332)
* allow fieldmangler to catch unsaved tag changes

* fix typo in comment
2024-07-04 17:24:06 +01:00
Mario Pietsch 84d1c81bb2 Revert to \define colour macro for backwards compatibility (#8327)
* revert to \define colour macro for backwards compatibility

* add color macro

* remove new functions
2024-07-01 22:12:04 +01:00
oeyoews b81a1f22fe Fix: remove extra "tags:" typo (#8322) 2024-06-30 18:26:19 +01:00
Jeremy Ruston 05bff57b65 Prepare for v5.3.5 2024-06-27 17:18:48 +01:00
Jeremy Ruston 18152aa7c8 Testcase UI enhancements (#8292)
* Include the ExpectedResults in the displayed tabs

* Lighted testcase background

* Add testcase toolbar with export and import options

* Further styling tweaks
2024-06-26 10:23:54 +01:00
Jeremy Ruston 4ca883fd9b Revert #7821
See https://github.com/Jermolene/TiddlyWiki5/pull/7821#issuecomment-2176843674
2024-06-18 20:52:35 +01:00
lin onetwo 78ace99685 Feat: translatable plugins and docs (#7821)
* feat: t macro and docs

* feat: support block mode so you can transclude whole tiddler

* refactor: use lingo and procedure

* refactor: use function instead of set variable

* docs: about  mode:"inline"

* Update LingoMacro.tid

* docs: more usage about inline

* refactor: update translate macro to reuse lingo macro

* Delete translateMacro.tid

* refactor: update translation of tiddlyweb

* docs: more tiddlyweb l10n

* feat: add comment, so when use <$text text=<<lingo>> by mistake, it shows

* i18n: add more l10n

* feat: add tree to plugin to reveal l10n structure

* i18n: add menubar translation for example

* i18n: more for menubal

* docs: Headings -> Heading

* refactor: remove the "tree" tid

* Revert "refactor: remove the "tree" tid"

This reverts commit fb70f0b146.
2024-06-08 14:58:21 +01:00
Jeremy Ruston fc0de10cd1 Fix plugin library URLs 2024-05-22 11:50:15 +01:00
Jeremy Ruston 0adc6024d1 Fix plugin library URLs broken by #8198
Thanks @pmario
2024-05-21 18:33:04 +01:00
Jeremy Ruston 5aa3646df5 Add plugin stability badges (#8198)
* Initial Commit

* Fix plugin library URL

* Need to set plugin library location for prerelease

* Styling tweaks

* Docs

* Add tests that the core plugins all have a valid stability field
2024-05-21 11:22:39 +01:00
Jeremy Ruston ece8b0ee01 Add <$testcase> widget (#7817)
* Initial Commit

* Add note to preview build

* Fix whitespace and indenting

Thanks @pmario

* Fix crash with unset $tiddler attribute on <$data> widget

Thanks @CodaCodr

* Don't duplicate "description" field in test cases

* Use different background colours for nested testcase widgets

* Extend the testcase widget to run tests

* Add testcases to control panel

* Add a view template body template to render testcase tiddlers

* Test edition should display testcases

* Whitespace fixes

* Make testcase tiddler tempalte link to itself

* Styling tweaks

* Docs improvements

* Styling tweaks

* Run the new tw5.com testcases in the test edition

* Update data widget to display its content in JSON

* Add testcase convenience procedure

* Clearer testcases for data widget, and docs tweaks

* Don't expect our intentionally failing test to pass

* Extend testcase default template so that the display format can be chosen

It is selected by setting the variable "displayFormat"

* DataWidget docs typo

* Fix data widget not refreshing

* Links in testcase output switch to the tab containing that tiddler

Thanks to @btheado for the suggestion

* Docs update for 648855e8a5

* Wording tweak

* Add support for narrative tiddlers in test cases

* Documentation improvements

* Cleanup comments

* Remove obsolete code comments

* Simplify template

* Docs update

* Rename $:/core/ui/testcases/DefaultTemplate/SourceTabs from $:/core/ui/testcases/DefaultTemplate/Source

* Use the view template body for failing tests

* Don't reference the geospatial plugin

* "Test case" should be two words

* Fix handling of currentTiddler variable

Fixes problem reported by @btheado in https://github.com/Jermolene/TiddlyWiki5/pull/7817#issuecomment-2103704468

* Prepare for merging
2024-05-20 11:30:30 +01:00
Simon Huber eeb4e7a7f7 Add a "Refresh Browser" keyboard shortcut (#8121)
* Create a `refresh` keyboard shortcut

This creates a `refresh` keyboard shortcut that refreshes the page.
In TiddlyDesktop <kbd>ctrl-R</kbd> doesn't work

* Update refresh.tid

* Update shortcuts-not-mac.multids

* Update shortcuts-mac.multids

* Update ShortcutInfo.multids
2024-04-03 09:58:56 +01:00
Mario Pietsch 2d92a6fd78 Tag picker rewritten using new v5.3.x syntax (#7978)
* tag-picker add Examples

* tag-picker - use new v5.3.x wikitext syntax

* tag-picker - more inline docs

* tag-picker - fix add button

* rename local functions: tag, userInput to _tf.getTag and _tf.getUersName to make the code and variable scopes more understandable

* tag-picker - move local variables definitions into one place: tag-picker macro

* tag-picker - replace reveal-widget with conditional IF syntax

* tag-picker - remove logs and test tag-picker - actions parameer -> OK

* tag-picker - add tag-picker Macro docs

* tag-picker docs - change \define -> \procedure

* tag-picker -- fix problem with focus loss if elements selected by mouse click

* tag-picker -- add tf. prefix only to new function definition names for backwards compatibility.

* tag-picker -- update example docs

* re-add tags: $:/tags/Macro
2024-03-28 19:09:31 +00:00