https://www.dendron.so/ logo
I'm having some hard times with the lookup; initi...
# dev
k
> > I'm having some hard times with the lookup; initially I wasn't able to get it working properly, then with some tweaking of schemas it started to work. Now with some drastic schema changes it stopped working again, so decided to remove all schemas to see if it would be able to find just the plain note hierarchy. Currently with no schemas and ~50 notes with dot separated names, the lookup only shows the "root nodes", but loses even them when trying to type something into it. > @User > > sounds like you started diving into the guts of dendron. there's currently a few errors i've been meaning to fix that will show up when you try to build but shouldn't stop compilation. will do a sweep and fix those today > > as for your issue with lookup, that's interesting. the tree view and lookup share a common index so if the treeview is finding it, the whats happening is UI related. > >
LookupProvider
is responsible for integrating the lookup results with the engine. the specific code is here: https://github.com/dendronhq/dendron/blob/master/packages/plugin-core/src/components/lookup/LookupProvider.ts#L285