1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-04 23:39:57 +00:00
Commit Graph

569 Commits

Author SHA1 Message Date
pmario
f067fa79d3 rename jsonvariable to jsonvariables 2024-05-23 07:24:13 +02:00
pmario
ff10625eeb rename tf. functions to wltv. 2024-05-17 14:20:26 +02:00
pmario
4b53e49409 use jsonvariable and jsonextract instead of getvariable to read variable value 2024-05-17 13:14:24 +02:00
pmario
cec4830111 rename new tc- classes to wltc- 2024-05-17 12:54:52 +02:00
pmario
5e9395ebca move code to search-variables.tid, rename dumpvariables -> wl-dumpvariables 2024-05-17 11:41:22 +02:00
pmario
59434cdd4c revert changes to dumpvariables 2024-05-17 11:36:05 +02:00
pmario
3187d32cad show variable details search by default, make details-toggle-button smaller 2024-05-05 16:03:27 +02:00
pmario
d49a23a216 remove parameters from detail search text input on init, to make sure there is a tiddler list 2024-05-05 15:28:04 +02:00
pmario
90505e2b4a add subfiler info to dumpvariales macro 2024-05-01 13:48:29 +02:00
pmario
2c96122754 add subfilter info after x matches to search-variables 2024-05-01 13:45:23 +02:00
pmario
c7a4558f6f indent main-pocedures body by 1 to make nested functions more visible 2024-05-01 13:22:11 +02:00
pmario
3b7544f640 add HiddenSetting: variable type configuration 2024-05-01 13:17:22 +02:00
pmario
cfbd4bace0 add details search reset button 2024-05-01 13:01:55 +02:00
pmario
056a6daa58 add variable signature tooltip to search-variables macro 2024-04-30 15:53:53 +02:00
pmario
87cdb97b7d add dumpvariables tooltips 2024-04-30 15:32:28 +02:00
pmario
049b441833 new tooltips and improved keyboard tab handling 2024-04-30 15:09:52 +02:00
pmario
76a2c0e01b make grids more felxible 2024-04-30 13:25:08 +02:00
pmario
91672ab8c5 first run: adjust layout if type and sort parameter are "hardcoded" 2024-04-30 12:03:37 +02:00
pmario
c3d0d2432b add some temporary test tiddlers and plugins 2024-04-30 11:15:01 +02:00
pmario
7ac47b646b add keyboard handling to AdvancedSearch Variables tab 2024-04-29 19:50:32 +02:00
pmario
ed558bb2c2 set focus after clear button using tm-focus-selector 2024-04-29 19:17:48 +02:00
pmario
4eeaba7231 use lingo-macro when possible 2024-04-29 16:42:35 +02:00
pmario
d09ebe5668 dumpvariables change readio / checkbox config tiddler title 2024-04-29 15:34:45 +02:00
pmario
bfb9e642f8 change icon if variables are exlcuded from search 2024-04-29 15:07:12 +02:00
pmario
f2da5963a5 dumpvariables remove old code 2024-04-29 14:57:32 +02:00
pmario
3dba698458 allow radio-widget and checkbox-widget to be used for type-filter input 2024-04-29 14:56:46 +02:00
pmario
c1aea65252 search-variables works -- dumpvariables uses outdated text-substitution 2024-04-24 17:11:47 +02:00
pmario
88f4794a61 move expand / fold all button into seearch header, add texts 2024-04-24 12:42:59 +02:00
pmario
62fd440fed add edit-button to variables exclude filter dropdown + styles 2024-04-24 12:21:20 +02:00
pmario
b691b571e9 Add saved snippets dropdown 2024-04-23 12:07:04 +02:00
pmario
7959ff46eb add exclude text-input - works 2024-04-22 17:01:18 +02:00
pmario
01111f3db2 Merge branch 'master' into dumpvariables-rewrite-new-syntax-plus-search 2024-03-11 17:21:02 +01:00
Jeremy Ruston
070327cb57 Include $:/tags/Macro on core macros for backwards compatibility
This avoids breaking existing code that expects to be able to import the core macros with just $:/tags/Macro

@pmario - I suggest that future updates use the same approach

Thanks to @ericshulman for reporting the problem
2024-02-29 12:39:41 +00:00
etardiff
4cca77b72d
Rewrite tag-picker macros as procedures (#7883)
This PR attempts to modernize the tag-picker macros as procedures, as @Jermolene suggested in [#7548 (comment)](https://github.com/Jermolene/TiddlyWiki5/pull/7548#issuecomment-1825458523).

What I changed:

* rewrote macros as procedures/replaced text substitutions with variables
* replaced nested $set and $var widgets with $let widgets/functions
* minor rewrites to reduce redundant code
* some additional linebreaks for clarity

*This is functionally identical to my initial PR, [#7880](https://github.com/Jermolene/TiddlyWiki5/pull/7880)*, minus the extra file I'd accidentally added. Thank you for bearing with me as I learn to navigate GitHub.
2024-02-28 11:32:48 +00:00
pmario
143315ed36 dumpvariables, search-variables -- add Type, Sort labels, fix layout spacing 2024-02-23 01:19:15 +01:00
pmario
ac9b6b498c dumpvariables - fix clear temp tiddler button 2024-02-22 19:54:04 +01:00
pmario
beec9cb8e9 dumpvariables, search-variable -- UI is feature complete now - styling needs improvement 2024-02-22 19:41:21 +01:00
pmario
357e6f5ef3 WIP dumpvariables, search-variables seem to work now using the format-operator 2024-02-21 17:39:00 +01:00
pmario
0b69e88b29 search-variables -- fix filter using subfiter parameter 2024-02-16 21:36:15 +01:00
pmario
409345b126 WIP improve dumpvariables macro, add search-variables macro 2024-02-16 16:20:48 +01:00
pmario
d5e3c2c26c WIP dumpvariables - add new filtered version. var names need improvement 2024-02-15 22:08:39 +01:00
Mario Pietsch
a09106f33b
Core-macro-diff-new-syntax (#7986)
* $:/core/macros/diff use v5.3.x syntax and add indentation for better readability -- all tests pass

* diff - set tags: $:/tags/Global
2024-02-14 19:45:11 +01:00
Mario Pietsch
699d8b9416
css-macro -- change tags to $:/tags/Global (#7987)
* $:/core/macros/CSS use v5.3.x syntax

* css-macro -- change tags to $:/tags/Global
2024-02-14 19:44:22 +01:00
Mario Pietsch
53ccc29209
Copy-to-clipboard macro - change tags to $:/tags/Global (#7988)
* copy-to-clipboard-macors -- new v5.3.x syntax

* copy-to-clipboard - change tags to $:/tags/Global
2024-02-14 19:36:32 +01:00
Jeremy Ruston
267521ad1b Preparing for v5.3.3-prerelease 2023-12-13 08:16:59 +00:00
Jeremy Ruston
ca41a8db04
Core macros don't allow pragmas in action strings (#7855)
* First commit

* Transclude preferred over macrocall
2023-11-24 10:48:48 +00:00
Jeremy Ruston
62bb8affa4
Add data attribute support to button and other widgets (#7769)
* Add data attribute support to button widget

* Fix typo

* Refactor ready for making mechanism more generic

* Apply more generic implementation to multiplate widgets

* Refactor to use existing widget.assignAttributes() method

* Fix typo

* Clarify docs

* Update docs

* Update select widget to support style.* attributes

* Remove obsolete comment

* Fixes refresh issues for checkbox and links widgets for data attributes (#7846)

* fix: refresh issues with checkbox and links widgets

* fix: indenting

* Feat: add support for data attributes to Draggable and Droppable widgets (#7845)

* Docs clarification

* docs: add style and data attributes to Draggable and Droppable widget docs (#7850)

* Refactors Select widget to directly create DOM node (#7848)

* fix: refactored SelectWidget to directly create DOM nodes

* fix: refactored SelectWidget to directly create DOM nodes

* fix: improve refresh handling for select widget

* Fixes issues in the PR "Button widget data attributes" (#7852)

* fix: fixed ordered attributes handling and improved tests to catch event attributes

* fix: clean up code from testing

* fix: more tests and refactoring

* fix: use lowercase when checking for event attribute prefix

* fix: use lowercase when checking for event attribute prefix

* fix: changed comment wording

* fix: minor refactoring

* refactor: for brevity

---------

Co-authored-by: Saq Imtiaz <saq.imtiaz@gmail.com>
2023-11-22 20:05:40 +00:00
Mario Pietsch
a4850ba3d9
make all list-* macros readable for easier future improvements (#7551)
* make all list-* widgets readable for easier future improvements

* remove whitespace on closing braces
2023-11-21 11:30:05 +00:00
Scott Sauyet
23a576b8bd
Tweak TOC to not show expander for sublist with all children excluded (#7802) 2023-10-25 13:37:24 +01:00
Jeremy Ruston
fa9bfa07a0 Fix missing closing tag in tag-pill-inner macro
Fixes #7697
2023-08-25 14:06:17 +01:00