mirror of https://github.com/josh-berry/tab-stash
45b7956bfd
Store direct references between nodes in the bookmark and tabs trees, which should hopefully improve performance by avoiding lookups when accessing child nodes (among other things). This required a bunch of changes throughout the codebase, particularly with respect to generic trees, and some slight changes to the typings of specific trees. As a side effect, this forced me to change how DnD works, because we can't serialize model items into JSON anymore (they have circular references now). So we make DnD a bit more efficient (hopefully) by serializing just the IDs. And we make changing DnD less error-prone, by moving the "on-the-wire" protocol into its own file. |
||
---|---|---|
.. | ||
html-links.ts | ||
markdown.ts | ||
model.ts | ||
one-tab.ts | ||
url-list.ts |