madodig / trilium-widget-theme-switch

Trilium widget for changing themes
GNU General Public License v3.0
14 stars 0 forks source link

Elaborate on installation procedure #4

Open maphew opened 6 months ago

maphew commented 6 months ago

This is probably obvious to experienced users but I'm a newbie could use some more trail markers. :- ) The Readme says "and import it to Trilium (mark the 'Safe import')" , umm, how?

I've discovered that clicking on the 3-dot right hand menu has an "import files" item but using that had no obvious result other than a popup saying "Import status. Import in progress: 0". (Yes I checked "safe import"). Does one need to be in a specific note before using import?

image

image

maphew commented 6 months ago

self answering, editing in-plcace wiki style as I learn things.

Options > Appearance is a protected note. To import:

At this point I'm lost. I think a new button is supposed to show up, but it's not clear where. I don't see it anyway. Perhaps a bug. The comment at head node says "or just add owned attribute #widget to the 'Theme Switch' note". Presumably this is what the installer note is intended to do. However when I inspect the attributes after running it there is no change in attributes.

I manually added #widget to 'Theme Switch' note, exited and restarted Trilium app, no apparent change. Aha! The button shows up at top right. I was focussed on top left, where the Options menu comes from.

image

This works beautifully, thank you!

I'm happy to do the work of folding a version of this into the readme, pending clarification on how the installer note is supposed to work, and testing it. (Also, you should had a 'home page' url to this repo in the the top page comment.)