-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
improvement: $:/snippets/peek-stylesheets to use modern tiddlywiki features #8794
base: master
Are you sure you want to change the base?
Conversation
Replace reveal widget by conditional shortcut syntax, use string substitution, let widget
@DesignThinkerer It appears that this is your first contribution to the project, welcome. With apologies for the bureaucracy, please could you prepare a separate PR to the 'tiddlywiki-com' branch with your signature for the Contributor License Agreement (see contributing.md). |
✅ Deploy Preview for tiddlywiki-previews ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
<<stylesheets-list>> | ||
</$reveal> | ||
<%if [<mode>match[expand]]%> | ||
<$transclude $variable="expandable-list" filter=<<listFilter>> open="yes"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The "open", "closed" state value is wrong. It is expanded
and restored
Have a look at the state: https://tiddlywiki.com/#%24%3A%2Fstate%2Fpeek-stylesheets%2Fmode%2F-1116772087 at tiddlywiki.com and at: https://deploy-preview-8794--tiddlywiki-previews.netlify.app/#%24%3A%2Fstate%2Fpeek-stylesheets%2Fmode%2F-1116772087
current Version v5.3.6
PR version
It is not possible to change those values for backwards compatibility reasons. There may be unwanted side effects.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Understood, sorry for the oversight 😅 I'm marking this PR as a draft for now and will request a review after more thorough testing.
DesignThinkerer has signed the Contributor License Agreement (see contributing.md) |
This PR aims to modernise $:/snippets/peek-stylesheets
\procedure
instead of\define
let
instead ofvars
conditional shortcut syntax
instead ofreveal
template parameters
for the iconsstring substitution
(backticks)