I am working on a plugin which will integrate with Spotify to display a list of recently listened tracks in response to a slash command.
This is all working, but I am really struggling with how to build a settings/preferences page for the user in Logseq. I can’t find much documentation for this and the examples I am looking at are all built in Node/TS whereas I am using JS.
Could someone have a look at my code please and guide me on how to build this?