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

Impossible to disable "Note to use CPL" from popping up on every boot #234

Open
DesignThinkerer opened this issue Dec 11, 2024 · 2 comments

Comments

@DesignThinkerer
Copy link

DesignThinkerer commented Dec 11, 2024

This window popup each time I launch my wiki:

image

I'm using tiddlywiki PWA by val packett, I think the issue comes from the fact that the tiddler that disable the popup ($:/plugins/Gk0Wk/CPL-Repo/popup-readme-at-startup) is loaded AFTER the popup is displayed. Any idea or tips on how I could fix this? Even disabling the plugin doesn't work:

image

If this is not possible, may I suggest to remove this popup feature? I think it's rather intrusive. This message could be instead displayed on the plugin description.

@linonetwo
Copy link
Collaborator

Don't know how PWA works, can it load all shadow tiddlers including configs before render? I think current behavior is not standard TiddlyWiki behavior, you can raise an issue for PWA too.

For now, you can remove the startup tag from $:/plugins/Gk0Wk/CPL-Repo/popup-readme-at-startup . And usually startup action won't run when you disable the plugin, this is also a non-standard TiddlyWiki behavior in PWA, which you could also send an issue.

@DesignThinkerer
Copy link
Author

DesignThinkerer commented Dec 16, 2024

I think it starts by loading the shadow tiddler, and THEN it loads the tiddlers created by users - so the user preference doesn't take effect. I was able to find a workaround, here it is for anyone having this issue.

In a tiddler, write:

{
    "tiddlers": {
        "$:/plugins/Gk0Wk/CPL-Repo/config/popup-readme-at-startup": {
            "text": "1"
        }
    }
}

With these fields:

field value
type application/json
plugin-type plugin

$__plugins_theophile.dev_CPL-Repo-Tweaks.json

I created an issue on the tiddlypwa repo: https://codeberg.org/valpackett/tiddlypwa/issues/48

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

No branches or pull requests

2 participants