1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-27 03:57:21 +00:00
TiddlyWiki5/core/wiki
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
..
config Preparing for v5.3.3-prerelease 2023-12-13 08:16:59 +00:00
macros Rewrite tag-picker macros as procedures (#7883) 2024-02-28 11:32:48 +00:00
tags Add code-body to unsafe templates, and new cascade for tiddlers with system tags (#7583) 2023-07-15 18:12:10 +01:00
advancedsearch.tid First pass at an advanced search tiddler 2013-12-31 13:11:01 +00:00
allfields.tid Trim Saga: All snippets, language tiddlers, and typed (#6275) 2022-04-01 12:10:29 +01:00
currpalettepreview.tid Trim Saga: Making existing trim tiddlers consistent (#6272) 2022-03-26 15:18:42 +00:00
debugstylesheets.tid Another batch of whitespace trims (#6587) 2022-04-05 16:48:07 +01:00
DefaultTiddlers.tid Simpler default defaulttiddlers 2014-08-18 10:27:48 +01:00
download-wiki-button.tid Make save wiki button be accessible to users without colour vision (#7232) 2023-01-28 09:51:25 +00:00
language.tid Ensure we have a default language in empty.html 2014-08-14 12:00:07 +01:00
languageswitcher.tid Trim saga: The big macros (#6269) 2022-04-01 12:09:59 +01:00
minifocusswitcher.tid Trim Saga: All snippets, language tiddlers, and typed (#6275) 2022-04-01 12:10:29 +01:00
minilanguageswitcher.tid Trim Saga: All snippets, language tiddlers, and typed (#6275) 2022-04-01 12:10:29 +01:00
minithemeswitcher.tid Trim Saga: All snippets, language tiddlers, and typed (#6275) 2022-04-01 12:10:29 +01:00
modules.tid Trim Saga: All snippets, language tiddlers, and typed (#6275) 2022-04-01 12:10:29 +01:00
palette.tid First pass at switchable colour palettes 2014-02-17 12:09:10 +00:00
paletteeditor.tid Add/refactor PaletteManager (#3832) 2019-06-26 12:36:13 +01:00
palettepreview.tid Trim Saga: All snippets, language tiddlers, and typed (#6275) 2022-04-01 12:10:29 +01:00
paletteswitcher.tid Trim Saga: All snippets, language tiddlers, and typed (#6275) 2022-04-01 12:10:29 +01:00
peek-stylesheets.tid Show stylesheets as rendered plain text with highlighting (#6778) 2022-07-14 09:00:56 +01:00
search.tid Use temporary tiddler for search text 2012-11-11 15:08:46 +00:00
themeswitcher.tid Trim Saga: All snippets, language tiddlers, and typed (#6275) 2022-04-01 12:10:29 +01:00
title.tid Another batch of whitespace trims (#6587) 2022-04-05 16:48:07 +01:00
view.tid Retract inadvertant change from previous commit 2014-05-26 22:56:58 +01:00
viewswitcher.tid Trim Saga: All snippets, language tiddlers, and typed (#6275) 2022-04-01 12:10:29 +01:00