💡 Road to Richer UI components in Foam VS Code extension? #951
Replies: 1 comment
-
Thanks for the pointer @cliffordfajardo, this is very useful! Here are my comments:
Agreed, and there has been some talk about what would be considered useful and in scope for Foam wrt to the dataviz graph.
Yes, very much so!
Foam is about to publish an API (in alpha at first) that can be used by other extensions to augment the note taking/browsing experience, as well as add additional semantics (e.g. todos, calendars, ...) to Foam, while keeping the core lean, and focused on the parsing of metadata from the knowledge base, therefore exposing the model, and providing building blocks as commands/API. A few examples: To sum up, yes, using a native VS Code feel for the graph sounds good. |
Beta Was this translation helpful? Give feedback.
-
Hi Foam team & community,
I simply wanted to share some thoughts on how we could perhaps create richer web views inside of Foam, if it makes sense and is of interest to others.
Recently Github/MSFT team have been enabling richer APIs and libraries to allow VS Code extension creators the ability to create rich web UI's within VS Code. For example. Microsoft and Github collaborated to create this library (vscode-webview-ui-toolkit), which allows extension authors to author Webviews with rich Javascript frameworks like React etc.
Video comes from this discussion I started on Twitter in this thread
001-react-in-vscode-extensions.mp4
One minor thing that is lacking is the ability to create the Foam Notes graph with custom filter buttons and toggles like this:
Credits to this article for the image: It’s Not Just a Pretty Gimmick: In Defense of Obsidian’s Graph View
Considerations
Question(s)
References
Beta Was this translation helpful? Give feedback.
All reactions