Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite tag-picker macros as procedures #1

Merged
merged 1 commit into from
Dec 11, 2023
Merged

Conversation

etardiff
Copy link
Owner

This PR attempts to modernize the tag-picker macros as procedures, as @Jermolene suggested in #7548 (comment).

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, minus the extra file I'd accidentally added. Thank you for bearing with me as I learn to navigate GitHub.

This PR attempts to modernize the tag-picker macros as procedures, as @Jermolene suggested in [TiddlyWiki#7548 (comment)](TiddlyWiki#7548 (comment)).

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, [TiddlyWiki#7880](TiddlyWiki#7880, minus the extra file I'd accidentally added. Thank you for bearing with me as I learn to navigate GitHub.
@etardiff etardiff merged commit 4ca4089 into master Dec 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant