joekrill / silverbullet-treeview Goto Github PK
View Code? Open in Web Editor NEWSilverBullet TreeView plug
License: MIT License
SilverBullet TreeView plug
License: MIT License
Hey @joekrill,
I love your tree view plug. Just wanted to let you know that I just added this to my https://github.com/gorootde/silverbullet-collection.
Cheers!
For the "lhs" and "rhs" positions, it would be nice to integrate the topbar into the unused silverbullet-topbar just above the treeview .
Currently the theme values are hard-coded. Ideally the theme values would be injected from SilverBullet so any customizations are applied. Pretty sure this is going to require changes in SilverBullet codebase.
When having Tree View installed, it seems my instance is not deleting pages. Without it, it works.
Instance in docker, tried in online mode
Deleting page from space editor.plug.js:1:10463
Deleting page space.ts:60:14
XHRDELETE
https://sb.domain.com/test music.md
[HTTP/2 500 4ms]
An exception was thrown as a result of invoking function deletePage error: Failed to delete file: editor.plug.js:1:696
Error running command Failed to delete file: editor_ui.tsx:146:28
Flushed widget cache to store
the XHR Delete has the following Response Unregistered syscall clientStore.get
On mobile it might make more sense to open it on the bottom or as a modal. On desktop that preference might be different.
This error gets thrown on the backend:
silverbullet-1 | Deleting file Library/Extra/Snippet/taskp.md
silverbullet-1 | An exception was thrown as a result of invoking function showIfEnabled error: Unregistered syscall clientStore.get
silverbullet-1 | Error dispatching event page:deleted to treeview.showIfEnabled: Unregistered syscall clientStore.get
silverbullet-1 | Error deleting attachment Error: Unregistered syscall clientStore.get
silverbullet-1 | at wa.onMessage (file:///silverbullet.js:117:27964)
silverbullet-1 | at Worker.worker.onmessage (file:///silverbullet.js:117:27483)
silverbullet-1 | at Worker.wrappedHandler (ext:deno_web/02_event.js:1401:12)
silverbullet-1 | at innerInvokeEventListeners (ext:deno_web/02_event.js:754:7)
silverbullet-1 | at invokeEventListeners (ext:deno_web/02_event.js:801:5)
silverbullet-1 | at dispatch (ext:deno_web/02_event.js:658:9)
silverbullet-1 | at Worker.dispatchEvent (ext:deno_web/02_event.js:1043:12)
silverbullet-1 | at Worker.#pollMessages (ext:runtime/11_workers.js:258:12)
silverbullet-1 | at eventLoopTick (ext:core/01_core.js:169:7)
Hi,
forst off thanks for the great work! I really appreciate having an overview over all pages. I just thought it might be ever so slightly less distracting if it were possible to hide some of the notes from the treeview or maybe show them in different color or at the top or bottom of the list. Background is that when scanning the tree, system pages like SETTINGS
, PLUGS
, index
and the Library
folder of course show up as well, but I'm rarely looking for these.
Anyways, thanks for reading ๐
On smaller screens the toolbar does not overflow properly and the buttons get cut off.
This works fine running locally, but on my deployed instance the tree refreshes but the deleted file still appears. Manually refreshing it again removes it, so perhaps it's a race-condition issue?
Cycle between showing the panel on the left, right, bottom, and as a modal.
Hi,
Thanks for this nice plug. I think it would be really nice if we can make the page decoration available at treeview, which is available since 0.8.2. See this community thread and this release documentation.
Nice thing about this is when you are viewing your daily notes in the treeview and you also decorate your daily notes via meta e.g. mood: <some mood>
, then you can get an overview on how the past days are for you. which would be pretty nice I think!
To avoid confusion with the default silverbullet folders, i have everything in /notes
.
I would like to set this folder as root for the TreeView.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.