treymo / joplin-link-graph

UI for viewing connections between different Joplin notes
MIT License
257 stars 11 forks source link

Create an on-panel "Display" menu containing options for customizing the graph #31

Open treymo opened 3 years ago

treymo commented 3 years ago

Right now I've been adding options to the Joplin plugin settings but I think these would be better and more discoverable/accessible if they were part of the HTML/Javascript UI in the graph panel itself

Ravichandra-C commented 3 years ago

@treymo , Can I work on this?

treymo commented 3 years ago

All yours! Do you mind showing an example of the UI you are envisioning before you get too far along so we can discuss it?

Ravichandra-C commented 3 years ago

Sure @treymo

Ravichandra-C commented 3 years ago

@treymo ,Does joplin API allow to set the setting from panel?

treymo commented 3 years ago

It is not possible to change Joplin settings directly from the UI, but you can have the UI post a message which the plugin can then receive and modify the setting on the UI's behalf: https://github.com/treymo/joplin-link-graph/blob/master/src/index.ts#L181