1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-27 03:57:21 +00:00
TiddlyWiki5/core/wiki/macros
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
..
colour-picker.tid Core macros don't allow pragmas in action strings (#7855) 2023-11-24 10:48:48 +00:00
copy-to-clipboard.tid Copy-to-clipboard macro - change tags to $:/tags/Global (#7988) 2024-02-14 19:36:32 +01:00
CSS.tid css-macro -- change tags to $:/tags/Global (#7987) 2024-02-14 19:44:22 +01:00
diff.tid Core-macro-diff-new-syntax (#7986) 2024-02-14 19:45:11 +01:00
dumpvariables.tid Trim Saga: I think this is the last batch (#6611) 2022-04-16 17:19:05 +01:00
export.tid Fix ViewToolbar items inconsistent spacing (#5473) 2021-05-24 19:24:37 +01:00
image-picker.tid Core macros don't allow pragmas in action strings (#7855) 2023-11-24 10:48:48 +00:00
keyboard-driven-input.tid Make tag-picker and keyboard-driven-input macros human readable (#7118) 2023-01-19 20:44:00 +00:00
lingo.tid First pass at accessibility improvements for #650 2014-06-14 18:06:56 +01:00
list.tid make all list-* macros readable for easier future improvements (#7551) 2023-11-21 11:30:05 +00:00
tabs.tid Add data attribute support to button and other widgets (#7769) 2023-11-22 20:05:40 +00:00
tag-picker.tid Rewrite tag-picker macros as procedures (#7883) 2024-02-28 11:32:48 +00:00
tag.tid Fix missing closing tag in tag-pill-inner macro 2023-08-25 14:06:17 +01:00
thumbnails.tid Trim Saga: I think this is the last batch (#6611) 2022-04-16 17:19:05 +01:00
timeline.tid Make timeline macro more customisable (#5947) 2022-11-14 17:11:26 +00:00
toc.tid Tweak TOC to not show expander for sublist with all children excluded (#7802) 2023-10-25 13:37:24 +01:00
translink.tid Improve translink macro, fixes 4877 (#7425) 2023-05-10 21:57:15 +01:00
tree.tid Trim Saga: Another batch of medium-sized files (#6270) 2022-03-26 15:19:04 +00:00
utils.tid Add/refactor PaletteManager (#3832) 2019-06-26 12:36:13 +01:00